JP5811748B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP5811748B2
JP5811748B2 JP2011216894A JP2011216894A JP5811748B2 JP 5811748 B2 JP5811748 B2 JP 5811748B2 JP 2011216894 A JP2011216894 A JP 2011216894A JP 2011216894 A JP2011216894 A JP 2011216894A JP 5811748 B2 JP5811748 B2 JP 5811748B2
Authority
JP
Japan
Prior art keywords
external device
print information
print
information
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011216894A
Other languages
Japanese (ja)
Other versions
JP2013075437A (en
Inventor
明弘 国松
明弘 国松
雅博 杉本
雅博 杉本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011216894A priority Critical patent/JP5811748B2/en
Publication of JP2013075437A publication Critical patent/JP2013075437A/en
Application granted granted Critical
Publication of JP5811748B2 publication Critical patent/JP5811748B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、無線通信機能を備えた印刷装置に関する。   The present invention relates to a printing apparatus having a wireless communication function.

従来、印刷媒体に印刷を行う印刷装置が知られている。印刷装置で使用される印刷情報には、例えばフォント情報やテンプレート情報がある。フォント情報は例えば文字や数字等のフォントに関する情報である。テンプレート情報は例えば定型フォーム、飾り枠、図形等に関する情報である。これらの印刷情報は印刷装置に内蔵されているメモリに記憶されている。印刷装置は印刷の指示を受け付けた場合、その印刷に必要な印刷情報をメモリに記憶していない場合がある。その場合、印刷装置は外部機器から印刷情報をもらう必要がある。無線通信機能を備えた印刷装置は、他の外部装置と無線により各種データの送受信を行う。ところが通信状況が悪いと正確にデータを受信できない場合がある。そこで例えば、無線通信機能を有する通信端末において、無線の通信状況に応じて、VGAとQVGA(Quarer VGA 320×240ピクセル)サイズの画像データを選択してダウンロードを行う無線通信端末が開示されている(例えば特許文献1参照)。 Conventionally, a printing apparatus that performs printing on a print medium is known. Examples of print information used in the printing apparatus include font information and template information. The font information is information about fonts such as characters and numbers. For example, the template information is information related to a fixed form, a decorative frame, a figure, and the like. Such print information is stored in a memory built in the printing apparatus. When the printing apparatus receives a printing instruction, the printing information may not be stored in the memory. In that case, the printing apparatus needs to receive print information from an external device. A printing apparatus having a wireless communication function transmits and receives various data wirelessly with other external apparatuses. However, there are cases where data cannot be received accurately if the communication status is poor. Thus, for example, in a communication terminal having a wireless communication function, according to the communication status of the wireless radio communication terminal disclosed for downloading by selecting the image data of VGA and QVGA (Qu ar t er VGA 320 × 240 pixels) size (For example, refer to Patent Document 1).

特開2007−129472号公報JP 2007-129472 A

しかしながら、特許文献1に記載の無線通信端末は、印刷情報を印刷装置に送信できる外部機器は、1つであるため、無線の通信状況が悪い場合には、低解像度のQVGAサイズの画像データをダウンロードするしかなく、高解像度のVGAサイズの画像データが必要であっても、安定してダウンロードができないという問題があった。   However, since the wireless communication terminal described in Patent Document 1 has only one external device that can transmit print information to the printing apparatus, when the wireless communication status is poor, low-resolution QVGA-size image data is received. There is a problem that even if high-resolution VGA size image data is necessary, it cannot be stably downloaded.

本発明の目的は、外部機器から印刷情報を無線で受信する場合に、その印刷情報のデータサイズに応じてより安定した通信状況下で印刷情報を受信できる印刷装置を提供することである。   An object of the present invention is to provide a printing apparatus that can receive print information in a more stable communication state according to the data size of the print information when the print information is received wirelessly from an external device.

本発明の一態様に係る印刷装置は、少なくとも一つの外部機器と無線で通信可能な印刷装置であって、印刷の指示を受け付ける受付手段と、前記受付手段によって指示を受け付けた印刷の実行に必要な情報である印刷情報が記憶される印刷情報記憶手段と、前記印刷情報記憶手段に前記印刷情報が記憶されているか否かを判断する記憶判断手段と、前記記憶判断手段によって前記印刷情報が記憶されていないと判断された場合、前記外部機器に、前記印刷情報を記憶しているか否かを問い合わせる問い合わせ信号を送信する問い合わせ信号送信手段と、前記問い合わせ信号送信手段によって送信された前記問い合わせ信号を受信した外部機器から前記問い合わせ信号に対応する応答信号を受信する応答信号受信手段と、前記応答信号受信手段によって受信された前記応答信号に基づき、前記印刷情報を記憶している外部機器を特定する外部機器特定手段と、前記問い合わせ信号送信手段による前記問い合わせ信号の送信から、前記応答信号受信手段による前記応答信号の受信までにかかる時間であって、前記外部機器特定手段によって特定された前記外部機器の動作状況に応じて長くなり得る時間である応答時間を計測する応答時間計測手段と、前記応答時間計測手段によって計測された前記応答時間を記憶する応答時間記憶手段と、無線通信の伝送信号に変換された、前記応答信号受信手段により受信される前記応答信号の受信信号に基づき、前記外部機器特定手段によって特定された前記外部機器との無線通信における受信信号強度であって、特定された前記外部機器の設置環境に応じて小さくなり得る受信信号強度を計測する受信信号強度計測手段と、前記受信信号強度計測手段によって計測された前記受信信号強度を記憶する受信信号強度記憶手段と、前記印刷情報のデータサイズを取得するサイズ取得手段と、前記サイズ取得手段によって取得された前記データサイズが所定サイズより大きいか否かを判断するサイズ判断手段と、前記サイズ判断手段によって前記データサイズが前記所定サイズより大きいと判断された場合、前記受信信号強度記憶手段に記憶されている前記受信信号強度が最も大きいと計測された外部機器を、前記印刷情報の送信を要求する対象機器に決定する第1対象機器決定手段と、前記サイズ判断手段によって前記データサイズが前記所定サイズ以下と判断された場合、前記応答時間記憶手段に記憶されている前記応答時間が最も短いと計測された外部機器を、前記対象機器に決定する第2対象機器決定手段と、前記第1又は第2対象機器決定手段によって決定された前記対象機器に、前記印刷情報の送信を要求する要求信号を送信する要求信号送信手段と、前記要求信号送信手段によって送信された前記要求信号を受信した前記対象機器から送信された前記印刷情報を受信する印刷情報受信手段と、前記印刷情報受信手段によって受信された前記印刷情報に基づき、前記印刷を実行する印刷実行手段とを備えている。 A printing apparatus according to an aspect of the present invention is a printing apparatus capable of wirelessly communicating with at least one external device, and is necessary for executing a printing unit that receives a printing instruction and a printing instruction received by the receiving unit. Print information storage means for storing print information which is various information, storage determination means for determining whether or not the print information is stored in the print information storage means, and the print determination information stored by the storage determination means If it is determined that the print information is stored in the external device, an inquiry signal transmission unit that transmits an inquiry signal asking whether the print information is stored; and the inquiry signal transmitted by the inquiry signal transmission unit. Response signal receiving means for receiving a response signal corresponding to the inquiry signal from the received external device, and the response signal receiving means Thus, based on the response signal received, the external device specifying means for specifying the external device that stores the print information, and the response signal receiving means transmits the inquiry signal, and the response signal receiving means transmits the response. a time taken until the reception of the signal, and the response time measurement means for measuring the external device specified response time are be longer time according to the operating condition of the external device identified by device, the response time measurement Response time storage means for storing the response time measured by the means, and the external device specifying means based on the received signal of the response signal received by the response signal receiving means converted into a transmission signal for wireless communication a received signal strength in a wireless communication with the identified said external device by the installation ring identified the external device A received signal strength measuring means for measuring a received signal strength that may be reduced in response to a received signal strength storing means for storing the received signal strength measured by the received signal strength measurement unit, the data size of the print information A size acquisition unit to acquire, a size determination unit to determine whether the data size acquired by the size acquisition unit is larger than a predetermined size, and the size determination unit to determine that the data size is larger than the predetermined size A first target device determining unit that determines an external device measured as having the highest received signal strength stored in the received signal strength storage unit as a target device that requests transmission of the print information. The response time storage when the size determination means determines that the data size is equal to or smaller than the predetermined size. A second target device determining means for determining the external device measured as the shortest response time stored in the means as the target device, and the target determined by the first or second target device determining means. A request signal transmitting unit that transmits a request signal for requesting transmission of the print information to the device, and the print information transmitted from the target device that has received the request signal transmitted by the request signal transmitting unit. A printing information receiving unit; and a printing execution unit that executes the printing based on the printing information received by the printing information receiving unit.

この印刷装置では、外部から受信すべき印刷情報のデータサイズが所定のサイズより大きい場合、応答信号の受信信号強度が強い外部機器からその印刷情報を受信する。それ故、より安定した通信状況で外部機器から印刷情報を受信できるので、印刷指示に応じた印刷を良好に実行できる。またデータサイズが所定のサイズ以下の場合は、応答信号の応答時間が最も短い外部機器から受信する。それ故、外部機器から速やかに受信した印刷情報を利用して指示に基づく印刷を実行できる。   In this printing apparatus, when the data size of print information to be received from outside is larger than a predetermined size, the print information is received from an external device having a strong response signal reception signal strength. Therefore, print information can be received from the external device in a more stable communication state, and printing according to the print instruction can be executed satisfactorily. When the data size is equal to or smaller than a predetermined size, the response signal is received from the external device having the shortest response time. Therefore, it is possible to execute printing based on the instruction by using the print information received promptly from the external device.

また前記印刷装置では、前記外部機器を識別する識別情報を取得する識別情報取得手段と、前記少なくとも一つの外部機器のうち通信を許可する機器の識別情報を記憶する通信許可識別情報記憶手段と、前記識別情報取得手段が取得した前記識別情報が、前記通信許可識別情報記憶手段に記憶された前記識別情報に該当するか否かを判断する通信許可判断手段とを備えることにより、前記外部機器特定手段は、前記識別情報取得手段が取得した前記識別情報が、前記通信許可判断手段によって前記通信許可識別情報記憶手段に記憶された前記識別情報に該当すると判断された前記外部機器を特定してもよい。これにより、例えば、印刷装置と仕様が異なる外部機器から印刷情報を受信しても使用できない場合、通信を許可する外部機器を特定することによって、外部機器から使用できない印刷情報を受信することを防止できる。   In the printing apparatus, identification information acquisition means for acquiring identification information for identifying the external device, communication permission identification information storage means for storing identification information of a device that permits communication among the at least one external device, A communication permission determining means for determining whether or not the identification information acquired by the identification information acquiring means corresponds to the identification information stored in the communication permission identification information storage means. The means may identify the external device for which the identification information acquired by the identification information acquisition means is determined to correspond to the identification information stored in the communication permission identification information storage means by the communication permission determination means. Good. This prevents, for example, receiving unusable print information from an external device by specifying the external device that permits communication when print information is received from an external device that has different specifications from the printing device. it can.

また前記印刷装置では、前記問い合わせ信号送信手段は、前記外部機器に、前記印刷を実行する印刷媒体と同じ幅の印刷媒体を対象とする前記印刷情報を記憶しているか否かを問い合わせる前記問い合わせ信号を送信してもよい。これにより、例えば、印刷の指示が対象とする印刷媒体の幅と異なる幅の印刷情報を外部機器から受信しても、印刷媒体の幅に応じた適切な印刷を実行できない場合、そこで外部機器に対して印刷を実行する印刷媒体と同じ幅の印刷媒体を対象とする印刷情報を記憶しているか否かを問い合わせることによって、印刷の指示が対象とする印刷媒体の幅に見合った印刷情報を受信できる。   In the printing apparatus, the inquiry signal transmitting unit inquires whether the print information for the print medium having the same width as the print medium for executing the printing is stored in the external device. May be sent. Thus, for example, even if print information having a width different from the width of the print medium targeted by the print instruction is received from the external device, if appropriate printing according to the width of the print medium cannot be performed, In response to the inquiry about whether the print information for the print medium having the same width as the print medium to be printed is stored, the print information corresponding to the width of the target print medium is received. it can.

本発明の実施形態である印刷装置の実施概要を示す図である。1 is a diagram illustrating an outline of an implementation of a printing apparatus according to an embodiment of the present invention. 本発明の実施形態である印刷装置の斜視図である。1 is a perspective view of a printing apparatus according to an embodiment of the present invention. 本発明の実施形態であるカバーを取り外した状態の印刷装置の斜視図である。1 is a perspective view of a printing apparatus with a cover removed according to an embodiment of the present invention. 本発明の実施形態である印刷装置の電気的構成を示すブロック図である。1 is a block diagram illustrating an electrical configuration of a printing apparatus according to an embodiment of the present invention. 本発明の実施形態である通信許可テーブルの一例である。It is an example of the communication permission table which is embodiment of this invention. 本発明の実施形態である通信候補テーブルの一例である。It is an example of the communication candidate table which is embodiment of this invention. 印刷制御処理のフローチャートである。It is a flowchart of a printing control process. 印刷情報取得処理のフローチャートである。It is a flowchart of a printing information acquisition process. 図8の続きを示すフローチャートである。It is a flowchart which shows the continuation of FIG.

以下、本発明の一実施の形態である印刷装置1について、図面を参照して説明する。参照する図面は、本開示が採用し得る技術的特徴を説明するために用いるものであり、記載している装置の構成等は、それのみに限定する趣旨ではなく、単なる説明例である。以下説明において、図2、図3の左斜め下方、右斜め上方、右斜め下方、左斜め上方、下方、上方を、夫々、印刷装置1の前方、後方、右方、左方、下方、上方とする。   Hereinafter, a printing apparatus 1 according to an embodiment of the present invention will be described with reference to the drawings. The drawings to be referred to are used for explaining the technical features that can be adopted by the present disclosure, and the configuration of the apparatus described is not intended to be limited to that, but merely an illustrative example. In the following description, the left diagonally lower, right diagonally upward, right diagonally downward, left diagonally upward, downward, and upward of FIGS. 2 and 3 are respectively the front, rear, right, left, downward, and upward of the printing apparatus 1. And

先ず、印刷装置1の実施概要について、図1を参照して説明する。印刷装置1は後述するラベルシート3A(図3参照)に文字、記号、又は図形等の印刷を行う。印刷装置1にはPC30が接続されている。PC30は印刷装置1に印刷を指示する。印刷装置1はPC30による印刷の指示に基づき印刷を実行する。印刷装置1は外部機器である他の印刷装置1A,1B,1Cと無線通信により各種情報の送受信が可能である。   First, an outline of implementation of the printing apparatus 1 will be described with reference to FIG. The printing apparatus 1 prints characters, symbols, graphics, or the like on a label sheet 3A (see FIG. 3) described later. A PC 30 is connected to the printing apparatus 1. The PC 30 instructs the printing apparatus 1 to print. The printing apparatus 1 executes printing based on a printing instruction from the PC 30. The printing apparatus 1 can transmit and receive various types of information by wireless communication with other printing apparatuses 1A, 1B, and 1C that are external devices.

本実施形態では、印刷装置1は印刷情報をフラッシュROM14(図4参照)に記憶している。印刷情報は、例えばPC30からの印刷指示に基づき、その印刷を実行する際に必要な情報である。例えば、フォント情報、テンプレート情報等である。フォント情報は例えば文字や数字等のフォントに関する情報である。テンプレート情報は例えば定型フォーム、飾り枠、図形等に関する情報である。ところが印刷装置1はPC30からの印刷指示を受け付けた場合、その印刷に必要な印刷情報をフラッシュROM14に記憶していない場合がある。その場合、印刷装置1はその印刷に必要な印刷情報を他の印刷装置1A〜1Cから無線により受信する。   In the present embodiment, the printing apparatus 1 stores print information in the flash ROM 14 (see FIG. 4). The print information is information necessary for executing the print based on a print instruction from the PC 30, for example. For example, font information and template information. The font information is information about fonts such as characters and numbers. The template information is information relating to, for example, a fixed form, a decorative frame, and a graphic. However, when the printing apparatus 1 receives a printing instruction from the PC 30, the printing information necessary for the printing may not be stored in the flash ROM 14. In that case, the printing apparatus 1 wirelessly receives print information necessary for the printing from the other printing apparatuses 1A to 1C.

印刷装置1は、受信すべき印刷情報のデータサイズに応じて、種々の通信状況下にある印刷装置1A〜1Cの中から適切な一の印刷装置を選択できる。それ故、印刷装置1は、他の印刷装置1A〜1Cから印刷情報をより安定して又はより速やかに受信し、印刷の指示に基づいた印刷を良好に実行できる。   The printing apparatus 1 can select an appropriate printing apparatus from the printing apparatuses 1A to 1C under various communication conditions according to the data size of print information to be received. Therefore, the printing apparatus 1 can receive printing information from the other printing apparatuses 1 </ b> A to 1 </ b> C more stably or more quickly, and can execute printing based on the printing instruction satisfactorily.

次に、印刷装置1の外部構成について、図2を参照して説明する。印刷装置1は筐体2を備える。筐体2は上部が開口する樹脂部品である。筐体2は印字機構及び搬送機構等を収容する。図3に示すように、筐体2の上部後方には収納部4が設けられている。収納部4は下方に略円弧状に湾曲する凹状に形成されている。収納部4はロールシートホルダ3を収納する。ロールシートホルダ3は巻芯に巻回された所定幅のラベルシート3Aを回転可能に支持する。収納部4の底部には識別センサ21(図4参照)が設けられている。識別センサ21はロールシートホルダ3に支持されているラベルシート3Aの種類、幅、材質等の媒体情報を検出する。   Next, the external configuration of the printing apparatus 1 will be described with reference to FIG. The printing apparatus 1 includes a housing 2. The housing 2 is a resin component that is open at the top. The housing 2 accommodates a printing mechanism, a transport mechanism, and the like. As shown in FIG. 3, a storage portion 4 is provided at the upper rear of the housing 2. The storage portion 4 is formed in a concave shape that curves downward in a substantially arc shape. The storage unit 4 stores the roll sheet holder 3. The roll sheet holder 3 rotatably supports a label sheet 3A having a predetermined width wound around the winding core. An identification sensor 21 (see FIG. 4) is provided at the bottom of the storage unit 4. The identification sensor 21 detects medium information such as the type, width, and material of the label sheet 3 </ b> A supported by the roll sheet holder 3.

図2に示すように、筐体2の上部開口にはカバー5が開閉自在に設けられている。カバー5はロールシートホルダ3を上側から覆う。カバー5は透明の樹脂部品である。筐体2の前面には、トレー6、電源ボタン7、及びカッターレバー9が各々設けられている。トレー6はカバー5の前方に設けられ、排出口(図示略)から排出される印刷済みのラベルシート3Aを受ける。電源ボタン7は筐体2の前面の右側に位置する。カッターレバー9は電源ボタン7の下方に位置する。使用者はカッターレバー9を左右方向に操作する。それ故、筐体2内のカッターユニット(図示せず)は駆動する。筐体2の後面下部には電源コード(図示略)が接続される電源接続部(図示略)が設けられている。電源接続部の隣にはUSB接続部16(図4参照)が設けられている。USB接続部16にはPC30等を接続可能である。   As shown in FIG. 2, a cover 5 is provided at the upper opening of the housing 2 so as to be opened and closed. The cover 5 covers the roll sheet holder 3 from above. The cover 5 is a transparent resin part. A tray 6, a power button 7, and a cutter lever 9 are provided on the front surface of the housing 2. The tray 6 is provided in front of the cover 5 and receives a printed label sheet 3A discharged from a discharge port (not shown). The power button 7 is located on the right side of the front surface of the housing 2. The cutter lever 9 is located below the power button 7. The user operates the cutter lever 9 in the left-right direction. Therefore, the cutter unit (not shown) in the housing 2 is driven. A power connection portion (not shown) to which a power cord (not shown) is connected is provided at the lower rear portion of the housing 2. Next to the power supply connection unit, a USB connection unit 16 (see FIG. 4) is provided. A PC 30 or the like can be connected to the USB connection unit 16.

次に、印刷装置1の電気的構成について、図4を参照して説明する。印刷装置1は、CPU11を備える。CPU11は印刷装置1の動作を統括制御する。CPU11には、ROM12、RAM13、フラッシュROM14、タイマ15、USB接続部16、及び入出力インタフェイス17等がバスにより接続されている。ROM12はプログラム記憶領域121を備える。プログラム記憶領域121はCPU11が印刷装置1を制御するための各種プログラムを記憶する。RAM13は印刷バッファ131等を備える。印刷バッファ131は印刷装置1において印刷が実行される際に必要なデータ及び各種設定等を一時的に記憶する。   Next, the electrical configuration of the printing apparatus 1 will be described with reference to FIG. The printing apparatus 1 includes a CPU 11. The CPU 11 performs overall control of the operation of the printing apparatus 1. A ROM 12, a RAM 13, a flash ROM 14, a timer 15, a USB connection unit 16, an input / output interface 17, and the like are connected to the CPU 11 by a bus. The ROM 12 includes a program storage area 121. The program storage area 121 stores various programs for the CPU 11 to control the printing apparatus 1. The RAM 13 includes a print buffer 131 and the like. The print buffer 131 temporarily stores data and various settings necessary for printing in the printing apparatus 1.

フラッシュROM14は後述する各種記憶領域を備える。タイマ15は各種計時を行う。USB接続部16には例えばPC30が接続される。入出力インタフェイス17には、識別センサ21、駆動回路22、駆動回路23、及び無線通信部26が接続されている。駆動回路22にはサーマルヘッド24が接続されている。駆動回路22はサーマルヘッド24を駆動する。駆動回路23にはシート送りモータ25が接続されている。駆動回路23はシート送りモータ25を駆動する。シート送りモータ25はラベルシート3Aを搬送する為の搬送機構の駆動源である。無線通信部26は無線により他の印刷装置1A〜1Cと各種情報の送受信を行う。また、無線通信部26は、電界強度算出部261を備え、無線通信部26から出力される通信出力電圧より電界の強度を算出する。なお印刷装置1A〜1Cは印刷装置1と同じ構成である。   The flash ROM 14 includes various storage areas described later. The timer 15 measures various times. For example, a PC 30 is connected to the USB connection unit 16. An identification sensor 21, a drive circuit 22, a drive circuit 23, and a wireless communication unit 26 are connected to the input / output interface 17. A thermal head 24 is connected to the drive circuit 22. The drive circuit 22 drives the thermal head 24. A sheet feed motor 25 is connected to the drive circuit 23. The drive circuit 23 drives the sheet feed motor 25. The sheet feed motor 25 is a drive source of a transport mechanism for transporting the label sheet 3A. The wireless communication unit 26 transmits / receives various information to / from other printing apparatuses 1A to 1C wirelessly. In addition, the wireless communication unit 26 includes an electric field strength calculation unit 261 and calculates the electric field strength from the communication output voltage output from the wireless communication unit 26. The printing apparatuses 1A to 1C have the same configuration as the printing apparatus 1.

次に、フラッシュROM14の各種記憶領域について、図4を参照して説明する。フラッシュROM14は不揮発性のメモリである。フラッシュROM14は、印刷情報記憶領域141、通信許可テーブル記憶領域142、及び通信候補テーブル記憶領域143等を備える。印刷情報記憶領域141は印刷情報を記憶する。通信許可テーブル記憶領域142は通信許可テーブル1421(図5参照)を記憶する。通信候補テーブル記憶領域143は通信候補テーブル1431(図6参照)を記憶する。   Next, various storage areas of the flash ROM 14 will be described with reference to FIG. The flash ROM 14 is a nonvolatile memory. The flash ROM 14 includes a print information storage area 141, a communication permission table storage area 142, a communication candidate table storage area 143, and the like. The print information storage area 141 stores print information. The communication permission table storage area 142 stores a communication permission table 1421 (see FIG. 5). The communication candidate table storage area 143 stores a communication candidate table 1431 (see FIG. 6).

次に、通信許可テーブル1421について、図5を参照して説明する。通信許可テーブル1421は、印刷装置1との通信を許可する外部機器の機種を特定する為のものである。通信許可テーブル1421は、登録番号と、シリーズ番号と、モデルコードとをそれぞれ対応づけて記憶している。登録番号は、通信許可テーブル1421に登録した順番を示している。シリーズ番号は、例えば印刷装置の機種のシリーズの種類を示している。本実施形態では例えば2種類のシリーズ1と2を想定する。モデルコードはそのシリーズ毎に各々設計された各モデルをコード番号で示している。本実施形態では例えば2種類のモデル1と2を想定する。「−」は全シリーズを意味する。本実施形態は、シリーズ番号と、モデルコードとで、印刷装置1と通信を許可してもよい印刷装置の機種を特定する。   Next, the communication permission table 1421 will be described with reference to FIG. The communication permission table 1421 is for specifying a model of an external device that permits communication with the printing apparatus 1. The communication permission table 1421 stores a registration number, a series number, and a model code in association with each other. The registration number indicates the order of registration in the communication permission table 1421. The series number indicates, for example, the type of the printer model. In this embodiment, for example, two types of series 1 and 2 are assumed. The model code indicates each model designed for each series by a code number. In the present embodiment, for example, two types of models 1 and 2 are assumed. “-” Means all series. In the present embodiment, the model number of the printing apparatus that may allow communication with the printing apparatus 1 is specified by the series number and the model code.

次に、通信候補テーブル1431について、図6を参照して説明する。通信候補テーブル1431は、印刷装置1の印刷情報の問い合わせ信号に対して応答信号を返信した印刷装置を通信候補として登録する為のものである。通信候補テーブル1431は、登録番号と、識別番号と、電界強度と、返答時間とをそれぞれ対応付けて記憶している。登録番号は、通信候補テーブル1431に登録した順番を示している。識別番号は他の印刷装置から送信される識別情報の番号である。電界強度は他の印刷装置から受信した応答信号に基づいて算出される電界強度(V/m)である。返答時間は印刷装置1から問い合わせ信号を送信してから他の印刷装置から応答信号を受信するまでの経過時間(ms)である。   Next, the communication candidate table 1431 will be described with reference to FIG. The communication candidate table 1431 is for registering a printing apparatus that has returned a response signal in response to the print information inquiry signal of the printing apparatus 1 as a communication candidate. The communication candidate table 1431 stores a registration number, an identification number, an electric field strength, and a response time in association with each other. The registration number indicates the order of registration in the communication candidate table 1431. The identification number is a number of identification information transmitted from another printing apparatus. The electric field strength is an electric field strength (V / m) calculated based on a response signal received from another printing apparatus. The response time is an elapsed time (ms) from when the inquiry signal is transmitted from the printing apparatus 1 until the response signal is received from another printing apparatus.

図6に示す例では、登録番号1に対して、識別番号「aaab」、電界強度「x1」、返答時間「t1」の各値が記憶されている。登録番号2に対して、識別番号「abaa」、電界強度「x2」、返答時間「t2」の各値が記憶されている。登録番号3に対して、識別番号「acdd」、電界強度「x3」、返答時間「t3」の各値が記憶されている。後述するが、本実施形態は受信する印刷情報のデータサイズに応じて、電界強度の強い順、又は返答速度の速い順に、登録順序を並び替える。そして最上位にある登録番号1の印刷装置を通信相手とする。   In the example illustrated in FIG. 6, for the registration number 1, the identification number “aaab”, the electric field strength “x1”, and the response time “t1” are stored. For registration number 2, values of identification number “abaa”, electric field strength “x2”, and response time “t2” are stored. For registration number 3, values of identification number “acdd”, electric field strength “x3”, and response time “t3” are stored. As will be described later, according to the present embodiment, the registration order is rearranged in order of increasing electric field strength or increasing response speed according to the data size of the received print information. The printing apparatus with the registration number 1 at the top is the communication partner.

次に、印刷装置1のCPU11によって実行される印刷制御処理について、図7〜図9のフローチャートを参照して説明する。本処理は、PC30から印刷実行のための印刷指示信号を受信したのを契機に、CPU11は、ROM12のプログラム記憶領域121(図4参照)に記憶された「印刷制御プログラム」を呼び出して実行する。   Next, print control processing executed by the CPU 11 of the printing apparatus 1 will be described with reference to the flowcharts of FIGS. In response to the reception of a print instruction signal for executing printing from the PC 30, the CPU 11 calls and executes a “print control program” stored in the program storage area 121 (see FIG. 4) of the ROM 12. .

先ず、CPU11はPC30から送信された印刷指示信号の受付処理を実行する(S11)。PC30から送信される印刷指示信号は、印刷する文字、図形、又は記号等を含む文字情報の他に、印刷情報の詳細を指定する指定情報を含む。指定情報は、フォント、テンプレート、及びラベルシートのシート幅等の少なくとも何れかを指定する情報である。CPU11は受付処理において文字情報及び指定情報をRAM13に記憶する。CPU11は指定情報に基づき、印刷の実行に必要な印刷情報を記憶しているか否か判断する(S12)。印刷情報はフラッシュROM14の印刷情報記憶領域141に記憶されている。CPU11は指定情報に対応するフォント情報、又はテンプレート情報が記憶されているか否か判断する。   First, the CPU 11 executes a process for receiving a print instruction signal transmitted from the PC 30 (S11). The print instruction signal transmitted from the PC 30 includes designation information for designating details of print information in addition to character information including characters, figures, symbols, or the like to be printed. The designation information is information that designates at least one of a font, a template, a sheet width of the label sheet, and the like. The CPU 11 stores character information and designation information in the RAM 13 in the reception process. Based on the designation information, the CPU 11 determines whether print information necessary for execution of printing is stored (S12). The print information is stored in the print information storage area 141 of the flash ROM 14. The CPU 11 determines whether font information or template information corresponding to the designation information is stored.

CPU11は、フラッシュROM14の印刷情報記憶領域141に指定情報に基づいた印刷情報が記憶されていると判断した場合(S12:YES)、その印刷情報と文字情報とを合成した印刷データを印刷バッファ131に展開し、印刷処理を実行する(S13)。CPU11は印刷処理においてサーマルヘッド24及びシート送りモータ25を駆動して、ラベルシート3Aの、印刷面に文字、図形及び記号等を印刷してラベルシート3Aを排出口から外部に搬送させる。そして、CPU11は印刷制御処理を終了する。   When the CPU 11 determines that the print information based on the designated information is stored in the print information storage area 141 of the flash ROM 14 (S12: YES), the print buffer 131 displays the print data obtained by combining the print information and the character information. And print processing is executed (S13). In the printing process, the CPU 11 drives the thermal head 24 and the sheet feed motor 25 to print characters, figures, symbols, and the like on the printing surface of the label sheet 3A, and conveys the label sheet 3A from the discharge port to the outside. Then, the CPU 11 ends the print control process.

これとは逆に、CPU11は、印刷情報記憶領域141に、指定情報に基づいた印刷情報が記憶されていないと判断した場合(S12:NO)、印刷情報を利用できないので印刷処理を実行できない。そこでCPU11は印刷情報取得処理を実行する(S14)。   On the other hand, if the CPU 11 determines that the print information based on the designation information is not stored in the print information storage area 141 (S12: NO), the print information cannot be used, and therefore the print process cannot be executed. Therefore, the CPU 11 executes print information acquisition processing (S14).

次に、印刷情報取得処理について、図8,図9のフローチャートを参照して説明する。先ず、図8のフローに示すように、CPU11は、指定情報に基づいた印刷情報を持っているか否かを問い合わせる問い合わせ信号を印刷装置1の周囲に存在する外部機器に送信する(S21)。CPU11はタイマ15をリセットし、スタートする(S22)。タイマ15のカウンタ値はRAM13に記憶されて時間と共にカウントアップされる。なお、外部機器である印刷装置1A〜1Cはその設置環境や動作状況等によって印刷装置1との通信状況はそれぞれ異なる。印刷装置1との離間距離が遠ければ遠いほど通信の電界強度は弱くなる。それとは逆に、印刷装置1との離間距離が近ければ電界強度は強くなるが、その周囲に電波の遮蔽物があれば通信状態は不安定となる。又、CPU11が、他の処理の実行中であれば問い合わせ信号に対する処理も後まわしとなる。それ故、印刷装置1A〜1Cは設置環境によっては印刷装置1からの問い合わせ信号を受信できない、あるいは、かなり遅く応答信号が返ってくる場合も想定される。   Next, the print information acquisition process will be described with reference to the flowcharts of FIGS. First, as shown in the flow of FIG. 8, the CPU 11 transmits an inquiry signal for inquiring whether or not it has print information based on the designation information to an external device existing around the printing apparatus 1 (S21). The CPU 11 resets and starts the timer 15 (S22). The counter value of the timer 15 is stored in the RAM 13 and counted up with time. Note that the printing devices 1A to 1C, which are external devices, differ in communication status with the printing device 1 depending on the installation environment, operation status, and the like. The farther the separation distance from the printing apparatus 1 is, the weaker the electric field strength for communication becomes. On the contrary, if the distance from the printing apparatus 1 is short, the electric field strength becomes strong, but if there is a radio wave shield around it, the communication state becomes unstable. Further, if the CPU 11 is executing another process, the process for the inquiry signal is also delayed. Therefore, it is assumed that the printing apparatuses 1A to 1C cannot receive the inquiry signal from the printing apparatus 1 depending on the installation environment, or a response signal is returned considerably late.

CPU11は問い合わせ信号を送信してから所定時間(例えば10秒)が経過したか否か判断する(S23)。CPU11は所定時間が経過するまでは(S23:NO)、外部機器から応答信号を受信したか否か判断する(S24)。CPU11は応答信号を受信するまでは(S24:NO)、S23に戻って所定時間が経過するまで応答信号の受信を監視する。   The CPU 11 determines whether or not a predetermined time (for example, 10 seconds) has elapsed since the inquiry signal was transmitted (S23). The CPU 11 determines whether a response signal has been received from the external device (S24) until a predetermined time has elapsed (S23: NO). Until the CPU 11 receives the response signal (S24: NO), the CPU 11 returns to S23 and monitors the reception of the response signal until a predetermined time elapses.

印刷装置1の周囲にある他の印刷装置1A〜1Cの中で、印刷装置1との通信状況に問題の無い印刷装置は問い合わせ信号を受信できる。問い合わせ信号には例えばPC30の印刷指示信号に含まれる指定情報が含まれる。それ故、問い合わせ信号を受信した他の印刷装置は、印刷装置1が要求する印刷情報について、フォント、テンプレート、を特定できる。他の印刷装置はそのような印刷情報をメモリに記憶しているか否か判断し、その結果情報を応答信号に付加して印刷装置1に返信する。応答信号はその印刷装置の識別情報や、その機種のシリーズ番号とモデルコードの情報を含んでいる。   Among the other printing apparatuses 1A to 1C around the printing apparatus 1, the printing apparatus having no problem in the communication status with the printing apparatus 1 can receive the inquiry signal. For example, the inquiry signal includes designation information included in the print instruction signal of the PC 30. Therefore, the other printing apparatus that has received the inquiry signal can specify the font and the template for the printing information requested by the printing apparatus 1. The other printing apparatus determines whether or not such print information is stored in the memory, and adds the result information to the response signal and returns it to the printing apparatus 1. The response signal includes identification information of the printing apparatus and information on the series number and model code of the model.

CPU11は他の印刷装置から応答信号を受信したと判断した場合(S24:YES)、返答時間を確定してRAM13に一旦記憶する(S25)。さらにCPU11は受信した応答信号の電界強度を計測してRAM13に一旦記憶する(S26)。次いでCPU11は、応答信号を送信した他の印刷装置の機種は、フラッシュROM14に記憶された通信許可テーブル1421に登録されている機種か否か判断する(S27)。応答信号には、応答信号を送信した印刷装置のシリーズ番号とモデルコードの情報が含まれている。CPU11はそれらの情報が通信許可テーブル1421に登録されているか否か判断する。   If the CPU 11 determines that a response signal has been received from another printing apparatus (S24: YES), it determines the response time and temporarily stores it in the RAM 13 (S25). Further, the CPU 11 measures the electric field strength of the received response signal and temporarily stores it in the RAM 13 (S26). Next, the CPU 11 determines whether the model of the other printing apparatus that has transmitted the response signal is a model registered in the communication permission table 1421 stored in the flash ROM 14 (S27). The response signal includes information on the series number and model code of the printing apparatus that has transmitted the response signal. The CPU 11 determines whether or not such information is registered in the communication permission table 1421.

例えば、他の印刷装置が印刷装置1の機種と異なる場合、機種の仕様が異なるので、印刷情報を受信しても使用することができない。一方、印刷装置1と機種が同じ、又は印刷情報を互いに同一のものを使用できる機種の場合、そのような機種から受信した印刷情報は印刷装置1においても使用できる。そこで利用可能である印刷情報が送信可能な他の印刷装置を通信許可テーブル1421に予め登録しておくことにより、不要な印刷情報を受信することを防止できる。   For example, if the other printing apparatus is different from the model of the printing apparatus 1, the specification of the model is different, so that it cannot be used even if print information is received. On the other hand, in the case of a model that has the same model as the printing apparatus 1 or that can use the same printing information, the printing information received from such a model can also be used in the printing apparatus 1. Therefore, by registering in advance in the communication permission table 1421 other printing apparatuses that can transmit print information that can be used, it is possible to prevent unnecessary print information from being received.

CPU11は応答信号を送信した他の印刷装置の機種が通信許可テーブル1421に登録されている機種ではないと判断した場合(S27:NO)、何もせずに、S23に戻って処理を繰り返す。   If the CPU 11 determines that the model of the other printing apparatus that has transmitted the response signal is not a model registered in the communication permission table 1421 (S27: NO), it returns to S23 and repeats the process without doing anything.

CPU11は応答信号を送信した他の印刷装置の機種が通信許可テーブル1421に登録されている機種であると判断した場合(S27:YES)、その印刷装置が受信すべき印刷情報を記憶しているか否か判断する(S28)。CPU11は応答信号に付加された結果情報に基づき、受信すべき印刷情報を記憶しているか否か判断する。CPU11は、その印刷装置は受信すべき印刷情報を記憶していないと判断した場合(S28:NO)、何もせずに、S23に戻って処理を繰り返す。   If the CPU 11 determines that the model of the other printing apparatus that has transmitted the response signal is a model registered in the communication permission table 1421 (S27: YES), does the printing apparatus store the printing information to be received by the printing apparatus? It is determined whether or not (S28). The CPU 11 determines whether print information to be received is stored based on the result information added to the response signal. If the CPU 11 determines that the printing apparatus does not store print information to be received (S28: NO), the CPU 11 returns to S23 and repeats the process without doing anything.

CPU11はその印刷装置は受信すべき印刷情報を記憶していると判断した場合(S28:YES)、その印刷装置の識別番号を通信候補テーブル1431(図6参照)に登録する(S29)。さらにCPU11は確定した返答時間を通信候補テーブル1431に登録する(S30)。さらにCPU11は計測した応答信号の電界強度を通信候補テーブル1431に登録する(S31)。CPU11は処理をS23に戻し、所定時間が経過するまでは(S23:NO)上記の処理を繰り返す。   When the CPU 11 determines that the printing apparatus stores the print information to be received (S28: YES), the CPU 11 registers the identification number of the printing apparatus in the communication candidate table 1431 (see FIG. 6) (S29). Furthermore, the CPU 11 registers the confirmed response time in the communication candidate table 1431 (S30). Further, the CPU 11 registers the measured electric field strength of the response signal in the communication candidate table 1431 (S31). The CPU 11 returns the process to S23 and repeats the above process until a predetermined time has elapsed (S23: NO).

CPU11は所定時間が経過したと判断した場合(S23:YES)、通信候補テーブル1431が確定する。そこでCPU11は、図9のフローに示すように、RAM13に記憶された指定情報に基づき、印刷情報のデータサイズを取得する(S41)。印刷情報のデータサイズが所定サイズより大きい場合、通信状態が不安定であると正確に受信できない場合がある。そこでCPU11は取得したデータサイズが所定サイズより大きいか否か判断する(S42)。例えばフォント情報は一般的に大きいデータ量である。そのような情報は通信状態が安定していなければ、フォント情報を正確かつ安定して受信できない。これに対し、テンプレート情報のようなものはフォント情報に比較して小さいので、通信状態が不安定であっても受信することはできる。   When the CPU 11 determines that the predetermined time has elapsed (S23: YES), the communication candidate table 1431 is determined. Therefore, as shown in the flow of FIG. 9, the CPU 11 acquires the data size of the print information based on the designation information stored in the RAM 13 (S41). When the data size of the print information is larger than a predetermined size, it may not be able to be received accurately if the communication state is unstable. Therefore, the CPU 11 determines whether or not the acquired data size is larger than a predetermined size (S42). For example, font information generally has a large amount of data. Such information cannot receive font information accurately and stably unless the communication state is stable. On the other hand, since the template information is smaller than the font information, it can be received even if the communication state is unstable.

そこで、CPU11は取得したデータサイズが所定サイズより大きいと判断した場合(S42:YES)、通信候補テーブル1431において、各印刷装置に対応する各情報を、電界強度を基に並び替える(S43)。具体的には、電界強度の強い順に、登録番号1から最後まで並び替える。それ故、通信候補テーブル1431の最上位である登録番号1の印刷装置が最も電界強度が強かった印刷装置となる。これにより電界強度が最も強かった印刷装置を、印刷情報の送信を要求する対象機器に決定することができる。   Therefore, when the CPU 11 determines that the acquired data size is larger than the predetermined size (S42: YES), the CPU 11 rearranges each information corresponding to each printing device in the communication candidate table 1431 based on the electric field strength (S43). Specifically, the registration numbers are rearranged from the registration number 1 to the last in descending order of electric field strength. Therefore, the printing apparatus with the registration number 1 which is the highest position in the communication candidate table 1431 is the printing apparatus with the highest electric field strength. As a result, the printing apparatus having the strongest electric field strength can be determined as a target device that requests transmission of print information.

他方、CPU11は取得したデータサイズが所定サイズ以下と判断した場合(S42:NO)、通信候補テーブル1431において、各印刷装置に対応する各情報を、返答時間を基に並び替える(S44)。具体的には、返答時間の速い順に、登録番号1から最後まで並び替える。それ故、通信候補テーブル1431の最上位である登録番号1の印刷装置が、返答時間が最も速かった印刷装置となる。これにより返答時間が最も速かった印刷装置を、印刷情報の送信を要求する対象機器に決定することができる。   On the other hand, when the CPU 11 determines that the acquired data size is equal to or smaller than the predetermined size (S42: NO), the CPU 11 rearranges the information corresponding to each printing device in the communication candidate table 1431 based on the response time (S44). Specifically, the registration numbers are rearranged in order from the fastest response time. Therefore, the printing apparatus with the registration number 1 that is the highest in the communication candidate table 1431 is the printing apparatus with the fastest response time. As a result, the printing device with the fastest response time can be determined as the target device that requests transmission of print information.

次いで、CPU11は、通信候補テーブル1431は空の状態であるか否か判断する(S45)。CPU11は通信候補テーブル1431に印刷装置の各種情報が登録されていれば(S45:NO)、通信候補テーブル1431の最上位である登録番号1の印刷装置に対して印刷情報要求信号を送信する(S46)。印刷情報要求信号は印刷情報の送信を要求する信号である。印刷情報要求信号を受信した他の印刷装置は、その印刷情報要求信号に対応する印刷情報を印刷装置1に送信する。   Next, the CPU 11 determines whether or not the communication candidate table 1431 is empty (S45). If various types of information about the printing device are registered in the communication candidate table 1431 (S45: NO), the CPU 11 transmits a print information request signal to the printing device with the registration number 1 which is the highest level in the communication candidate table 1431 ( S46). The print information request signal is a signal for requesting transmission of print information. The other printing apparatus that has received the print information request signal transmits print information corresponding to the print information request signal to the printing apparatus 1.

ここで受信する印刷情報が所定サイズより大きいものであれば、通信候補テーブル1431の最上位である登録番号1は電界強度が最も強かった印刷装置となっている。このような印刷装置を通信相手に決定し、印刷情報要求信号を送信することで、より安定した通信状況下で印刷情報を受信できる。これとは逆に、受信する印刷情報が所定サイズ以下であれば、通信候補テーブル1431の最上位である登録番号1は返答時間が最も速かった印刷装置となっている。このような印刷装置を通信相手に決定し、印刷情報要求信号を送信することで、テンプレート情報のような小さい印刷情報を速やかに受信できる。   If the print information received here is larger than the predetermined size, the registration number 1 which is the highest rank in the communication candidate table 1431 is the printing apparatus with the highest electric field strength. By determining such a printing apparatus as a communication partner and transmitting a print information request signal, print information can be received under a more stable communication situation. On the contrary, if the received print information is less than or equal to the predetermined size, the registration number 1 which is the highest rank in the communication candidate table 1431 is the printing apparatus with the fastest response time. By determining such a printing apparatus as a communication partner and transmitting a print information request signal, small print information such as template information can be quickly received.

CPU11は通信が成功したか否か判断する(S47)。CPU11は通信が成功したと判断した場合(S47:YES)、印刷情報要求信号を送信した他の印刷装置から印刷情報を受信する(S48)。続いてCPU11は印刷情報の受信が成功したか否か判断する(S49)。CPU11は印刷情報の受信が成功したと判断した場合(S49:YES)、受信した印刷情報をフラッシュROM14の印刷情報記憶領域141に記憶し、処理を図8のS13に移行して印刷処理を実行する(S13)。こうしてCPU11は印刷制御処理を終了する。   The CPU 11 determines whether the communication is successful (S47). When the CPU 11 determines that the communication is successful (S47: YES), the CPU 11 receives print information from another printing apparatus that has transmitted the print information request signal (S48). Subsequently, the CPU 11 determines whether or not the print information has been successfully received (S49). When the CPU 11 determines that the print information has been successfully received (S49: YES), the received print information is stored in the print information storage area 141 of the flash ROM 14, and the process proceeds to S13 in FIG. 8 to execute the print process. (S13). In this way, the CPU 11 ends the print control process.

ところで、CPU11と通信中の印刷装置の位置が利用者によって移動される場合がある。さらにCPU11と通信中の印刷装置の電源がオフされる場合もある。その場合、CPU11は通信が失敗したと判断するので(S47:NO)、通信候補テーブル1431の最上位である登録番号1の印刷装置の各情報を削除し(S51)、残りの印刷装置の登録番号を繰り上げる(S52)。   By the way, the position of the printing apparatus in communication with the CPU 11 may be moved by the user. Further, the power of the printing apparatus in communication with the CPU 11 may be turned off. In this case, since the CPU 11 determines that the communication has failed (S47: NO), each information of the printing apparatus with the registration number 1 which is the highest level in the communication candidate table 1431 is deleted (S51), and the remaining printing apparatuses are registered. The number is incremented (S52).

CPU11は、S45に戻って、通信候補テーブル1431が空の状態であるか否か判断する。CPU11は、通信候補テーブル1431が空の状態であると判断した場合(S45:YES)、PC30にエラー信号を送信し(S53)、処理を終了する。なおエラー信号を受信したPC30はディスプレイにてエラー報知を行う。   The CPU 11 returns to S45 and determines whether or not the communication candidate table 1431 is empty. If the CPU 11 determines that the communication candidate table 1431 is empty (S45: YES), the CPU 11 transmits an error signal to the PC 30 (S53) and ends the process. The PC 30 receiving the error signal performs error notification on the display.

また、CPU11が他の印刷装置から印刷情報を受信している途中で、上記のような理由により通信が切断される場合がある。このような場合、CPU11は印刷情報の受信が失敗したと判断し(S49:NO)、通信候補テーブル1431の最上位である登録番号1の印刷装置の各情報を削除し(S51)、残りの印刷装置の登録番号を繰り上げる(S52)。CPU11は、S45に戻って、上記と同様に処理を繰り返す。   Further, while the CPU 11 is receiving print information from another printing apparatus, the communication may be disconnected for the reason described above. In such a case, the CPU 11 determines that reception of the print information has failed (S49: NO), deletes each piece of information of the printing apparatus with the registration number 1 which is the highest level in the communication candidate table 1431 (S51), and the remaining information The registration number of the printing apparatus is incremented (S52). The CPU 11 returns to S45 and repeats the process in the same manner as described above.

以上説明したように、本実施形態の印刷装置1のCPU11は、PC30から印刷の指示を受け付けた時に、印刷の実行に必要な印刷情報がフラッシュROM14に記憶されていない場合がある。この場合、CPU11は無線により周囲の外部機器である他の印刷装置1A〜1Cに問い合わせ信号を送信する。問い合わせ信号は印刷情報の有無を問い合わせる信号である。CPU11はこの問い合わせ信号に対する応答信号を他の印刷装置から受信する。CPU11は印刷情報を記憶していると応答した印刷装置について、応答信号の返答時間と電界強度を、フラッシュROM14に記憶された通信候補テーブル1431に登録する。   As described above, when the CPU 11 of the printing apparatus 1 according to the present embodiment receives a print instruction from the PC 30, print information necessary for execution of printing may not be stored in the flash ROM 14. In this case, the CPU 11 wirelessly transmits inquiry signals to other printing apparatuses 1A to 1C that are peripheral external devices. The inquiry signal is a signal for inquiring whether or not there is print information. The CPU 11 receives a response signal for this inquiry signal from another printing apparatus. The CPU 11 registers the response time of the response signal and the electric field strength in the communication candidate table 1431 stored in the flash ROM 14 for the printer that has responded that the print information is stored.

ここでCPU11は受信する印刷情報のデータサイズが所定サイズよりも大きければ、応答信号の電界強度の強い順に、通信候補テーブル1431に登録されている印刷装置を並び替える。他方、受信する印刷情報のデータサイズが所定サイズ以下であれば、応答信号の返答時間の速い順に、通信候補テーブル1431に登録されている印刷装置を並び替える。そしてCPU11は通信候補テーブル1431の最上位の印刷装置に印刷情報要求信号を送信する。このように、他の印刷装置から印刷情報のデータサイズに応じてより安定した通信状況下で印刷情報を受信できるので、PC30の印刷指示に応じた印刷を良好にできる。   Here, if the data size of the received print information is larger than the predetermined size, the CPU 11 rearranges the printing devices registered in the communication candidate table 1431 in the order of strong electric field strength of the response signal. On the other hand, if the data size of the received print information is equal to or smaller than the predetermined size, the printing apparatuses registered in the communication candidate table 1431 are rearranged in order of the response time of the response signal. Then, the CPU 11 transmits a print information request signal to the uppermost printer in the communication candidate table 1431. As described above, since the print information can be received from other printing apparatuses in a more stable communication state according to the data size of the print information, it is possible to improve the printing according to the print instruction of the PC 30.

なお、本発明は上記実施の形態に限定されず、様々な変形が可能である。例えば上記実施形態では、外部機器として印刷装置1A〜1Cを一例に説明したが、PCやサーバから印刷情報を受信するようにしてもよい。   In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. For example, in the above-described embodiment, the printing apparatuses 1A to 1C are described as an example of external devices. However, print information may be received from a PC or a server.

また上記実施形態では、印刷情報として、フォント情報、テンプレート情報を一例として説明したが、この以外の情報にも本発明は適用可能である。   In the above-described embodiment, font information and template information have been described as examples of print information. However, the present invention can also be applied to other information.

また上記実施形態では、通信許可テーブル1421をフラッシュROM14に記憶し、それに登録されていない外部機器からは印刷情報を受信しないようにしたが、通信許可テーブル1421を使用しなくてもよい。   In the above-described embodiment, the communication permission table 1421 is stored in the flash ROM 14, and print information is not received from an external device that is not registered in the flash ROM 14, but the communication permission table 1421 may not be used.

1 印刷装置
1A,1B,1C 印刷装置
11 CPU
12 ROM
13 RAM
14 フラッシュROM
15 タイマ
26 無線通信部
261 電界強度算出部
1421 通信許可テーブル
1431 通信候補テーブル
1 Printing device 1A, 1B, 1C Printing device 11 CPU
12 ROM
13 RAM
14 Flash ROM
15 timer 26 wireless communication unit 261 electric field strength calculation unit 1421 communication permission table 1431 communication candidate table

Claims (3)

少なくとも一つの外部機器と無線で通信可能な印刷装置であって、
印刷の指示を受け付ける受付手段と、
前記受付手段によって指示を受け付けた印刷の実行に必要な情報である印刷情報が記憶される印刷情報記憶手段と、
前記印刷情報記憶手段に前記印刷情報が記憶されているか否かを判断する記憶判断手段と、
前記記憶判断手段によって前記印刷情報が記憶されていないと判断された場合、前記外部機器に、前記印刷情報を記憶しているか否かを問い合わせる問い合わせ信号を送信する問い合わせ信号送信手段と、
前記問い合わせ信号送信手段によって送信された前記問い合わせ信号を受信した外部機器から前記問い合わせ信号に対応する応答信号を受信する応答信号受信手段と、
前記応答信号受信手段によって受信された前記応答信号に基づき、前記印刷情報を記憶している外部機器を特定する外部機器特定手段と、
前記問い合わせ信号送信手段による前記問い合わせ信号の送信から、前記応答信号受信手段による前記応答信号の受信までにかかる時間であって、前記外部機器特定手段によって特定された前記外部機器の動作状況に応じて長くなり得る時間である応答時間を計測する応答時間計測手段と、
前記応答時間計測手段によって計測された前記応答時間を記憶する応答時間記憶手段と、
無線通信の伝送信号に変換された、前記応答信号受信手段により受信される前記応答信号の受信信号に基づき、前記外部機器特定手段によって特定された前記外部機器との無線通信における受信信号強度であって、特定された前記外部機器の設置環境に応じて小さくなり得る受信信号強度を計測する受信信号強度計測手段と、
前記受信信号強度計測手段によって計測された前記受信信号強度を記憶する受信信号強度記憶手段と、
前記印刷情報のデータサイズを取得するサイズ取得手段と、
前記サイズ取得手段によって取得された前記データサイズが所定サイズより大きいか否かを判断するサイズ判断手段と、
前記サイズ判断手段によって前記データサイズが前記所定サイズより大きいと判断された場合、前記受信信号強度記憶手段に記憶されている前記受信信号強度が最も大きいと計測された外部機器を、前記印刷情報の送信を要求する対象機器に決定する第1対象機器決定手段と、
前記サイズ判断手段によって前記データサイズが前記所定サイズ以下と判断された場合、前記応答時間記憶手段に記憶されている前記応答時間が最も短いと計測された外部機器を、前記対象機器に決定する第2対象機器決定手段と、
前記第1又は第2対象機器決定手段によって決定された前記対象機器に、前記印刷情報の送信を要求する要求信号を送信する要求信号送信手段と、
前記要求信号送信手段によって送信された前記要求信号を受信した前記対象機器から送信された前記印刷情報を受信する印刷情報受信手段と、
前記印刷情報受信手段によって受信された前記印刷情報に基づき、前記印刷を実行する印刷実行手段と
を備えたことを特徴とする印刷装置。
A printing apparatus capable of wirelessly communicating with at least one external device,
A receiving means for receiving a print instruction;
Print information storage means for storing print information which is information necessary for execution of printing whose instruction is received by the receiving means;
Storage determination means for determining whether or not the print information is stored in the print information storage means;
An inquiry signal transmitting means for transmitting an inquiry signal for inquiring whether or not the print information is stored in the external device when the storage determination means determines that the print information is not stored;
Response signal receiving means for receiving a response signal corresponding to the inquiry signal from an external device that has received the inquiry signal transmitted by the inquiry signal transmitting means;
Based on the response signal received by the response signal receiving means, an external device specifying means for specifying an external device storing the print information;
The transmission of said inquiry signal by said inquiry signal transmission means, a time required until the reception of the response signal by the response signal receiving means, depending on the operating conditions of the external device specified by the external device specifying means A response time measuring means for measuring a response time, which can be a long time, and
Response time storage means for storing the response time measured by the response time measurement means;
It is converted into a transmission signal of the radio communication, based on the received signal of the response signals received by the reply signal receiving means, met the received signal strength in a wireless communication with the external device specified by the external device specifying means Received signal strength measuring means for measuring received signal strength that can be reduced according to the specified installation environment of the external device ,
Received signal strength storage means for storing the received signal strength measured by the received signal strength measuring means;
Size acquisition means for acquiring the data size of the print information;
Size determination means for determining whether or not the data size acquired by the size acquisition means is larger than a predetermined size;
When the size determination unit determines that the data size is larger than the predetermined size, an external device measured as having the highest received signal strength stored in the received signal strength storage unit is connected to the print information. First target device determination means for determining a target device that requests transmission;
When the size determination unit determines that the data size is equal to or smaller than the predetermined size, the external device measured as the shortest response time stored in the response time storage unit is determined as the target device. 2 target device determination means;
Request signal transmitting means for transmitting a request signal for requesting transmission of the print information to the target device determined by the first or second target device determining means;
Print information receiving means for receiving the print information transmitted from the target device that has received the request signal transmitted by the request signal transmitting means;
A printing apparatus comprising: a print execution unit that executes the printing based on the print information received by the print information reception unit.
前記外部機器を識別する識別情報を取得する識別情報取得手段と、
前記少なくとも一つの外部機器のうち通信を許可する機器の識別情報を記憶する通信許可識別情報記憶手段と、
前記識別情報取得手段が取得した前記識別情報が、前記通信許可識別情報記憶手段に記憶された前記識別情報に該当するか否かを判断する通信許可判断手段と
を備え、
前記外部機器特定手段は、前記識別情報取得手段が取得した前記識別情報が、前記通信許可判断手段によって前記通信許可識別情報記憶手段に記憶された前記識別情報に該当すると判断された前記外部機器を特定することを特徴とする請求項1に記載の印刷装置。
Identification information acquisition means for acquiring identification information for identifying the external device;
Communication permission identification information storage means for storing identification information of a device that permits communication among the at least one external device;
Communication permission determination means for determining whether the identification information acquired by the identification information acquisition means corresponds to the identification information stored in the communication permission identification information storage means;
The external device specifying unit is configured to select the external device that has been determined that the identification information acquired by the identification information acquisition unit corresponds to the identification information stored in the communication permission identification information storage unit by the communication permission determination unit. The printing apparatus according to claim 1, wherein the printing apparatus is specified.
前記問い合わせ信号送信手段は、
前記外部機器に、前記印刷を実行する印刷媒体と同じ幅の印刷媒体を対象とする前記印刷情報を記憶しているか否かを問い合わせる前記問い合わせ信号を送信することを特徴とする請求項1又は2に記載の印刷装置。
The inquiry signal transmitting means includes
3. The inquiry signal for inquiring whether or not the print information for a print medium having the same width as the print medium for executing the printing is stored is transmitted to the external device. The printing apparatus as described in.
JP2011216894A 2011-09-30 2011-09-30 Printing device Active JP5811748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011216894A JP5811748B2 (en) 2011-09-30 2011-09-30 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011216894A JP5811748B2 (en) 2011-09-30 2011-09-30 Printing device

Publications (2)

Publication Number Publication Date
JP2013075437A JP2013075437A (en) 2013-04-25
JP5811748B2 true JP5811748B2 (en) 2015-11-11

Family

ID=48479296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011216894A Active JP5811748B2 (en) 2011-09-30 2011-09-30 Printing device

Country Status (1)

Country Link
JP (1) JP5811748B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7349063B2 (en) * 2019-03-27 2023-09-22 ブラザー工業株式会社 printing device
EP4178124A4 (en) 2020-07-02 2023-12-20 KYOCERA Document Solutions Inc. Image processing device and image processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11149358A (en) * 1997-11-14 1999-06-02 Canon Inc Picture input/output controller, picture input/output system, optimum paper size printing method and storage medium
JP2005349672A (en) * 2004-06-10 2005-12-22 Matsushita Electric Ind Co Ltd Wireless printing system and method of controlling wireless printing
JP2006001041A (en) * 2004-06-15 2006-01-05 Oki Data Corp Printer
JP2008167169A (en) * 2006-12-28 2008-07-17 Brother Ind Ltd Information processor and program
JP2010137455A (en) * 2008-12-12 2010-06-24 Konica Minolta Business Technologies Inc Image forming apparatus, image forming system, and print control method
JP2010149466A (en) * 2008-12-26 2010-07-08 Seiko Epson Corp Image processor

Also Published As

Publication number Publication date
JP2013075437A (en) 2013-04-25

Similar Documents

Publication Publication Date Title
JP6365376B2 (en) Server device and control program
US9727284B2 (en) Image recording apparatus communicable with mobile terminal for identification of the image recording apparatus
US20170345080A1 (en) Non-transitory computer-readable medium, information processing terminal and consumable ordering method
JP5909895B2 (en) Program, portable terminal, portable terminal control method, and printing system
EP3339042A1 (en) Battery-powered printer, pos system, and method for printing with battery-powered printer
JP5811748B2 (en) Printing device
JP2013015950A (en) Printing system, printing data generating device, control method of printing data generating device, and program
JP2015173413A (en) Image formation device
JP6217563B2 (en) Information processing system
JP6303799B2 (en) Image forming apparatus
JP7024270B2 (en) Program and printing system
JP2021187045A (en) Printer
US20160094736A1 (en) Information processing apparatus, communication device, and information processing system
US11809757B2 (en) Non-transitory computer-readable storage medium
US11780240B2 (en) Information processing device having acquiring section acquiring remaining tape length, tape printing device, tape printing system, method for controlling information processing device, and storage medium storing program for controlling information processing device
EP2575027B1 (en) Print processing program and print processing method
EP3312015B1 (en) Battery-powered printer and method for driving battery-powered printer
JP2008022453A (en) Radio transmitting apparatus, radio transmitting/receiving system, control method for radio transmitting apparatus, and program
JP6390652B2 (en) Printing device
JP6780393B2 (en) Terminals, methods and programs
JP2009262365A (en) Printing apparatus
JP2019211283A (en) Printing device
US11609725B2 (en) Terminal device that displays progress of a process in chat style
US11656820B2 (en) Print instruction apparatus, storage medium, and print system
JP6079924B2 (en) Program, portable terminal, and portable terminal control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150428

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150430

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150618

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150907

R150 Certificate of patent or registration of utility model

Ref document number: 5811748

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150