JP5945451B2 - Printer and program - Google Patents
Printer and program Download PDFInfo
- Publication number
- JP5945451B2 JP5945451B2 JP2012107130A JP2012107130A JP5945451B2 JP 5945451 B2 JP5945451 B2 JP 5945451B2 JP 2012107130 A JP2012107130 A JP 2012107130A JP 2012107130 A JP2012107130 A JP 2012107130A JP 5945451 B2 JP5945451 B2 JP 5945451B2
- Authority
- JP
- Japan
- Prior art keywords
- connection
- printer
- external device
- connection request
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
この発明は、無線機器との間で無線通信をおこなうプリンタおよびプログラムに関する。 The present invention relates to a printer and a program for performing wireless communication with a wireless device.
従来、サーバ装置などの無線機器との間で電波の空間伝播を利用して通信(無線通信)をおこない、当該無線機器から送信された各種の情報に基づいて記録動作をおこなうプリンタがあった。無線通信により記録動作をおこなうプリンタは、記録動作に先立って所定の無線機器との間でペアリングをおこない、ペアリングをおこなった無線機器と接続を確立する。 2. Description of the Related Art Conventionally, there has been a printer that performs communication (wireless communication) using radio wave spatial propagation with a wireless device such as a server device, and performs a recording operation based on various types of information transmitted from the wireless device. A printer that performs a recording operation through wireless communication performs pairing with a predetermined wireless device prior to the recording operation, and establishes a connection with the paired wireless device.
このようなプリンタにおいては、環境の変化などの理由によって、一旦接続を確立した無線機器との接続が切断された場合に、切断された接続を復帰させる(再接続)をおこなうものがあった。プリンタと無線機器との再接続は、一旦接続を確立した無線機器に対して、当該無線機器と再び接続するための接続要求を出力することによっておこなうことができる。 In such a printer, there is a printer that restores (reconnects) the disconnected connection when the connection with the wireless device once established is disconnected due to a change in environment or the like. The reconnection between the printer and the wireless device can be performed by outputting a connection request for reconnecting the wireless device to the wireless device once established.
このようなプリンタには、従来、接続要求の出力専用のスイッチや操作ボタンなどの専用の入力部が設けられ、当該専用の入力部に対する入力操作に応じて接続要求を出力するようにしたものがあった。また、このようなプリンタには、従来、当該プリンタへの電源の供給をON/OFFする電源スイッチに対する、当該電源スイッチをOFFした後にONにする入力操作に応じて、当該操作に応じてプリンタを再起動させる際に、接続要求を出力するようにしたものがあった。 Conventionally, such printers have been provided with dedicated input units such as switches and operation buttons dedicated to output connection requests, and output connection requests in response to input operations on the dedicated input units. there were. Also, in such a printer, conventionally, in response to an input operation to turn on after turning off the power switch with respect to a power switch that turns on / off the power supply to the printer, the printer is turned on according to the operation. When restarting, a connection request was output.
また、具体的には、従来、無線アクセスポイントと無線通信をおこなう携帯プリンタにおいて、操作者によって入力部が操作された場合に、電源投入状態を維持したまま無線アクセスポイントに応答を要求する応答要求信号を送信するようにした技術があった(たとえば、下記特許文献1を参照。)。 Specifically, in a conventional portable printer that performs wireless communication with a wireless access point, when the input unit is operated by an operator, a response request that requests a response from the wireless access point while maintaining the power-on state There has been a technique for transmitting a signal (see, for example, Patent Document 1 below).
しかしながら、上述したように、プリンタに設けられた、接続要求の出力専用の入力部に対する入力操作に応じて当該プリンタから接続要求を出力させる従来の技術は、接続要求の出力専用の入力部を設ける必要がある。このため、プリンタの構造が複雑化し、当該プリンタの小型化を図ることが難しいという問題があった。 However, as described above, the conventional technique for outputting a connection request from the printer in response to an input operation to the connection request output dedicated input section provided in the printer provides a connection request output dedicated input section. There is a need. For this reason, there has been a problem that the structure of the printer is complicated and it is difficult to reduce the size of the printer.
また、上述したように、プリンタに設けられた、接続要求の出力専用の入力部や電源スイッチに対する入力操作に応じて当該プリンタから接続要求を出力させる従来の技術は、当該プリンタが配置されている場所や当該プリンタの配置状態によっては、入力部や電源スイッチに対する入力操作が困難になる場合があり、利便性に劣るという問題があった。 In addition, as described above, the conventional printer that outputs a connection request from the printer in response to an input operation to an input unit or a power switch dedicated to output of the connection request is provided in the printer. Depending on the location and the arrangement state of the printer, the input operation to the input unit and the power switch may be difficult, which is inconvenient.
プリンタを小型化する場合、当該プリンタの外形寸法が小さくなる。このため、上述した従来の技術のように、プリンタと無線機器との再接続に際して、接続要求の出力専用の入力部に対する入力操作に応じて当該プリンタから接続要求を出力させる場合、接続要求の出力専用の入力部を含むすべての操作部(スイッチやボタンなど)を、プリンタの筐体における正面などの一つの面に配置することが難しい場合がある。 When a printer is downsized, the external dimensions of the printer are reduced. For this reason, when the connection request is output from the printer in response to an input operation to the input unit dedicated to output of the connection request when the printer and the wireless device are reconnected as in the conventional technique described above, the connection request is output. It may be difficult to arrange all operation units (switches, buttons, etc.) including a dedicated input unit on one surface such as the front surface of the printer housing.
この対策として、接続要求の出力専用の入力部は、記録媒体を搬送する「FEED」スイッチなどと比較して使用頻度が低いため、当該入力部をプリンタの筐体における側面や背面などに設けた場合、当該プリンタが配置されている場所や当該プリンタの配置状態によっては、入力部に対する入力操作が一層困難になる場合があり、利便性に劣るという問題があった。 As a countermeasure, the input unit dedicated to output connection requests is less frequently used than the “FEED” switch that transports the recording medium. Therefore, the input unit is provided on the side or back of the printer housing. In this case, depending on the location where the printer is arranged and the arrangement state of the printer, an input operation on the input unit may be more difficult, which is inconvenient.
電源スイッチも同様に、「FEED」スイッチなどと比較して使用頻度が低いため、電源スイッチをプリンタの筐体における側面や背面などに設けた場合、当該プリンタが配置されている場所や当該プリンタの配置状態によっては、電源スイッチに対する入力操作が困難になる場合があり、利便性に劣るという問題があった。 Similarly, since the power switch is less frequently used than the “FEED” switch or the like, when the power switch is provided on the side surface or the back surface of the printer housing, the location of the printer or the printer Depending on the arrangement state, the input operation to the power switch may be difficult, and there is a problem that the convenience is inferior.
さらに、電源スイッチに対する入力操作に応じて当該プリンタから接続要求を出力させる従来の技術は、当該プリンタの接続対象となる無線機器の動作が当該プリンタにおける電源状態に連動している場合、プリンタと無線機器との再接続に際して、プリンタの電源スイッチをOFFしてからONにする操作に加えて、無線機器の電源スイッチをOFFしてからONにする操作をおこなわなくてはならず、煩雑であるという問題があった。 Further, the conventional technique for outputting a connection request from the printer in response to an input operation to the power switch is a wireless communication between the printer and the wireless device when the operation of the wireless device to be connected to the printer is linked to the power state of the printer. When reconnecting to a device, in addition to turning the printer's power switch off and then on, the wireless device's power switch must be turned off and then on. There was a problem.
この発明は、上述した従来技術による問題点を解消するため、無線機器との接続が切断された場合に、当該接続を容易かつ確実に復帰することができ、かつ、小型化を図ることができるプリンタおよびプログラムを提供することを目的とする。 In order to solve the above-described problems caused by the prior art, the present invention can easily and surely restore the connection when the connection with the wireless device is disconnected and can be downsized. An object is to provide a printer and a program.
上述した課題を解決し、目的を達成するため、この発明にかかるプリンタは、接続が確立された外部装置から無線送信された記録指示に基づいて、記録媒体に対する記録動作を実行するプリンタであって、前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出手段と、前記記録動作にかかわる入力操作を受け付ける操作受付手段と、前記状態検出手段の検出結果に基づいて、前記記録動作を実行不能な状態において前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力手段と、を備え、前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させることを特徴とする。 In order to solve the above-described problems and achieve the object, a printer according to the present invention is a printer that performs a recording operation on a recording medium based on a recording instruction wirelessly transmitted from an external device to which a connection has been established. A state detecting unit that detects that the printer is incapable of performing the recording operation, an operation receiving unit that receives an input operation related to the recording operation, and the recording based on a detection result of the state detecting unit. Connection request output means for outputting a first connection request for requesting connection to the external device by wireless communication when the operation accepting means accepts an input operation in a state where the operation cannot be performed, Waiting for a second connection request transmitted from the external device in response to the first connection request and requesting connection to the printer, the second connection request is requested. Characterized in that to establish a connection between the external device serving as the transmission source of the second connection request when receiving the.
また、この発明にかかるプリンタは、上記の発明において、プリンタ本体を収容する筐体と、前記筐体が備える開口部を開放する開放位置と前記開口部を閉塞する閉塞位置とに選択的に位置付けられる蓋部材と、を備え、前記状態検出手段が、前記蓋部材が前記開放位置に位置付けられている状態と前記閉塞位置に位置付けられている状態とで出力値が変化するセンサであり、前記接続要求出力手段は、前記センサの出力値に基づいて、前記蓋部材が開放位置に位置付けられている状態において前記操作受付手段が入力操作を受け付けた場合に前記外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the printer according to the present invention, in the above invention, the printer is selectively positioned in a housing that houses the printer body, an open position that opens the opening included in the housing, and a closed position that closes the opening. And the state detecting means is a sensor whose output value changes between a state where the lid member is positioned at the open position and a state where the lid member is positioned at the closed position. The request output means, based on the output value of the sensor, when the operation accepting means accepts an input operation in a state where the lid member is positioned at the open position, the first connection to the external device It is characterized by outputting a request.
また、この発明にかかるプリンタは、上記の発明において、前記状態検出手段が、前記記録媒体がある状態と前記記録媒体がない状態とで出力値が変化するセンサであり、前記接続要求出力手段は、前記センサの出力値に基づいて、前記記録媒体がない状態において前記操作受付手段が入力操作を受け付けた場合に前記外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the printer according to the present invention, in the above invention, the state detection unit is a sensor whose output value changes between a state where the recording medium is present and a state where the recording medium is absent. The first connection request is output to the external device when the operation accepting unit accepts an input operation in a state where there is no recording medium based on the output value of the sensor.
また、この発明にかかるプリンタは、上記の発明において、前記外部装置との接続履歴を記憶する記憶手段を備え、前記接続要求出力手段が、前記記憶手段が記憶する接続履歴に基づいて特定される外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the above invention, the printer according to the present invention further comprises storage means for storing a connection history with the external device, and the connection request output means is specified based on the connection history stored in the storage means. The first connection request is output to an external device.
また、この発明にかかるプリンタは、上記の発明において、前記操作受付手段が継続して入力操作を受け付けた操作時間を計時する計時手段と、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が第1の所定時間よりも長いか否かを判断する第1の操作時間判断手段と、を備え、前記接続要求出力手段が、前記第1の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第1の所定時間よりも長い場合に前記外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the printer according to the present invention, in the above invention, the operation accepting unit includes a timing unit that counts an operation time during which the operation accepting unit continuously accepts an input operation; First input operation time determining means for determining whether or not the operation time measured by the time measuring means is longer than a first predetermined time when an input operation is received, and the connection request output means comprises the connection request output means, Based on the determination result of the first operation time determination means, the first connection request is output to the external device when the operation time is longer than the first predetermined time.
また、この発明にかかるプリンタは、上記の発明において、前記操作時間が前記第1の所定時間よりも長い場合、さらに、前記操作時間が、前記第1の所定時間よりも長い第2の所定時間よりも長いか否かを判断する第2の操作時間判断手段と、前記第2の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第2の所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去手段と、を備え、前記接続要求出力手段は、前記履歴消去手段が接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the printer according to the present invention, in the above invention, when the operation time is longer than the first predetermined time, the operation time is further longer than the first predetermined time. The second operation time determination means for determining whether or not the operation time is longer than the second predetermined time based on the determination result of the second operation time determination means. A history erasure unit for erasing the connection history stored in the unit, and the connection request output unit sends a search request for requesting a response from a connectable external device after the history erasure unit erases the connection history. And outputting the first connection request to an external device responding to the search request.
また、この発明にかかるプリンタは、上記の発明において、前記状態検出手段が、前記プリンタが前記外部装置との接続が確立されている接続状態であるか、前記外部装置との接続が切断されている切断状態であるかを検出し、前記接続要求出力手段が、前記外部装置との接続が切断されている状態で前記操作受付手段が入力操作を受け付けた場合に前記外部装置に対して前記第1の接続要求を出力することを特徴とする。 In the printer according to the present invention, in the above invention, the state detection unit may be in a connected state where the printer is connected to the external device, or the connection with the external device is disconnected. The connection request output means detects the input to the external device when the operation accepting means accepts an input operation while the connection with the external device is disconnected. 1 connection request is output.
また、この発明にかかるプログラムは、記録動作にかかわる入力操作を受け付ける操作受付手段を備え、接続が確立された外部装置から無線送信された記録指示に基づいて、記録媒体に対する前記記録動作を実行するプリンタが実行するプログラムであって、前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出工程と、前記状態検出工程における検出結果に基づいて、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力工程と、を含み、前記接続要求出力工程において出力した第1の接続要求に応じて前記外部装置から送信される、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させるようにしたことを特徴とする。 In addition, the program according to the present invention includes an operation accepting unit that accepts an input operation related to a recording operation, and executes the recording operation on the recording medium based on a recording instruction wirelessly transmitted from an external device with which connection has been established. A program executed by a printer, the state detecting step for detecting that the printer is incapable of executing the recording operation, and the state incapable of executing the recording operation based on a detection result in the state detecting step A connection request output step of outputting a first connection request for requesting connection to the external device by wireless communication when the operation receiving means receives an input operation, and outputting in the connection request output step A second connection request transmitted from the external device in response to the first connection request made to request connection to the printer. And machine, characterized in that so as to establish a connection between the source and becomes the external device of said second connection request when receiving the second connection request.
この発明にかかるプリンタおよびプログラムによれば、無線機器との接続が切断された場合に、当該接続を容易かつ確実に復帰することができ、かつ、小型化を図ることができるという効果を奏する。 According to the printer and the program according to the present invention, when the connection with the wireless device is disconnected, the connection can be easily and surely restored, and the size can be reduced.
以下に添付図面を参照して、この発明にかかるプリンタおよびプログラムの好適な実施の形態を詳細に説明する。 Exemplary embodiments of a printer and a program according to the present invention will be described below in detail with reference to the accompanying drawings.
(プリンタの構成)
まず、この発明にかかる実施の形態のプリンタの構成について説明する。図1および図2は、この発明にかかる実施の形態のプリンタの構成を示す説明図である。図1および図2において、この発明にかかる実施の形態のプリンタ100は、プリンタ本体(符号を省略する)を収容する筐体101を備えている。筐体101は、プリンタ100が、台の上などに設置された状態において上側となる一面を開放する開口部(符号を省略する)を備えた略箱形状をなしている。
(Printer configuration)
First, the configuration of the printer according to the embodiment of the present invention will be described. 1 and 2 are explanatory diagrams showing the configuration of the printer according to the embodiment of the present invention. 1 and 2, a
筐体101には、蓋部材102が連結されている。蓋部材102は、ヒンジ機構201を介して筐体101に連結されており、当該ヒンジ機構201による連結部を中心として筐体101に対して回動可能に連結されている。蓋部材102は、筐体101に対して回動することにより、当該筐体101が備える開口部を開放する開放位置と、当該開口部を閉塞する閉塞位置と、に選択的に位置付けられる。筐体101と蓋部材102とは、蓋部材102が閉塞位置に位置付けられている状態において、プリンタ本体において記録がなされた、記録済みの記録媒体を排出する排出口103を形成する。
A
プリンタ本体は、筐体101と閉塞位置に位置付けられた蓋部材102とによって形成される空間内に収容される。プリンタ本体は、図示を省略する記録媒体を保持する保持部202を備えている。保持部202は、ロール状に巻回された長尺状の記録媒体の外周面を保持して回転可能な状態で収容する。ロール状に巻回された記録媒体は、長手方向における端部であって外周側の端部から引き出し可能な状態で、保持部202に保持される。
The printer main body is accommodated in a space formed by the
プリンタ100は、筐体101に対する蓋部材102の開閉にともなって、プリンタ本体における保持部202を開閉するように構成されている。プリンタ本体は、蓋部材102が開放位置に位置付けられている状態では、プリンタ本体に対する記録媒体の着脱を許容するように、保持部202を開放する。また、プリンタ本体は、保持部202が保持する記録媒体を、記録部やカッタ部(いずれも図示を省略する)を経由して排出口103へ案内する搬送経路を形成する。
The
記録部は、搬送経路における保持部202と排出口103との間に設けられる。記録部は、保持部202から搬送経路中に引き出された記録媒体に対して、文字などを記録する記録動作をおこなう。記録部は、文字を記録するものに限らず、記号や所定のロゴマークやその他の画像など、文字以外を記録することができる。記録部における記録方式は、たとえばサーマル方式とすることができる。
The recording unit is provided between the holding
サーマル方式の記録をおこなう記録部は、サーマル方式のプリントヘッド(サーマルヘッド)を備えている。具体的には、サーマルヘッドは、記録媒体の幅方向にライン状に配列された複数の発熱素子(発熱抵抗体)や発熱抵抗体を駆動するドライバIC(図3を参照)などを備えている。 A recording unit that performs thermal recording includes a thermal print head (thermal head). Specifically, the thermal head includes a plurality of heating elements (heating resistors) arranged in a line in the width direction of the recording medium, a driver IC (see FIG. 3) that drives the heating resistors, and the like. .
ドライバICは、図示を省略する電源から、サーマルヘッドにおける各発熱素子に対応する電極配線に選択的に通電することによって通電された電極配線に対応する発熱素子を発熱させる。サーマルヘッドは、発熱素子において発生した熱を感熱発色型の記録媒体に伝達することによって、当該記録媒体の感熱発色面に文字、記号、各種の画像などを印刷することができる。 The driver IC heats the heating elements corresponding to the energized electrode wiring by selectively energizing the electrode wiring corresponding to each heating element in the thermal head from a power supply (not shown). The thermal head can print characters, symbols, various images, and the like on the thermal coloring surface of the recording medium by transferring the heat generated in the heating element to the thermal coloring type recording medium.
この実施の形態のように、サーマル方式の印刷をおこなう記録部を備えたプリンタ100においては、感熱発色性を備えた記録媒体を用いる。サーマルヘッドおよび当該サーマルヘッドの制御方法については、公知の各種技術を用いて容易に実現可能であるため説明を省略する。
As in this embodiment, a
記録部は、サーマル方式の印刷に代えて、インパクト方式による印刷をおこなうものであってもよい。インパクト方式による印刷をおこなう記録部は、インパクト方式のプリントヘッド(インパクトプリントヘッド)と、当該インパクトプリントヘッドと記録媒体との間に介在させるインクリボンを保持する機構などを備える(いずれも図示を省略する)。また、インパクト方式による印刷をおこなう記録部は、当該インパクトプリントヘッドを走査方向(記録媒体の幅方向)に往復移動させる駆動力を付与するモータなどの駆動源を備えていてもよい。 The recording unit may perform impact printing instead of thermal printing. A recording unit that performs printing by an impact method includes an impact type print head (impact print head) and a mechanism for holding an ink ribbon interposed between the impact print head and the recording medium (all not shown) To do). The recording unit that performs printing by the impact method may include a driving source such as a motor that applies a driving force to reciprocate the impact print head in the scanning direction (width direction of the recording medium).
インパクトプリントヘッドは、束ねられた複数のワイヤーピンを備え、複数のワイヤーピンの先端をマトリクス状に配列した構造を有している。複数のワイヤーピンは、それぞれ独立して記録媒体側に突出可能とされている。インパクトプリントヘッドは、複数のワイヤーピンを、インクリボンを介して選択的に記録媒体に打ち付け、記録媒体に小さな点(ドット)を打ち出すことによって文字などの印刷をおこなう。インパクトプリントヘッドについては、公知の技術を用いて容易に実現可能であるため説明を省略する。 The impact print head includes a plurality of bundled wire pins, and has a structure in which tips of the plurality of wire pins are arranged in a matrix. The plurality of wire pins can protrude independently toward the recording medium. The impact print head prints characters or the like by selectively hitting a plurality of wire pins on a recording medium via an ink ribbon and printing small dots (dots) on the recording medium. Since the impact print head can be easily realized by using a known technique, the description thereof is omitted.
また、記録部は、搬送経路を間にして、サーマルヘッドに対向配置されたプラテン203を備えている。プラテン203は、印刷に際してサーマルヘッドによって印刷圧が加えられる記録媒体を、搬送経路を間にしてサーマルヘッドとは反対側から支持する。また、プラテン203は、記録媒体を搬送する機能を備えている。
In addition, the recording unit includes a
プラテン203は、搬送経路に引き出された記録媒体の幅方向(記録媒体の搬送方向に直交する方向)に延出する軸を中心として回転可能に設けるとともに、図示を省略するギアなどを介してプラテン用モータ(図3を参照)などの駆動源に連結されるよう設けることができる。これにより、プラテン用モータから伝達された駆動力を受けてプラテン203が回転すると、当該プラテン203とサーマルヘッドとの間に挟持された記録媒体とプラテン203との間に摩擦が生じ、当該摩擦によって記録媒体を搬送することができる。
The
カッタ部は、搬送経路において、記録部よりも記録媒体の搬送方向の下流側に設けられている。カッタ部は、位置が固定された固定刃(図示を省略する)と、搬送経路を間にして固定刃に対向する位置に設けられた可動刃(図示を省略する)と、を備えている。可動刃は、固定刃に対して接離する方向に移動可能に設けられている。可動刃は、記録媒体の切断を待機している場合などの非動作時は、固定刃から離間する位置に位置付けられる。 The cutter unit is provided downstream of the recording unit in the conveyance direction of the recording medium in the conveyance path. The cutter unit includes a fixed blade (not shown) whose position is fixed, and a movable blade (not shown) provided at a position facing the fixed blade with the conveyance path in between. The movable blade is provided so as to be movable in a direction in which the movable blade is in contact with or separated from the fixed blade. The movable blade is positioned at a position away from the fixed blade when not operating, such as when waiting for cutting of the recording medium.
カッタ部は、カッタ用モータ(図3を参照)などの駆動源や、当該モータが発生させた駆動力を可動刃に伝達する動力伝達機構(図示を省略する)などを含んで構成されている。可動刃は、カッタ用モータが発生させた駆動力によって固定刃に接近するように移動し、さらに固定刃に接触した後に固定刃から離間する位置に移動するように、往復移動することが可能に構成されている。 The cutter unit includes a drive source such as a cutter motor (see FIG. 3), a power transmission mechanism (not shown) that transmits a driving force generated by the motor to the movable blade, and the like. . The movable blade can move back and forth so that it moves closer to the fixed blade by the driving force generated by the cutter motor, and then moves away from the fixed blade after contacting the fixed blade. It is configured.
プリンタ100は、固定刃と可動刃との間に記録媒体が位置付けられている状態で、可動刃を上記のように往復移動することにより、記録媒体を切断することができる。具体的には、プリンタ100は、カッタ部において、可動刃の刃全体を固定刃の刃全体に接触させるように当該可動刃を往復移動させることにより、記録媒体を完全に切断する、いわゆるフルカットをおこなうことができる。
The
また、プリンタ100は、カッタ部において、可動刃の刃の一部が固定刃の刃の一部に接触しないように当該可動刃を往復移動させることにより、記録媒体の一部をつなげた状態で切断する、いわゆるパーシャルカットをおこなうことができる。パーシャルカットをおこなうことにより、切断された記録媒体は、個片にならずに、プリンタ100が保持するロール状の記録媒体につながった状態となる。
Further, in the
これにより、切断された記録媒体がプリンタ100の周囲に散乱することを防止できる。パーシャルカットは、記録媒体の幅方向における一端部分をつなげた状態で当該記録媒体を切断する。また、パーシャルカットは、記録媒体の幅方向における中央部分をつなげた状態で当該記録媒体を切断するものであってもよい。
Thereby, it is possible to prevent the cut recording medium from being scattered around the
プリンタ100は、オペレータによる手作業により記録媒体を切断する刃204を備えていてもよい。刃204は、カッタ部と併用することができる。また、刃204は、カッタ部を備えず、オペレータによる手作業によってのみ記録媒体を切断するプリンタに設けてもよい。
The
筐体101において、プリンタ100が設置された状態において上側となる面(筐体101上面)には、操作パネル104が設けられている。操作パネル104は、筐体101上面における排出口103の近傍に設けることができる。操作パネル104は、プリンタ100の状態を報知する各種の状態報知ランプ104a、104b、104cを備えている。
An
各種の状態報知ランプ104a、104b、104cは、それぞれ、プリンタ100が備える制御部(図示を省略する)によって駆動制御され、プリンタ100の状態に応じて点灯する。具体的には、状態報知ランプは、プリンタ100への電源の供給状態に応じて点灯する「POWER」ランプ104aや、プリンタ100において何らかのエラーが発生した場合に点灯する「ERROR」ランプ104bや、保持部202が保持する記録媒体がなくなった場合に点灯する「PAPER」ランプ104cなどを含んでいる。
The various
各種の状態報知ランプ104a、104b、104cは、それぞれ、発光色が異なる。具体的には、「POWER」ランプ104aの発光色を「緑」、「ERROR」ランプ104bの発光色を「赤」、「PAPER」ランプ104cの発光色を「橙」、などのように設定することができる。それぞれ発光色が異なる各種の状態報知ランプ104a、104b、104cを、プリンタ100の状態に応じて点灯(点滅を含む)することにより、プリンタ100の状態を確実に報知することができる。
The various
プリンタ100の状態は、各種の状態報知ランプ104a、104b、104cのそれぞれを単独で点灯することによって報知することができる。具体的には、プリンタ100の状態は、たとえば、該当する状態報知ランプを継続して点灯することによって報知することができる。また、具体的には、プリンタ100の状態は、該当する状態報知ランプ104a、104b、104cを、所定のパターンで点灯させたり消灯させたりして点滅させることなどによって報知することができる。
The status of the
該当する状態報知ランプ104a、104b、104cを点滅させる場合、点滅させるパターンを調整することによってプリンタ100の複数の状態を報知することができる。具体的には、たとえば、「1秒点灯→0.5秒消灯→1秒点灯→・・・」のようなパターンで点滅させたり、「0.5秒点灯→0.1秒消灯→0.5秒点灯→・・・」のようなパターンで点滅させたりすることにより、プリンタ100の複数の状態を報知することができる。
When the corresponding
また、プリンタ100の状態は、各種の状態報知ランプ104a、104b、104cのうち、複数の状態報知ランプ104a、104b、104cを同時に点灯させることによって報知するようにしてもよい。具体的には、緑色の「POWER」ランプ104aと赤色の「ERROR」ランプ104bとを同時に点灯させることなどによって、プリンタ100の状態を報知することができる。
Further, the status of the
複数の状態報知ランプ104a、104b、104cを用いてプリンタ100の状態を報知する場合、「一つの状態報知ランプを点灯させ、別の状態報知ランプを点滅させる」などのように、それぞれの状態報知ランプ104a、104b、104cの点灯(点滅)パターンを異ならせてもよい。具体的には、緑色の「POWER」ランプ104aを継続して点灯させ、赤色の「ERROR」ランプ104bを所定パターンで点滅させることなどによって、プリンタ100の状態を報知するようにしてもよい。
When notifying the status of the
操作パネル104は、さらに、オペレータの入力操作を受け付ける操作受付部104dを備えている。操作受付部104dは、操作に応じて記録媒体を搬送させるための、搬送用の入力操作を受け付ける「FEED」スイッチとすることができる。プリンタ100は、「FEED」スイッチ104dに対する操作を受け付けた場合、プラテン用モータを駆動してプラテン203を回転させることにより、記録媒体を排出口103から排出する方向に搬送する。
The
プリンタ100は、「FEED」スイッチ104dに対する操作がおこなわれている間のみ、プラテン用モータを駆動する。これにより、「FEED」スイッチ104dに対する操作時間に応じて、記録媒体の搬送量(記録媒体を搬送する長さ)を調整することができる。また、プリンタ100は、「FEED」スイッチ104dに対する操作がおこなわれるごとに、一定量ずつプラテン用モータを駆動してもよい。これにより、「FEED」スイッチ104dに対する操作回数に応じて、記録媒体の搬送量(記録媒体を搬送する長さ)を調整することができる。
The
「FEED」スイッチ104dは、筐体101上面など、オペレータが操作しやすい位置に設けられている。また、「FEED」スイッチ104dは、排出口103の近傍に設けられている。プリンタ100は、一般的に、排出口103から排出された記録媒体を回収するためにオペレータがアクセスしやすい状態で設置されるため、排出口103の近傍に「FEED」スイッチ104dを設けることにより、「FEED」スイッチ104dに対するオペレータの操作性を確保することができる。
The “FEED”
プリンタ100は、電源スイッチを備えている。電源スイッチは、たとえば、プリンタ100が台の上などに設置された状態において、筐体101の側面となる位置に設けることができる。プリンタ100(筐体101)の外形寸法は、当該プリンタ100の小型化にともなって小さくなるため、電源スイッチなどのように操作頻度が低い操作部を、筐体101の側面となる位置に設けることにより、限られた筐体101表面を有効に活用し、プリンタ100の小型化に寄与することができる。
The
(プリンタ100のハードウエア構成)
つぎに、この発明にかかる実施の形態のプリンタ100のハードウエア構成について説明する。図3は、この発明にかかる実施の形態のプリンタ100のハードウエア構成を示す説明図である。図3において、この発明にかかる実施の形態のプリンタ100は、CPU301と、フラッシュメモリー302と、RAM303と、サーマルヘッドのドライバIC304と、通信モジュール305と、「FEED」スイッチ104dと、プラテン用モータ306と、カッタ用モータ307と、開閉センサ308と、残量センサ309と、サーモセンサ310と、各種状態報知ランプ104a、104b、104cと、を備えている。
(Hardware configuration of printer 100)
Next, a hardware configuration of the
CPU301は、プリンタ100全体の制御をつかさどる。フラッシュメモリー302は、ブートプログラムなどのプログラムを記憶している。RAM303は、CPU301のワークエリアとして使用される。RAM303は、たとえば、CPU301が印刷データに基づく印刷にかかるイメージデータを展開する際に使用される。
The
通信モジュール305は、通信I/F(インターフェイス)305aと、通信状態検知モジュール305bと、フラッシュメモリー305cとを備え、通信I/F305a、通信状態検知モジュール305bおよびフラッシュメモリー305cによって1つのモジュールを構成している。
The
通信I/F305aは、図示を省略する外部装置との間で無線通信をおこなうインターフェイスをつかさどる。通信モジュール305は、通信I/F305aを用いて、コンピュータ装置におけるデータの入出力を制御する。外部装置は、プリンタ100に対する各種の命令情報を生成し、生成した命令情報をプリンタ100に対して出力する。外部装置は、具体的には、ファミリーレストランなどの飲食店における注文の入力を受け付けた端末から送信される注文情報を受け付けるサーバ装置などによって実現することができる。
The communication I /
通信状態検知モジュール305bは、外部装置とプリンタ100との接続状態を検知する。通信モジュール305は、通信状態検知モジュール305bによる検知結果をCPU301に出力する。通信モジュール305は、通信状態検知モジュール305bを用いて、定期的に、外部装置とプリンタ100との接続状態を検知し、外部装置とプリンタ100との接続が切断されていることを検知した場合に、検知結果をCPU301に出力する。あるいは、通信モジュール305は、通信状態検知モジュール305bを用いて、定期的に、外部装置とプリンタ100との接続状態を検知し、外部装置とプリンタ100との接続状態にかかわらず、検知結果をCPU301に出力するようにしてもよい。
The communication
フラッシュメモリー305cは、図示を省略するペアリング情報データベースを記憶している。フラッシュメモリー305cは、プリンタ100の電源をOFFした場合にも、記憶した情報(ペアリング情報データベースの情報)が揮発しない不揮発性の記憶媒体によって実現する。フラッシュメモリー305cは、ペアリング情報データベースにおいて、プリンタ100と、プリンタ100と接続した外部装置(サーバ装置)との接続の履歴を示す接続履歴(ペアリング情報)を記憶する。
The
ペアリング情報データベースにおいては、過去に接続を確立したサーバ装置の識別情報などのデバイス情報が、接続履歴(ペアリング情報)として記憶されている。ペアリング情報データベースにおいては、過去に接続を確立したサーバ装置の識別情報などのデバイス情報を、接続を確立した順に記憶することができる。また、ペアリング情報データベースにおいては、たとえば、過去に接続を確立したサーバ装置の識別情報などのデバイス情報と、当該サーバ装置との接続が確立された日時に関する情報と、が関連付けられて記憶されていてもよい。さらに、ペアリング情報データベースにおいては、たとえば、過去に接続を確立したサーバ装置の識別情報などのデバイス情報と、当該サーバ装置との接続が確立された日時および当該サーバ装置との接続が切断された日時に関する情報と、が関連付けられて記憶されていてもよい。 In the pairing information database, device information such as identification information of a server apparatus that has established a connection in the past is stored as a connection history (pairing information). In the pairing information database, it is possible to store device information such as identification information of a server device that has established a connection in the order in which the connection was established. In the pairing information database, for example, device information such as identification information of a server device that has established a connection in the past and information related to the date and time when the connection with the server device has been established are stored in association with each other. May be. Furthermore, in the pairing information database, for example, device information such as identification information of a server device that has established a connection in the past, the date and time when the connection with the server device was established, and the connection with the server device was disconnected The date and time information may be stored in association with each other.
この実施の形態においては、通信I/F305a、通信状態検知モジュール305bおよびフラッシュメモリー305cによって構成される通信モジュール305を用いてプリンタ100と外部装置(サーバ装置)とを接続するようにしたが、これに限るものではない。この発明にかかるプリンタ100においては、通信I/F305aと、通信状態検知モジュール305bと、フラッシュメモリー305cとが、それぞれ独立して設けられていてもよい。
In this embodiment, the
この実施の形態においては、通信I/F305aおよび通信状態検知モジュール305bとともに通信モジュール305を構成するフラッシュメモリー305cに、ペアリング情報データベースを設けるようにしたが、これに限るものではない。上記の構成におけるフラッシュメモリー305cに代えて、フラッシュメモリー302にペアリング情報データベースを設けてもよい。また、プリンタ100において、通信I/F305aと通信状態検知モジュール305bとフラッシュメモリー305cとをそれぞれ独立して設ける場合、ペアリング情報データベースは、独立して設けられたフラッシュメモリー305cに設けてもよく、フラッシュメモリー302に設けてもよい。
In this embodiment, the pairing information database is provided in the
サーマルヘッドのドライバIC304は、CPU301によって駆動制御され、サーマルヘッドが備える複数の発熱素子のそれぞれに対応する電極配線に対して選択的に通電し、各発熱素子を選択的に発熱させる。このように、プリンタ100は、サーマルヘッドの発熱素子において発生した熱を感熱発色型の記録媒体に伝達することによって、当該記録媒体の感熱発色面に文字、記号、各種のイメージなどを印刷することができる。
The thermal
「FEED」スイッチ104dは、オペレータの操作を受け付けた場合に、当該オペレータの操作を受け付けたことを示す信号をCPU301に出力する。「FEED」スイッチ104dは、オペレータの操作を受け付けている間、当該オペレータの操作を受け付けたことを示す信号をCPU301に出力するように構成することができる。この場合、CPU301は、「FEED」スイッチ104dからオペレータの操作を受け付けたことを示す信号が出力されている間、プラテン用モータ306を駆動制御する。
When the “FEED”
プラテン用モータ306およびカッタ用モータ307は、電気エネルギーを機械エネルギーに変換し、回転駆動力を発生する。プラテン用モータ306は、たとえば、ステッピングモータなどによって実現することができる。カッタ用モータ307は、たとえば、DCモータなどによって実現することができる。
The
プラテン用モータ306およびカッタ用モータ307は、それぞれ、CPU301によって駆動制御され、励磁シーケンスや印加される電流の方向に応じて回転方向を切り換える。すなわち、プラテン用モータ306およびカッタ用モータ307に励磁シーケンスや印加する電流の方向をCPU301によってそれぞれ制御することにより、プラテン用モータ306およびカッタ用モータ307の回転方向をそれぞれ任意に切り換えることができる。
The
開閉センサ308は、筐体101に対する蓋部材102の位置に応じて出力値が変化する。開閉センサ308は、蓋部材102が開放位置に位置付けられている状態と、蓋部材102が閉塞位置に位置付けられている状態とで出力値が異なる。開閉センサ308は、たとえば、マイクロスイッチによって実現することができる。
The output value of the open /
CPU301は、開閉センサ308からの出力値に基づいて、蓋部材102が開放位置に位置付けられているか、閉塞位置に位置付けられているかを判断することができる。CPU301は、開閉センサ308の出力値に基づいて蓋部材102が開放位置に位置付けられていると判断した場合に、各種状態報知ランプのうち、緑色の「POWER」ランプ104aを点灯させるとともに、赤色の「ERROR」ランプ104bを点灯させる。CPU301は、プリンタ100の電源がON状態である場合は、緑色の「POWER」ランプ104aを常時点灯させる。
Based on the output value from the open /
残量センサ309は、保持部202における記録媒体の残量、および、保持部202における記録媒体の有無に応じて、それぞれ出力値が異なる。残量センサ309は、保持部202における記録媒体の残量が所定量以下になった場合(ペーパーニアエンドになった場合)に、第1の出力値を出力する。また、残量センサ309は、保持部202における記録媒体がなくなった場合(ペーパーエンドになった場合)に、第2の出力値を出力する。CPU301は、残量センサ309からの出力値に基づいて、保持部202における記録媒体の残量が所定量以下になったか、保持部202における記録媒体がなくなったかを判断することができる。
The remaining
CPU301は、残量センサ309からの出力値に基づいてペーパーニアエンドになったと判断した場合に、各種状態報知ランプのうち、緑色の「POWER」ランプ104aおよび橙色の「PAPER」ランプ104cを点灯させる。また、CPU301は、残量センサ309からの出力値に基づいてペーパーエンドになったと判断した場合に、緑色の「POWER」ランプ104a、赤色の「ERROR」ランプ104bおよび橙色の「PAPER」ランプ104cを点灯させる。
When the
サーモセンサ310は、サーマルヘッドの温度に応じて出力値が変化する。サーモセンサ310は、サーマルヘッドの温度が、あらかじめ定められた所定の温度以上になった場合に、出力値が変化する。サーモセンサ310の出力値にかかわる所定の温度は、たとえば、サーマルヘッドの温度が、正常な記録結果を得られる温度の上限値とすることができる。
The
CPU301は、サーモセンサ310からの出力値に基づいて、プリンタ100の状態が記録動作の実行が可能な状態であるか否かを判断する。CPU301は、サーモセンサ310からの出力値に基づいてサーマルヘッドの温度が所定の温度以上(オーバーヒートエラーが発生している状態)であると判断した場合に、緑色の「POWER」ランプ104aを点灯させるとともに、赤色の「ERROR」ランプ104bを所定のパターンで点滅させる。
Based on the output value from the
(プリンタ100の機能的構成)
つぎに、この発明にかかる実施の形態のプリンタ100の機能的構成について説明する。図4は、この発明にかかる実施の形態のプリンタ100の機能的構成を示すブロック図である。図4において、この発明にかかる実施の形態のプリンタ100は、状態検出部401と、記憶部402と、操作受付部403と、計時部404と、第1の操作時間判断部405と、第2の操作時間判断部406と、履歴消去部407と、接続要求出力部408と、応答受信部409と、接続確立部410と、を備える。
(Functional configuration of printer 100)
Next, a functional configuration of the
状態検出部401は、プリンタ100が記録動作を実行不能な状態であることを検出する。状態検出部401は、蓋部材102が開放位置に位置付けられている状態と閉塞位置に位置付けられている状態とで出力値が変化するセンサである開閉センサ308によって実現することができる。この場合、状態検出部401は、開閉センサ308の出力値に基づいて、蓋部材102が開放位置に位置付けられている状態であると判断される場合を、プリンタ100が記録動作を実行不能な状態であると判断することができる。
The
また、状態検出部401は、記録媒体がある状態と当該記録媒体がない状態とで出力値が変化するセンサである残量センサ309によって実現することができる。この場合、状態検出部401は、残量センサ309の出力値に基づいて、記録媒体がない状態であると判断される場合を、プリンタ100が記録動作を実行不能な状態であると判断することができる。
In addition, the
記憶部402は、サーバ装置などの外部装置450との接続履歴(ペアリング情報)を記憶する。記憶部402は、上記のペアリング情報データベースあるいは当該ペアリング情報データベースを備えるフラッシュメモリー305cなどの記憶媒体によって実現することができる。記憶部402は、プリンタ100の電源をOFFした場合にも、記憶した接続履歴(ペアリング情報)を失うことなく記憶する。
The
操作受付部403は、記録動作にかかわる入力操作を受け付ける。この実施の形態のプリンタ100においては、「FEED」スイッチ104dによって操作受付部403を実現することができる。計時部404は、操作受付部403が継続して入力操作を受け付けた操作時間を計時する。計時部404は、たとえば、CPU301が備える計時機能を利用して、操作受付部403を実現する「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから、当該入力操作による「FEED」スイッチ104dの押圧が解除されるまでの時間を計時する。
The
第1の操作時間判断部405は、記録動作を実行不能な状態で操作受付部403が入力操作を受け付けた場合、計時部404が計時する操作時間が第1の所定時間よりも長いか否かを判断する。第1の所定時間は、オペレータが「FEED」スイッチ104dを意図的に操作したと判断するために十分な時間であることが好ましく、具体的には、たとえば、「2秒」などのように設定することができる。第1の所定時間は、たとえば、プリンタ100の設計者などが任意に設定することができ、「2秒」に限るものではない。
The first operation
第2の操作時間判断部406は、第1の操作時間判断部405の判断結果に基づいて、操作時間が第1の所定時間よりも長い場合に、当該操作時間が、第1の所定時間よりも長い第2の所定時間よりも長いか否かを判断する。第2の所定時間は、オペレータが「FEED」スイッチ104dを意図的に第1の所定時間よりも長い時間操作したと判断するために十分な時間であることが好ましく、具体的には、たとえば、「5秒」などのように設定することができる。第2の所定時間は、たとえば、プリンタ100の設計者などが任意に設定することができ、「5秒」に限るものではない。
Based on the determination result of the first operation
履歴消去部407は、第2の操作時間判断部406の判断結果に基づいて、操作時間が第2の所定時間よりも長い場合、記憶部402が記憶する接続履歴(ペアリング情報)を消去する。この実施の形態のプリンタ100においては、履歴消去部407は、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから、そのまま5秒以上連続して「FEED」スイッチ104dが押圧されている状態が継続した場合に、記憶部402が記憶する接続履歴(ペアリング情報)を消去する。
Based on the determination result of the second operation
接続要求出力部408は、状態検出部401の検出結果に基づいて、記録動作を実行不能な状態において操作受付部403が入力操作を受け付けた場合、外部装置450に対して接続を要求する第1の接続要求を無線通信によって出力する。開閉センサ308によって状態検出部401を実現する場合、接続要求出力部408は、開閉センサ308の出力値に基づいて、蓋部材102が開放位置に位置付けられている状態において、「FEED」スイッチ104dが押圧されることによる入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して第1の接続要求を出力する。
Based on the detection result of the
残量センサ309によって状態検出部401を実現する場合、接続要求出力部408は、残量センサ309の出力値に基づいて、記録媒体がない状態において、「FEED」スイッチ104dが押圧されることによる入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して第1の接続要求を出力する。
When the
また、接続要求出力部408は、記憶部402が記憶する接続履歴(ペアリング情報)に基づいて特定されるサーバ装置に対して第1の接続要求を出力する。具体的には、接続要求出力部408は、記憶部402が記憶する接続履歴(ペアリング情報)に基づいて特定されるサーバ装置のうち、直近に接続したサーバ装置に対して第1の接続要求を出力する。また、具体的には、接続要求出力部408は、記憶部402が記憶する接続履歴(ペアリング情報)に基づいて特定されるすべてのサーバ装置に対して第1の接続要求を出力してもよい。
In addition, the connection
また、接続要求出力部408は、第1の操作時間判断部405の判断結果に基づいて、操作時間が第1の所定時間よりも長い場合に、サーバ装置に対して第1の接続要求を出力する。これにより、「FEED」スイッチ104dが第1の所定時間よりも長い時間継続して押圧された場合にのみ、サーバ装置に対する第1の接続要求が出力される。これによって、記録動作を実行不能な状態において、操作者が操作受付部403を誤操作した場合などに、外部装置450に対する第1の接続要求が不用意に出力されることを防止できる。
Further, the connection
また、接続要求出力部408は、第2の操作時間判断部406の判断結果に基づき記憶部402が記憶する接続履歴(ペアリング情報)を履歴消去部407が消去した場合、当該接続履歴(ペアリング情報)を消去した後に、接続可能な外部装置450からの応答を要求する探索要求を出力する。この場合、接続要求出力部408は、接続履歴(ペアリング情報)を消去した後に出力した探索要求に応答した外部装置450に対して、第1の接続要求を出力する。
Further, the connection
応答受信部409は、接続要求出力部408が第1の接続要求を出力した結果、当該第1の接続要求を受信した外部装置450(サーバ装置)から送信された第2の接続要求を待機する。第2の接続要求は、接続要求出力部408が出力した第1の接続要求を受信したサーバ装置が当該第1の接続要求に応じてプリンタ100に対して送信する応答であって、プリンタ100に対して接続を要求する情報を含む。第2の接続要求は、たとえば、接続を要求する外部装置(サーバ装置)450の識別情報や、当該外部装置(サーバ装置)450のデバイス名などの情報を含む。
As a result of the connection
また、応答受信部409は、第2の接続要求を待機するとともに、接続要求出力部408が出力した第1の接続要求に応じて外部装置(サーバ装置)450から送信された第2の接続要求を受信する。また、応答受信部409は、接続要求出力部408が探索要求を出力した結果、当該探索要求を受信した外部装置450が当該探索要求に応じてプリンタ100に対して送信した応答(探索応答)を受信する。探索応答は、たとえば、当該探索応答の送信元となる外部装置(サーバ装置)450の識別情報や、当該外部装置(サーバ装置)450のデバイス名などの情報を含む。
In addition, the
接続要求出力部408は、探索要求を出力した結果、外部装置450からプリンタ100に対して送信された応答(探索応答)を応答受信部409が受信した場合に、当該応答(探索応答)の送信元となる外部装置450を探索要求に応答した外部装置450とし、当該外部装置450に対して第1の接続要求を出力する。
When the
接続確立部410は、探索要求を出力した結果、当該探索要求に応じた応答(第2の接続要求)の送信元となる外部装置450との間で通信をおこなうことによって、当該外部装置450との間での接続を確立する。記憶部402は、応答(第2の接続要求)の送信元となる外部装置450との接続が確立された場合に、確立された接続履歴(ペアリング情報)を記憶する。
As a result of outputting the search request, the
(プリンタ100の処理手順)
つぎに、この発明にかかる実施の形態のプリンタ100の処理手順について説明する。図5、図6、図7、図8、図9および図10は、この発明にかかる実施の形態のプリンタ100の処理手順を示すフローチャートである。図5のフローチャートにおいて、まず、ペアリング情報データベースに、該当する接続履歴(ペアリング情報)があるか否かを判断する(ステップS501)。
(Processing procedure of the printer 100)
Next, a processing procedure of the
ステップS501において、ペアリング情報データベースに該当する接続履歴(ペアリング情報)がある場合(ステップS501:Yes)、ステップS507へ移行する。一方、ステップS501において、ペアリング情報データベースに該当する接続履歴(ペアリング情報)がない場合(ステップS501:No)、プリンタ100の周囲の外部装置450であるスレーブを探索する(ステップS502)。ステップS502においては、たとえば、プリンタ100と接続可能な外部装置450からの応答を要求する探索要求を出力することによって、周囲の外部装置450を探索する。
If there is a connection history (pairing information) corresponding to the pairing information database in step S501 (step S501: Yes), the process proceeds to step S507. On the other hand, if there is no corresponding connection history (pairing information) in the pairing information database in step S501 (step S501: No), the slave that is the
つぎに、ステップS502において探索要求を出力することによって周囲の外部装置450を探索した結果、プリンタ100の周囲の外部装置450を検出したか否かを判断する(ステップS503)。ステップS503においては、たとえば、ステップS502において送信した探索要求に応じた応答(探索応答)を受信したか否かを判断することにより、プリンタ100の周囲の外部装置450を検出したか否かを判断する。
Next, as a result of searching the surrounding
ステップS503においてプリンタ100の周囲の外部装置450を検出していない場合(ステップS503:No)、ステップS502へ移行して、再度、プリンタ100の周囲の外部装置450であるスレーブ(サーバ装置)を探索する。これにより、あらたな外部装置450であるスレーブ(サーバ装置)を発見するまで、探索がおこなわれる。
If the
一方、ステップS503においてプリンタ100の周囲の外部装置450を検出した場合(ステップS503:Yes)、探索された外部装置450との接続履歴(ペアリング情報)があるか否かを判断する(ステップS504)。ステップS504においては、たとえば、ペアリング情報データベースを参照して、ステップS503:Yesにおいて検出したプリンタ100の周囲の外部装置450から送信された応答(探索応答)に含まれる当該外部装置450の識別情報が、ペアリング情報データベースに記憶されているか否かを判断することによって実現することができる。
On the other hand, when the
ステップS504において、探索された外部装置450との接続履歴(ペアリング情報)がある場合(ステップS504:Yes)、ステップS507へ移行する。一方、ステップS504において、探索された外部装置450との接続履歴(ペアリング情報)がない場合(ステップS504:No)、ペアリング処理を実行する(ステップS505)。
If there is a connection history (pairing information) with the searched
ステップS505においては、たとえば、プリンタ100と探索された外部装置450との間で、認証をおこなったり、互いのデバイス情報をやりとしたりするなどして、通信相手を特定することによってペアリング処理を実行する。ペアリング処理については、公知の技術であるため説明を省略する。
In step S505, for example, authentication is performed between the
つぎに、ステップS505においておこなったペアリング処理が成功したか否かを判断する(ステップS506)。ステップS506においては、たとえば、探索された外部装置450との間で所定のテスト用データなどの送受信ができるか否かを判断することにより、ペアリング処理が成功したか否かを判断する。ペアリング処理の成功の可否を確認する方法は、公知の技術を用いて容易に実現可能であるため、説明を省略する。ステップS506において、ペアリング処理が成功せず、失敗した場合(ステップS506:No)、ステップS502へ移行し、再度、プリンタ100の周囲の外部装置450であるスレーブを探索する。
Next, it is determined whether or not the pairing process performed in step S505 is successful (step S506). In step S506, for example, it is determined whether or not the pairing process is successful by determining whether or not predetermined test data and the like can be transmitted to and received from the searched
一方、ステップS506においてペアリング処理が成功した場合(ステップS506:Yes)、ペアリングが成功した外部装置(サーバ装置)450に対して第1の接続要求を送信して(ステップS507)、一連の処理を終了する。 On the other hand, when the pairing process is successful in step S506 (step S506: Yes), the first connection request is transmitted to the external device (server device) 450 that has been successfully paired (step S507), The process ends.
図6のフローチャートにおいては、上述した図5におけるステップS507において第1の接続要求を送信した結果、当該接続要求の送信先となる外部装置(サーバ装置)450との接続が成功したか否かを判断する(ステップS601)。 In the flowchart of FIG. 6, as a result of transmitting the first connection request in step S507 in FIG. Judgment is made (step S601).
ステップS601において、ステップS507において送信した接続要求の送信先となる外部装置(サーバ装置)450との接続が成功した場合(ステップS601:Yes)、一連の処理を終了する。一方、ステップS507において送信した接続要求の送信先となる外部装置(サーバ装置)450との接続が成功していない場合(ステップS601:No)、ステップS1002へ移行する(図10を参照)。 In step S601, when the connection with the external apparatus (server apparatus) 450 that is the transmission destination of the connection request transmitted in step S507 is successful (step S601: Yes), the series of processing ends. On the other hand, when the connection with the external device (server device) 450 that is the transmission destination of the connection request transmitted in step S507 is not successful (step S601: No), the process proceeds to step S1002 (see FIG. 10).
図7のフローチャートにおいて、まず、蓋部材102が閉じているか否かを判断する(ステップS701)。ステップS701においては、開閉センサ308の出力値に基づいて、蓋部材102が閉塞位置に位置付けられているか否かを判断することによって、蓋部材102が閉じているか否かを判断することができる。ステップS701において、蓋部材102が閉じていない場合(ステップS701:No)、一連の処理を終了する。
In the flowchart of FIG. 7, first, it is determined whether or not the
ステップS701において、蓋部材102が閉じている場合(ステップS701:Yes)、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信したか否かを判断する(ステップS702)。ステップS702において、蓋部材102が閉じている状態で、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信した場合(ステップS702:Yes)、記録動作を実行して(ステップS703)、一連の処理を終了する。ステップS703においては、プラテン用モータ306を駆動するとともに、記録指示に含まれる記録情報に基づいて、ドライバIC304の制御によってサーマルヘッドにおける該当する発熱素子に順次通電することにより、記録動作を実行する。
In step S701, when the
一方、ステップS702において、蓋部材102が閉じている状態で、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信していない場合(ステップS702:No)、「FEED」スイッチ104dがON状態になったか否かを判断する(ステップS704)。ステップS704においては、オペレータが「FEED」スイッチ104dを押圧することにより、当該「FEED」スイッチ104dからの出力値が変化したか否かを判断することによって、「FEED」スイッチ104dがON状態になったか否かを判断することができる。
On the other hand, in step S702, when the
ステップS704において、蓋部材102が閉じている状態で、「FEED」スイッチ104dがON状態になっていない場合(ステップS704:No)、ステップS701へ移行し、蓋部材102が閉じているか否かを判断する。ステップS704において、蓋部材102が閉じている状態で、「FEED」スイッチ104dがON状態になった場合(ステップS704:Yes)、「FEED」スイッチ104dに対する操作に応じてプラテン用モータ306を駆動して(ステップS705)、一連の処理を終了する。
In step S704, when the “FEED”
ステップS705においては、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてからの経過時間(操作時間)に応じて、当該入力操作による「FEED」スイッチ104dの押圧が解除されるまで、記録媒体が排出口103から排出される方向に、プラテン用モータ306を駆動する。
In step S705, the pressing of the “FEED”
図8のフローチャートにおいて、まず、蓋部材102が開いているか否かを判断する(ステップS801)。ステップS801においては、開閉センサ308の出力値に基づいて、蓋部材102が開放位置に位置付けられているか否かを判断することによって、蓋部材102が開いているか否かを判断することができる。ステップS801において、蓋部材102が開いていない場合(ステップS801:No)、一連の処理を終了する。
In the flowchart of FIG. 8, it is first determined whether or not the
ステップS801において、蓋部材102が開いている場合(ステップS801:Yes)、「FEED」スイッチ104dがON状態になったか否かを判断する(ステップS802)。ステップS802においては、上記の図7におけるステップS704と同様に、オペレータが「FEED」スイッチ104dを押圧することにより、当該「FEED」スイッチ104dからの出力値が変化したか否かを判断することによって、「FEED」スイッチ104dがON状態になったか否かを判断することができる。
In step S801, when the
プリンタ100は、ステップS802:Yesにおいて「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けた場合、当該入力操作が継続しておこなわれた経過時間(操作時間)の計時を開始する。また、プリンタ100は、ステップS802:Yesにおいて「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから、当該入力操作による「FEED」スイッチ104dの押圧が解除されるまでの間、経過時間(操作時間)を計時する。
When the
プリンタ100は、入力操作による「FEED」スイッチ104dの押圧が解除された後に、「FEED」スイッチ104dに対する入力操作を受け付けた場合、経過時間(操作時間)を計時しなおす。すなわち、プリンタ100は、入力操作による「FEED」スイッチ104dの押圧が解除されるごとに、それまでに計時した経過時間(操作時間)をリセットし、「FEED」スイッチ104dに対する入力操作を受け付けるごとに、経過時間(操作時間)をあらたに計時する。
When the input operation to the “FEED”
ステップS802において、蓋部材102が開いている状態で、「FEED」スイッチ104dがON状態になっていない場合(ステップS802:No)、ステップS801へ移行して、蓋部材102が開いているか否かを判断する。ステップS802において、蓋部材102が開いている状態で、「FEED」スイッチ104dがON状態になった場合(ステップS802:Yes)、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから2秒経過したか否かを判断する(ステップS803)。ステップS803においては、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてからの経過時間(操作時間)が2秒以上であるか(経過時間(操作時間)が2秒に達したか)否かを判断することにより、2秒経過したか否かを判断することができる。
In step S802, when the “FEED”
ステップS803において、蓋部材102が開いている状態で、「FEED」スイッチ104dに対する入力操作を受け付けてから2秒経過する前に、当該入力操作による「FEED」スイッチ104dの押圧が解除された場合(ステップS803:No)、ステップS801へ移行する。
In step S <b> 803, when the pressing of the “FEED”
一方、ステップS803において、蓋部材102が開いている状態で、「FEED」スイッチ104dに対する入力操作を受け付けてから2秒経過した場合(ステップS803:Yes)、蓋部材102が開いている状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから5秒経過したか否かを判断する(ステップS804)。ステップS804においては、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてからの経過時間(操作時間)が5秒以上であるか(経過時間(操作時間)が5秒に達したか)否かを判断することにより、5秒経過したか否かを判断することができる。
On the other hand, in step S803, when 2 seconds have elapsed since the input operation to the “FEED”
ステップS804において、蓋部材102が開いている状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから2秒経過し、かつ、当該入力操作を受け付けてから5秒経過する前に、当該入力操作による「FEED」スイッチ104dの押圧が解除された場合(ステップS804:No)、ペアリング情報データベースを参照して、当該ペアリング情報データベースが記憶する接続履歴(ペアリング情報)を取得する(ステップS805)。
In step S804, 2 seconds have elapsed since the input operation due to the operator pressing the “FEED”
そして、ステップS805において取得した接続履歴(ペアリング情報)に基づいて、該当する外部装置(サーバ装置)450に対して接続要求を送信して(ステップS806)、一連の処理を終了する。ステップS806においては、たとえば、ステップS805において取得した接続履歴(ペアリング情報)に基づいて特定される外部装置(サーバ装置)450のうち、直近に接続した外部装置(サーバ装置)450に対して接続要求を出力する。 Then, based on the connection history (pairing information) acquired in step S805, a connection request is transmitted to the corresponding external device (server device) 450 (step S806), and the series of processing ends. In step S806, for example, among the external devices (server devices) 450 identified based on the connection history (pairing information) acquired in step S805, the connection is made to the external device (server device) 450 connected most recently. Output the request.
ステップS804において、蓋部材102が開いている状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから5秒経過した場合(ステップS804:Yes)、ペアリング情報データベースが記憶する接続履歴(ペアリング情報)を消去し(ステップS807)、その後、図5に示したステップS502へ移行する。
In step S804, when 5 seconds have elapsed since the input operation by the operator pressing the “FEED”
図9のフローチャートにおいて、まず、残量センサ309からの出力値に基づいてペーパーエンドを検出した(ペーパーエンドになった)か否かを判断する(ステップS901)。ステップS901において、ペーパーエンドを検出した場合(ステップS901:Yes)、緑色の「POWER」ランプ104a、赤色の「ERROR」ランプ104bおよび橙色の「PAPER」ランプ104cを点灯させる(ステップS902)。
In the flowchart of FIG. 9, first, based on the output value from the remaining
つぎに、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがON状態になったか否かを判断する(ステップS903)。ステップS903においては、上記の図8におけるステップS802や図7におけるステップS704と同様に、オペレータが「FEED」スイッチ104dを押圧することにより、当該「FEED」スイッチ104dからの出力値が変化したか否かを判断することによって、「FEED」スイッチ104dがON状態になったか否かを判断することができる。
Next, it is determined whether or not the “FEED”
プリンタ100は、ステップS903:Yesにおいて「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けた場合、当該入力操作が継続しておこなわれた経過時間(操作時間)の計時を開始する。また、プリンタ100は、ステップS903:Yesにおいて「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから、当該入力操作による「FEED」スイッチ104dの押圧が解除されるまでの間、経過時間(操作時間)を計時する。さらに、プリンタ100は、入力操作による「FEED」スイッチ104dの押圧が解除された後に、「FEED」スイッチ104dに対する入力操作を受け付けた場合、入力操作による「FEED」スイッチ104dの押圧が解除されるごとに、それまでに計時した経過時間(操作時間)をリセットし、「FEED」スイッチ104dに対する入力操作を受け付けるごとに、経過時間(操作時間)をあらたに計時する。
When the
ステップS903において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがON状態になっていない場合(ステップS903:No)、ステップS901へ移行して、ペーパーエンドを検出したか否かを判断する。ステップS903において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがON状態になった場合(ステップS903:Yes)、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから2秒経過したか否かを判断する(ステップS904)。ステップS904においては、上記の図8におけるステップS803と同様に、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてからの経過時間(操作時間)が2秒以上であるか(経過時間(操作時間)が2秒に達したか)否かを判断することにより、2秒経過したか否かを判断することができる。
In step S903, when the paper end is detected and the "FEED"
ステップS904において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dに対する入力操作を受け付けてから2秒経過する前に、当該入力操作による「FEED」スイッチ104dの押圧が解除された場合(ステップS904:No)、ステップS901へ移行して、ペーパーエンドを検出したか否かを判断する。
In step S904, when the input of the “FEED”
一方、ステップS904において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dに対する入力操作を受け付けてから2秒経過した場合(ステップS904:Yes)、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから5秒経過したか否かを判断する(ステップS905)。ステップS905においては、上記の図8におけるステップS804と同様に、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてからの経過時間(操作時間)が5秒以上であるか(経過時間(操作時間)が5秒に達したか)否かを判断することにより、5秒経過したか否かを判断することができる。
On the other hand, in step S904, in a state where the paper end is detected and two seconds have elapsed since the input operation to the “FEED”
ステップS905において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから2秒経過し、かつ、当該入力操作を受け付けてから5秒経過する前に、当該入力操作による「FEED」スイッチ104dの押圧が解除された場合(ステップS905:No)、ペアリング情報データベースを参照して、当該ペアリング情報データベースに記憶されている接続履歴(ペアリング情報)を取得する(ステップS906)。
In step S905, two seconds have elapsed since the input operation by pressing the “FEED”
そして、ステップS906において取得した接続履歴(ペアリング情報)に基づいて、該当する外部装置(サーバ装置)450に対して接続要求を送信して(ステップS907)、一連の処理を終了する。ステップS907においては、上記の図8におけるステップS806と同様に、ステップS906において取得した接続履歴(ペアリング情報)に基づいて特定される外部装置(サーバ装置)450のうち、直近に接続した外部装置(サーバ装置)450に対して接続要求を出力する。 Then, based on the connection history (pairing information) acquired in step S906, a connection request is transmitted to the corresponding external device (server device) 450 (step S907), and the series of processing ends. In step S907, as in step S806 in FIG. 8, the external device connected most recently among the external devices (server devices) 450 specified based on the connection history (pairing information) acquired in step S906. (Server apparatus) A connection request is output to 450.
ステップS905において、ペーパーエンドを検出している状態で、「FEED」スイッチ104dがオペレータによって押圧されることによる入力操作を受け付けてから5秒経過した場合(ステップS905:Yes)、ペアリング情報データベースに記憶されている接続履歴(ペアリング情報)を消去し(ステップS908)、その後、図5に示したステップS502へ移行する。
In step S905, when the paper end is detected and 5 seconds have elapsed after receiving an input operation by pressing the “FEED”
ステップS901において、ペーパーエンドを検出していない場合(ステップS901:No)、残量センサ309からの出力値に基づいてペーパーニアエンドを検出した(ペーパーニアエンドになった)か否かを判断する(ステップS909)。ステップS909において、ペーパーニアエンドを検出していない場合(ステップS909:No)、ステップS911へ移行して、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信したか否かを判断する(ステップS911)。一方、ステップS909において、ペーパーニアエンドを検出した場合(ステップS909:Yes)、各種状態報知ランプのうち、緑色の「POWER」ランプ104aおよび橙色の「PAPER」ランプ104cを点灯させて(ステップS910)、一連の処理を終了する。
In step S901, when the paper end is not detected (step S901: No), it is determined whether the paper near end is detected (the paper near end is reached) based on the output value from the remaining amount sensor 309 (step S901). S909). In step S909, when the paper near end is not detected (step S909: No), the process proceeds to step S911, and whether or not the recording instruction transmitted from the external apparatus (server apparatus) 450 with which the connection is established is received. Is determined (step S911). On the other hand, when a paper near end is detected in step S909 (step S909: Yes), among the various status notification lamps, the green “POWER”
ステップS911において、ペーパーエンドおよびペーパーニアエンドのいずれも検出していない状態で、かつ、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信していない場合(ステップS911:No)、ステップS901へ移行して、ペーパーエンドを検出したか否かを判断する。一方、ステップS911において、ペーパーエンドおよびペーパーニアエンドのいずれも検出していない状態において、接続が確立されている外部装置(サーバ装置)450から送信された記録指示を受信した場合(ステップS911:Yes)、受信した記録指示に基づいて記録動作を実行して(ステップS912)、一連の処理を終了する。ステップS912においては、上記の図7におけるステップS703と同様に、プラテン用モータ306を駆動するとともに、記録指示に含まれる記録情報に基づいて、ドライバIC304の制御によってサーマルヘッドにおける該当する発熱素子に順次通電することにより、記録動作を実行する。
In step S911, when neither the paper end nor the paper near end is detected, and the recording instruction transmitted from the external device (server device) 450 with which the connection is established is not received (step S911: No), the process proceeds to step S901, and it is determined whether a paper end is detected. On the other hand, when the recording instruction transmitted from the external device (server device) 450 with which the connection is established is received in step S911 in which neither the paper end nor the paper near end is detected (step S911: Yes). Then, the recording operation is executed based on the received recording instruction (step S912), and the series of processes is terminated. In step S912, similarly to step S703 in FIG. 7 described above, the
図10のフローチャートは、外部装置(サーバ装置)450との接続が確立されている状態でおこなわれる。図10のフローチャートにおいて、まず、外部装置(サーバ装置)450との接続が確立されている状態で、当該接続が切断されたと判断するまで待機する(ステップS1001:No)。ステップS1001において、外部装置(サーバ装置)450との接続が確立されている状態で、当該接続が切断された場合(ステップS1001:Yes)、各種状態報知ランプのうち、緑色の「POWER」ランプ104aを点滅させる(ステップS1002)。
The flowchart in FIG. 10 is performed in a state where a connection with the external device (server device) 450 is established. In the flowchart of FIG. 10, first, in a state where the connection with the external device (server device) 450 is established, the process waits until it is determined that the connection is disconnected (No in step S1001). In step S1001, when the connection with the external device (server device) 450 is established and the connection is disconnected (step S1001: Yes), among the various status notification lamps, the green “POWER”
つぎに、第1の接続要求を送信したか否かを判断し(ステップS1003)、第1の接続要求を送信していない場合(ステップS1003:No)、ステップS1002に移行する。これにより、第1の接続要求を送信するまでの間、各種状態報知ランプのうち、緑色の「POWER」ランプ104aが点滅した状態となる。
Next, it is determined whether or not the first connection request has been transmitted (step S1003). If the first connection request has not been transmitted (step S1003: No), the process proceeds to step S1002. As a result, the green “POWER”
ステップS1003において、第1の接続要求を送信した場合(ステップS1003:Yes)、各種状態報知ランプのうち、緑色の「POWER」ランプ104aを点灯させて(ステップS1004)、一連の処理を終了する。ステップS1004においては、第1の接続要求を送信すると、それまで点滅していた「POWER」ランプ104aが、連続して点灯する。
In step S1003, when the first connection request is transmitted (step S1003: Yes), the green “POWER”
以上説明したように、この発明にかかる実施の形態のプリンタ100は、記録動作を実行不能な状態において「FEED」スイッチ104dを押圧することによる入力操作を受け付けた場合、外部装置450であるサーバ装置に対して接続要求を無線通信によって出力し、出力した接続要求に応じて外部装置450であるサーバ装置から送信される応答(第2の接続要求)を待機し、当該第2の接続要求を受信した場合に当該第2の接続要求の送信元となる外部装置450との間における接続を確立させるようにしたことを特徴としている。
As described above, when the
この発明にかかる実施の形態のプリンタ100によれば、記録動作を実行不能な状態においては、記録動作にかかわる入力操作を受け付ける操作受付部403を用いて、外部装置450に対する接続要求を出力させることができる。これにより、サーバ装置などの外部装置450との接続が切断された場合に接続を復帰させるためのボタンなどの専用の操作部を設けることなく、プリンタ100と外部装置450との接続を復帰させることができる。これによって、簡易な構成によって外部装置450との接続を復帰させることができるので、プリンタ100の小型化を図ることができる。
According to the
また、この発明にかかる実施の形態のプリンタ100は、開閉センサ308の出力値に基づいて、蓋部材102が開放位置に位置付けられている状態において「FEED」スイッチ104dを押圧することによる入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して接続要求を出力するようにしたことを特徴としている。
Further, the
この発明にかかる実施の形態のプリンタ100によれば、蓋部材102が開放位置に位置付けられていることにより記録動作を実行不能な状態においては、記録動作にかかわる入力操作を受け付ける操作受付部403を用いて、外部装置450に対する接続要求を出力させることができる。これにより、プリンタ100の状態を検出するための専用の検出部を設けることなく、プリンタ100の状態を検出することができる。これによって、簡易な構成によって外部装置450との接続を復帰させることができるので、プリンタ100の小型化を図ることができる。
According to the
また、この発明にかかる実施の形態のプリンタ100は、残量センサ309の出力値に基づいて、記録媒体がない状態において「FEED」スイッチ104dを押圧することによる入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して接続要求を出力するようにしたことを特徴としている。
In addition, the
この発明にかかる実施の形態のプリンタ100によれば、記録媒体がないために記録動作を実行不能な状態においては、記録動作にかかわる入力操作を受け付ける操作受付部403を用いて、外部装置450に対する接続要求を出力させることができる。これにより、プリンタ100の状態を検出するための専用の検出部を設けることなく、プリンタ100の状態を検出することができる。これによって、簡易な構成によって外部装置450との接続を復帰させることができるので、プリンタ100の小型化を図ることができる。
According to the
また、この発明にかかる実施の形態のプリンタ100は、外部装置450であるサーバ装置との接続履歴を記憶する記憶部402を実現するペアリング情報データベースが記憶する接続履歴に基づいて特定される外部装置450に対して、接続要求を出力するようにしたことを特徴としている。
In addition, the
この発明にかかる実施の形態のプリンタ100によれば、記録動作を実行不能な状態になるまでに、プリンタ100との接続が確立されていた外部装置450に対して接続要求を出力させることができる。これにより、接続要求の出力に先立って接続可能な外部装置450を探索する場合と比較して、プリンタ100と外部装置450との接続を確立するまでにかかる時間を短くすることができる。これによって、外部装置450との接続が切断されたプリンタ100と外部装置450との接続を早期に復帰させることができる。
According to the
また、この発明にかかる実施の形態のプリンタ100は、「FEED」スイッチ104dを押圧することによる入力操作を継続して受け付けた操作時間が第1の所定時間(たとえば「2秒」)よりも長い場合に、外部装置450であるサーバ装置に対して接続要求を出力するようにしたことを特徴としている。
Further, in the
この発明にかかる実施の形態のプリンタ100によれば、記録動作を実行不能な状態において操作受付部403が継続して入力操作を受け付けた操作時間が、第1の所定時間よりも長い場合にのみ、外部装置450に対する接続要求を出力させることができる。これにより、記録動作を実行不能な状態において、操作者が操作受付部403を誤操作した場合などに、外部装置450に対する接続要求が不用意に出力されることを防止できる。これによって、操作者が意図する場合にのみ、外部装置450との接続が切断されたプリンタ100と外部装置450との接続を確実に復帰させることができる。
According to the
また、この発明にかかる実施の形態のプリンタ100は、「FEED」スイッチ104dを押圧することによる入力操作を継続して受け付けた操作時間が第2の所定時間(たとえば「5秒」)よりも長い場合に、ペアリング情報データベースが記憶する接続履歴を消去するとともに、プリンタ100の周囲の外部装置450に対して接続要求を出力するようにしたことを特徴としている。
Further, in the
この発明にかかる実施の形態のプリンタ100によれば、記録動作を実行不能な状態において操作受付部403が継続して入力操作を受け付けた操作時間が、第2の所定時間よりも長い場合、記録動作を実行不能な状態になるまでに接続されていた外部装置450にかかわらず、プリンタ100に接続可能な外部装置450をあらたな接続対象として当該外部装置450との接続を確立することができる。
According to the
上述した実施の形態においては、「FEED」スイッチ104dを押圧することによる入力操作を継続して受け付けた操作時間が所定時間(たとえば第1の操作時間である「2秒」や第2の操作時間である「5秒」など)より長いか否かに応じて、接続を復帰させる動作パターンを選択するようにしたが、これに限るものではない。操作時間の長さに代えて、「FEED」スイッチ104dを押圧することによる入力操作を所定回数おこなった場合に、当該入力操作の回数に応じて接続を復帰させる動作パターンを選択するようにしてもよい。この場合、入力操作の回数は、たとえば、上記の計時部404に代えて、当該入力回数を計数する計数部(図示を省略する)を設けることによって計数することができる。
In the above-described embodiment, the operation time for which the input operation by continuously pressing the “FEED”
この場合、具体的には、「FEED」スイッチ104dを押圧することによる入力操作が連続して「2回」おこなわれた場合、ペアリング情報データベースが記憶する接続履歴を消去することなく外部装置450に対する接続要求を出力し、当該入力操作が連続して「5回」おこなわれた場合、ペアリング情報データベースが記憶する接続履歴を消去してから接続対象となる外部装置450を探索し、探索した外部装置450に対する接続要求を出力するようにしてもよい。また、この場合、前回の入力操作後所定時間(たとえば「1秒」など)以内に再び入力操作がおこなわれた状態を、連続する入力操作として計数することができる。
In this case, specifically, when the input operation by pressing the “FEED”
これにより、記録動作を実行不能な状態になるまでに接続されていた外部装置450に代えて別の外部装置450とプリンタ100とを接続する場合に、あらたな接続対象となる別の外部装置450を設定するボタンなどの専用の操作部を設けることなく簡易な構成であって、かつ、あらたな接続対象となる別の外部装置450を探索させるための入力操作をおこなわせたりすることなく簡易な操作によって、外部装置450との接続が切断されたプリンタ100と外部装置450との接続を確実に復帰させることができる。これによって、プリンタ100の小型化を図るとともに操作性の向上を図ることができる。
Accordingly, when another
このように、この発明にかかる実施の形態のプリンタ100によれば、通常は記録媒体を搬送するために用いる「FEED」スイッチ104dを押圧する入力操作を、蓋部材102が開放位置に位置付けられていることにより記録動作を実行不能な状態においては記録媒体の搬送には用いず、無線通信の再接続操作に利用することができる。これにより、サーバ装置などの外部装置450との接続が切断された場合に接続を復帰させるためのボタンなどの専用の操作部を不要とすることができる。
As described above, according to the
プリンタ100において、「FEED」スイッチ104dは、記録媒体を搬送するために重要な機構であり、一般的に、プリンタ100における操作しやすい位置に設けられている。また、プリンタ100において、蓋部材102を開放位置に位置付けることは、記録媒体の交換などのために必要であり、一般的に、蓋部材102の開放(カバーオープン)をおこなうことを想定して、蓋部材102の上に常時物を置くことはない。また、同様の理由から、プリンタ100において、蓋部材102を開放位置に位置付ける操作(カバーオープン操作)をおこなうための機構(たとえば、レバーやスイッチなど)へのアクセスを遮るような位置に、常時物を置くこともない。
In the
このようなことから、この発明にかかる実施の形態のプリンタ100によれば、切断された接続を復帰させるための操作に「FEED」スイッチ104dを利用することにより、サーバ装置などの外部装置450との接続が切断された場合に接続を復帰させる操作ができないということがなく、容易かつ確実に接続を復帰させることができる。
For this reason, according to the
また、再接続操作は頻繁に実施するものではなく、サーバ装置などの外部装置450との接続(ペアリング)が切断された場合などのように接続ができなくなってしまった場合の一つの手段であるため、プリンタ100の通常の動作状態(記録動作ができる状態)では動作できないことが望ましい。
Also, the reconnection operation is not performed frequently, but it is one means when the connection cannot be made such as when the connection (pairing) with the
この発明にかかる実施の形態のプリンタ100によれば、蓋部材102を開放位置に位置付ける(カバーオープンする)という操作がおこなわれ、蓋部材102が開放位置に位置付けられた状態でのみ、「FEED」スイッチ104dを操作することによる接続の復帰動作が有効になる。このため、サーバ装置などの外部装置450と接続している状態で、接続を復帰させる操作をしてしまうという誤操作および当該誤操作による誤動作を抑制することができる。
According to the
サーバ装置などの外部装置450と接続している状態で、接続を復帰させる操作をしてしまうと、接続を復帰させる動作をおこなっている間、プリンタ100の通常の動作(記録動作)ができなくなってしまうが、この発明にかかる実施の形態のプリンタ100によれば、上記のように誤操作を防止することができ、不要な復帰動作をおこなわせることなく、プリンタ100の通常の動作状態(記録動作ができる状態)を維持することができる。
If an operation to restore the connection is performed while connected to an
上述した実施の形態においては、記録動作を実行不能な状態において「FEED」スイッチ104dを押圧することによる入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して接続要求を無線通信によって出力するようにしたが、これに限るものではない。この発明にかかるプリンタ100は、外部装置450との接続が確立されている接続状態であるか、外部装置450との接続が切断されている切断状態であるかに応じて、プリンタ100の状態を検出するようにしてもよい。そして、この場合、外部装置450との接続が切断されている状態で操作受付部403が入力操作を受け付けた場合に、外部装置450であるサーバ装置に対して接続要求を出力するようにしてもよい。
In the above-described embodiment, when an input operation by pressing the “FEED”
この場合、上記の各種の作用効果に加えて、プリンタ100と外部装置450との接続状態に応じて、操作受付部403が受け付け可能な入力操作の内容を切り換えることができ、外部装置450との接続が切断されている状態において操作受付部403が入力操作を受け付けた場合に、外部装置450に対する接続要求を出力させることができる。
In this case, in addition to the various effects described above, the contents of the input operation that can be accepted by the
これにより、操作受付部403が受け付け可能な入力操作の内容を切り換えるために格別な操作をおこなうことなく、プリンタ100と外部装置450との接続状態に応じて、操作受付部403が受け付け可能な入力操作の内容を切り換えることができる。これによって、プリンタ100の小型化を図るとともに操作性の向上を図ることができる。
Thus, the input that can be accepted by the
以上のように、この発明にかかるプリンタおよびプログラムは、外部装置から受信した記録指示に基づいて記録動作をおこなうプリンタおよび当該プリンタが実行するプログラムに有用であり、特に、無線機器との間で無線通信をおこなうプリンタおよびプログラムに適している。 As described above, the printer and the program according to the present invention are useful for a printer that performs a recording operation based on a recording instruction received from an external device and a program executed by the printer. Suitable for communicating printers and programs.
100 プリンタ
401 状態検出部
402 記憶部
403 操作受付部
404 計時部
405 第1の操作時間判断部
406 第2の操作時間判断部
407 履歴消去部
408 接続要求出力部
409 応答受信部
410 接続確立部
DESCRIPTION OF
Claims (11)
プリンタ本体を収容する筐体と、
前記筐体が備える開口部を開放する開放位置と前記開口部を閉塞する閉塞位置とに選択的に位置付けられる蓋部材と、
前記蓋部材が前記開放位置に位置付けられている状態と前記閉塞位置に位置付けられている状態とで出力値が変化するセンサと、
前記記録動作にかかわる入力操作を受け付ける操作受付手段と、
前記センサの出力値に基づいて、前記蓋部材が前記開放位置に位置付けられている状態において前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力手段と、
を備え、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させることを特徴とするプリンタ。 A printer that performs a recording operation on a recording medium based on a recording instruction wirelessly transmitted from an external device with which a connection has been established;
A housing for housing the printer body;
A lid member that is selectively positioned at an open position that opens the opening provided in the housing and a closed position that closes the opening;
A sensor whose output value changes between a state where the lid member is positioned at the open position and a state where the lid member is positioned at the closed position;
An operation receiving means for receiving an input operation related to the recording operation;
Based on the output value of the sensor, a first connection request for requesting a connection to the external device when the operation receiving means receives an input operation in a state where the lid member is positioned at the open position Connection request output means for outputting by wireless communication;
With
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A printer that establishes a connection with the external device that is a transmission source of a request.
前記記録媒体がある状態と前記記録媒体がない状態とで出力値が変化するセンサと、
前記記録動作にかかわる入力操作を受け付ける操作受付手段と、
前記センサの出力値に基づいて、前記記録媒体がない状態において前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力手段と、
を備え、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させることを特徴とするプリンタ。 A printer that performs a recording operation on a recording medium based on a recording instruction wirelessly transmitted from an external device with which a connection has been established;
A sensor whose output value changes between the state where the recording medium is present and the state where the recording medium is absent;
An operation receiving means for receiving an input operation related to the recording operation;
A connection for outputting, by wireless communication, a first connection request for requesting connection to the external device when the operation receiving means receives an input operation in the absence of the recording medium based on the output value of the sensor Request output means;
With
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A printer that establishes a connection with the external device that is a transmission source of a request.
前記接続要求出力手段は、前記記憶手段が記憶する接続履歴に基づいて特定される外部装置に対して前記第1の接続要求を出力することを特徴とする請求項1または2に記載のプリンタ。 Storage means for storing a connection history with the external device;
The printer according to claim 1, wherein the connection request output unit outputs the first connection request to an external device specified based on a connection history stored in the storage unit.
前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が第1の所定時間よりも長いか否かを判断する第1の操作時間判断手段と、
を備え、
前記接続要求出力手段は、前記第1の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第1の所定時間よりも長い場合に前記外部装置に対して前記第1の接続要求を出力することを特徴とする請求項3に記載のプリンタ。 Clocking means for clocking an operation time during which the operation receiving means continuously receives an input operation;
First operation time determination for determining whether or not the operation time measured by the time measuring means is longer than a first predetermined time when the operation receiving means receives an input operation in a state where the recording operation cannot be executed. Means,
With
The connection request output means sends the first connection request to the external device when the operation time is longer than the first predetermined time based on the determination result of the first operation time determination means. The printer according to claim 3, wherein the printer outputs.
前記第2の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第2の所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去手段と、
を備え、
前記接続要求出力手段は、前記履歴消去手段が接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して前記第1の接続要求を出力することを特徴とする請求項4に記載のプリンタ。 When the operation time is longer than the first predetermined time, a second operation time for determining whether or not the operation time is longer than a second predetermined time longer than the first predetermined time. Judgment means,
Based on the determination result of the second operation time determination means, when the operation time is longer than the second predetermined time, history erasure means for erasing the connection history stored in the storage means;
With
The connection request output means outputs a search request for requesting a response from a connectable external device after the history erasure means erases the connection history, and sends the first request to the external device responding to the search request. The printer according to claim 4, wherein the connection request is output.
前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出手段と、
前記記録動作にかかわる入力操作を受け付ける操作受付手段と、
前記操作受付手段が継続して入力操作を受け付けた操作時間を計時する計時手段と、
前記状態検出手段の検出結果に基づいて、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が所定時間よりも長いか否かを判断する操作時間判断手段と、
前記外部装置との接続履歴を記憶する記憶手段と、
前記操作時間判断手段の判断結果に基づいて、前記操作時間が前記所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去手段と、
前記履歴消去手段が接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力手段と、
を備え、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させることを特徴とするプリンタ。 A printer that performs a recording operation on a recording medium based on a recording instruction wirelessly transmitted from an external device with which a connection has been established;
State detecting means for detecting that the printer is in a state where the recording operation cannot be performed;
An operation receiving means for receiving an input operation related to the recording operation;
Clocking means for clocking an operation time during which the operation receiving means continuously receives an input operation;
Based on the detection result of the state detection unit, if the operation reception unit receives an input operation in a state where the recording operation cannot be performed, whether or not the operation time counted by the time measurement unit is longer than a predetermined time. An operation time judging means for judging;
Storage means for storing a connection history with the external device;
Based on the determination result of the operation time determination means, if the operation time is longer than the predetermined time, history erasure means for erasing the connection history stored in the storage means;
After the history erasure unit erases the connection history, a search request for requesting a response from a connectable external device is output, and a first connection request for requesting connection to the external device responding to the search request is output. Connection request output means for outputting by wireless communication;
With
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A printer that establishes a connection with the external device that is a transmission source of a request.
前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出手段と、 前記記録動作にかかわる入力操作を受け付ける操作受付手段と、
前記操作受付手段が継続して入力操作を受け付けた操作時間を計時する計時手段と、
前記状態検出手段の検出結果に基づいて、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が第1の所定時間よりも長いか否かを判断する第1の操作時間判断手段と、
前記外部装置との接続履歴を記憶する記憶手段と、
前記第1の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第1の所定時間よりも長い場合に、前記記憶手段が記憶する接続履歴に基づいて特定される外部装置に対して第1の接続要求を出力する接続要求出力手段と、
前記操作時間が前記第1の所定時間よりも長い場合、さらに、前記操作時間が、前記第1の所定時間よりも長い第2の所定時間よりも長いか否かを判断する第2の操作時間判断手段と、
前記第2の操作時間判断手段の判断結果に基づいて、前記操作時間が前記第2の所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去手段と、
を備え、
前記接続要求出力手段は、前記履歴消去手段が接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して接続を要求する前記第1の接続要求を無線通信によって出力し、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させることを特徴とするプリンタ。 A printer that performs a recording operation on a recording medium based on a recording instruction wirelessly transmitted from an external device with which a connection has been established;
State detecting means for detecting that the printer is incapable of executing the recording operation; operation receiving means for receiving an input operation related to the recording operation;
Clocking means for clocking an operation time during which the operation receiving means continuously receives an input operation;
If the operation accepting unit accepts an input operation in a state where the recording operation cannot be performed based on the detection result of the state detecting unit, is the operation time counted by the time measuring unit longer than a first predetermined time? First operating time determining means for determining whether or not,
Storage means for storing a connection history with the external device;
Based on the determination result of the first operation time determination means, when the operation time is longer than the first predetermined time, the storage means to an external apparatus specified based on the connection history is stored a connection request output means for outputting a first connection request,
When the operation time is longer than the first predetermined time, a second operation time for determining whether or not the operation time is longer than a second predetermined time longer than the first predetermined time. Judgment means,
Based on the determination result of the second operation time determination means, when the operation time is longer than the second predetermined time, history erasure means for erasing the connection history stored in the storage means;
With
The connection request output means outputs a search request for requesting a response from a connectable external device after the history erasure means erases the connection history, and requests a connection from the external device responding to the search request. Outputting the first connection request to be performed by wireless communication;
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A printer that establishes a connection with the external device that is a transmission source of a request.
前記センサの出力値に基づいて、前記蓋部材が前記開放位置に位置付けられている状態において前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力工程を含み、
前記接続要求出力工程において出力した第1の接続要求に応じて前記外部装置から送信される、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させるようにしたことを特徴とするプログラム。 A housing that accommodates the printer main body, a lid member that is selectively positioned at an open position that opens the opening included in the housing and a closed position that closes the opening, and the lid member is positioned at the open position And an operation accepting means for accepting an input operation related to a recording operation, and wirelessly transmitted from an external device with a connection established. A program executed by a computer of a printer that executes the recording operation on the recording medium based on the recorded instruction,
Based on the output value of the sensor, a first connection request for requesting a connection to the external device when the operation receiving means receives an input operation in a state where the lid member is positioned at the open position Including a connection request output step of outputting by wireless communication,
In response to the first connection request output in the connection request output step, the second connection request transmitted from the external device for requesting connection to the printer is waited for and the second connection request is received. In this case, the program establishes a connection with the external device that is the transmission source of the second connection request.
前記センサの出力値に基づいて、前記記録媒体がない状態において前記操作受付手段が入力操作を受け付けた場合、前記外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力工程を含み、
前記接続要求出力工程において出力した第1の接続要求に応じて前記外部装置から送信される、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させるようにしたことを特徴とするプログラム。 A sensor that changes an output value between a state where a recording medium is present and a state where the recording medium is not present, and an operation accepting unit that accepts an input operation related to a recording operation, and is wirelessly transmitted from an external device that has established a connection A program executed by a computer of a printer that executes the recording operation on the recording medium based on a recording instruction,
A connection for outputting, by wireless communication, a first connection request for requesting connection to the external device when the operation receiving means receives an input operation in the absence of the recording medium based on the output value of the sensor Including required output process,
In response to the first connection request output in the connection request output step, the second connection request transmitted from the external device for requesting connection to the printer is waited for and the second connection request is received. In this case, the program establishes a connection with the external device that is the transmission source of the second connection request.
前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出工程と、
前記状態検出工程における検出結果に基づいて、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が所定時間よりも長いか否かを判断する操作時間判断工程と、
前記操作時間判断工程における判断結果に基づいて、前記操作時間が前記所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去工程と、
前記履歴消去工程において接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して接続を要求する第1の接続要求を無線通信によって出力する接続要求出力工程と、
を含み、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させるようにしたことを特徴とするプログラム。 An operation receiving unit that receives an input operation related to a recording operation; a time measuring unit that measures an operation time during which the operation receiving unit continuously receives an input operation; and a storage unit that stores a connection history with an external device. A program that is executed by a computer of a printer that executes the recording operation on a recording medium based on a recording instruction wirelessly transmitted from the external device with which a connection has been established,
A state detection step of detecting that the printer is in a state incapable of performing the recording operation;
Based on the detection result in the state detection step, when the operation receiving unit receives an input operation in a state where the recording operation cannot be performed, it is determined whether or not the operation time measured by the time measuring unit is longer than a predetermined time. An operation time determining step for determining;
Based on the determination result in the operation time determination step, if the operation time is longer than the predetermined time, a history erasure step of erasing the connection history stored in the storage means;
After erasing the connection history in the history erasing step, a search request for requesting a response from a connectable external device is output, and a first connection request for requesting connection to the external device responding to the search request A connection request output step for outputting by wireless communication;
Including
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A program characterized in that a connection is established with the external device as a request transmission source.
前記プリンタが前記記録動作を実行不能な状態であることを検出する状態検出工程と、
前記状態検出工程における検出結果に基づいて、前記記録動作を実行不能な状態で前記操作受付手段が入力操作を受け付けた場合、前記計時手段が計時する操作時間が第1の所定時間よりも長いか否かを判断する第1の操作時間判断工程と、
前記第1の操作時間判断工程における判断結果に基づいて、前記操作時間が前記第1の所定時間よりも長い場合に、前記記憶手段が記憶する接続履歴に基づいて特定される外部装置に対して第1の接続要求を出力する接続要求出力工程と、
前記操作時間が前記第1の所定時間よりも長い場合、さらに、前記操作時間が、前記第1の所定時間よりも長い第2の所定時間よりも長いか否かを判断する第2の操作時間判断工程と、
前記第2の操作時間判断工程における判断結果に基づいて、前記操作時間が前記第2の所定時間よりも長い場合、前記記憶手段が記憶する接続履歴を消去する履歴消去工程と、
を備え、
前記接続要求出力工程は、前記履歴消去工程において接続履歴を消去した後に、接続可能な外部装置からの応答を要求する探索要求を出力し、前記探索要求に応答した外部装置に対して接続を要求する前記第1の接続要求を無線通信によって出力し、
前記第1の接続要求に応じて前記外部装置から送信され、前記プリンタに対して接続を要求する第2の接続要求を待機し、前記第2の接続要求を受信した場合に前記第2の接続要求の送信元となる前記外部装置との間における接続を確立させるようにしたことを特徴とするプログラム。An operation receiving unit that receives an input operation related to a recording operation; a time measuring unit that measures an operation time during which the operation receiving unit continuously receives an input operation; and a storage unit that stores a connection history with an external device. A program that is executed by a computer of a printer that executes the recording operation on a recording medium based on a recording instruction wirelessly transmitted from the external device with which a connection has been established,
A state detection step of detecting that the printer is in a state incapable of performing the recording operation;
If the operation accepting unit accepts an input operation in a state where the recording operation cannot be performed based on the detection result in the state detecting step, is the operation time counted by the time measuring unit longer than a first predetermined time? A first operation time determination step for determining whether or not;
Based on the determination result in the first operation time determination step, when the operation time is longer than the first predetermined time, the external device specified based on the connection history stored in the storage means A connection request output step for outputting a first connection request;
When the operation time is longer than the first predetermined time, a second operation time for determining whether or not the operation time is longer than a second predetermined time longer than the first predetermined time. A decision process;
Based on the determination result in the second operation time determination step, when the operation time is longer than the second predetermined time, a history deletion step of deleting the connection history stored in the storage means;
With
The connection request output step outputs a search request for requesting a response from a connectable external device after erasing the connection history in the history erasing step, and requests a connection to the external device responding to the search request Outputting the first connection request to be performed by wireless communication;
The second connection is transmitted when the second connection request is received from the external apparatus in response to the first connection request, and the second connection request for requesting the connection to the printer is received. A program characterized in that a connection is established with the external device as a request transmission source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012107130A JP5945451B2 (en) | 2012-05-08 | 2012-05-08 | Printer and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012107130A JP5945451B2 (en) | 2012-05-08 | 2012-05-08 | Printer and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013233720A JP2013233720A (en) | 2013-11-21 |
JP5945451B2 true JP5945451B2 (en) | 2016-07-05 |
Family
ID=49760228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012107130A Active JP5945451B2 (en) | 2012-05-08 | 2012-05-08 | Printer and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5945451B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015215664A (en) | 2014-05-08 | 2015-12-03 | セイコーエプソン株式会社 | Print control device and control method of print control device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3624608B2 (en) * | 1996-03-26 | 2005-03-02 | セイコーエプソン株式会社 | Printing apparatus and control method thereof |
JP2004082627A (en) * | 2002-08-28 | 2004-03-18 | Canon Inc | Recorder, its control method and program |
JP2005088598A (en) * | 2004-12-03 | 2005-04-07 | Seiko Epson Corp | Printer |
JP4902234B2 (en) * | 2006-03-17 | 2012-03-21 | 株式会社リコー | Wireless USB system |
JP2010136231A (en) * | 2008-12-08 | 2010-06-17 | Fuji Xerox Co Ltd | Operation device and image forming apparatus |
JP5213757B2 (en) * | 2009-02-24 | 2013-06-19 | キヤノン株式会社 | Image processing apparatus, control method for image processing apparatus, and control program |
JP2011183594A (en) * | 2010-03-05 | 2011-09-22 | Toshiba Tec Corp | Portable printer, and system |
-
2012
- 2012-05-08 JP JP2012107130A patent/JP5945451B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013233720A (en) | 2013-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5304829B2 (en) | Image recording apparatus, portable terminal, image recording system, and program | |
JP4681397B2 (en) | Electronic equipment | |
JP2013015948A (en) | Printing system, portable terminal, control method of printing system, and program | |
JP2011189733A (en) | Printer and program | |
JP5600716B2 (en) | Erasing device | |
JP5945451B2 (en) | Printer and program | |
JP6500809B2 (en) | Printing device | |
JP6303799B2 (en) | Image forming apparatus | |
JP2020053753A (en) | Program and communication system | |
JP2013000968A (en) | Recording apparatus, control method for recording apparatus and program | |
JP2015098149A (en) | Printer | |
JP5949106B2 (en) | Printing system, printing apparatus, and printing control program | |
US11034171B2 (en) | Printer and control method for printer | |
JP2006198859A (en) | Recording apparatus and method for controlling recording apparatus | |
JP2012192575A (en) | Printer, and print history management program | |
JP6486106B2 (en) | Printer | |
JP5321909B2 (en) | Tape printer | |
JP6167711B2 (en) | Print processing program | |
JP4266615B2 (en) | Printing condition setting method and printing apparatus | |
JP4540419B2 (en) | Printer and printing system | |
JP6509518B2 (en) | Printer system | |
JP4447933B2 (en) | Printer device | |
JP7433942B2 (en) | printer system, printer and host computer | |
JP2018158558A (en) | Printing device | |
JP2018114691A (en) | Thermal printer, platen opening/closing detection method for thermal printer, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150909 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150915 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151028 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160308 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160331 |
|
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: 20160517 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160530 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5945451 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |