Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6973571B2 - Output data control device, printing device, output data control method, printing method and program - Google Patents
[go: Go Back, main page]

JP6973571B2 - Output data control device, printing device, output data control method, printing method and program - Google Patents

Output data control device, printing device, output data control method, printing method and program Download PDF

Info

Publication number
JP6973571B2
JP6973571B2 JP2020107674A JP2020107674A JP6973571B2 JP 6973571 B2 JP6973571 B2 JP 6973571B2 JP 2020107674 A JP2020107674 A JP 2020107674A JP 2020107674 A JP2020107674 A JP 2020107674A JP 6973571 B2 JP6973571 B2 JP 6973571B2
Authority
JP
Japan
Prior art keywords
output
movement
detection unit
printing
determined
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
JP2020107674A
Other languages
Japanese (ja)
Other versions
JP2020166890A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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
Priority claimed from JP2019079814A external-priority patent/JP6725033B2/en
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2020107674A priority Critical patent/JP6973571B2/en
Publication of JP2020166890A publication Critical patent/JP2020166890A/en
Application granted granted Critical
Publication of JP6973571B2 publication Critical patent/JP6973571B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、出力データ制御装置、印刷装置、出力データ制御方法、印刷方法及びプログラムに関する。 The present invention relates to an output data control device, a printing device, an output data control method, a printing method and a program.

ユーザの操作に従って入力を受け付ける入力装置が知られている。 An input device that accepts input according to a user's operation is known.

例えば、特許文献1は、ユーザによるキーの押圧操作に従って入力を受け付ける入力装置(テープ印字装置)を開示している。 For example, Patent Document 1 discloses an input device (tape printing device) that accepts an input according to a key pressing operation by a user.

特許第5477308号公報Japanese Patent No. 5477308

本発明に係る出力データ制御装置の一様態は、
出力データ制御装置であって、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を検出する動作検出部と、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定し、前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定する決定部と、を備えることを特徴とする。
また、本発明に係る印刷装置の一様態は、
前記出力データ制御装置と、
前記出力データとしての印刷データを記憶する記憶部と、
前記出力データ制御装置の前記決定部で決定された前記出力サイズの情報に応じた前記印刷データを取得する取得部と、
前記取得部により取得した前記印刷データに基づいて被記録媒体に印刷する印刷部と、を備えることを特徴とする。
The uniform state of the output data control device according to the present invention is
It is an output data control device
An operation detection unit that detects at least one operation in which the output data control device moves in a three-dimensional space, and an operation detection unit.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. When the determination is made and it is determined that the operation is the movement in the first direction, the output size of each output element is gradually increased according to the order of the arrangement of each output element of the output data including the plurality of output elements. If the information on the output size of the output data is determined and it is determined that the operation is a movement in the direction opposite to the first direction, each output is according to the order of the output elements of the output data including the plurality of output elements. so that the output size of the element decreases gradually, characterized in that it comprises a determining unit for determining information of the output size of the output data.
Further, the uniform state of the printing apparatus according to the present invention is as follows.
The output data control device and
A storage unit that stores print data as output data,
An acquisition unit that acquires the print data according to the information of the output size determined by the determination unit of the output data control device, and an acquisition unit.
It is characterized by including a printing unit for printing on a recording medium based on the printing data acquired by the acquisition unit.

また、本発明に係る出力データ制御方法の一様態は、
出力データ制御装置の制御部によって実行される方法であって、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を、前記出力データ制御装置の動作検出部によって検出し、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、
前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定し、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定することを特徴とする。
また、本発明に係る印刷方法の一様態は、
印刷装置の制御部によって実行される方法であって、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、前記印刷装置の動作検出部によって検出し、
前記動作検出部により検出された前記動作に基づいて、記憶部に記憶された印刷データの印字サイズの情報を決定し、
決定した前記印字サイズの情報に応じた前記印刷データを取得し、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷することを特徴とする。
また、本発明に係る印刷方法の一様態は、
印刷装置の制御部によって実行される方法であって、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、前記印刷装置の動作検出部によって検出し、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、
前記動作が前記第1の向きの移動であると判定したら、記憶部に記憶された複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に大きくなるように、前記印刷データの前記印字サイズの情報を決定し、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に小さくなるように、前記印刷データの前記印字サイズの情報を決定し、
決定した前記印字サイズの情報に応じた前記印刷データを取得し、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷することを特徴とする。
Further, the uniform state of the output data control method according to the present invention is as follows.
A method executed by the control unit of the output data controller,
At least one operation in which the output data control device moves in the three-dimensional space is detected by the operation detection unit of the output data control device.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Judgment,
If it is determined that the operation is the movement in the first direction, the output data of the output data is arranged so that the output size of each output element is gradually increased according to the order of the arrangement of the output elements of the output data including the plurality of output elements. Determine the output size information and
If it is determined that the operation is a movement in the direction opposite to the first direction, the output size of each output element is gradually reduced according to the order of the output elements of the output data including the plurality of output elements. and determining the information of the output size of the output data.
Further, the uniform state of the printing method according to the present invention is as follows.
A method performed by the control unit of a printing device,
At least one motion of the printing apparatus moving in the three-dimensional space is detected by the motion detection unit of the printing apparatus.
Based on the operation detected by the operation detection unit, information on the print size of the print data stored in the storage unit is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
Based on the acquired print data, the printing unit prints on the recording medium.
Further, the uniform state of the printing method according to the present invention is as follows.
A method performed by the control unit of a printing device,
At least one motion of the printing apparatus moving in the three-dimensional space is detected by the motion detection unit of the printing apparatus.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Judgment,
If it is determined that the operation is the movement in the first direction, the print size of each character is gradually increased according to the order of arrangement of each character in the print data including the plurality of character data stored in the storage unit. The information of the print size of the print data is determined, and the information is determined.
If it is determined that the operation is a movement in the direction opposite to the first direction, the printing is performed so that the print size of each character is gradually reduced according to the order of the characters in the print data including the plurality of character data. The information of the print size of the data is determined, and the information is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
Based on the acquired print data, the printing unit prints on the recording medium.

また、本発明に係るプログラムの一様態は、
出力データ制御装置のコンピュータに、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定させ、
前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定させ、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定させることを特徴とする。
また、本発明に係るプログラムの他の様態は、
印刷装置のコンピュータに、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、
前記動作検出部により検出された前記動作に基づいて、記憶部に記憶された印刷データの印字サイズの情報を決定させ、
決定した前記印字サイズの情報に応じた前記印刷データを取得させ、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷させることを特徴とする。
また、本発明に係るプログラムの他の様態は、
印刷装置のコンピュータに、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定させ、
前記動作が前記第1の向きの移動であると判定したら、記憶部に記憶された複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に大きくなるように、前記印刷データの前記印字サイズの情報を決定させ、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に小さくなるように、前記印刷データの前記印字サイズの情報を決定させ、
決定した前記印字サイズの情報に応じた前記印刷データを取得させ、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷させることを特徴とする。
Further, the uniform state of the program according to the present invention is as follows.
To the computer of the output data controller,
At least one motion of the output data control device in the three-dimensional space is detected by the motion detection unit.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Let me judge
If it is determined that the operation is the movement in the first direction, the output data of the output data is arranged so that the output size of each output element is gradually increased according to the order of the arrangement of the output elements of the output data including the plurality of output elements. Let the information of the output size be decided,
If it is determined that the operation is a movement in the direction opposite to the first direction, the output size of each output element is gradually reduced according to the order of the output elements of the output data including the plurality of output elements. characterized in that to determine the information of the output size of the output data.
In addition, other aspects of the program according to the present invention may be described.
On the computer of the printing device,
At least one movement of the printing device in the three-dimensional space is detected by the movement detection unit.
Based on the operation detected by the operation detection unit, the print size information of the print data stored in the storage unit is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
Based on the acquired print data, the printing unit prints on a recording medium.
In addition, other aspects of the program according to the present invention may be described.
On the computer of the printing device,
At least one movement of the printing device in the three-dimensional space is detected by the movement detection unit.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Let me judge
If it is determined that the operation is the movement in the first direction, the print size of each character is gradually increased according to the order of arrangement of each character in the print data including the plurality of character data stored in the storage unit. The information of the print size of the print data is determined, and the information is determined.
If it is determined that the operation is a movement in the direction opposite to the first direction, the printing is performed so that the print size of each character is gradually reduced according to the order of the characters in the print data including the plurality of character data. The information of the print size of the data is determined, and the information is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
Based on the acquired print data, the printing unit prints on a recording medium.

本発明によれば、簡易な操作により入力を受け付ける出力データ制御装置、印刷装置、出力データ制御方法、印刷方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide an output data control device, a printing device, an output data control method, a printing method, and a program that accept an input by a simple operation.

(a)は、本発明の第1実施形態に係る印刷装置の外観斜視図である。(b)は、本発明の第1実施形態に係る印刷装置の平面図である。(A) is an external perspective view of the printing apparatus according to the first embodiment of the present invention. (B) is a plan view of the printing apparatus according to the first embodiment of the present invention. (a)は、テープカセットの外観斜視図である。(b)は、本発明の第1実施形態に係る印刷装置の内部拡大図である。(A) is an external perspective view of a tape cassette. (B) is an internal enlarged view of the printing apparatus according to the first embodiment of the present invention. 本発明の第1実施形態に係る印刷装置の電気的構成例を示す図である。It is a figure which shows the electric structure example of the printing apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る印刷装置の機能構成例を示す図である。It is a figure which shows the functional structure example of the printing apparatus which concerns on 1st Embodiment of this invention. (a)〜(d)は、いずれも、本発明の第1実施形態に係る印刷装置の動きを説明するための図である。(a)は、±x方向の動きを説明するための図である。(b)は、±y方向の動きを説明するための図である。(c)は、±z方向の動きを説明するための図である。(d)は、x軸方向の左回り回転を説明するための図である。(A) to (d) are all diagrams for explaining the operation of the printing apparatus according to the first embodiment of the present invention. (A) is a diagram for explaining the movement in the ± x direction. (B) is a diagram for explaining the movement in the ± y direction. (C) is a diagram for explaining the movement in the ± z direction. (D) is a diagram for explaining counterclockwise rotation in the x-axis direction. 本発明の第1実施形態に係る印刷装置が実行する印刷処理を説明するためのフローチャートである。It is a flowchart for demonstrating the printing process executed by the printing apparatus which concerns on 1st Embodiment of this invention. (a)は、本発明の第2実施形態に係る印刷装置の外観斜視図である。(b)は、本発明の第2実施形態に係る印刷装置の平面図である。(A) is an external perspective view of the printing apparatus according to the second embodiment of the present invention. (B) is a plan view of the printing apparatus according to the second embodiment of the present invention. 本発明の第2実施形態に係る印刷装置の機能構成例を示す図である。It is a figure which shows the functional structure example of the printing apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る印刷装置の軌跡を説明するための図である。It is a figure for demonstrating the locus of the printing apparatus which concerns on 2nd Embodiment of this invention. (a−1)〜(b−4)は、いずれも、印刷データを入力するための他の方法を説明するための図である。(a−1)は、五十音の各行を昇順に提示させる操作を説明するための図である。(a−2)は、五十音の各行を降順に提示させる操作を説明するための図である。(a−3)は、五十音の行のうちの提示されている行を選択する操作を説明するための図である。(a−4)は、五十音の段を選択する操作を説明するための図である。(b−1)は、五十音の各行を昇順に提示させる他の操作を説明するための図である。(b−2)は、五十音の各行を降順に提示させる他の操作を説明するための図である。(b−3)は、五十音の行のうちの提示されている行を選択する他の操作を説明するための図である。(b−4)は、五十音の段を選択する他の操作を説明するための図である。(A-1) to (b-4) are all diagrams for explaining another method for inputting print data. (A-1) is a diagram for explaining an operation of presenting each line of the Japanese syllabary in ascending order. (A-2) is a diagram for explaining an operation of presenting each line of the Japanese syllabary in descending order. (A-3) is a diagram for explaining an operation of selecting a presented row among the rows of the Japanese syllabary. (A-4) is a diagram for explaining an operation of selecting a Japanese syllabary stage. (B-1) is a diagram for explaining another operation of presenting each line of the Japanese syllabary in ascending order. (B-2) is a diagram for explaining another operation of presenting each line of the Japanese syllabary in descending order. (B-3) is a diagram for explaining another operation of selecting the presented row among the rows of the Japanese syllabary. (B-4) is a diagram for explaining other operations for selecting the stage of the Japanese syllabary. (a−1)〜(g−1)は、いずれも、本発明の第3実施形態に係る印刷装置の動きを示す図である。(a−2)〜(g−2)は、いずれも、レイアウトを示す図である。(a−1)は、印刷装置の+y方向が鉛直方向Gとは反対の方向である鉛直上方向と同じ向きを保ったまま、印刷装置のxy平面内において鉛直方向Gと直交する方向である水平方向に対して、斜め上方向(水平方向と鉛直上方向とを合成した方向)へ直線を描くように移動する動きを示す図である。(a−2)は、レイアウトaを示す図である。(b−1)は、印刷装置が、一定の傾きを保ったまま、水平方向に対して、斜め上方向へ直線を描くように移動する動きを示す図である。(b−2)は、レイアウトbを示す図である。(c−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、水平方向に対して、斜め下方向(水平方向と鉛直方向Gとを合成した方向)へ直線を描くように移動する動きを示す図である。(c−2)は、レイアウトcを示す図である。(d−1)は、印刷装置が、一定の傾き(印刷装置の+y方向と鉛直上方向とのなす角度)を保ったまま、水平方向に対して、斜め下方向へ直線を描くように移動する動きを示す図である。(d−2)は、レイアウトdを示す図である。(e−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、鉛直上方向に凸な弧を描くように移動する動きを示す図である。(e−2)は、レイアウトeを示す図である。(f−1)は、印刷装置が、z軸方向に左回りに回転しながら、鉛直上方向に凸な弧を描くように移動する動きを示す図である。(f−2)は、レイアウトfを示す図である。(g−1)は、印刷装置が、一定の傾きを保ったまま、鉛直上方向に凸な弧を描くように移動する動きを示す図である。(g−2)は、レイアウトgを示す図である。(A-1) to (g-1) are all views showing the operation of the printing apparatus according to the third embodiment of the present invention. (A-2) to (g-2) are all views showing the layout. (A-1) is a direction orthogonal to the vertical direction G in the xy plane of the printing device while maintaining the same direction as the vertical upward direction in which the + y direction of the printing device is opposite to the vertical direction G. It is a figure which shows the movement which moves diagonally upward (the direction which combined the horizontal direction and the vertical upward direction) with respect to the horizontal direction so as to draw a straight line. (A-2) is a diagram showing the layout a. (B-1) is a diagram showing a movement of the printing apparatus so as to draw a straight line diagonally upward with respect to the horizontal direction while maintaining a constant inclination. (B-2) is a diagram showing layout b. In (c-1), a straight line is drawn diagonally downward (the direction in which the horizontal direction and the vertical direction G are combined) with respect to the horizontal direction while maintaining the same direction as the vertical upward direction of the printing device. It is a figure which shows the movement which moves like this. (C-2) is a diagram showing the layout c. In (d-1), the printing device moves so as to draw a straight line diagonally downward with respect to the horizontal direction while maintaining a constant inclination (angle formed by the + y direction of the printing device and the vertically upward direction). It is a figure which shows the movement to do. (D-2) is a diagram showing the layout d. (E-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical upward direction while maintaining the same direction as the vertical upward direction in the + y direction. (E-2) is a diagram showing the layout e. (F-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical upward direction while rotating counterclockwise in the z-axis direction. (F-2) is a diagram showing the layout f. (G-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical upward direction while maintaining a constant inclination. (G-2) is a diagram showing the layout g. (h−1)〜(n−1)は、いずれも、本発明の第3実施形態に係る印刷装置の動きを示す図である。(h−2)〜(n−2)は、いずれも、レイアウトを示す図である。(h−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、鉛直方向Gに凸な弧を描くように移動する動きを示す図である。(h−2)は、レイアウトhを示す図である。(i−1)は、印刷装置が、z軸方向に右回りに回転しながら、鉛直方向Gに凸な弧を描くように移動する動きを示す図である。(i−2)は、レイアウトiを示す図である。(j−1)は、印刷装置が、一定の傾きを保ったまま、鉛直方向Gに凸な弧を描くように移動する動きを示す図である。(j−2)は、レイアウトjを示す図である。(k−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、+z方向に移動する動きを示す図である。(k−2)は、レイアウトkを示す図である。(l−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、−z方向に移動する動きを示す図である。(l−2)は、レイアウトlを示す図である。(m−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、+z方向にまず移動した後、−z方向へ移動する動きを示す図である。(m−2)は、レイアウトmを示す図である。(n−1)は、印刷装置の+y方向が鉛直上方向と同じ向きを保ったまま、−z方向にまず移動した後、+z方向へ移動する動きを示す図である。(n−2)は、レイアウトnを示す図である。(H-1) to (n-1) are all views showing the operation of the printing apparatus according to the third embodiment of the present invention. (H-2) to (n-2) are all views showing the layout. (H-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical direction G while maintaining the same direction as the vertical upward direction in the + y direction. (H-2) is a diagram showing the layout h. (I-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical direction G while rotating clockwise in the z-axis direction. (I-2) is a diagram showing layout i. (J-1) is a diagram showing a movement of the printing apparatus so as to draw a convex arc in the vertical direction G while maintaining a constant inclination. (J-2) is a diagram showing the layout j. (K-1) is a diagram showing a movement of the printing apparatus in the + z direction while maintaining the same direction as the vertical upward direction in the + y direction. (K-2) is a diagram showing the layout k. (L-1) is a diagram showing a movement of the printing apparatus in the −z direction while maintaining the same direction as the vertically upward direction in the + y direction. (L-2) is a diagram showing the layout l. (M-1) is a diagram showing a movement in which the + y direction of the printing apparatus first moves in the + z direction and then moves in the −z direction while maintaining the same direction as the vertically upward direction. (M-2) is a diagram showing the layout m. (N-1) is a diagram showing a movement in which the + y direction of the printing apparatus first moves in the −z direction and then moves in the + z direction while maintaining the same direction as the vertically upward direction. (N-2) is a diagram showing the layout n. 本発明の第3実施形態に係る印刷装置が実行する入力処理を説明するためのフローチャートである。It is a flowchart for demonstrating the input process performed by the printing apparatus which concerns on 3rd Embodiment of this invention. レイアウトを入力するための他の方法を説明するためのフローチャートである。It is a flowchart for demonstrating another method for inputting a layout.

(第1実施形態)
以下、本発明の第1の実施形態について、図面を参照して説明する。図中、互いに同一又は同等の部分には同一の符号を付す。本実施形態では、本発明に係る入力装置の例として、印刷装置(ラベルプリンタ)を用いて説明する。
(First Embodiment)
Hereinafter, the first embodiment of the present invention will be described with reference to the drawings. In the figure, the same or equivalent parts are designated by the same reference numerals. In the present embodiment, a printing device (label printer) will be described as an example of the input device according to the present invention.

図1(a)及び(b)に示す印刷装置100は、ラベルプリンタであり、画像や文字等の構成要素(パターン)からなる印刷データをテープ部材に印刷する。テープ部材は、表面が印刷面であって裏面が粘着面である印刷テープと、粘着面に貼付される剥離テープと、が積層されて形成される記録媒体である。 The printing device 100 shown in FIGS. 1A and 1B is a label printer, and prints print data composed of components (patterns) such as images and characters on a tape member. The tape member is a recording medium formed by laminating a printing tape having a printing surface on the front surface and an adhesive surface on the back surface and a release tape attached to the adhesive surface.

印刷装置100は、コンパクトなラベルプリンタであり、ユーザが片手で把持して自由に動かすことができる程度の大きさを有する。ユーザが印刷装置100を把持して三次元空間内を移動させると、印刷装置100は、この動きに基づいて入力データの入力を受け付ける。入力データは、ユーザが入力することを所望するデータであり、印刷データや制御コマンドを含む。以下、印刷装置100の動きを説明するため、図1(a)及び(b)に示す座標系を設定する。図1(a)及び(b)に示すように、この座標系のx軸は印刷装置100の短手方向である幅方向に、y軸は印刷装置100の長手方向である高さ方向に、z軸は印刷装置100の厚み方向に、それぞれ平行に設定されている。なお、図中、Gは重力加速度の方向ベクトル(鉛直方向)を表す。 The printing device 100 is a compact label printer, and has a size that allows the user to grasp and freely move the label printer with one hand. When the user grips the printing device 100 and moves it in the three-dimensional space, the printing device 100 accepts the input of input data based on this movement. The input data is data desired to be input by the user, and includes print data and control commands. Hereinafter, in order to explain the movement of the printing apparatus 100, the coordinate system shown in FIGS. 1A and 1B is set. As shown in FIGS. 1A and 1B, the x-axis of this coordinate system is in the width direction, which is the lateral direction of the printing apparatus 100, and the y-axis is in the height direction, which is the longitudinal direction of the printing apparatus 100. The z-axis is set parallel to each other in the thickness direction of the printing apparatus 100. In the figure, G represents the direction vector (vertical direction) of gravitational acceleration.

以下、印刷装置100の機械的構成について説明する。 Hereinafter, the mechanical configuration of the printing apparatus 100 will be described.

印刷装置100は、図1(a)及び(b)に示すように、筐体110を備える。筐体110は、後述するサーマルヘッドやプリント基板等を内部に収容している。筐体110の側面には、印刷データが印刷された後のテープ部材(記録媒体)を切断するためのカッタ操作レバー108が設けられている。 As shown in FIGS. 1A and 1B, the printing apparatus 100 includes a housing 110. The housing 110 houses a thermal head, a printed circuit board, and the like, which will be described later. A cutter operation lever 108 for cutting the tape member (recording medium) after the print data is printed is provided on the side surface of the housing 110.

筐体110の上面には、操作部120及び表示部130が設けられている。操作部120は、操作キーとして機能するラバー製の複数の押圧キー122,123,124を備える。表示部130は、印刷装置100におけるメインパネルとしての、液晶表示パネル等の表示画面を備える。表示部130は、例えば入力されたデータに関する画像、各種の設定のための選択メニュー、各種の処理に関するメッセージ等を表示する。また、操作部120は、操作手段として機能する。 An operation unit 120 and a display unit 130 are provided on the upper surface of the housing 110. The operation unit 120 includes a plurality of rubber pressing keys 122, 123, 124 that function as operation keys. The display unit 130 includes a display screen such as a liquid crystal display panel as a main panel in the printing apparatus 100. The display unit 130 displays, for example, an image related to the input data, a selection menu for various settings, a message related to various processes, and the like. Further, the operation unit 120 functions as an operation means.

筐体110の内側には、図2(b)に示すように、テープ部材及びインクリボンを収容したテープカセットを収納(装填)するためのテープ収納部10が形成されている。テープ収納部10内には、印刷部としてのテープ印刷機構45と、テープカセット21を所定の位置に支持するためのカセット受部15と、が形成されている。 As shown in FIG. 2B, a tape storage portion 10 for storing (loading) a tape cassette containing a tape member and an ink ribbon is formed inside the housing 110. A tape printing mechanism 45 as a printing unit and a cassette receiving unit 15 for supporting the tape cassette 21 at a predetermined position are formed in the tape storage unit 10.

テープ印刷機構45は、印刷ヘッド(サーマルヘッド)11と、印刷ヘッド11との間でテープ部材及びインクリボンを挟み込んでこれを搬送するプラテンローラ12と、テープカセットに係合して位置決めする位置合わせ軸20と、印刷に使用したインクリボンをテープカセット内に巻取るリボン巻取軸13と、を備える。 The tape printing mechanism 45 is positioned so as to engage with and position the platen roller 12 that sandwiches the tape member and the ink ribbon between the print head (thermal head) 11 and the print head 11 and conveys the tape member and the ink ribbon. A shaft 20 and a ribbon winding shaft 13 for winding the ink ribbon used for printing in a tape cassette are provided.

テープ収納部10の一端部には、筐体110の側面に連通し、印刷後のテープ部材が繰り出されるテープ繰出部106が形成されている。テープ繰出部106には、テープ部材の印刷テープ及び剥離テープを幅方向に切断するフルカット機構17と、テープ部材の印刷テープのみを切断し、剥離テープを切断しないハーフカット機構18と、が組み込まれている。 At one end of the tape storage portion 10, a tape feeding portion 106 is formed which communicates with the side surface of the housing 110 and feeds out the tape member after printing. The tape feeding portion 106 incorporates a full-cut mechanism 17 that cuts the print tape and the release tape of the tape member in the width direction, and a half-cut mechanism 18 that cuts only the print tape of the tape member and does not cut the release tape. It has been printed.

テープカセット21は、図2(a)に示すように、カセットケース22を備える。カセットケース22の内部には、テープ部材31が巻装されたテープコアの軸23、未使用のインクリボン35が巻装されたリボン供給コアの軸24、使用済みのインクリボン35を巻取るリボン巻取コアの軸25が夫々収納されている。また、テープカセット21のカセットケース22には、テープ収納部10内にテープカセット21を装填した場合に印刷ヘッド11が位置するヘッド配置部27が形成されている。 As shown in FIG. 2A, the tape cassette 21 includes a cassette case 22. Inside the cassette case 22, the shaft 23 of the tape core around which the tape member 31 is wound, the shaft 24 of the ribbon supply core around which the unused ink ribbon 35 is wound, and the ribbon winding around which the used ink ribbon 35 is wound. The shaft 25 of the ink core is housed in each. Further, the cassette case 22 of the tape cassette 21 is formed with a head arrangement portion 27 in which the print head 11 is located when the tape cassette 21 is loaded in the tape storage portion 10.

カセットケース22の隅部には、テープ収納部10のカセット受部15と係合し、このカセット受部15によって支持される被係合部29が形成されている。カセットケース22の被係合部29には、テープカセット21が内蔵するテープ部材31の幅に応じた所定の凹凸(図示せず)が形成されている。テープ収納部10のカセット受部15には、テープ幅検出スイッチ16が形成されている。 At the corner of the cassette case 22, an engaged portion 29 that engages with the cassette receiving portion 15 of the tape storage portion 10 and is supported by the cassette receiving portion 15 is formed. The engaged portion 29 of the cassette case 22 is formed with predetermined unevenness (not shown) according to the width of the tape member 31 incorporated in the tape cassette 21. A tape width detection switch 16 is formed in the cassette receiving portion 15 of the tape accommodating portion 10.

カセットケース22がテープ収納部10に装填されると、カセットケース22の被係合部29とテープ収納部10のカセット受部15とが係合し、テープ幅検出スイッチ16のうちの少なくとも一部が、被係合部29の凹凸によって押下され、オン状態になる。印刷装置100は、テープ幅検出スイッチ16のオン状態とオフ状態との組み合わせによって、テープカセット21が内蔵するテープ部材31の幅を取得する。印刷装置100は、取得したテープ部材31の幅に適合した印刷データを作成する。 When the cassette case 22 is loaded into the tape storage portion 10, the engaged portion 29 of the cassette case 22 and the cassette receiving portion 15 of the tape storage portion 10 are engaged with each other, and at least a part of the tape width detection switch 16. Is pressed by the unevenness of the engaged portion 29 and is turned on. The printing apparatus 100 acquires the width of the tape member 31 built in the tape cassette 21 by combining the on state and the off state of the tape width detection switch 16. The printing apparatus 100 creates print data suitable for the acquired width of the tape member 31.

印刷が指示されると、テープ部材31がテープカセット21から繰り出され、インクリボン35が巻き取られる。テープ部材31及びインクリボン35は、重ね合わされた状態で、プラテンローラ12と印刷ヘッド11との間に挟み込まれて搬送される。 When printing is instructed, the tape member 31 is unwound from the tape cassette 21 and the ink ribbon 35 is wound up. The tape member 31 and the ink ribbon 35 are sandwiched and conveyed between the platen roller 12 and the print head 11 in a state of being overlapped with each other.

そして、印刷ヘッド11が印刷データに基づいて発熱駆動され、インクリボン35のインクがテープ部材31の印刷テープに熱転写されて印刷が行われる。印刷が終了すると、ユーザがカッタ操作レバー108を操作することにより、フルカット機構17又はハーフカット機構18が作動してテープ部材31が幅方向に切断され、1枚のテープ状のラベルが作成される。 Then, the print head 11 is driven to generate heat based on the print data, and the ink of the ink ribbon 35 is thermally transferred to the print tape of the tape member 31 to perform printing. When printing is completed, the user operates the cutter operation lever 108 to operate the full cut mechanism 17 or the half cut mechanism 18 to cut the tape member 31 in the width direction, and one tape-shaped label is created. NS.

上記の機械的構成を有する印刷装置100は、電気的には、図3に示すように、制御部40と、操作部120と、表示部130と、ROM(Read Only Memory)41と、RAM(Random Access Memory)42と、加速度センサ6と、角速度センサ7と、印刷部50と、テープ幅検出スイッチ16と、を備える。 Electrically, as shown in FIG. 3, the printing apparatus 100 having the above mechanical configuration includes a control unit 40, an operation unit 120, a display unit 130, a ROM (Read Only Memory) 41, and a RAM ( It includes a Random Access Memory) 42, an acceleration sensor 6, an angular velocity sensor 7, a printing unit 50, and a tape width detection switch 16.

制御部40は、CPU(Central Processing Unit)を備え、ユーザの操作に従って入力を受け付けるための入力プログラムや印刷装置100全体を制御するための制御プログラム等のROM41に予め記憶されている各種プログラムを実行することにより、印刷装置100の各部を制御する。制御部40が実行する制御の詳細については、後述する。 The control unit 40 includes a CPU (Central Processing Unit) and executes various programs stored in advance in the ROM 41 such as an input program for receiving input according to a user's operation and a control program for controlling the entire printing device 100. By doing so, each part of the printing apparatus 100 is controlled. The details of the control executed by the control unit 40 will be described later.

ROM41は、プログラムやデータを固定的に記憶する。具体的に、ROM41は、入力プログラムや制御プログラムを含む各種プログラムを予め記憶している。また、ROM41は、複数の印刷データを含むデータを記憶している。ROM41が記憶する複数の印刷データは、それぞれ画像や文字等の構成要素を含み、互いに順序付けて記憶されている。 The ROM 41 fixedly stores programs and data. Specifically, the ROM 41 stores various programs including an input program and a control program in advance. Further, the ROM 41 stores data including a plurality of print data. The plurality of print data stored in the ROM 41 each includes components such as images and characters, and are stored in order of each other.

RAM42は、データやプログラムを一時的に記憶する。RAM42は、制御部40がプログラムを実行する際のワークメモリとして機能する。 The RAM 42 temporarily stores data and programs. The RAM 42 functions as a work memory when the control unit 40 executes a program.

加速度センサ6は、印刷装置100の加速度を検出する。 The acceleration sensor 6 detects the acceleration of the printing device 100.

角速度センサ7は、印刷装置100の角速度を検出する。 The angular velocity sensor 7 detects the angular velocity of the printing apparatus 100.

印刷部50は、印刷部駆動回路51と、搬送部駆動回路52と、切断部駆動回路53と、を含む。印刷部駆動回路51は、印刷部である印刷ヘッド11を印刷データに基づいて制御し、テープ部材31に対する印刷を実行する。搬送部駆動回路52は、搬送部を駆動させる回路であって、プラテンローラ12やリボン巻取軸13を回転させるステップモータ等の搬送モータを制御し、所定の速度で長手方向にテープ部材31を搬送する。切断部駆動回路53は、切断部を制御する駆動回路であり、制御部40からの制御に基づいて、フルカット機構17で使用されるステッピングモータやハーフカット機構18で使用されるDCモータ等を制御する。 The printing unit 50 includes a printing unit drive circuit 51, a transport unit drive circuit 52, and a cutting unit drive circuit 53. The printing unit drive circuit 51 controls the printing head 11 which is a printing unit based on the print data, and executes printing on the tape member 31. The transport unit drive circuit 52 is a circuit that drives the transport unit, and controls a transport motor such as a step motor that rotates the platen roller 12 and the ribbon take-up shaft 13, and presses the tape member 31 in the longitudinal direction at a predetermined speed. Transport. The cutting section drive circuit 53 is a drive circuit that controls the cutting section, and based on the control from the control section 40, a stepping motor used in the full cut mechanism 17, a DC motor used in the half cut mechanism 18, and the like are used. Control.

また、制御部40は、テープ幅検出スイッチ16に接続され、テープ幅検出スイッチ16のオン・オフ状態の組み合わせに基づいて、テープ部材31の幅を取得する。 Further, the control unit 40 is connected to the tape width detection switch 16 and acquires the width of the tape member 31 based on the combination of the on / off states of the tape width detection switch 16.

上記の機械的・電気的構成を有する印刷装置100は、機能的には、図4に示すように、動作検出部100aと、記憶部100bと、提示部100cと、取得部100dと、印刷部100eと、を備える。 Functionally, as shown in FIG. 4, the printing apparatus 100 having the above mechanical / electrical configuration has an motion detection unit 100a, a storage unit 100b, a presentation unit 100c, an acquisition unit 100d, and a printing unit. It is equipped with 100e.

動作検出部100aは、三次元空間における印刷装置100の動きを検出する。例えば、動作検出部100aは、図5(a)〜図5(d)に示す印刷装置100の動きを検出する。図5(a)は、印刷装置100が+x方向と−x方向とへ交互に移動する動き(±x方向の動き)を示す。図5(b)は、印刷装置100が+y方向と−y方向とへ交互に移動する動き(±y方向の動き)を示す。図5(c)は、印刷装置100が+z方向と−z方向とへ交互に移動する動き(±z方向の動き)を示す。図5(d)は、印刷装置100本体がx軸方向に左回りに回転する動きを示す。動作検出部100aは、加速度センサ6、角速度センサ7及び制御部40の協働によって実現される。また、動作検出部100aは、動作検出手段として機能する。 The motion detection unit 100a detects the motion of the printing device 100 in the three-dimensional space. For example, the motion detection unit 100a detects the motion of the printing apparatus 100 shown in FIGS. 5A to 5D. FIG. 5A shows a movement (movement in the ± x direction) in which the printing apparatus 100 alternately moves in the + x direction and the −x direction. FIG. 5B shows a movement (movement in the ± y direction) in which the printing apparatus 100 alternately moves in the + y direction and the −y direction. FIG. 5C shows a movement (movement in the ± z direction) in which the printing apparatus 100 alternately moves in the + z direction and the −z direction. FIG. 5D shows the movement of the printing apparatus 100 main body rotating counterclockwise in the x-axis direction. The motion detection unit 100a is realized by the cooperation of the acceleration sensor 6, the angular velocity sensor 7, and the control unit 40. Further, the motion detecting unit 100a functions as an motion detecting means.

記憶部100bは、ROM41によって実現され、複数の入力データの候補を記憶する。具体的に、記憶部100bは、複数の印刷データを、互いに順序付けて、入力データの候補として記憶する。また、記憶部100bは、複数の制御コマンドを、動作検出部100aが検出可能な印刷装置100の動きに対応付けて、入力データの候補として記憶する。また、記憶部100bは、記憶手段として機能する。 The storage unit 100b is realized by the ROM 41 and stores a plurality of input data candidates. Specifically, the storage unit 100b stores a plurality of print data as candidates for input data by ordering them from each other. Further, the storage unit 100b stores a plurality of control commands as input data candidates in association with the movement of the printing device 100 that can be detected by the motion detection unit 100a. Further, the storage unit 100b functions as a storage means.

より具体的に、記憶部100bは、図5(a)に示す±x方向の動きに対応付けて、「印刷」コマンドを記憶する。「印刷」コマンドは、印刷部50に印刷データをテープ部材31へ印刷させるための制御コマンドである。
また、記憶部100bは、図5(b)に示す±y方向の動き(第1の動き)に対応付けて、「次候補」コマンドを記憶する。「次候補」コマンドは、提示部100cに次の順序の印刷データを提示させるための制御コマンドである。
また、記憶部100bは、図5(c)に示す±z方向の動き(第2の動き)に対応付けて、「取得」コマンドを記憶する。「取得」コマンドは、後述する取得部100dに提示部100cが提示している印刷データを入力データとして取得させるための制御コマンドである。
また、記憶部100bは、図5(d)に示す、x軸方向の左回り回転に対応付けて、「テープカット」コマンドを記憶する。「テープカット」コマンドは、フルカット機構17又はハーフカット機構18にテープ部材31を切断させるための制御コマンドである。
More specifically, the storage unit 100b stores the "print" command in association with the movement in the ± x direction shown in FIG. 5A. The "print" command is a control command for causing the printing unit 50 to print print data on the tape member 31.
Further, the storage unit 100b stores the "next candidate" command in association with the movement in the ± y direction (first movement) shown in FIG. 5B. The "next candidate" command is a control command for causing the presentation unit 100c to present print data in the following order.
Further, the storage unit 100b stores the "acquisition" command in association with the movement in the ± z direction (second movement) shown in FIG. 5C. The "acquisition" command is a control command for causing the acquisition unit 100d, which will be described later, to acquire the print data presented by the presentation unit 100c as input data.
Further, the storage unit 100b stores the "tape cut" command in association with the counterclockwise rotation in the x-axis direction shown in FIG. 5D. The "tape cut" command is a control command for causing the full cut mechanism 17 or the half cut mechanism 18 to cut the tape member 31.

提示部100cは、記憶部100bが記憶する複数の印刷データのうちの何れか一つをユーザに提示する。本実施形態において、提示部100cは、表示部130と制御部40との協働によって実現され、印刷データを表す画像を表示する。また、提示部100cは、提示手段として機能する。 The presentation unit 100c presents to the user any one of the plurality of print data stored in the storage unit 100b. In the present embodiment, the presentation unit 100c is realized by the cooperation of the display unit 130 and the control unit 40, and displays an image representing print data. Further, the presentation unit 100c functions as a presentation means.

取得部100dは、制御部40によって実現され、動作検出部100aが検出した印刷装置100の動きに基づいて、印刷データや制御コマンドを含む入力データを取得する。具体的に、取得部100dは、動作検出部100aが検出した印刷装置100の動きに対応付けて記憶部100bが記憶している制御コマンドを、入力データとして取得する。また、取得部100dは、取得手段として機能する。 The acquisition unit 100d is realized by the control unit 40, and acquires input data including print data and control commands based on the movement of the printing device 100 detected by the motion detection unit 100a. Specifically, the acquisition unit 100d acquires the control command stored in the storage unit 100b in association with the movement of the printing device 100 detected by the motion detection unit 100a as input data. Further, the acquisition unit 100d functions as an acquisition means.

より具体的に、±x方向の動きを動作検出部100aが検出すると、取得部100dは、「印刷」コマンドを入力データとして取得する。
また、±y方向の動きを動作検出部100aが検出すると、取得部100dは、「次候補」コマンドを入力データとして取得する。
また、±z方向の動きを動作検出部100aが検出すると、取得部100dは、「取得」コマンドを入力データとして取得する。さらに、取得部100dは、「取得」コマンドを取得したことに応答して、提示部100cが提示している印刷データを入力データとして取得する。
また、x軸方向の左回り回転を動作検出部100aが検出すると、取得部100dは、「テープカット」コマンドを入力データとして取得する。
More specifically, when the motion detection unit 100a detects the movement in the ± x direction, the acquisition unit 100d acquires the "print" command as input data.
Further, when the motion detection unit 100a detects the movement in the ± y direction, the acquisition unit 100d acquires the “next candidate” command as input data.
Further, when the motion detection unit 100a detects the movement in the ± z direction, the acquisition unit 100d acquires the “acquisition” command as input data. Further, the acquisition unit 100d acquires the print data presented by the presentation unit 100c as input data in response to the acquisition of the "acquisition" command.
Further, when the motion detection unit 100a detects the counterclockwise rotation in the x-axis direction, the acquisition unit 100d acquires the "tape cut" command as input data.

印刷部100eは、取得部100dが入力データとして取得した印刷データを、テープ部材31に印刷する。印刷部100eは、印刷部50によって実現される。また、印刷部100eは、印刷手段として機能する。 The printing unit 100e prints the print data acquired by the acquisition unit 100d as input data on the tape member 31. The printing unit 100e is realized by the printing unit 50. Further, the printing unit 100e functions as a printing means.

以下、上記の物理的・機能的構成を有する印刷装置100が実行する印刷処理の詳細について、図6のフローチャートを参照して説明する。 Hereinafter, the details of the printing process executed by the printing apparatus 100 having the above physical and functional configurations will be described with reference to the flowchart of FIG.

印刷装置100の記憶部100bは、入力データの候補である制御コマンド及び印刷データを、外部から取得して予め記憶している。 The storage unit 100b of the printing device 100 acquires control commands and print data, which are candidates for input data, from the outside and stores them in advance.

テープ部材31に印刷データを印刷することを所望するユーザが電源を投入すると、印刷装置100は、図6のフローチャートに示す印刷処理を開始する。 When a user who desires to print print data on the tape member 31 turns on the power, the printing apparatus 100 starts the printing process shown in the flowchart of FIG.

印刷処理を開始すると、まず、提示部100cが、記憶部100bが記憶している複数の印刷データのうちの何れか一つを提示する(ステップS101)。次に、動作検出部100aは、印刷装置100の何らかの動きを検出したか否かを判別する(ステップS102)。動きを検出していないと判別すると(ステップS102;NO)、動きを検出するまでステップS102の処理を繰り返す。 When the printing process is started, the presentation unit 100c first presents any one of the plurality of print data stored in the storage unit 100b (step S101). Next, the motion detection unit 100a determines whether or not any motion of the printing apparatus 100 has been detected (step S102). If it is determined that no motion is detected (step S102; NO), the process of step S102 is repeated until the motion is detected.

何らかの動きを検出したと判別すると(ステップS102;YES)、動作検出部100aは、図5(c)に示す±z方向の動きを検出したか否かを判別する(ステップS103)。ユーザは、提示部100cが所望の印刷データを提示している場合、印刷装置100を±z方向に動かすことにより、この印刷データの取得を印刷装置100に促す。これに応答して、動作検出部100aは、±z方向の動きを検出したと判別し(ステップS103;YES)、取得部100dが、「取得」コマンドを取得する。取得部100dは、「取得」コマンドを取得したことに応答して、その時点で提示部100cが提示している印刷データを入力データとして取得し(ステップS111)、処理はステップS107へ移る。 When it is determined that some movement is detected (step S102; YES), the motion detection unit 100a determines whether or not the movement in the ± z direction shown in FIG. 5C is detected (step S103). When the presentation unit 100c is presenting desired print data, the user urges the print device 100 to acquire the print data by moving the print device 100 in the ± z direction. In response to this, the motion detection unit 100a determines that the motion in the ± z direction has been detected (step S103; YES), and the acquisition unit 100d acquires the “acquisition” command. In response to the acquisition of the "acquisition" command, the acquisition unit 100d acquires the print data presented by the presentation unit 100c as input data at that time (step S111), and the process proceeds to step S107.

±z方向の動きを検出していないと判別すると(ステップS103;NO)、動作検出部100aは、図5(b)に示す±y方向の動きを検出したか否かを判別する(ステップS104)。ユーザは、提示部100cが所望の印刷データを提示していない場合、印刷装置100を±y方向に動かすことにより、次の印刷データの提示を印刷装置100に促す。これに応答して、動作検出部100aは、±y方向の動きを検出したと判別し(ステップS104;YES)、取得部100dが、「次候補」コマンドを入力データとして取得し、提示部100cへ供給する。これに応答して、提示部100cが次の順序の印刷データを提示し(ステップS110)、処理はステップS107へ移る。 When it is determined that the movement in the ± z direction is not detected (step S103; NO), the motion detection unit 100a determines whether or not the movement in the ± y direction shown in FIG. 5B is detected (step S104). ). When the presenting unit 100c does not present the desired print data, the user moves the printing device 100 in the ± y direction to prompt the printing device 100 to present the next print data. In response to this, the motion detection unit 100a determines that the movement in the ± y direction has been detected (step S104; YES), the acquisition unit 100d acquires the "next candidate" command as input data, and the presentation unit 100c. Supply to. In response to this, the presentation unit 100c presents the print data in the next order (step S110), and the process proceeds to step S107.

±y方向の動きを検出していないと判別すると(ステップS104;NO)、動作検出部100aは、図5(a)に示す±x方向の動きを検出したか否かを判別する(ステップS105)。ユーザは、所望の印刷データが印刷装置100によって取得済みの場合、印刷装置100を±x方向に動かすことにより、印刷データの印刷を印刷装置100に促す。これに応答して、動作検出部100aは、±x方向の動きを検出したと判別し(ステップS105;YES)、取得部100dが、「印刷」コマンドを入力データとして取得し、印刷部100eへ供給する。これに応答して、印刷部100eが印刷データをテープ部材31へ印刷し(ステップS109)、処理はステップS107へ移る。 When it is determined that the movement in the ± y direction is not detected (step S104; NO), the motion detection unit 100a determines whether or not the movement in the ± x direction shown in FIG. 5A is detected (step S105). ). When the desired print data has already been acquired by the printing device 100, the user prompts the printing device 100 to print the printing data by moving the printing device 100 in the ± x direction. In response to this, the motion detection unit 100a determines that the movement in the ± x direction has been detected (step S105; YES), and the acquisition unit 100d acquires the "print" command as input data and sends it to the print unit 100e. Supply. In response to this, the printing unit 100e prints the print data on the tape member 31 (step S109), and the process proceeds to step S107.

±x方向の動きを検出していないと判別すると(ステップS105;NO)、動作検出部100aは、図5(d)に示すx軸方向の左回り回転を検出したか否かを判別する(ステップS106)。ユーザは、所望の印刷データがテープ部材31に印刷済みの場合、印刷装置100をx軸方向に左回りに回転させることにより、テープ部材31の切断を印刷装置100に促す。これに応答して、動作検出部100aは、x軸方向の左回り回転を検出したと判別し(ステップS106;YES)、取得部100dが、「テープカット」コマンドを入力データとして取得し、切断部駆動回路53へ供給する。これに応答して、切断部駆動回路53が、フルカット機構17で使用されるステッピングモータやハーフカット機構18で使用されるDCモータ等を制御してテープ部材31を切断させ(ステップS108)、処理はステップS107へ移る。 When it is determined that the movement in the ± x direction is not detected (step S105; NO), the motion detection unit 100a determines whether or not the counterclockwise rotation in the x-axis direction shown in FIG. 5D is detected (step S105; NO). Step S106). When the desired print data has already been printed on the tape member 31, the user urges the printing device 100 to cut the tape member 31 by rotating the printing device 100 counterclockwise in the x-axis direction. In response to this, the motion detection unit 100a determines that the counterclockwise rotation in the x-axis direction has been detected (step S106; YES), and the acquisition unit 100d acquires the "tape cut" command as input data and cuts. It is supplied to the unit drive circuit 53. In response to this, the cutting section drive circuit 53 controls the stepping motor used in the full cut mechanism 17, the DC motor used in the half cut mechanism 18, and the like to cut the tape member 31 (step S108). The process proceeds to step S107.

x軸方向の左回り回転を検出していないと判別すると(ステップS106;NO)、動作検出部100aは、印刷装置100の電源がオフ状態か否かを判別する(ステップ107)。電源がオフ状態ではないと判別すると(ステップS107;NO)、処理はステップS102へ戻る。ユーザは、所望の動作を印刷装置100に実行させ終えた場合、電源をオフにすることにより、印刷処理の終了を印刷装置100に促す。これに応答して、印刷装置100は、電源がオフ状態であると判別し(ステップS107;YES)、図6のフローチャートの印刷処理を終了する。 When it is determined that the counterclockwise rotation in the x-axis direction is not detected (step S106; NO), the operation detection unit 100a determines whether or not the power supply of the printing apparatus 100 is in the off state (step 107). If it is determined that the power supply is not in the off state (step S107; NO), the process returns to step S102. When the user finishes executing the desired operation on the printing apparatus 100, the user prompts the printing apparatus 100 to end the printing process by turning off the power. In response to this, the printing apparatus 100 determines that the power is off (step S107; YES), and ends the printing process of the flowchart of FIG.

以上説明したように、ユーザが本実施形態に係る印刷装置100を三次元空間内で動かすと、印刷装置100は、この動きに基づいて、印刷データや制御コマンドの入力を受け付ける。すなわち、印刷装置100は、簡易な操作により入力を受け付けることができる。 As described above, when the user moves the printing device 100 according to the present embodiment in the three-dimensional space, the printing device 100 accepts the input of print data and control commands based on the movement. That is, the printing device 100 can accept the input by a simple operation.

なお、本実施形態で説明した印刷装置100の動きと入力データの候補との間の対応付けは一例に過ぎず、両者は他の任意の方法で対応付けることができる。例えば、共に本実施形態では説明していない印刷装置100の動き(例えば、所定の軌跡を描く動き)と入力データの候補(例えば、印刷を中止するための制御コマンド)とを対応付けてもよい。 The correspondence between the movement of the printing apparatus 100 and the candidate of the input data described in the present embodiment is only an example, and both can be associated by any other method. For example, the movement of the printing apparatus 100 (for example, the movement of drawing a predetermined locus) and the input data candidate (for example, a control command for stopping printing), which are not described in the present embodiment, may be associated with each other. ..

また、本実施形態では、印刷装置100が座標軸上の+方向へまず移動してから−方向に移動する動きと、−方向へまず移動してから+方向に移動する動きと、を区別していなかったが、両者を区別し、互いに異なる入力データの候補に対応付けてもよい。例えば、印刷装置100がまず−y方向へ動いてから+y方向へ移動する動きを、次の順序の印刷データを提示させるための制御コマンドに対応付ける一方、印刷装置100がまず+y方向へ動いてから−y方向へ移動する動きを、前の順序の印刷データを提示させるための制御コマンドに対応付けることができる。 Further, in the present embodiment, the movement in which the printing apparatus 100 first moves in the + direction on the coordinate axis and then moves in the − direction and the movement in which the printing device 100 first moves in the − direction and then moves in the + direction are distinguished. However, the two may be distinguished and associated with different input data candidates. For example, the movement of the printing device 100 first moving in the −y direction and then moving in the + y direction corresponds to a control command for presenting print data in the next order, while the printing device 100 first moves in the + y direction. The movement moving in the −y direction can be associated with a control command for presenting print data in the previous order.

あるいは、手袋をはめた状態でも指先で操作しやすい大きさの操作ボタンを操作部120に設け、この操作ボタンが押圧されているか否かに応じて、異なる入力データの候補を、同一の印刷装置100の動きに対応付けてもよい。例えば、操作ボタンが押圧された状態における±y方向の動きには、次の順序の印刷データを提示させるための制御コマンドを対応付ける一方、この操作ボタンが押圧されていない状態における±y方向の動きには、前の順序の印刷データを提示させるための制御コマンドを対応付けることができる。 Alternatively, the operation unit 120 is provided with an operation button having a size that is easy to operate with a fingertip even when wearing gloves, and different input data candidates can be printed on the same printing device depending on whether or not the operation button is pressed. It may be associated with 100 movements. For example, the movement in the ± y direction when the operation button is pressed is associated with a control command for presenting the print data in the next order, while the movement in the ± y direction when the operation button is not pressed. Can be associated with a control command for presenting print data in the previous order.

(第2実施形態)
上記の第1実施形態では、複数の印刷データを予め記憶しておき、これらの印刷データの何れかを入力データとして取得した。しかし、これは一例に過ぎず、印刷データを他の方法により取得することもできる。以下、自装置の軌跡を印刷データとして取得する印刷装置100’の機能及び動作を説明する。
(Second Embodiment)
In the first embodiment described above, a plurality of print data are stored in advance, and any one of these print data is acquired as input data. However, this is only an example, and print data can be acquired by other methods. Hereinafter, the functions and operations of the printing device 100'that acquires the locus of the own device as print data will be described.

印刷装置100’の物理的・機能的構成は、第1実施形態に係る印刷装置100の物理的・機能的構成とほぼ同一であるが、一部が異なる。以下、第1実施形態と同様に、印刷装置100’の動きを説明するため、図7(a)及び(b)に示す座標系を設定する。図7(a)及び(b)に示すように、この座標系のx軸は印刷装置100’の短手方向である幅方向に、y軸は印刷装置100’の長手方向である高さ方向に、z軸は印刷装置100’の厚み方向に、それぞれ平行に設定されている。なお、図中、Gは重力加速度の方向ベクトル(鉛直方向)を表す。 The physical / functional configuration of the printing apparatus 100'is almost the same as the physical / functional configuration of the printing apparatus 100 according to the first embodiment, but a part thereof is different. Hereinafter, in order to explain the movement of the printing apparatus 100'as in the first embodiment, the coordinate system shown in FIGS. 7A and 7B is set. As shown in FIGS. 7A and 7B, the x-axis of this coordinate system is the width direction which is the lateral direction of the printing device 100', and the y-axis is the height direction which is the longitudinal direction of the printing device 100'. In addition, the z-axis is set parallel to each other in the thickness direction of the printing apparatus 100'. In the figure, G represents the direction vector (vertical direction) of gravitational acceleration.

印刷装置100’は、図7(a)及び(b)に示すように、摺動部140を機械的構成として備える。摺動部140は、筐体110の長手側一端に設けられた半球状の部材である。摺動部140の表面は、外部の物体(例えば、壁面や机の天板、ユーザの手のひら)の上を摺動しやすいように滑らかに加工されている。摺動部140は、圧力を検出する感圧センサを備えている。また、摺動部140は、摺動手段として機能する。 As shown in FIGS. 7A and 7B, the printing apparatus 100'includes a sliding portion 140 as a mechanical configuration. The sliding portion 140 is a hemispherical member provided at one end on the longitudinal side of the housing 110. The surface of the sliding portion 140 is smoothly processed so that it can easily slide on an external object (for example, a wall surface, a desk top plate, or a user's palm). The sliding portion 140 includes a pressure-sensitive sensor that detects pressure. Further, the sliding portion 140 functions as a sliding means.

印刷装置100’は、機能的に、図8に示すように、判別部100fを備える。判別部100fは、入力条件が満たされているか否かを判別する。本実施形態において、入力条件は、摺動部140が外部の物体の上を摺動していることである。判別部100fは、摺動部140が備える感圧センサが検出した圧力の値を取得し、取得した圧力の値が所定の閾値以上であるか否かを判別することにより、入力条件が満たされているか否か(摺動部140が外部の物体の上を摺動しているか否か)を判別する。判別部100fは、制御部40によって実現される。また、判別部100fは、判別手段として機能する。 The printing device 100'functionally includes a discriminating unit 100f as shown in FIG. The determination unit 100f determines whether or not the input condition is satisfied. In the present embodiment, the input condition is that the sliding portion 140 is sliding on an external object. The discriminating unit 100f acquires the value of the pressure detected by the pressure-sensitive sensor included in the sliding unit 140, and determines whether or not the acquired pressure value is equal to or higher than a predetermined threshold value, whereby the input condition is satisfied. It is determined whether or not (whether or not the sliding portion 140 is sliding on an external object). The discrimination unit 100f is realized by the control unit 40. Further, the discrimination unit 100f functions as a discrimination means.

取得部100dは、入力条件が満たされていると判別部100fが判別した状態において動作検出部100aが検出した印刷装置100’の動きに基づいて、入力条件が満たされていると判別部100fが判別した状態における印刷装置100’の軌跡を取得する。具体的に、取得部100dは、動作検出部100aが備える加速度センサ6が検出した印刷装置100の加速度を積分することにより、印刷装置100’の三次元空間内の位置を取得する。そして、これらの位置を近似曲線(または近似直線)でフィッティングすることにより、印刷装置100’の軌跡を取得する。取得部100dは、このようにして取得した印刷装置100’の軌跡を、印刷データ(入力データ)として取得する。 The acquisition unit 100d determines that the input condition is satisfied based on the movement of the printing device 100'detected by the operation detection unit 100a in a state where the determination unit 100f determines that the input condition is satisfied. The locus of the printing apparatus 100'in the determined state is acquired. Specifically, the acquisition unit 100d acquires the position of the printing device 100'in the three-dimensional space by integrating the acceleration of the printing device 100 detected by the acceleration sensor 6 included in the motion detecting unit 100a. Then, by fitting these positions with an approximate curve (or an approximate straight line), the locus of the printing apparatus 100'is acquired. The acquisition unit 100d acquires the locus of the printing device 100'acquired in this way as print data (input data).

例えば、ユーザが、印刷装置100’を、図9に示す軌跡を描くように動かしたとする。この際、図9中、実線で示す軌跡を描く際には、摺動部140を壁面(外部の物体)の上で摺動させる一方、破線で示す軌跡を描く際には、摺動部140が壁面に当接しないように印刷装置100’を動かす。すなわち、図9中、実線は入力条件(摺動部140が外部の物体の上を摺動していること)が満たされている状態における印刷装置100’の軌跡であり、破線は入力条件が満たされていない状態における印刷装置100’の軌跡である。この場合、取得部100dは、図9中の実線で示す軌跡を、動作検出部100aが検出した印刷装置100’の動きに基づいて取得し、この軌跡を印刷データとして取得する。 For example, suppose that the user moves the printing device 100'to draw the locus shown in FIG. At this time, in FIG. 9, when drawing the locus shown by the solid line, the sliding portion 140 is slid on the wall surface (external object), while when drawing the locus shown by the broken line, the sliding portion 140 is drawn. Move the printing device 100'so that it does not come into contact with the wall surface. That is, in FIG. 9, the solid line is the locus of the printing apparatus 100'in the state where the input condition (the sliding portion 140 is sliding on the external object) is satisfied, and the broken line is the input condition. It is a locus of the printing apparatus 100'in an unfilled state. In this case, the acquisition unit 100d acquires the locus shown by the solid line in FIG. 9 based on the movement of the printing device 100'detected by the motion detection unit 100a, and acquires this locus as print data.

以上説明したように、本実施形態に係る印刷装置100’は、自装置の動きに基づき、印刷データ(入力データ)の入力を受け付ける。すなわち、指先を用いた細かなキーの押圧操作等の複雑な操作を行うことなく、簡易な操作により印刷データの入力を受け付けることができる。 As described above, the printing device 100'according to the present embodiment accepts the input of print data (input data) based on the movement of the own device. That is, it is possible to accept the input of print data by a simple operation without performing a complicated operation such as a fine key pressing operation using a fingertip.

本実施形態に係る印刷装置100’は、自装置の任意の軌跡を印刷データとして取得するため、予め記憶しておいた印刷データのうち何れかを入力データとして取得する第1実施形態に係る印刷装置100に比べて、多様な印刷データの入力を受け付けることができる。また、第1の実施形態に係る印刷装置100とは異なり、複数の印刷データを予め記憶しておく必要がないため、記憶容量を節約することができる。 Since the printing device 100'according to the present embodiment acquires an arbitrary locus of its own device as print data, printing according to the first embodiment acquires any one of the print data stored in advance as input data. Compared to the device 100, it is possible to accept input of various print data. Further, unlike the printing apparatus 100 according to the first embodiment, it is not necessary to store a plurality of print data in advance, so that the storage capacity can be saved.

なお、本実施形態では、摺動部140が外部の物体の上を摺動していることを入力条件として説明したが、これは一例に過ぎず、入力条件は任意に設定することができる。 In the present embodiment, the fact that the sliding portion 140 is sliding on an external object has been described as an input condition, but this is only an example, and the input condition can be set arbitrarily.

例えば、手袋をはめた状態でも指先で操作しやすい大きさの操作ボタンを操作部120に設け、この操作ボタンが押圧されていることを入力条件として設定してもよい。この場合、ユーザは、この操作ボタンを押圧した状態で所望の印刷データを軌跡として描くように印刷装置100’を動かし、取得部100dは、この軌跡を印刷データとして取得する。 For example, the operation unit 120 may be provided with an operation button having a size that is easy to operate with a fingertip even when wearing gloves, and it may be set as an input condition that the operation button is pressed. In this case, the user moves the printing device 100'so as to draw the desired print data as a locus while pressing the operation button, and the acquisition unit 100d acquires this locus as the print data.

あるいは、印刷装置100’と外部の物体との間の距離を取得する測距センサを設け、この測距センサが取得した距離が所定値以下であることを入力条件として設定してもよい。この場合、ユーザは、印刷装置100’を、外部の物体の近傍において、所望の印刷データを軌跡として描くように動かし、取得部100dは、この軌跡を印刷データとして取得する。 Alternatively, a distance measuring sensor for acquiring the distance between the printing device 100'and an external object may be provided, and the distance acquired by the distance measuring sensor may be set as an input condition to be equal to or less than a predetermined value. In this case, the user moves the printing device 100'so as to draw desired print data as a locus in the vicinity of an external object, and the acquisition unit 100d acquires this locus as print data.

あるいは、動作検出部100aが所定の動き(例えば、±z方向に2度連続して移動する動きや、+z方向に移動した後にx軸周りに回転する動き)を検出することを入力条件として設定してもよい。さらに、動作検出部100aが所定の動きを再度検出したことに応答して、印刷データの取得を終了することとしてもよい。この場合、ユーザは、印刷装置100’に所定の動きをさせた後、所望の印刷データを軌跡として描くように動かし、その後、再び所定の動きをさせる。取得部100dは、動作検出部100aが所定の動きを一度検出してから再度検出するまでの間の印刷装置100’の軌跡を、印刷データとして取得する。 Alternatively, it is set as an input condition that the motion detection unit 100a detects a predetermined motion (for example, a motion that moves continuously twice in the ± z direction or a motion that rotates around the x-axis after moving in the + z direction). You may. Further, the acquisition of the print data may be terminated in response to the motion detection unit 100a detecting the predetermined motion again. In this case, the user causes the printing device 100'to make a predetermined movement, then moves the desired print data so as to draw a locus, and then causes the printing device 100'to make a predetermined movement again. The acquisition unit 100d acquires, as print data, the locus of the printing device 100'from the time when the motion detection unit 100a detects a predetermined motion once to the time when the motion detection unit 100a detects the predetermined motion again.

なお、本実施形態では、印刷装置100’の軌跡を印刷データとして入力したが、これは一例に過ぎない。印刷データは、印刷装置100’の動きに基づき、他の方法で入力することもできる。以下、印刷データの構成要素である文字(ひらがな)を、印刷装置100’の動きに基づいて入力することにより、印刷データを入力する方法を説明する。 In the present embodiment, the locus of the printing apparatus 100'is input as print data, but this is only an example. The print data can be input by other methods based on the movement of the printing device 100'. Hereinafter, a method of inputting print data by inputting characters (hiragana), which are components of print data, based on the movement of the printing device 100'will be described.

図10(a−1)に示すように、印刷装置100’が左向きに傾いていることを動作検出部100aが検出すると、提示部100cは、所定の時間ごとに(例えば、5秒おきに)五十音の各行(あ行〜わ行)を昇順に順次提示する。なお、動作検出部100aは、加速度センサ6を用いて重力加速度を検出することにより、印刷装置100’の傾きを検出する。図10(a−2)に示すように、印刷装置100’が右向きに傾いていることを動作検出部100aが検出すると、提示部100cは、所定の時間ごとに(例えば、5秒おきに)五十音の各行(あ行〜わ行)を降順に順次提示する。図10(a−3)に示すように、印刷装置100’の傾きが無くなったことを動作検出部100aが検出すると、その時点で提示されていた五十音の行が選択される。行が選択された状態において、図10(a−4)に示す各動作を動作検出部100aが検出すると、取得部100dは、選択された行の、検出された動作に対応する段の文字を入力データとして取得する。具体的には、図10(a−4)に示すように、動作検出部100aが+z方向の動きを検出すると、選択された行の「あ段」の文字を、+x方向の動きを検出すると「え段」の文字を、−x方向の動きを検出すると「い段」の文字を、+y方向の動きを検出すると「う段」の文字を、−y方向の動きを検出すると「お段」の文字を、それぞれ入力データとして取得部100dが取得する。このようにして、印刷装置100’の動きに基づいて印刷データの構成要素である文字を順次入力することにより、印刷データを入力することができる。なお、上記の説明では印刷データの構成要素の例として文字を用いたが、印刷データの構成要素は、画像であってもよい。 As shown in FIG. 10 (a-1), when the motion detection unit 100a detects that the printing device 100'is tilted to the left, the presentation unit 100c has a predetermined time interval (for example, every 5 seconds). Each line of the Japanese syllabary (A line to Wa line) is presented in ascending order. The motion detection unit 100a detects the inclination of the printing device 100'by detecting the gravitational acceleration using the acceleration sensor 6. As shown in FIG. 10 (a-2), when the motion detection unit 100a detects that the printing device 100'is tilted to the right, the presentation unit 100c has a predetermined time interval (for example, every 5 seconds). Each line of the Japanese syllabary (A line to Wa line) is presented in descending order. As shown in FIG. 10A-3, when the motion detection unit 100a detects that the tilt of the printing device 100'has disappeared, the line of the Japanese syllabary presented at that time is selected. When the motion detection unit 100a detects each operation shown in FIG. 10 (a-4) in the state where the line is selected, the acquisition unit 100d inputs the characters in the column corresponding to the detected motion of the selected line. Get as input data. Specifically, as shown in FIG. 10A-4, when the motion detection unit 100a detects the movement in the + z direction, the character "A" in the selected line is detected, and the motion in the + x direction is detected. The character of "Edan", the character of "Idan" when the movement in the -x direction is detected, the character of "Udan" when the movement in the + y direction is detected, and the character "Odan" when the movement in the -y direction is detected. The characters "" are acquired by the acquisition unit 100d as input data. In this way, the print data can be input by sequentially inputting the characters which are the constituent elements of the print data based on the movement of the printing device 100'. In the above description, characters are used as an example of the constituent elements of the print data, but the constituent elements of the print data may be an image.

なお、上記の文字(印刷データの構成要素)の入力方法は一例に過ぎず、他の方法により文字を入力することもできる。以下、文字を入力する他の方法について説明する。図10(b−1)に示すように、印刷装置100’が+x方向にまず移動した後、−x方向に移動する動きを動作検出部100aが検出する度に、提示部100cが、五十音の各行を昇順に順次提示する。一方、図10(b−2)に示すように、印刷装置100’がまず−x方向に移動した後、+x方向に移動する動きを動作検出部100aが検出する度に、提示部100cが、五十音の各行を降順に順次提示する。図10(b−3)に示すように、印刷装置100’がx軸方向の左回り回転を動作検出部100aが検出すると、その時点で提示されていた五十音の行が選択される。行が選択された状態において、図10(b−4)に示す各動作を動作検出部100aが検出すると、選択された行の、検出された動作に対応する段の文字を取得部100dが入力データとして取得する。具体的には、図10(b−4)に示すように、+z方向の動きを動作検出部100aが検出すると、選択された行の「あ段」の文字を、y軸方向の右回り回転を動作検出部100aが検出すると「え段」の文字を、y軸方向の左回り回転を動作検出部100aが検出すると「い段」の文字を、x軸方向の左回り回転を動作検出部100aが検出すると「う段」の文字を、x軸方向の右回り回転を動作検出部100aが検出すると「お段」の文字を、それぞれ入力データとして取得部100dが取得する。 The above-mentioned character (component of print data) input method is only an example, and the character can be input by another method. Hereinafter, other methods for inputting characters will be described. As shown in FIG. 10 (b-1), every time the motion detection unit 100a detects a movement in which the printing apparatus 100'moves in the + x direction and then moves in the −x direction, the presentation unit 100c 50. Each line of sound is presented in ascending order. On the other hand, as shown in FIG. 10B-2, every time the motion detection unit 100a detects a movement of the printing apparatus 100'moving in the −x direction and then moving in the + x direction, the presentation unit 100c Each line of the Japanese syllabary is presented in descending order. As shown in FIG. 10B-3, when the motion detection unit 100a detects the counterclockwise rotation in the x-axis direction of the printing apparatus 100', the line of the Japanese syllabary presented at that time is selected. When the motion detection unit 100a detects each operation shown in FIG. 10 (b-4) in the state where the line is selected, the acquisition unit 100d inputs the characters in the column corresponding to the detected operation of the selected line. Get as data. Specifically, as shown in FIG. 10 (b-4), when the motion detection unit 100a detects a movement in the + z direction, the character "A" in the selected line is rotated clockwise in the y-axis direction. When the motion detection unit 100a detects the character "Edan", when the motion detection unit 100a detects the counterclockwise rotation in the y-axis direction, the character "Idan" is detected, and when the motion detection unit 100a detects the counterclockwise rotation in the x-axis direction, the motion detection unit When 100a detects it, the character "Udan" is acquired, and when the motion detection unit 100a detects clockwise rotation in the x-axis direction, the character "Odan" is acquired by the acquisition unit 100d as input data.

(第3実施形態)
上記第1及び第2実施形態の印刷装置100、100’は、入力データとして、印刷データや制御コマンドの入力を受け付けた。しかし、これは一例に過ぎず、本発明に係る入力装置(印刷装置)は、印刷データや制御コマンド以外の入力データの入力を受け付けることもできる。以下、入力データとしてレイアウトの入力を受け付ける印刷装置100”の機能及び動作を説明する。
(Third Embodiment)
The printing devices 100 and 100'of the first and second embodiments have received input of print data and control commands as input data. However, this is only an example, and the input device (printing device) according to the present invention can also accept input of input data other than print data and control commands. Hereinafter, the functions and operations of the printing device 100 "that accepts layout input as input data will be described.

印刷装置100”の物理的・機能的構成は、第1実施形態に係る印刷装置100の物理的・機能的構成とほぼ同一であるが、一部が異なる。以下、第1実施形態と同様に、印刷装置100”の動きを説明するため、図1(a)及び(b)に示す座標系を設定する。図1(a)及び(b)に示すように、この座標系のx軸は印刷装置100”の短手方向である幅方向に、y軸は印刷装置100”の長手方向である高さ方向に、z軸は印刷装置100”の厚み方向に、それぞれ平行に設定されている。なお、図中、Gは重力加速度の方向ベクトル(鉛直方向)を表す。 The physical / functional configuration of the printing apparatus 100 ”is substantially the same as the physical / functional configuration of the printing apparatus 100 according to the first embodiment, but is partially different. Hereinafter, the same as in the first embodiment. , The coordinate system shown in FIGS. 1A and 1B is set in order to explain the movement of the printing apparatus 100. As shown in FIGS. 1A and 1B, the x-axis of this coordinate system is the width direction which is the lateral direction of the printing device 100 ", and the y-axis is the height direction which is the longitudinal direction of the printing device 100". In addition, the z-axis is set parallel to the thickness direction of the printing device 100 ”. In the figure, G represents the direction vector (vertical direction) of the gravity acceleration.

印刷装置100”の記憶部100bは、図11−A(a−1)〜(g−1)及び図11−B(h−1)〜(n−1)に示す印刷装置100”の動きにそれぞれ対応付けて、図11−A(a−2)〜(g−2)及び図11−B(h−2)〜(n−2)に示すレイアウトa〜nを、取得部100dが取得する入力データの候補として記憶している。図11−A(a−1)〜(g−1)及び図11−B(h−1)〜(n−1)に示す印刷装置100”の動きを動作検出部100aが検出すると、取得部100dは、検出された動きに対応付けて記憶部100bが記憶しているレイアウトを入力データとして取得する。また、印刷データの各構成要素は、図11−A(a−2)〜(g−2)及び図11−B(h−2)〜(n−2)では10個の文字(「あ」「い」「う」「え」「お」「か」「き」「く」「け」「こ」)であり、印刷データは、この10個の各構成要素をこの順番で並べてテープ部材31の印刷範囲に収まるように配列したものである。 The storage unit 100b of the printing device 100 "is in motion of the printing device 100" shown in FIGS. 11-A (a-1) to (g-1) and 11-B (h-1) to (n-1). The acquisition unit 100d acquires the layouts a to n shown in FIGS. 11-A (a-2) to (g-2) and 11-B (h-2) to (n-2) in association with each other. It is stored as a candidate for input data. When the motion detection unit 100a detects the movement of the printing apparatus 100 ”shown in FIGS. 11-A (a-1) to (g-1) and FIGS. 11-B (h-1) to (n-1), the acquisition unit 100a The 100d acquires the layout stored in the storage unit 100b as input data in association with the detected motion. Further, each component of the print data is shown in FIGS. 11-A (a-2) to (g-). 2) and 10 characters ("a", "i", "u", "e", "o", "ka", "ki", "ku", and "ke" in FIGS. 11-B (h-2) to (n-2). The print data is an arrangement of the ten components in this order so as to fit within the print range of the tape member 31.

具体的に、図11−A(a−1)に示すように、印刷装置100”の+y方向が鉛直方向Gとは反対の方向である鉛直上方向と同じ向きを保ったまま、印刷装置100”のxy平面内において鉛直方向Gと直交する方向である水平方向に対して、斜め上方向(水平方向と鉛直上方向とを合成した方向)へ直線Mを描くように移動する動きを動作検出部100aが検出すると(水平方向と直線Mに沿った動き方向とのなす角度が+θ1)、取得部100dは、図11−A(a−2)に示すレイアウトaを入力データとして取得する(テープ部材31の長手方向とテープ部材31への文字の配列方向とのなす角度が+θ2)。また、図11−A(b−1)に示すように、印刷装置100”が、一定の傾きを保ったまま(印刷装置100”の+y方向と鉛直上方向とのなす角度が+W)、水平方向に対して、斜め上方向へ直線Mを描くように移動する動きを動作検出部100aが検出すると(水平方向と直線Mに沿った動き方向とのなす角度が+θ1)、取得部100dは、図11−A(b−2)に示すレイアウトbを入力データとして取得する(テープ部材31の長手方向とテープ部材31への文字の配列方向とのなす角度が+θ2)。レイアウトa及びbは、何れも、印刷データの各構成要素の中心を結ぶ線が右上がりの直線Lをなすように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトaでは、印刷データの各構成要素の縦方向の中心線P(印刷データの構成要素である10個の文字(「あ」「い」「う」「え」「お」「か」「き」「く」「け」「こ」)のうちの、文字「あ」のみに表示、以下同様。)がそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトbでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して同一の角度(+W)で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。なお、この直線Lのテープ部材31の長手方向に対する傾きである+θ2は、+θ2=+θ1としても文字の配列がテープ部材31の印刷範囲に収まる場合には+θ2=+θ1と決定され、+θ2=+θ1とすると文字の配列がテープ部材31の印刷範囲に収まらない場合にはテープ部材31の印刷範囲に基づいて、両端の構成要素(「あ」、「こ」)がテープ部材31の印刷範囲に収まるように+θ1よりも絶対値が小さい正の角度に決定される。また、印刷装置100”の動きはフリーハンドの動きであるため、印刷装置100”の動きが水平方向に対して、斜め上方向へ正確な直線を描くように移動する動きからずれる場合には、例えば、印刷装置100”の動きにおける始点と終点との2点を検出して、この2点を結ぶ直線を求めて、この直線を直線Mとして採用し、この直線における始点から始まり終点で終わる方向を動き方向として採用すればよい。 Specifically, as shown in FIG. 11-A (a-1), the printing device 100 "keeps the same direction as the vertical upward direction in which the + y direction of the printing device 100" is opposite to the vertical direction G. Motion detection of movement to draw a straight line M in the diagonally upward direction (the direction in which the horizontal direction and the vertical upward direction are combined) with respect to the horizontal direction which is the direction orthogonal to the vertical direction G in the xy plane of ". When the unit 100a detects (the angle formed by the horizontal direction and the movement direction along the straight line M is + θ1), the acquisition unit 100d acquires the layout a shown in FIG. 11-A (a-2) as input data (tape). The angle formed by the longitudinal direction of the member 31 and the arrangement direction of the characters on the tape member 31 is + θ2). Further, as shown in FIG. 11-A (b-1), the printing device 100 "maintains a constant inclination (the angle between the + y direction and the vertically upward direction of the printing device 100" is + W) and is horizontal. When the motion detection unit 100a detects a movement that moves diagonally upward with respect to the direction so as to draw a straight line M (the angle between the horizontal direction and the movement direction along the straight line M is + θ1), the acquisition unit 100d receives the motion. The layout b shown in FIG. 11-A (b-2) is acquired as input data (the angle formed by the longitudinal direction of the tape member 31 and the arrangement direction of characters on the tape member 31 is + θ2). Each of the layouts a and b is a layout in which the printing apparatus 100 ”prints each component of the print data so that the line connecting the centers of the components of the print data forms a straight line L rising to the right. In a, the vertical center line P of each component of the print data (10 characters ("a", "i", "u", "e", "o", "ka", "ki") which are the components of the print data. The printing device 100 "prints data so that only the character" a "of" k "," ke ", and" ko ") is displayed, and the same applies hereinafter.) Is parallel to the width direction of the tape member 31. In layout b, the printing device 100 is such that the vertical center line P of each component of the print data is tilted at the same angle (+ W) with respect to the width direction of the tape member 31. "Prints each component of the print data. It should be noted that + θ2, which is the inclination of the straight line L with respect to the longitudinal direction, is determined to be + θ2 = + θ1 when the arrangement of characters falls within the print range of the tape member 31 even if + θ2 = + θ1, and + θ2 = + θ1. Then, if the arrangement of characters does not fit in the print range of the tape member 31, the components (“a”, “ko”) at both ends are fit in the print range of the tape member 31 based on the print range of the tape member 31. It is determined to be a positive angle whose absolute value is smaller than + θ1. Further, since the movement of the printing device 100 "is a freehand movement, if the movement of the printing device 100" deviates from the movement of moving diagonally upward in an accurate straight line with respect to the horizontal direction, For example, the direction in which two points of the start point and the end point in the movement of the printing device 100 "are detected, a straight line connecting these two points is obtained, this straight line is adopted as a straight line M, and the direction starts from the start point and ends at the end point in this straight line. Should be adopted as the direction of movement.

図11−A(c−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、水平方向に対して、斜め下方向(水平方向と鉛直方向Gとを合成した方向)へ直線Mを描くように移動する動きを動作検出部100aが検出すると(水平方向と直線Mに沿った動き方向とのなす角度が−θ1)、取得部100dは、図11−A(c−2)に示すレイアウトcを入力データとして取得する(テープ部材31の長手方向とテープ部材31への文字の配列方向とのなす角度が−θ2)。図11−A(d−1)に示すように、印刷装置100”が、一定の傾きを保ったまま(印刷装置100”の+y方向と鉛直上方向とのなす角度が−W)、水平方向に対して、斜め下方向へ直線Mを描くように移動する動きを動作検出部100aが検出すると(水平方向と直線Mに沿った動き方向とのなす角度が−θ1)、取得部100dは、図11−A(d−2)に示すレイアウトdを入力データとして取得する(テープ部材31の長手方向とテープ部材31への文字の配列方向とのなす角度が−θ2)。レイアウトc及びdは、何れも、印刷データの各構成要素の中心を結ぶ線が右下がりの直線Lをなすように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトcでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトdでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して同一の角度(−W)で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。なお、この直線Lのテープ部材31の長手方向に対する傾きである−θ2は、−θ2=−θ1としても文字の配列がテープ部材31の印刷範囲に収まる場合には−θ2=−θ1と決定され、−θ2=−θ1とすると文字の配列がテープ部材31の印刷範囲に収まらない場合にはテープ部材31の印刷範囲に基づいて、両端の構成要素(「あ」、「こ」)がテープ部材31の印刷範囲に収まるように−θ1よりも絶対値が小さい負の角度に決定される。また、印刷装置100”の動きはフリーハンドの動きであるため、印刷装置100”の動きが水平方向に対して、斜め下方向へ正確な直線を描くように移動する動きからずれる場合には、例えば、印刷装置100”の動きにおける始点と終点との2点を検出して、この2点を結ぶ直線を求めて、この直線を直線Mとして採用し、この直線における始点から始まり終点で終わる方向を動き方向として採用すればよい。 As shown in FIG. 11-A (c-1), the + y direction of the printing apparatus 100 ”is maintained in the same direction as the vertically upward direction, and the diagonal downward direction (horizontal direction and vertical direction G) with respect to the horizontal direction. When the motion detection unit 100a detects a movement that moves so as to draw a straight line M (the direction in which the straight lines M are combined) (the angle between the horizontal direction and the movement direction along the straight line M is −θ1), the acquisition unit 100d obtains FIG. The layout c shown in −A (c-2) is acquired as input data (the angle formed by the longitudinal direction of the tape member 31 and the arrangement direction of characters on the tape member 31 is −θ2). FIG. 11—A (d−). As shown in 1), the printing device 100 "maintains a constant inclination (the angle between the + y direction and the vertically upward direction of the printing device 100" is -W), and is diagonally downward with respect to the horizontal direction. When the motion detection unit 100a detects a movement moving so as to draw a straight line M (the angle formed by the horizontal direction and the movement direction along the straight line M is −θ1), the acquisition unit 100d obtains FIG. 11-A (d−). The layout d shown in 2) is acquired as input data (the angle formed by the longitudinal direction of the tape member 31 and the arrangement direction of characters on the tape member 31 is −θ2). The layouts c and d are both print data. The layout is such that the printing device 100 ”prints each component of print data so that the line connecting the centers of the components forms a straight line L that descends to the right. In the layout c, the printing device 100 ”prints each component of the print data so that the vertical center line P of each component of the print data is parallel to the width direction of the tape member 31. In d, the printing apparatus 100 ”is used to tilt each component of the print data at the same angle (−W) with respect to the width direction of the tape member 31 so that the vertical center line P of each component of the print data is tilted at the same angle (−W) with respect to the width direction of the tape member 31. To print. It should be noted that −θ2, which is the inclination of the straight line L with respect to the longitudinal direction, is determined to be −θ2 = −θ1 even if −θ2 = −θ1 if the character arrangement falls within the print range of the tape member 31. If −θ2 = −θ1 and the character arrangement does not fit in the print range of the tape member 31, the components (“a” and “ko”) at both ends are the tape member based on the print range of the tape member 31. The absolute value is determined to be a negative angle smaller than −θ1 so as to be within the print range of 31. Further, since the movement of the printing device 100 "is a freehand movement, if the movement of the printing device 100" deviates from the movement of moving diagonally downward in an accurate straight line with respect to the horizontal direction, For example, the direction in which two points of the start point and the end point in the movement of the printing device 100 "are detected, a straight line connecting these two points is obtained, this straight line is adopted as a straight line M, and the direction starts from the start point and ends at the end point in this straight line. Should be adopted as the direction of movement.

図11−A(e−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、鉛直上方向に凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−A(e−2)に示すレイアウトeを入力データとして取得する(鉛直上方向に凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の上方向に凸な弧Rを描く)。図11−A(f−1)に示すように、印刷装置100”が、z軸方向に左回りに回転しながら、鉛直上方向に凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−A(f−2)に示すレイアウトfを入力データとして取得する(鉛直上方向に凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の上方向に凸な弧Rを描く)。図11−A(g−1)に示すように、印刷装置100”が、一定の傾きを保ったまま(印刷装置100”の+y方向と鉛直上方向とのなす角度が+W)、鉛直上方向に凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−A(g−2)に示すレイアウトgを入力データとして取得する(鉛直上方向に凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の上方向に凸な弧Rを描く)。レイアウトe〜gは、何れも、印刷データの各構成要素の中心を結ぶ線が鉛直上方向に凸な弧Qと相似であり、テープ部材31の長手方向に対して、テープ部材31の上方向に凸な弧Rをなすように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトeでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトfでは、印刷データの各構成要素の縦方向の中心線Pが弧Rの中心を通るように、且つ、それぞれテープ部材31の幅方向に対して異なる角度で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトgでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して同一の角度(+W)で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。なお、この弧Rのテープ部材31の長手方向に対する高さHは、テープ部材31の印刷範囲に基づいて、両端の構成要素(「あ」、「こ」)と中央の構成要素(「お」、「か」)とがテープ部材31の印刷範囲に収まるように決定される。また、印刷装置100”の動きはフリーハンドの動きであるため、印刷装置100”の動きが鉛直上方向に凸な正確な弧を描くように移動する動きからずれる場合には、例えば、印刷装置100”の動きにおける始点と鉛直上方向の最大地点と終点との3点を検出して、この3点を通る外接円を求めて、この外接円のうちの始点から始まり鉛直上方向の最大地点を通り終点で終わる弧を弧Qとして採用すればよい。 As shown in FIG. 11-A (e-1), the printing device 100 "operates to move so as to draw a convex arc Q in the vertical upward direction while maintaining the same direction as the vertical upward direction. When the detection unit 100a detects it, the acquisition unit 100d acquires the layout e shown in FIG. 11-A (e-2) as input data (similar to the arc Q convex in the vertical upward direction, and the longitudinal length of the tape member 31. The arrangement of letters draws an upwardly convex arc R of the tape member 31 with respect to the direction). As shown in FIG. 11-A (f-1), the printing device 100 "turns counterclockwise in the z-axis direction. When the motion detection unit 100a detects a movement that moves so as to draw a convex arc Q in the vertical direction while rotating to, the acquisition unit 100d inputs the layout f shown in FIG. 11-A (f-2). (Similar to the arc Q that is convex in the vertical upward direction, and the arrangement of letters draws an arc R that is convex in the upward direction of the tape member 31 with respect to the longitudinal direction of the tape member 31). As shown in FIG. 11-A (g-1), the printing device 100 "maintains a constant inclination (the angle between the + y direction and the vertically upward direction of the printing device 100" is + W), and is in the vertical upward direction. When the motion detection unit 100a detects a movement that moves so as to draw a convex arc Q, the acquisition unit 100d acquires the layout g shown in FIG. 11-A (g-2) as input data (vertically upward direction). Similar to the convex arc Q, the arrangement of letters draws an upwardly convex arc R of the tape member 31 with respect to the longitudinal direction of the tape member 31). The layouts e to g are similar to the arc Q in which the line connecting the centers of the respective components of the print data is convex in the vertically upward direction, and the tape member 31 is in the upward direction with respect to the longitudinal direction of the tape member 31. The layout is such that the printing device 100 ”prints each component of the print data so as to form a convex arc R. In the layout e, the vertical center line P of each component of the print data is the tape member 31, respectively. The printing device 100 "prints each component of the print data so as to be parallel to the width direction of the print data. In the layout f, the printing device 100 ”is such that the vertical center line P of each component of the print data passes through the center of the arc R and is tilted at different angles with respect to the width direction of the tape member 31, respectively. Prints each component of the print data. In the layout g, the vertical center line P of each component of the print data is tilted at the same angle (+ W) with respect to the width direction of the tape member 31. The printing device 100 "prints each component of the print data. The height H of the arc R with respect to the longitudinal direction is the component (“a”, “ko”) at both ends and the central component (“o”) based on the print range of the tape member 31. , "Ka") is determined to fit within the print range of the tape member 31. Further, since the movement of the printing device 100 "is a freehand movement, if the movement of the printing device 100" deviates from the movement of moving so as to draw a convex and accurate arc in the vertical upward direction, for example, the printing device The three points of the start point, the maximum point in the vertical upward direction, and the end point in the movement of 100 "are detected, the circumscribed circle passing through these three points is obtained, and the maximum point in the vertical upward direction starting from the start point of the circumscribed circle. The arc that passes through and ends at the end point may be adopted as the arc Q.

図11−B(h−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、鉛直方向Gに凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(h−2)に示すレイアウトhを入力データとして取得する(鉛直方向Gに凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の下方向に凸な弧Rを描く)。図11−B(i−1)に示すように、印刷装置100”が、z軸方向に右回りに回転しながら、鉛直方向Gに凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(i−2)に示すレイアウトiを入力データとして取得する(鉛直方向Gに凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の下方向に凸な弧Rを描く)。図11−B(j−1)に示すように、印刷装置100”が、一定の傾きを保ったまま(印刷装置100”の+y方向と鉛直上方向とのなす角度が−W)、鉛直方向Gに凸な弧Qを描くように移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(j−2)に示すレイアウトjを入力データとして取得する(鉛直方向Gに凸な弧Qと相似であり、テープ部材31の長手方向に対して、文字の配列がテープ部材31の下方向に凸な弧Rを描く)。レイアウトh〜jは、何れも、印刷データの各構成要素の中心を結ぶ線が鉛直方向Gに凸な弧Qと相似であり、テープ部材31の長手方向に対して、テープ部材31の下方向に凸な弧Rをなすように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトhでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトiでは、印刷データの各構成要素の縦方向の中心線が弧Rの中心を通るように、且つ、それぞれテープ部材31の幅方向に対して異なる角度で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。レイアウトjでは、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して同一の角度(−W)で傾くように、印刷装置100”が印刷データの各構成要素を印刷する。なお、この弧Rのテープ部材31の長手方向に対する高さHは、テープ部材31の印刷範囲に基づいて、両端の構成要素(「あ」、「こ」)と中央の構成要素(「お」、「か」)とがテープ部材31の印刷範囲に収まるように決定される。また、印刷装置100”の動きはフリーハンドの動きであるため、印刷装置100”の動きが鉛直方向Gに凸な正確な弧を描くように移動する動きからずれる場合には、例えば、印刷装置100”の動きにおける始点と鉛直方向Gの最大地点と終点との3点を検出して、この3点を通る外接円を求めて、この外接円のうちの始点から始まり鉛直方向Gの最大地点を通り終点で終わる弧を弧Qとして採用すればよい。 As shown in FIG. 11-B (h-1), the printing device 100 "operates to move so as to draw a convex arc Q in the vertical direction G while maintaining the same direction as the vertical upward direction. When the detection unit 100a detects it, the acquisition unit 100d acquires the layout h shown in FIG. 11-B (h-2) as input data (similar to the arc Q convex in the vertical direction G, and the longitudinal length of the tape member 31. The arrangement of letters draws a downwardly convex arc R of the tape member 31 with respect to the direction). As shown in FIG. 11-B (i-1), the printing device 100 "turns clockwise in the z-axis direction. When the motion detection unit 100a detects a movement that moves so as to draw a convex arc Q in the vertical direction G while rotating to, the acquisition unit 100d inputs the layout i shown in FIG. 11-B (i-2) as input data. (Similar to the arc Q that is convex in the vertical direction G, and the arrangement of letters draws an arc R that is convex downward in the tape member 31 with respect to the longitudinal direction of the tape member 31). As shown in FIG. 11-B (j-1), the printing device 100 "maintains a constant inclination (the angle between the + y direction and the vertically upward direction of the printing device 100" is −W), and is in the vertical direction. When the motion detection unit 100a detects a movement that moves so as to draw a convex arc Q on G, the acquisition unit 100d acquires the layout j shown in FIG. 11-B (j-2) as input data (vertical direction G). Similar to the convex arc Q, the arrangement of letters draws a downwardly convex arc R of the tape member 31 with respect to the longitudinal direction of the tape member 31). The layouts h to j are similar to the arc Q in which the line connecting the centers of the respective components of the print data is convex in the vertical direction G, and the layouts h to j are in the downward direction of the tape member 31 with respect to the longitudinal direction of the tape member 31. The layout is such that the printing device 100 ”prints each component of the print data so as to form a convex arc R. In the layout h, the vertical center line P of each component of the print data is the tape member 31, respectively. The printing device 100 "prints each component of the print data so as to be parallel to the width direction of the print data. In the layout i, the printing device 100 ”is used so that the vertical center line of each component of the print data passes through the center of the arc R and is tilted at different angles with respect to the width direction of the tape member 31. Each component of the print data is printed. In the layout j, the vertical center line P of each component of the print data is tilted at the same angle (−W) with respect to the width direction of the tape member 31. The printing device 100 "prints each component of the print data. The height H of the arc R with respect to the longitudinal direction is the component (“a”, “ko”) at both ends and the central component (“o”) based on the print range of the tape member 31. , "Ka") is determined to fit within the print range of the tape member 31. Further, since the movement of the printing device 100 "is a freehand movement, if the movement of the printing device 100" deviates from the movement of moving so as to draw a convex and accurate arc in the vertical direction G, for example, the printing device. The three points of the start point, the maximum point in the vertical direction G, and the end point in the movement of 100 ”are detected, the circumscribed circle passing through these three points is obtained, and the maximum point in the vertical direction G starts from the start point of the circumscribed circle. The arc that passes through and ends at the end point may be adopted as the arc Q.

図11−B(k−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、+z方向に移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(k−2)に示すレイアウトkを入力データとして取得する。図11−B(l−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、−z方向に移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(l−2)に示すレイアウトlを入力データとして取得する。レイアウトk及びlは、何れも、各構成要素の中心を結ぶ線がテープ部材31の長手方向に対して平行な直線Lをなすように、且つ、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトkでは、印刷装置100”が印刷データの各構成要素を、印刷データの始端(「あ」)から印刷データの終端(「こ」)に向けて徐々に大きなサイズで印刷する。また、印刷装置100”は、+z方向に移動する動きの速度が速い程、印刷データの始端(「あ」)をより小さなサイズで印刷するとともに印刷データの終端(「こ」)をより大きなサイズで印刷してもよい。レイアウトlでは、印刷装置100”が印刷データの各構成要素を、印刷データの始端(「あ」)から印刷データの終端(「こ」)に向けて徐々に小さなサイズで印刷する。また、印刷装置100”は、−z方向に移動する動きの速度が速い程、印刷データの始端(「あ」)をより大きなサイズで印刷するとともに印刷データの終端(「こ」)をより小さなサイズで印刷してもよい。なお、テープ部材31の印刷範囲に基づいて、最大サイズの構成要素(レイアウトkでは「こ」、レイアウトlでは「あ」)の高さSは、テープ部材31の印刷範囲に収まるように決定される。 As shown in FIG. 11-B (k-1), when the motion detection unit 100a detects a movement of the printing device 100 "moving in the + z direction while maintaining the same direction as the vertical upward direction, the acquisition unit 100a. In 100d, the layout k shown in FIG. 11-B (k-2) is acquired as input data. As shown in FIG. 11-B (l-1), the + y direction of the printing apparatus 100 ”is the same as the vertical upward direction. When the motion detection unit 100a detects a movement moving in the −z direction while maintaining the orientation, the acquisition unit 100d acquires the layout l shown in FIG. 11-B (l-2) as input data. In both layouts k and l, the line connecting the centers of the components forms a straight line L parallel to the longitudinal direction of the tape member 31, and the vertical center lines of the components of the print data are formed. The layout is such that the printing device 100 "prints each component of the print data so that P is parallel to the width direction of the tape member 31, respectively. In the layout k, the printing device 100" is each configuration of the print data. The element is printed in a gradually larger size from the beginning of the print data (“a”) to the end of the print data (“ko”). Further, the printing device 100 "prints the start end ("a") of the print data in a smaller size and the end end ("ko") of the print data in a larger size as the speed of the movement moving in the + z direction is faster. You may print with. In the layout l, the printing apparatus 100 ”prints each component of the print data in a gradually smaller size from the start end (“a”) of the print data to the end (“ko”) of the print data. Further, the printing device 100 ”prints the start end (“a”) of the print data in a larger size and the end (“ko”) of the print data smaller as the speed of the movement moving in the −z direction is faster. You may print in size. Based on the print range of the tape member 31, the height S of the maximum size component (“ko” in layout k and “a” in layout l) is determined so as to be within the print range of the tape member 31. NS.

図11−B(m−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、+z方向にまず移動した後、−z方向へ移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(m−2)に示すレイアウトmを入力データとして取得する。図11−B(n−1)に示すように、印刷装置100”の+y方向が鉛直上方向と同じ向きを保ったまま、−z方向にまず移動した後、+z方向へ移動する動きを動作検出部100aが検出すると、取得部100dは、図11−B(n−2)に示すレイアウトnを入力データとして取得する。レイアウトm及びnは、何れも、各構成要素の中心を結ぶ線がテープ部材31の長手方向に対して平行な直線Lをなすように、且つ、印刷データの各構成要素の縦方向の中心線Pがそれぞれテープ部材31の幅方向に対して平行となるように、印刷装置100”が印刷データの各構成要素を印刷するレイアウトである。レイアウトmでは、印刷装置100”が印刷データの各構成要素を、印刷データの始端(「あ」)から印刷データの中央(「お」、「か」)に向けて徐々に大きなサイズで印刷し、印刷データの中央(「お」、「か」)から印刷データの終端(「こ」)に向けて徐々に小さなサイズで印刷する。また、印刷装置100”は、+z方向に移動する動きの速度及び−z方向に移動する動きの速度が速い程、印刷データの始端(「あ」)をより小さなサイズで印刷し、印刷データの中央(「お」、「か」)をより大きなサイズで印刷し、印刷データの終端(「こ」)をより小さなサイズで印刷してもよい。レイアウトnでは、印刷装置100”が印刷データの各構成要素を、印刷データの始端(「あ」)から印刷データの中央(「お」、「か」)に向けて徐々に小さなサイズで印刷し、印刷データの中央(「お」、「か」)から印刷データの終端(「こ」)に向けて徐々に大きなサイズで印刷する。また、印刷装置100”は、−z方向に移動する動きの速度及び+z方向に移動する動きの速度が速い程、印刷データの始端(「あ」)をより大きなサイズで印刷し、印刷データの中央(「お」、「か」)をより小さなサイズで印刷し、印刷データの終端(「こ」)をより大きなサイズで印刷してもよい。なお、テープ部材31の印刷範囲に基づいて、最大サイズの構成要素(レイアウトmでは「お」、「か」、レイアウトnでは「あ」、「こ」)の高さSは、テープ部材31の印刷範囲に収まるように決定される。 As shown in FIG. 11-B (m-1), while the + y direction of the printing apparatus 100 "maintains the same direction as the vertically upward direction, the movement is first moved in the + z direction and then moved in the −z direction. When the detection unit 100a detects it, the acquisition unit 100d acquires the layout m shown in FIG. 11-B (m-2) as input data. As shown in FIG. 11-B (n-1), the printing device 100 ”. When the motion detection unit 100a detects a movement of moving in the + z direction after first moving in the −z direction while maintaining the same direction as the vertical upward direction in the + y direction, the acquisition unit 100d displays FIG. 11-B (n). -The layout n shown in -2) is acquired as input data. In the layouts m and n, the line connecting the centers of the components forms a straight line L parallel to the longitudinal direction of the tape member 31, and the center lines of the components of the print data are in the vertical direction. The layout is such that the printing device 100 "prints each component of the print data so that P is parallel to the width direction of the tape member 31, respectively. In the layout m, the printing device 100" is the configuration of the print data. The element is printed in a gradually larger size from the beginning of the print data ("A") toward the center of the print data ("O", "Ka"), and the center of the print data ("O", "Ka"). Print in smaller sizes gradually from to the end of the print data (“ko”). Further, the printing device 100 "prints the start end ("a") of the print data in a smaller size as the speed of the movement moving in the + z direction and the speed of the movement moving in the −z direction are faster, and the print data is printed. The center (“o”, “ka”) may be printed in a larger size, and the end of the print data (“ko”) may be printed in a smaller size. In the layout n, the printing device 100 ”prints each component of the print data in a gradually smaller size from the start end (“a”) of the print data toward the center (“o”, “ka”) of the print data. , Print in a gradually larger size from the center of the print data ("o", "ka") toward the end of the print data ("ko"). Further, the printing device 100 "prints the start end ("a") of the print data in a larger size as the speed of the movement moving in the −z direction and the speed of the movement moving in the + z direction are faster, and the print data is printed. The center (“o”, “ka”) may be printed in a smaller size, and the end of the print data (“ko”) may be printed in a larger size. Based on the print range of the tape member 31, the height S of the maximum size component (“o”, “ka” in the layout m, “a”, “ko” in the layout n) is the height S of the tape member 31. Determined to fit within the print range.

以下、上記の物理的構成・機能的構成を有する印刷装置100”が実行する入力処理の詳細について、図12のフローチャートを参照して説明する。 Hereinafter, the details of the input processing executed by the printing apparatus 100 "having the above physical configuration / functional configuration will be described with reference to the flowchart of FIG.

印刷装置100”の記憶部100bは、入力データの候補であるレイアウト及び印刷パターンを予め外部から取得し、記憶している。 The storage unit 100b of the printing device 100 "acquires and stores layouts and print patterns that are candidates for input data from the outside in advance.

印刷装置100”にレイアウトを入力することを所望するユーザが電源を投入すると、印刷装置100”は、図12のフローチャートに示す印刷処理を開始する。 When the user who wants to input the layout to the printing device 100 "turns on the power, the printing device 100" starts the printing process shown in the flowchart of FIG.

入力処理を開始すると、まず、動作検出部100aが、所定の開始動作を検出したか否かを判別する(S201)。本実施形態では、印刷装置100”が±z方向に2回移動する動きを開始動作として設定する。開始動作を検出していないと判別すると(ステップS201;NO)、動作検出部100aは、開始動作を検出するまでステップS201の処理を繰り返す。開始動作を検出したと判別すると(ステップS201;YES)、動作検出部100aは、印刷装置100”の動きを検出する(ステップS202)。 When the input process is started, first, the motion detection unit 100a determines whether or not a predetermined start motion has been detected (S201). In the present embodiment, the movement of the printing device 100 "moving twice in the ± z direction is set as the start operation. When it is determined that the start operation has not been detected (step S201; NO), the operation detection unit 100a starts. The process of step S201 is repeated until the motion is detected. When it is determined that the start motion is detected (step S201; YES), the motion detection unit 100a detects the motion of the printing device 100 ”(step S202).

次に、動作検出部100aは、所定の終了動作を検出したか否かを判別する(ステップS203)。本実施形態では、開始動作と同様の動き(印刷装置100”本体が±z方向に2回移動する動き)を終了動作として設定する。終了動作を検出していないと判別すると(ステップS203;NO)、処理はステップS202へ戻る。動作検出部100aは、終了動作を検出するまでステップS202〜S203の処理を繰り返す。終了動作を検出したと判別すると(ステップS203;YES)、動作検出部100aは、z方向の動きを検出したか否かを判別する(ステップS204)。 Next, the motion detection unit 100a determines whether or not a predetermined end motion has been detected (step S203). In the present embodiment, the same movement as the start operation (movement in which the main body of the printing device 100 "moves twice in the ± z direction) is set as the end operation. When it is determined that the end operation is not detected (step S203; NO). ), The process returns to step S202. The motion detection unit 100a repeats the processes of steps S202 to S203 until the end motion is detected. When it is determined that the end motion is detected (step S203; YES), the motion detection unit 100a , It is determined whether or not the movement in the z direction is detected (step S204).

z方向の動きを検出していないと判別すると(ステップS204;NO)、動作検出部100aは、印刷装置100”の動きを示す特徴量として、始点の鉛直上方向の高さUs、終点の鉛直上方向の高さUe、鉛直上方向の高さの最大値Umax、鉛直上方向の高さの最小値Umin、傾きの絶対値の最大値Wmax及び傾きの絶対値の最小値Wminを取得する(ステップS205)。 When it is determined that the movement in the z direction is not detected (step S204; NO), the motion detection unit 100a has the height Us in the vertical upward direction of the start point and the vertical of the end point as feature quantities indicating the movement of the printing device 100 ”. Acquires the height Ue in the upward direction, the maximum value Umax of the height in the vertical upward direction, the minimum value Umin of the height in the vertical upward direction, the maximum value Wmax of the absolute value of the inclination, and the minimum value Wmin of the absolute value of the inclination ( Step S205).

始点の鉛直上方向の高さUsは、ステップS201で開始動作を検出した時点における印刷装置100”の鉛直上方向の高さである。終点の鉛直上方向の高さUeは、ステップS203で終了動作を検出した時点における印刷装置100”の鉛直上方向の高さである。鉛直上方向の高さの最大値Umax及び最小値Uminは、それぞれ、ステップS201で開始動作を検出してからステップS203で終了動作を検出するまでの間に動作検出部100aが検出した印刷装置100”の鉛直上方向の高さの最大値及び最小値である。傾きの絶対値の最大値Wmax及び傾きの絶対値の最小値Wminは、それぞれ、ステップS201で開始動作を検出してからステップS203で終了動作を検出するまでの間に動作検出部100aが検出した印刷装置100”の傾きWの絶対値の最大値及び最小値である。ここで、印刷装置100”の傾きWとは、印刷装置100”の+y方向と鉛直上方向とのなす角度のことである。 The height Us in the vertical upward direction of the start point is the height in the vertical upward direction of the printing apparatus 100 "at the time when the start operation is detected in step S201. The height Ue in the vertical upward direction of the end point ends in step S203. It is the height in the vertical upward direction of the printing apparatus 100 "at the time when the operation is detected. The maximum value Umax and the minimum value Umin of the height in the vertical upward direction are the printing devices 100 detected by the operation detection unit 100a between the detection of the start operation in step S201 and the detection of the end operation in step S203, respectively. The maximum value and the minimum value of the height in the vertical upward direction. The maximum value Wmax of the absolute value of the inclination and the minimum value Wmin of the absolute value of the inclination are each detected in step S201 and then step S203. It is the maximum value and the minimum value of the absolute value of the inclination W of the printing device 100 "detected by the operation detection unit 100a until the end operation is detected. Here, the inclination W of the printing device 100 "is an angle formed by the + y direction of the printing device 100" and the vertically upward direction.

動作検出部100aは、加速度センサ6により重力加速度を検出することにより、印刷装置100”の傾きWを取得する。また、動作検出部100aは、加速度センサ6が検出した重力加速度の鉛直方向G成分を積分することにより、印刷装置100”の鉛直上方向の高さを取得する。 The motion detection unit 100a acquires the inclination W of the printing device 100 "by detecting the gravitational acceleration by the acceleration sensor 6. The motion detection unit 100a also acquires the vertical G component of the gravitational acceleration detected by the acceleration sensor 6. By integrating the above, the height of the printing apparatus 100 "in the vertical direction is obtained.

動作検出部100aは、始点の鉛直上方向の高さUsと鉛直上方向の高さの最小値Uminとがほぼ一致するか否かを判別する(ステップS206)。以下、2つの値が「ほぼ一致する」とは、2つの値の間の差が所定の閾値以下であることを指すものとする。 The motion detection unit 100a determines whether or not the height Us in the vertically upward direction of the start point and the minimum value Umin in the height in the vertically upward direction substantially coincide with each other (step S206). Hereinafter, "almost matching" between the two values means that the difference between the two values is equal to or less than a predetermined threshold value.

始点の鉛直上方向の高さUsと鉛直上方向の高さの最小値Uminとがほぼ一致すると判別すると(ステップS206;YES)、動作検出部100aは、終点の鉛直上方向の高さUeと鉛直上方向の高さの最大値Umaxとがほぼ一致するか否かを判別する(ステップS207)。 When it is determined that the height Us in the vertical upward direction of the start point and the minimum value Umin of the height in the vertical upward direction substantially match (step S206; YES), the motion detection unit 100a determines that the height Ue in the vertical upward direction of the end point. It is determined whether or not the maximum value Umax of the height in the vertical upward direction substantially matches (step S207).

終点の鉛直上方向の高さUeと鉛直上方向の高さの最大値Umaxとがほぼ一致すると判別した場合(ステップS207;YES)、動作検出部100aが検出した印刷装置100”の動きは、図11−A(a−1)に示す動きと、図11−A(b−1)に示す動きと、のうちの何れかであると考えられる。動作検出部100aは、印刷装置100の傾きWに基づいて、何れの動きを検出したかを判別する。 When it is determined that the height Ue in the vertical upward direction of the end point and the maximum value Umax of the height in the vertical direction substantially match (step S207; YES), the movement of the printing device 100 ”detected by the motion detection unit 100a is determined. It is considered that the motion is one of the motion shown in FIG. 11-A (a-1) and the motion shown in FIG. 11-A (b-1). The motion detection unit 100a tilts the printing device 100. Based on W, it is determined which movement is detected.

具体的に、動作検出部100aは、傾きの絶対値の最大値Wmaxが所定の閾値α1よりも小さいか否かを判別する(ステップS208)。傾きの絶対値の最大値Wmaxが閾値α1よりも小さいと判別した場合(ステップS208;YES)、ユーザは印刷装置100”を垂直に保った状態で動かそうと意図していた可能性が高い。このため、検出された動きは図11−A(a−1)に示す動きであると動作検出部100aが判別し、記憶部100bがこの動きに対応付けて記憶しているレイアウトaを取得部100dが入力データとして取得して(ステップS209)、入力処理を終了する。一方、傾きの絶対値の最大値Wmaxが閾値α1以上であると判別した場合(ステップS208;NO)、ユーザは印刷装置100”を一定の傾きを保った状態で動かそうと意図していた可能性が高い。このため、検出された動きは図11−A(b−1)に示す動きであると動作検出部100aが判別し、記憶部100bがこの動きに対応付けて記憶しているレイアウトbを取得部100dが入力データとして取得して(ステップS210)、入力処理を終了する。 Specifically, the motion detection unit 100a determines whether or not the maximum value Wmax of the absolute value of the inclination is smaller than the predetermined threshold value α1 (step S208). When it is determined that the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S208; YES), it is highly possible that the user intends to move the printing device 100 ”in a vertical state. Therefore, the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-A (a-1), and the storage unit 100b acquires the layout a stored in association with this motion. When 100d is acquired as input data (step S209) and the input process is terminated. On the other hand, when it is determined that the maximum value Wmax of the absolute value of the inclination is equal to or higher than the threshold value α1 (step S208; NO), the user is a printing device. It is highly possible that he intended to move 100 "while maintaining a constant inclination. Therefore, the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-A (b-1), and the storage unit 100b acquires the layout b stored in association with this motion. 100d is acquired as input data (step S210), and the input process is completed.

ステップS207において、終点の鉛直上方向の高さUeと鉛直上方向の高さの最大値Umaxとが一致しないと判別すると(ステップS207;NO)、動作検出部100aは、終点の鉛直上方向の高さUeと鉛直上方向の高さの最小値Uminとがほぼ一致するか否かを判別する(ステップS213)。一致しないと判別すると(ステップS213;NO)、動作検出部100aが検出した動きは記憶部100bが記憶している印刷装置100”の動きの何れとも一致しないので、取得部100dは、記憶部100bが予め記憶している標準レイアウトを入力データとして取得し(ステップS218)、入力処理を終了する。標準レイアウトでは、印刷データの各構成要素を、テープ部材31の長手方向に平行に、同じサイズで印刷する。 In step S207, when it is determined that the height Ue in the vertical upward direction of the end point and the maximum value Umax of the height in the vertical upward direction do not match (step S207; NO), the motion detection unit 100a is in the vertical upward direction of the end point. It is determined whether or not the height Ue and the minimum value Umin of the height in the vertical upward direction substantially match (step S213). If it is determined that they do not match (step S213; NO), the movement detected by the motion detection unit 100a does not match any of the movements of the printing device 100 ”stored by the storage unit 100b, so that the acquisition unit 100d receives the storage unit 100b. Acquires the standard layout stored in advance as input data (step S218), and ends the input process. In the standard layout, each component of the print data is parallel to the longitudinal direction of the tape member 31 and has the same size. Print.

終点の鉛直上方向の高さUeと鉛直上方向の高さの最小値Uminとがほぼ一致すると判別すると(ステップS213;YES)、動作検出部100aは、鉛直上方向の高さの最大値Umaxと鉛直上方向の高さの最小値Uminとの間の差が所定の閾値α2よりも大きいか否かを判別する(ステップS214)。差が閾値α2以下であると判別すると(ステップS214;NO)、ユーザは印刷装置100”を水平に動かすことを意図していた可能性が高いので、取得部100dは、標準レイアウトを入力データとして取得し(ステップS218)、入力処理を終了する。 When it is determined that the height Ue in the vertical upward direction of the end point and the minimum value Umin in the vertical direction substantially match (step S213; YES), the motion detection unit 100a determines that the maximum value Umax in the vertical direction is the same. It is determined whether or not the difference between the vertical height and the minimum value Umin in the vertical direction is larger than the predetermined threshold value α2 (step S214). If it is determined that the difference is equal to or less than the threshold value α2 (step S214; NO), it is highly likely that the user intended to move the printing device 100 ”horizontally, so that the acquisition unit 100d uses the standard layout as input data. Acquire (step S218), and end the input process.

差が閾値α2よりも大きいと判別すると(ステップS214;YES)、動作検出部100aは、傾きの絶対値の最大値Wmaxが閾値α1よりも小さいか否かを判別する(ステップS215)。傾きの絶対値の最大値Wmaxが閾値α1よりも小さいと判別した場合(ステップS215;YES)、ユーザは印刷装置100を垂直に保った状態で動かすことを意図していた可能性が高いので、動作検出部100aは、検出した動きが図11−A(e−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトeを入力データとして取得し(ステップS211)、入力処理を終了する。 When it is determined that the difference is larger than the threshold value α2 (step S214; YES), the motion detection unit 100a determines whether or not the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S215). When it is determined that the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S215; YES), it is highly possible that the user intended to move the printing device 100 while keeping it vertical. The motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-A (e-1), and in response to this, the acquisition unit 100d acquires the layout e as input data (step S211). End the input process.

傾きの絶対値の最大値Wmaxが閾値α1以上であると判別すると(ステップS215;NO)、動作検出部100aは、傾きの絶対値の最大値Wmaxと傾きの絶対値の最小値Wminとの間の差が所定の閾値α3よりも大きいか否かを判別する(ステップS216)。差が閾値α3以下であると判別した場合(ステップS216;NO)、ユーザは印刷装置100”の傾きを一定に保ったまま動かすことを意図していた可能性が高いため、動作検出部100aは、検出した動きが図11−A(g−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトgを入力データとして取得し(ステップS212)、入力処理を終了する。一方、差が閾値α3よりも大きいと判別すると(ステップS216;YES)、ユーザは印刷装置100”を回転させつつ動かすことを意図していた可能性が高いため、動作検出部100aは、検出した動きが図11−A(f−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトfを取得し(ステップS217)、入力処理を終了する。 When it is determined that the maximum value Wmax of the absolute value of the inclination is equal to or greater than the threshold value α1 (step S215; NO), the motion detection unit 100a is between the maximum value Wmax of the absolute value of the inclination and the minimum value Wmin of the absolute value of the inclination. It is determined whether or not the difference between the two is larger than the predetermined threshold value α3 (step S216). When it is determined that the difference is equal to or less than the threshold value α3 (step S216; NO), it is highly possible that the user intended to move the printing device 100 ”while keeping the inclination constant, so that the motion detection unit 100a is used. , The detected motion is determined to be the motion shown in FIG. 11-A (g-1), and in response to this, the acquisition unit 100d acquires the layout g as input data (step S212), and ends the input process. On the other hand, if it is determined that the difference is larger than the threshold value α3 (step S216; YES), it is highly possible that the user intended to move the printing device 100 "while rotating it, so that the motion detection unit 100a detects it. It is determined that the movement is the movement shown in FIG. 11-A (f-1), and in response to this, the acquisition unit 100d acquires the layout f (step S217), and ends the input process.

ステップS206において、始点の鉛直上方向の高さUsと鉛直上方向の高さの最小値Uminとが一致しないと判別すると(ステップS206;NO)、動作検出部100aは、始点の鉛直上方向の高さUsと鉛直上方向の高さの最大値Umaxとがほぼ一致するか否かを判別する(ステップS219)。一致しないと判別した場合(ステップS219;NO)、取得部100dは標準レイアウトを入力データとして取得し(ステップS218)、入力処理を終了する。 In step S206, when it is determined that the height Us in the vertical upward direction of the start point and the minimum value Umin of the height in the vertical upward direction do not match (step S206; NO), the motion detection unit 100a is in the vertical upward direction of the start point. It is determined whether or not the height Us and the maximum value Umax of the vertical height are substantially the same (step S219). When it is determined that they do not match (step S219; NO), the acquisition unit 100d acquires the standard layout as input data (step S218), and ends the input process.

始点の鉛直上方向の高さUsと鉛直上方向の高さの最大値Umaxとがほぼ一致すると判別すると(S219;YES)、動作検出部100aは、終点の鉛直上方向の高さUeと鉛直上方向の高さの最小値Uminとがほぼ一致するか否かを判別する(ステップS220)。一致すると判別すると(ステップS220;YES)、動作検出部100aは、傾きの絶対値の最大値Wmaxが閾値α1よりも小さいか否かを判別する(ステップS227)。 When it is determined that the height Us in the vertical upward direction of the start point and the maximum value Umax of the height in the vertical upward direction substantially match (S219; YES), the motion detection unit 100a determines that the height Ue in the vertical upward direction of the end point and the vertical direction are vertical. It is determined whether or not the minimum value Umin of the height in the upward direction is substantially the same (step S220). When it is determined that they match (step S220; YES), the motion detection unit 100a determines whether or not the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S227).

傾きの絶対値の最大値Wmaxが閾値α1よりも小さいと判別すると(ステップS227;YES)、動作検出部100aは、検出した動きが図11−A(c−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトcを入力データとして取得し(ステップS230)、入力処理を終了する。傾きの絶対値の最大値Wmaxが閾値α1以上であると判別すると(ステップS227;NO)、動作検出部100aは、検出した動きが図11−A(d−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトdを入力データとして取得し(ステップS228)、入力処理を終了する。 When it is determined that the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S227; YES), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-A (c-1). Then, in response to this, the acquisition unit 100d acquires the layout c as input data (step S230), and ends the input process. When it is determined that the maximum value Wmax of the absolute value of the inclination is equal to or greater than the threshold value α1 (step S227; NO), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-A (d-1). Then, in response to this, the acquisition unit 100d acquires the layout d as input data (step S228), and ends the input process.

ステップS220において、終点の鉛直上方向の高さUeと鉛直上方向の高さの最小値Uminとが一致しないと判別すると(ステップS220;NO)、動作検出部100aは、終点の鉛直上方向の高さUeと鉛直上方向の高さの最大値Umaxとがほぼ一致するか否かを判別する(ステップS221)。一致しないと判別すると(ステップS221;NO)、取得部100dは、標準レイアウトを入力データとして取得し(ステップS218)、入力処理を終了する。 In step S220, when it is determined that the height Ue in the vertical upward direction of the end point and the minimum value Umin of the height in the vertical upward direction do not match (step S220; NO), the motion detection unit 100a is in the vertical upward direction of the end point. It is determined whether or not the height Ue and the maximum value Umax of the height in the vertical upward direction substantially match (step S221). If it is determined that they do not match (step S221; NO), the acquisition unit 100d acquires the standard layout as input data (step S218), and ends the input process.

終点の鉛直上方向の高さUeと鉛直上方向の高さの最大値Umaxとがほぼ一致すると判別すると(ステップS221;YES)、動作検出部100aは、鉛直上方向の高さの最大値Umaxと鉛直上方向の高さの最小値Uminとの間の差が閾値α2よりも大きいか否かを判別する(ステップS222)。差が閾値α2以下であると判別すると(ステップS222;NO)、取得部100dは、標準レイアウトを入力データとして取得し(ステップS218)、入力処理を終了する。 When it is determined that the height Ue in the vertical upward direction of the end point and the maximum value Umax of the height in the vertical direction substantially match (step S221; YES), the motion detection unit 100a determines that the maximum value Umax of the height in the vertical direction is approximately the same. It is determined whether or not the difference between the vertical height and the minimum value Umin in the vertical direction is larger than the threshold value α2 (step S222). When it is determined that the difference is equal to or less than the threshold value α2 (step S222; NO), the acquisition unit 100d acquires the standard layout as input data (step S218), and ends the input process.

鉛直上方向の高さの最大値Umaxと鉛直上方向の高さの最小値Uminとの間の差が閾値α2よりも大きいと判別すると(ステップS222;YES)、傾きの絶対値の最大値Wmaxが閾値α1よりも小さいか否かを判別する(ステップS223)。傾きの絶対値の最大値Wmaxが閾値α1よりも小さいと判別した場合(ステップS223;YES)、動作検出部100aは、検出した動きが図11−B(h−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトhを入力データとして取得し(ステップS229)、入力処理を終了する。 When it is determined that the difference between the maximum value Umax of the height in the vertical direction and the minimum value Umin of the height in the vertical direction is larger than the threshold value α2 (step S222; YES), the maximum value Wmax of the absolute value of the inclination is determined. Is smaller than the threshold value α1 (step S223). When it is determined that the maximum value Wmax of the absolute value of the inclination is smaller than the threshold value α1 (step S223; YES), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-B (h-1). In response to the determination, the acquisition unit 100d acquires the layout h as input data (step S229), and ends the input process.

傾きの絶対値の最大値Wmaxが閾値α1以上であると判別すると(ステップS223;NO)、動作検出部100aは、傾きの絶対値の最大値Wmaxと傾きの絶対値の最小値Wminとの間の差が閾値α3よりも大きいか否かを判別する(ステップS224)。差が閾値α3以下であると判別すると(ステップS224;NO)、動作検出部100aは、検出した動きが図11−B(j−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトjを入力データとして取得し(ステップS226)、入力処理を終了する。一方、傾きの絶対値の最大値Wmaxと傾きの絶対値の最小値Wminとの間の差が閾値α3よりも大きいと判別すると(ステップS224;YES)、動作検出部100aは、検出した動きが図11−B(i−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトiを入力データとして取得し(ステップS225)、入力処理を終了する。 When it is determined that the maximum value Wmax of the absolute value of the inclination is equal to or greater than the threshold value α1 (step S223; NO), the motion detection unit 100a is between the maximum value Wmax of the absolute value of the inclination and the minimum value Wmin of the absolute value of the inclination. It is determined whether or not the difference between the two is larger than the threshold value α3 (step S224). When it is determined that the difference is equal to or less than the threshold value α3 (step S224; NO), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-B (j-1), and responds to this. The acquisition unit 100d acquires the layout j as input data (step S226), and ends the input process. On the other hand, when it is determined that the difference between the maximum value Wmax of the absolute value of the slope and the minimum value Wmin of the absolute value of the slope is larger than the threshold value α3 (step S224; YES), the motion detection unit 100a detects the motion. It is determined that the movement is shown in FIG. 11-B (i-1), and in response to this, the acquisition unit 100d acquires the layout i as input data (step S225), and ends the input process.

ステップS204において、z方向の動きを検出したと判別すると(ステップS204;YES)、動作検出部100aは、印刷装置100”の動きを示す特徴量として、始点のz座標Zs、終点のz座標Ze、z座標の最大値Zmax、z座標の最小値Zminを取得する(ステップS231)。 When it is determined in step S204 that the movement in the z direction is detected (step S204; YES), the motion detection unit 100a determines that the movement of the printing device 100 "is characterized by the z-coordinate Zs of the start point and the z-coordinate Ze of the end point. , The maximum value Zmax of the z coordinate and the minimum value Zmin of the z coordinate are acquired (step S231).

始点のz座標Zsは、ステップS201で開始動作を検出した時点における印刷装置100”のz座標である。終点のz座標Zeは、ステップS203で終了動作を検出した時点における印刷装置100”のz座標である。z座標の最大値Zmax及びz座標の最小値Zminは、それぞれ、ステップS201で開始動作を検出してからステップS203で終了動作を検出するまでの間に動作検出部100aが検出した印刷装置100”のz座標の最大値及び最小値である。動作検出部100aは、加速度センサ6が検出した加速度を積分することにより、印刷装置100”のz座標を取得する。 The z-coordinate Zs of the start point is the z-coordinate of the printing device 100 "at the time when the start operation is detected in step S201. The z-coordinate Ze of the end point is the z of the printing device 100" at the time when the end operation is detected in step S203. The coordinates. The maximum value Zmax of the z-coordinate and the minimum value Zmin of the z-coordinate are the printing devices 100 detected by the operation detection unit 100a between the time when the start operation is detected in step S201 and the time when the end operation is detected in step S203, respectively. It is the maximum value and the minimum value of the z-coordinate of. The motion detection unit 100a acquires the z-coordinate of the printing device 100 "by integrating the acceleration detected by the acceleration sensor 6.

動作検出部100aは、始点のz座標Zsとz座標の最小値Zminとがほぼ一致するか否かを判別する(ステップS232)。ほぼ一致すると判別すると(ステップS232;YES)、動作検出部100aは、終点のz座標Zeとz座標の最大値Zmaxとがほぼ一致するか否かを判別する(ステップS233)。ほぼ一致すると判別すると(ステップS233;YES)、動作検出部100aは、検出した動きが図11−B(k−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトkを入力データとして取得し(ステップS234)、入力処理を終了する。 The motion detection unit 100a determines whether or not the z-coordinate Zs of the start point and the minimum value Zmin of the z-coordinate substantially match (step S232). When it is determined that they substantially match (step S232; YES), the motion detection unit 100a determines whether or not the z-coordinate Ze at the end point and the maximum value Zmax of the z-coordinate substantially match (step S233). When it is determined that they almost match (step S233; YES), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-B (k-1), and in response to this, the acquisition unit 100d lays out. Acquires k as input data (step S234), and ends the input process.

終点の座標Zeとz座標の最大値Zmaxとが一致していないと判別すると(ステップS233;NO)、動作検出部100aは、終点の座標Zeとz座標の最小値Zminとがほぼ一致するか否かを判別する(ステップS235)。一致しないと判別すると(ステップS235;NO)、検出された動きは記憶部100bが記憶する動きの何れとも一致しないので、取得部100dが標準レイアウトを入力データとして取得し(ステップS238)、入力処理を終了する。 When it is determined that the coordinate Ze of the end point and the maximum value Zmax of the z coordinate do not match (step S233; NO), does the motion detection unit 100a substantially match the coordinate Ze of the end point and the minimum value Zmin of the z coordinate? Whether or not it is determined (step S235). If it is determined that they do not match (step S235; NO), the detected motion does not match any of the motions stored by the storage unit 100b, so the acquisition unit 100d acquires the standard layout as input data (step S238) and inputs the data. To finish.

終点の座標Zeとz座標の最小値Zminとがほぼ一致すると判別すると(ステップS235;YES)、動作検出部100aは、z座標の最大値Zmaxとz座標の最小値Zminとの間の差が所定の閾値α4よりも大きいか否かを判別する(ステップS236)。差が閾値α4以下であると判別すると(ステップS236;NO)、ユーザはz方向に印刷装置100”を移動させることを意図していなかった可能性が高いので、取得部100dが標準レイアウトを入力データとして取得し(ステップS238)、入力処理を終了する。 When it is determined that the coordinate Ze of the end point and the minimum value Zmin of the z coordinate substantially match (step S235; YES), the motion detection unit 100a determines that the difference between the maximum value Zmax of the z coordinate and the minimum value Zmin of the z coordinate is It is determined whether or not it is larger than the predetermined threshold value α4 (step S236). If it is determined that the difference is equal to or less than the threshold value α4 (step S236; NO), it is highly possible that the user did not intend to move the printing device 100 ”in the z direction, so the acquisition unit 100d inputs the standard layout. It is acquired as data (step S238), and the input process is terminated.

z座標の最大値Zmaxとz座標の最小値Zminとの間の差が閾値α4よりも大きいと判別すると(ステップS236;YES)、動作検出部100aは、検出した動きが図11−B(m−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトmを入力データとして取得し(ステップS237)、入力処理を終了する。 When it is determined that the difference between the maximum value Zmax of the z coordinate and the minimum value Zmin of the z coordinate is larger than the threshold value α4 (step S236; YES), the motion detection unit 100a detects the motion in FIG. 11-B (m). -1) is determined to be the movement shown in -1), and in response to this, the acquisition unit 100d acquires the layout m as input data (step S237), and ends the input process.

ステップS232において、始点のz座標Zsとz座標の最小値Zminとが一致しないと判別すると(ステップS232;NO)、動作検出部100aは、始点のz座標Zsとz座標の最大値Zmaxとがほぼ一致するか否かを判別する(ステップS239)。一致していないと判別すると(ステップS239;NO)、取得部100dが標準レイアウトを入力データとして取得し(ステップS238)、入力処理を終了する。 When it is determined in step S232 that the z-coordinate Zs of the start point and the minimum value Zmin of the z-coordinate do not match (step S232; NO), the motion detection unit 100a determines that the z-coordinate Zs of the start point and the maximum value Zmax of the z-coordinate are different. It is determined whether or not the coordinates are substantially the same (step S239). When it is determined that they do not match (step S239; NO), the acquisition unit 100d acquires the standard layout as input data (step S238), and ends the input process.

始点の座標Zsとz座標の最大値Zmaxとがほぼ一致すると判別すると(ステップS239;YES)、動作検出部100aは、終点の座標Zeとz座標の最小値Zminとがほぼ一致するか否かを判別する(ステップS240)。ほぼ一致すると判別すると(ステップS240;YES)、動作検出部100aは、検出した動きが図11−B(l−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトlを入力データとして取得し(ステップS244)、入力処理を終了する。 When it is determined that the coordinate Zs of the start point and the maximum value Zmax of the z coordinate substantially match (step S239; YES), the motion detection unit 100a determines whether or not the coordinate Ze of the end point and the minimum value Zmin of the z coordinate substantially match. Is determined (step S240). When it is determined that they almost match (step S240; YES), the motion detection unit 100a determines that the detected motion is the motion shown in FIG. 11-B (l-1), and in response to this, the acquisition unit 100d lays out. 1 is acquired as input data (step S244), and the input process is terminated.

終点の座標Zeとz座標の最小値Zminとが一致しないと判別すると(ステップS240;NO)、動作検出部100aは、終点のz座標Zeとz座標の最大値Zmaxとがほぼ一致するか否かを判別する(ステップS241)。一致しないと判別すると(ステップS241;NO)、取得部100dが標準レイアウトを入力データとして取得し(ステップS238)、入力処理を終了する。 When it is determined that the coordinate Ze of the end point and the minimum value Zmin of the z coordinate do not match (step S240; NO), the motion detection unit 100a determines whether or not the z coordinate Ze of the end point and the maximum value Zmax of the z coordinate substantially match. (Step S241). If it is determined that they do not match (step S241; NO), the acquisition unit 100d acquires the standard layout as input data (step S238), and ends the input process.

終点のz座標Zeとz座標の最大値Zmaxとがほぼ一致すると判別すると(ステップS241;YES)、動作検出部100aは、z座標の最大値Zmaxとz座標の最小値Zminとの間の差が閾値α4よりも大きいか否かを判別する(ステップS242)。差が閾値α4以下であると判別すると(ステップS242;NO)、取得部100dが標準レイアウトを入力データとして取得し(ステップS238)、入力処理を終了する。 When it is determined that the z-coordinate Ze at the end point and the maximum value Zmax of the z-coordinate substantially match (step S241; YES), the motion detection unit 100a determines the difference between the maximum value Zmax of the z-coordinate and the minimum value Zmin of the z-coordinate. Is larger than the threshold value α4 (step S242). When it is determined that the difference is equal to or less than the threshold value α4 (step S242; NO), the acquisition unit 100d acquires the standard layout as input data (step S238), and ends the input process.

z座標の最大値Zmaxとz座標の最小値Zminとの間の差が閾値α4よりも大きいと判別すると(ステップS242;YES)、動作検出部100aは、検出した動きが図11−B(n−1)に示す動きであると判別し、これに応答して取得部100dがレイアウトnを入力データとして取得し(ステップS243)、入力処理を終了する。 When it is determined that the difference between the maximum value Zmax of the z-coordinate and the minimum value Zmin of the z-coordinate is larger than the threshold value α4 (step S242; YES), the motion detection unit 100a detects the motion in FIG. 11-B (n). -1) is determined to be the movement shown in -1), and in response to this, the acquisition unit 100d acquires the layout n as input data (step S243), and ends the input process.

入力処理終了後、印刷装置100”は、図6のフローチャートに示す印刷処理を実行する。印刷処理において印刷開始の指示を受け付けると、入力処理で入力されたレイアウトにて印刷データを印刷する。なお、入力処理終了後ただちに(改めて印刷開始の指示を受けることなく)、入力されたレイアウトにて印刷データを印刷することとしてもよい。前者の態様によれば印刷データの選択が可能になり、同一のレイアウトで複数の印刷データを印刷できる。後者の態様によれば、改めて印刷を指示する手間を省ける。 After the input processing is completed, the printing apparatus 100 "executes the printing processing shown in the flowchart of FIG. 6. When the printing start instruction is received in the printing processing, the print data is printed in the layout input in the input processing. , The print data may be printed in the input layout immediately after the input process is completed (without receiving the instruction to start printing again). According to the former aspect, the print data can be selected and the same. A plurality of print data can be printed in the layout of the above. According to the latter aspect, it is possible to save the trouble of instructing printing again.

以上説明したように、本実施形態に係る印刷装置100”は、本体の動きに基づいて、印刷データのレイアウトを取得する。すなわち、印刷装置100”は、簡易な操作により、レイアウト(入力データ)の入力を受け付けることができる。 As described above, the printing apparatus 100 "according to the present embodiment acquires the layout of print data based on the movement of the main body. That is, the printing apparatus 100" has a layout (input data) by a simple operation. Can accept input.

なお、本実施形態では、複数のレイアウトを予め記憶しておき、これらの複数のレイアウトのうちの何れかを入力データとして取得した。しかし、これは一例に過ぎず、印刷装置100”は、レイアウトを予め記憶しておくことなく、レイアウトの入力を受け付けることもできる。 In this embodiment, a plurality of layouts are stored in advance, and any one of these plurality of layouts is acquired as input data. However, this is only an example, and the printing apparatus 100 "can accept the input of the layout without storing the layout in advance.

例えば、印刷装置100”は、本体の軌跡をレイアウトとして取得することができる。この場合、印刷装置100”は、図13のフローチャートに示す入力処理を実行する。印刷装置100”は、レイアウトの入力を所望するユーザが電源を投入すると、図13のフローチャートに示す入力処理を開始する。 For example, the printing device 100 "can acquire the locus of the main body as a layout. In this case, the printing device 100" executes the input process shown in the flowchart of FIG. When the user who wants to input the layout turns on the power, the printing device 100 ”starts the input process shown in the flowchart of FIG.

入力処理を開始すると、まず、動作検出部100aが、所定の開始動作(例えば、印刷装置100”が+z方向に移動した後、x軸方向に左回りに回転する動き)を検出したか否かを判別する(ステップS301)。検出しなかったと判別すると(ステップS301;NO)、検出したと判別するまでステップS301の処理を繰り返す。開始動作を検出すると(ステップS301;YES)、動作検出部100aは、印刷装置100”の動きを検出する(ステップS302)。 When the input process is started, first, whether or not the motion detection unit 100a has detected a predetermined start motion (for example, a motion in which the printing device 100 "moves in the + z direction and then rotates counterclockwise in the x-axis direction). (Step S301). If it is determined that it has not been detected (step S301; NO), the process of step S301 is repeated until it is determined that it has been detected. If the start operation is detected (step S301; YES), the operation detection unit 100a Detects the movement of the printing device 100 ”(step S302).

次に、動作検出部100aは、所定の終了動作(例えば、印刷装置100”が+z方向に移動した後、x軸方向に左回りに回転する動き)を検出したか否かを判別する(ステップS303)。検出しなかったと判別すると(ステップS303;NO)、処理はステップS302へ戻る。 Next, the motion detection unit 100a determines whether or not a predetermined end motion (for example, a motion of the printing device 100 "moving in the + z direction and then rotating counterclockwise in the x-axis direction) is detected (step). S303). If it is determined that the detection has not been performed (step S303; NO), the process returns to step S302.

終了動作を検出したと判別すると(ステップS303;YES)、ステップS301で開始動作を検出したと判別してからステップS303で終了動作を検出したと判別するまでの間に検出した印刷装置100”の動きに基づいて、制御部40が、y座標の近似式fy(x)、z座標の近似式fz(x)、傾きの近似式fw(x)を取得する(ステップS304)。具体的には、制御部40は、加速度センサ6が検出した加速度を積分することにより印刷装置100”の座標(x、y、z)及び傾きWを取得し、これらの座標及び傾きに基づき、任意の公知技術(例えば、最小二乗法)を用いて、近似関数を取得する。ここで、印刷装置100”の傾きWとは、印刷装置100”の+y方向と鉛直上方向とのなす角度のことである。 When it is determined that the end operation is detected (step S303; YES), the printing device 100 detected between the time when it is determined that the start operation is detected in step S301 and the time when the end operation is detected in step S303 is determined. Based on the movement, the control unit 40 acquires the approximate expression fy (x) for the y coordinate, the approximate expression fz (x) for the z coordinate, and the approximate expression fw (x) for the slope (step S304). , The control unit 40 acquires the coordinates (x, y, z) and the inclination W of the printing device 100 "by integrating the acceleration detected by the acceleration sensor 6, and based on these coordinates and the inclination, any known technique. Use (eg, the least-squares method) to get an approximation function. Here, the inclination W of the printing device 100 "is an angle formed by the + y direction of the printing device 100" and the vertically upward direction.

次に、制御部40は、印刷データの各構成要素が、印刷された際にテープ部材31上で占める横幅Sを取得する(ステップS305)。具体的に、制御部40は、印刷データ全体がテープ部材31上で占める横幅(Xe−Xs)を構成要素の数で除算することにより、横幅Sを取得する。ここで、(Xe−Xs)は、ステップS303で終了動作を検出した時点における印刷装置100”のx座標Xeと、ステップS301で開始動作を検出した時点における印刷装置100”のx座標Xsと、の間の差である。 Next, the control unit 40 acquires the width S occupied on the tape member 31 when each component of the print data is printed (step S305). Specifically, the control unit 40 acquires the width S by dividing the width (Xe-Xs) occupied by the entire print data on the tape member 31 by the number of components. Here, (Xe-Xs) includes the x-coordinate Xe of the printing device 100 "at the time when the end operation is detected in step S303, and the x-coordinate Xs of the printing device 100" at the time when the start operation is detected in step S301. The difference between.

以下、制御部40は、ステップS306〜S311の処理を実行して印刷データの各構成要素のレイアウトを取得することにより、印刷データのレイアウトを取得する。まず、制御部40は、カウンタNを0に設定する(ステップS306)。 Hereinafter, the control unit 40 acquires the layout of the print data by executing the processes of steps S306 to S311 and acquiring the layout of each component of the print data. First, the control unit 40 sets the counter N to 0 (step S306).

次に、ステップS301で開始動作を検出した時点における印刷装置100”のx座標Xsに、各構成要素が占める横幅SとカウンタNとの積を加算することにより、現在処理している構成要素のx座標Xを取得する(ステップS307)。 Next, by adding the product of the width S occupied by each component and the counter N to the x-coordinate Xs of the printing apparatus 100 "at the time when the start operation is detected in step S301, the component currently being processed is processed. The x-coordinate X N is acquired (step S307).

制御部40は、ステップS304で取得した近似式fy(x)、fz(x)及びfw(x)に、ステップS307で取得したx座標Xを代入することにより、現在処理している構成要素のy座標Y、z座標Z及び傾きWを取得する(ステップS308)。 The control unit 40 substitutes the x-coordinate X N acquired in step S307 into the approximate expressions fy (x), fz (x) and fw (x) acquired in step S304, so that the component element currently being processed is being processed. The y-coordinate Y N , the z-coordinate Z N, and the slope W N of the above are acquired (step S308).

制御部40は、構成要素のx座標X、y座標Y、z座標Z及び傾きWに基づき、現在処理している構成要素のレイアウトを取得する(ステップS309)。具体的に、制御部40は、y座標の値が大きい構成要素ほどテープ部材31の上側に、y座標の値が小さい構成要素ほどテープ部材31の下側に、配置されるように構成要素をレイアウトする。また、制御部40は、z座標の値が大きい構成要素ほど大きなサイズで、z座標の値が小さい構成要素ほど小さなサイズで、レイアウトする。また、制御部40は、各構成要素が、傾きWを有するようにレイアウトする。 The control unit 40 acquires the layout of the component currently being processed based on the x-coordinate X N , y-coordinate Y N , z-coordinate Z N, and inclination W N of the component (step S309). Specifically, the control unit 40 arranges the components so that the components having a larger y-coordinate value are arranged on the upper side of the tape member 31, and the components having a smaller y-coordinate value are arranged on the lower side of the tape member 31. Layout. Further, the control unit 40 lays out a component having a larger z-coordinate value in a larger size and a component having a smaller z-coordinate value in a smaller size. Further, the control unit 40 is laid out so that each component has an inclination W.

次に、印刷装置100”は、カウンタNを1加算し(ステップS310)、加算後のカウンタNが構成要素の数よりも小さいか否かを判別する(ステップS311)。カウンタNが構成要素の数よりも小さいと判別すると(ステップS311;YES)、処理はステップS307へ戻る。カウンタNが構成要素の数以上であると判別すると(ステップS311;NO)、入力処理を終了する。 Next, the printing apparatus 100 "adds 1 to the counter N (step S310), and determines whether or not the added counter N is smaller than the number of components (step S311). The counter N is a component. If it is determined that the number is smaller than the number (step S311; YES), the process returns to step S307. If it is determined that the counter N is equal to or greater than the number of components (step S311; NO), the input process ends.

この態様によれば、自装置の軌跡に基づいてレイアウトを取得することができる。このため、予め記憶しているレイアウトの何れかを入力データとして取得する本実施形態に係る以前の印刷装置100”に比べて、多様なレイアウトを取得できる。また、予めレイアウトを記憶しておく必要がないため、本実施形態に係る以前の印刷装置100”に比べて記憶容量を節減できる。 According to this aspect, the layout can be acquired based on the locus of the own device. Therefore, it is possible to acquire a variety of layouts as compared with the previous printing apparatus 100 "according to the present embodiment, which acquires any of the layouts stored in advance as input data. Further, it is necessary to store the layouts in advance. Therefore, the storage capacity can be saved as compared with the previous printing apparatus 100 "according to the present embodiment.

以上に本発明の実施形態について説明したが、上記実施形態は一例であり、本発明の適用範囲はこれに限られない。すなわち、本発明の実施形態は種々の応用が可能であり、あらゆる実施の形態が本発明の範囲に含まれる。 Although the embodiment of the present invention has been described above, the above embodiment is an example, and the scope of application of the present invention is not limited to this. That is, various embodiments of the present invention are possible, and all embodiments are included in the scope of the present invention.

例えば、上記実施形態では、本発明に係る入力装置の例として、ラベルプリンタである印刷装置100を用いて説明した。しかし、これは一例に過ぎず、本発明に係る入力装置は、ラベルプリンタ等の印刷装置に限らず、スマートフォン、コンピュータ、PDA(Personal Digital Assistance)等の任意の電子機器によって実現できる。 For example, in the above embodiment, as an example of the input device according to the present invention, the printing device 100, which is a label printer, has been used. However, this is only an example, and the input device according to the present invention can be realized not only by a printing device such as a label printer but also by any electronic device such as a smartphone, a computer, and a PDA (Personal Digital Assistant).

具体的に、スマートフォン、コンピュータ、PDA等を本発明に係る入力装置として動作させるためのプログラムを、これらの電子機器が読み取り可能な記録媒体(例えば、メモリカードやCD−ROM(Compact Disc Read−Only Memory)、DVD−ROM(Digital Versatile Disc Read−Only Memory)等)に格納して配布し、インストールすることにより本発明に係る入力装置を実現することができる。 Specifically, a recording medium (for example, a memory card or a CD-ROM (Compact Disc Read-Only)) that can be read by these electronic devices is provided with a program for operating a smartphone, a computer, a PDA, or the like as an input device according to the present invention. The input device according to the present invention can be realized by storing, distributing, and installing in Memory), DVD-ROM (Digital Versail Disc Read-Only Memory, etc.).

あるいは、上記プログラムを、インターネット等の通信ネットワーク上のサーバ装置が有する記憶装置(例えば、ディスク装置等)に格納しておき、スマートフォン、コンピュータ、PDA等がこのプログラムをダウンロードすることによって本発明に係る入力装置を実現してもよい。 Alternatively, the above program is stored in a storage device (for example, a disk device) of a server device on a communication network such as the Internet, and a smartphone, a computer, a PDA, or the like downloads this program to relate to the present invention. An input device may be realized.

また、本発明に係る入力装置の機能を、オペレーティングシステム(OS)とアプリケーションプログラムとの協働又は分担により実現する場合には、アプリケーションプログラム部分のみを記録媒体や記憶装置に格納してもよい。 Further, when the function of the input device according to the present invention is realized by the cooperation or sharing of the operating system (OS) and the application program, only the application program portion may be stored in the recording medium or the storage device.

また、アプリケーションプログラムを搬送波に重畳し、通信ネットワークを介して配信してもよい。例えば、通信ネットワーク上の掲示板(BBS:Bulletin Board System)にアプリケーションプログラムを掲示し、ネットワークを介してアプリケーションプログラムを配信してもよい。そして、このアプリケーションプログラムをコンピュータにインストールして起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、本発明に係る入力装置を実現してもよい。 Further, the application program may be superimposed on the carrier wave and distributed via the communication network. For example, the application program may be posted on a bulletin board system (BBS: Bulletin Board System) on a communication network, and the application program may be distributed via the network. Then, the input device according to the present invention may be realized by installing and starting this application program on a computer and executing it in the same manner as other application programs under the control of the OS.

以上、本発明の好ましい実施形態について説明したが、本発明は係る特定の実施形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲とが含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the specific embodiment, and the present invention includes the invention described in the claims and the equivalent range thereof. included. The inventions described in the original claims of the present application are described below.

(付記1)
入力データの入力を受け付ける入力装置であって、
前記入力装置の動きを検出する動作検出手段と、
入力条件が満たされているか否かを判別する判別手段と、
前記入力条件が満たされていると前記判別手段が判別した場合に、前記動作検出手段が検出した前記入力装置の動きに基づいて、前記入力装置の軌跡を入手して、前記軌跡に応じたパターンの配置を前記入力データとして取得する取得手段と、
を備える、
ことを特徴とする入力装置。
(Appendix 1)
An input device that accepts input data
An motion detecting means for detecting the motion of the input device and
A discriminating means for determining whether or not the input conditions are satisfied, and
When the discriminating means determines that the input condition is satisfied, the locus of the input device is obtained based on the movement of the input device detected by the motion detecting means, and a pattern corresponding to the locus is obtained. The acquisition means for acquiring the arrangement of the above as the input data, and
To prepare
An input device characterized by that.

(付記2)
前記取得手段が取得した前記入力データを記録媒体に印刷する印刷手段を更に備える、
ことを特徴とする付記1に記載の入力装置。
(Appendix 2)
A printing means for printing the input data acquired by the acquisition means on a recording medium is further provided.
The input device according to Appendix 1, wherein the input device is characterized by the above.

(付記3)
複数の入力データの候補を記憶する記憶手段を更に備え、
前記記憶手段は、複数の前記入力データの候補を、それぞれ、前記動作検出手段が検出可能な前記入力装置の動きに対応付けて記憶し、
前記取得手段は、前記動作検出手段が検出した前記入力装置の動きに対応付けて前記記憶手段が記憶している前記入力データの候補を、前記入力データとして取得する、
ことを特徴とする付記1又は2に記載の入力装置。
(Appendix 3)
Further equipped with a storage means for storing multiple input data candidates,
The storage means stores a plurality of candidates for the input data in association with the movement of the input device that can be detected by the motion detection means, respectively.
The acquisition means acquires, as the input data, candidates for the input data stored by the storage means in association with the movement of the input device detected by the motion detection means.
The input device according to Appendix 1 or 2, characterized in that.

(付記4)
前記記憶手段が記憶する複数の前記入力データの候補のうちの何れか一つをユーザに提示する提示手段を更に備え、
前記提示手段は、前記動作検出手段が第1の動きを検出する度に、複数の前記入力データの候補のうちの何れか一つを順次前記ユーザに提示し、
前記取得手段は、複数の前記入力データの候補のうちの、前記動作検出手段が前記第1の動きとは異なる第2の動きを検出したときに前記提示手段が提示している前記入力データの候補を、前記入力データとして取得する、
ことを特徴とする付記3に記載の入力装置。
(Appendix 4)
Further provided with a presentation means for presenting to the user any one of the plurality of input data candidates stored by the storage means.
The presenting means sequentially presents any one of the plurality of input data candidates to the user each time the motion detecting means detects the first motion.
The acquisition means is the input data presented by the presenting means when the motion detecting means detects a second motion different from the first motion among the plurality of input data candidates. Acquire candidates as the input data,
The input device according to Appendix 3, wherein the input device is characterized by the above.

(付記5)
操作ボタンを有する操作手段を更に備え、
前記入力条件は、前記操作ボタンが押圧されているときに満たされる、
ことを特徴とする付記1乃至4のうちの何れか一つに記載の入力装置。
(Appendix 5)
Further equipped with an operation means having an operation button,
The input condition is satisfied when the operation button is pressed.
The input device according to any one of Supplementary note 1 to 4, wherein the input device is characterized by the above.

(付記6)
外部の物体の上を摺動する摺動手段を更に備え、
前記入力条件は、前記摺動手段が前記外部の物体の上を摺動しているときに満たされる、
ことを特徴とする付記1乃至4のうちの何れか一つに記載の入力装置。
(Appendix 6)
Further equipped with sliding means to slide on an external object,
The input condition is satisfied when the sliding means is sliding on the external object.
The input device according to any one of Supplementary note 1 to 4, wherein the input device is characterized by the above.

(付記7)
前記入力条件は、前記動作検出手段が所定の動きを検出してから前記所定の動きを再度検出するまでの間に満たされる、
ことを特徴とする付記1乃至4のうちの何れか一つに記載の入力装置。
(Appendix 7)
The input condition is satisfied between the time when the motion detecting means detects a predetermined motion and the time when the predetermined motion is detected again.
The input device according to any one of Supplementary note 1 to 4, wherein the input device is characterized by the above.

(付記8)
入力データの入力を受け付ける入力装置が実行する入力方法であって、
前記入力装置の動きを検出し、
入力条件が満たされているか否かを判別し、
前記入力条件が満たされていると判別した場合に、検出した前記入力装置の動きに基づいて、前記入力装置の軌跡を入手して、前記軌跡に応じたパターンの配置を前記入力データとして取得する、
ことを特徴とする入力方法。
(Appendix 8)
It is an input method executed by an input device that accepts input data.
Detecting the movement of the input device,
Determine if the input conditions are met and
When it is determined that the input condition is satisfied, the locus of the input device is obtained based on the detected movement of the input device, and the arrangement of the pattern according to the locus is acquired as the input data. ,
An input method characterized by that.

(付記9)
コンピュータを、
入力データの入力を受け付ける入力装置として機能させ、
前記入力装置の動きを検出させ、
入力条件が満たされているか否かを判別させ、
前記入力条件が満たされていると判別した場合に、検出した前記入力装置の動きに基づいて、前記入力装置の軌跡を入手して、前記軌跡に応じたパターンの配置を前記入力データとして取得させる、
ことを特徴とするプログラム。
(Appendix 9)
Computer,
Functions as an input device that accepts input data
The movement of the input device is detected, and the movement is detected.
Lets you determine if the input conditions are met and
When it is determined that the input condition is satisfied, the locus of the input device is obtained based on the detected movement of the input device, and the arrangement of the pattern according to the locus is acquired as the input data. ,
A program characterized by that.

6…加速度センサ、7…角速度センサ、10…テープ収納部、11…印刷ヘッド、12…プラテンローラ、13…リボン巻取軸、15…カセット受部、16…テープ幅検出スイッチ、17…フルカット機構、18…ハーフカット機構、20…位置合わせ軸、21…テープカセット、22…カセットケース、23…テープコアの軸、24…リボン供給コアの軸、25…リボン巻取コアの軸、27…ヘッド配置部、29…被係合部、31…テープ部材、35…インクリボン、40…制御部、41…ROM、42…RAM、45…テープ印刷機構、50…印刷部、51…印刷部駆動回路、52…搬送部駆動回路、53…切断部駆動回路、100,100’,100”…印刷装置、100a…動作検出部、100b…記憶部、100c…提示部、100d…取得部、100e…印刷部、100f…判別部、106…テープ繰出部、108…カッタ操作レバー、110…筐体、120…操作部、122,123,124…押圧キー、130…表示部、140…摺動部 6 ... Acceleration sensor, 7 ... Angle speed sensor, 10 ... Tape storage, 11 ... Print head, 12 ... Platen roller, 13 ... Ribbon winding shaft, 15 ... Cassette receiving part, 16 ... Tape width detection switch, 17 ... Full cut Mechanism, 18 ... Half-cut mechanism, 20 ... Alignment shaft, 21 ... Tape cassette, 22 ... Cassette case, 23 ... Tape core shaft, 24 ... Ribbon supply core shaft, 25 ... Ribbon winding core shaft, 27 ... Head Arrangement unit, 29 ... engaged part, 31 ... tape member, 35 ... ink ribbon, 40 ... control unit, 41 ... ROM, 42 ... RAM, 45 ... tape printing mechanism, 50 ... printing unit, 51 ... printing unit drive circuit , 52 ... Conveyor unit drive circuit, 53 ... Cutting unit drive circuit, 100, 100', 100 "... Printing device, 100a ... Motion detection unit, 100b ... Storage unit, 100c ... Presentation unit, 100d ... Acquisition unit, 100e ... Printing Unit, 100f ... Discrimination unit, 106 ... Tape feeding unit, 108 ... Cutter operation lever, 110 ... Housing, 120 ... Operation unit, 122, 123, 124 ... Pressing key, 130 ... Display unit, 140 ... Sliding unit

Claims (13)

出力データ制御装置であって、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を検出する動作検出部と、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定し、前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定する決定部と、を備えることを特徴とする出力データ制御装置。
It is an output data control device
An operation detection unit that detects at least one operation in which the output data control device moves in a three-dimensional space, and an operation detection unit.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. When the determination is made and it is determined that the operation is the movement in the first direction, the output size of each output element is gradually increased according to the order of the arrangement of each output element of the output data including the plurality of output elements. If the information on the output size of the output data is determined and it is determined that the operation is a movement in the direction opposite to the first direction, each output is according to the order of the output elements of the output data including the plurality of output elements. An output data control device comprising: a determination unit for determining information on the output size of the output data so that the output size of the element gradually decreases.
請求項1記載の出力データ制御装置であって、
前記動作検出部は、前記出力データ制御装置が移動中の傾きと、前記出力データ制御装置が移動する速度を検出し、
前記決定部は、前記動作検出部により検出された前記移動中の傾きが略一定であり、かつ、前記動作検出部により検出された前記移動する速度が速いほど、前記各出力要素の出力サイズの変化が大きくなるように、前記出力データの前記出力サイズの情報を決定することを特徴とする出力データ制御装置。
The output data control device according to claim 1.
The motion detection unit detects the inclination of the output data control device during movement and the speed at which the output data control device moves.
In the determination unit, the more the tilt during movement detected by the motion detection unit is substantially constant and the moving speed detected by the motion detection unit is faster, the larger the output size of each output element is. An output data control device comprising determining information on the output size of the output data so that the change is large.
請求項1又は請求項記載の出力データ制御装置と、
前記出力データとしての印刷データを記憶する記憶部と、
前記出力データ制御装置の前記決定部で決定された前記出力サイズの情報に応じた前記印刷データを取得する取得部と、
前記取得部により取得した前記印刷データに基づいて被記録媒体に印刷する印刷部と、を備えることを特徴とする印刷装置。
The output data control device according to claim 1 or 2,
A storage unit that stores print data as output data,
An acquisition unit that acquires the print data according to the information of the output size determined by the determination unit of the output data control device, and an acquisition unit.
A printing apparatus including a printing unit that prints on a recording medium based on the print data acquired by the acquisition unit.
出力データ制御装置の制御部によって実行される方法であって、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を、前記出力データ制御装置の動作検出部によって検出し、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、
前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定し、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定することを特徴とする出力データ制御方法。
A method executed by the control unit of the output data controller,
At least one operation in which the output data control device moves in the three-dimensional space is detected by the operation detection unit of the output data control device.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Judgment,
If it is determined that the operation is the movement in the first direction, the output data of the output data is arranged so that the output size of each output element is gradually increased according to the order of the arrangement of the output elements of the output data including the plurality of output elements. Determine the output size information and
If it is determined that the operation is a movement in the direction opposite to the first direction, the output size of each output element is gradually reduced according to the order of the output elements of the output data including the plurality of output elements. output data control method characterized by determining information of the output size of the output data.
請求項4記載の出力データ制御方法であって、The output data control method according to claim 4.
前記出力データ制御装置が移動中の傾きと、前記出力データ制御装置が移動する速度とを、前記動作検出部によってさらに検出し、 The motion detection unit further detects the inclination of the output data control device during movement and the speed at which the output data control device moves.
前記動作検出部により検出された前記移動中の傾きが略一定であり、かつ、前記動作検出部により検出された前記移動する速度が速いほど、前記各出力要素の出力サイズの変化が大きくなるように、前記出力データの前記出力サイズの情報を決定することを特徴とする出力データ制御方法。 As the inclination during movement detected by the motion detection unit is substantially constant and the moving speed detected by the motion detection unit is faster, the change in the output size of each output element becomes larger. In addition, an output data control method comprising determining information on the output size of the output data.
印刷装置の制御部によって実行される方法であって、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、前記印刷装置の動作検出部によって検出し、
前記動作検出部により検出された前記動作に基づいて、記憶部に記憶された印刷データの印字サイズの情報を決定し、
決定した前記印字サイズの情報に応じた前記印刷データを取得し、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷することを特徴とする印刷方法。
A method performed by the control unit of a printing device,
At least one motion of the printing apparatus moving in the three-dimensional space is detected by the motion detection unit of the printing apparatus.
Based on the operation detected by the operation detection unit, information on the print size of the print data stored in the storage unit is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
A printing method characterized by printing on a recording medium by a printing unit based on the acquired print data.
印刷装置の制御部によって実行される方法であって、A method performed by the control unit of a printing device,
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、前記印刷装置の動作検出部によって検出し、 At least one motion of the printing apparatus moving in the three-dimensional space is detected by the motion detection unit of the printing apparatus.
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定し、 Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Judgment,
前記動作が前記第1の向きの移動であると判定したら、記憶部に記憶された複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に大きくなるように、前記印刷データの前記印字サイズの情報を決定し、 If it is determined that the operation is the movement in the first direction, the print size of each character is gradually increased according to the order of arrangement of each character in the print data including the plurality of character data stored in the storage unit. The information of the print size of the print data is determined, and the information is determined.
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に小さくなるように、前記印刷データの前記印字サイズの情報を決定し、 If it is determined that the operation is a movement in the direction opposite to the first direction, the printing is performed so that the print size of each character is gradually reduced according to the order of the characters in the print data including the plurality of character data. The information of the print size of the data is determined, and the information is determined.
決定した前記印字サイズの情報に応じた前記印刷データを取得し、 The print data corresponding to the determined print size information is acquired, and the print data is acquired.
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷することを特徴とする印刷方法。 A printing method characterized by printing on a recording medium by a printing unit based on the acquired print data.
請求項7記載の印刷方法であって、The printing method according to claim 7.
前記印刷装置が移動中の傾きと、前記印刷装置が移動する速度とを、前記動作検出部によってさらに検出し、 The motion detection unit further detects the tilt of the printing device while it is moving and the speed at which the printing device moves.
前記動作検出部により検出された前記移動中の傾きが略一定であり、かつ、前記動作検出部により検出された前記移動する速度が速いほど、前記各文字の印字サイズの変化が大きくなるように、前記印刷データの前記印字サイズの情報を決定することを特徴とする印刷方法。 The change in the print size of each character becomes larger as the tilt during movement detected by the motion detection unit is substantially constant and the movement speed detected by the motion detection unit is faster. , A printing method comprising determining information on the print size of the print data.
出力データ制御装置のコンピュータに、
三次元空間において前記出力データ制御装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定させ、
前記動作が前記第1の向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に大きくなるように、前記出力データの前記出力サイズの情報を決定させ、
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の出力要素を含む出力データの各出力要素の並び順にしたがって各出力要素の出力サイズが徐々に小さくなるように、前記出力データの前記出力サイズの情報を決定させることを特徴とするプログラム。
To the computer of the output data controller,
At least one motion of the output data control device in the three-dimensional space is detected by the motion detection unit.
Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Let me judge
If it is determined that the operation is the movement in the first direction, the output data of the output data is arranged so that the output size of each output element is gradually increased according to the order of the arrangement of the output elements of the output data including the plurality of output elements. Let the information of the output size be decided,
If it is determined that the operation is a movement in the direction opposite to the first direction, the output size of each output element is gradually reduced according to the order of the output elements of the output data including the plurality of output elements. program for causing the determining information of the output size of the output data.
請求項9記載のプログラムであって、The program according to claim 9.
前記出力データ制御装置のコンピュータに、 To the computer of the output data control device
前記出力データ制御装置が移動中の傾きと、前記出力データ制御装置が移動する速度とを、前記動作検出部によってさらに検出させ、 The motion detection unit further detects the inclination of the output data control device during movement and the speed at which the output data control device moves.
前記動作検出部により検出された前記移動中の傾きが略一定であり、かつ、前記動作検出部により検出された前記移動する速度が速いほど、前記各出力要素の出力サイズの変化が大きくなるように、前記出力データの前記出力サイズの情報を決定させることを特徴とするプログラム。 As the inclination during movement detected by the motion detection unit is substantially constant and the moving speed detected by the motion detection unit is faster, the change in the output size of each output element becomes larger. A program characterized in that information on the output size of the output data is determined.
印刷装置のコンピュータに、
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、
前記動作検出部により検出された前記動作に基づいて、記憶部に記憶された印刷データの印字サイズの情報を決定させ、
決定した前記印字サイズの情報に応じた前記印刷データを取得させ、
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷させることを特徴とするプログラム。
On the computer of the printing device,
At least one movement of the printing device in the three-dimensional space is detected by the movement detection unit.
Based on the operation detected by the operation detection unit, the print size information of the print data stored in the storage unit is determined.
The print data corresponding to the determined print size information is acquired, and the print data is acquired.
A program characterized by printing on a recording medium by a printing unit based on the acquired print data.
印刷装置のコンピュータに、On the computer of the printing device,
三次元空間において前記印刷装置が移動する少なくとも1つの動作を、動作検出部によって検出させ、 At least one movement of the printing device in the three-dimensional space is detected by the movement detection unit.
前記動作検出部により検出された前記動作が所定の方向に沿った第1の向きの移動であるか、又は前記所定の方向に沿った前記第1の向きとは逆向きの移動であるかを判定させ、 Whether the motion detected by the motion detection unit is a movement in a first direction along a predetermined direction or a movement in a direction opposite to the first direction along the predetermined direction. Let me judge
前記動作が前記第1の向きの移動であると判定したら、記憶部に記憶された複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に大きくなるように、前記印刷データの前記印字サイズの情報を決定させ、 If it is determined that the operation is the movement in the first direction, the print size of each character is gradually increased according to the order of arrangement of each character in the print data including the plurality of character data stored in the storage unit. The information of the print size of the print data is determined, and the information is determined.
前記動作が前記第1の向きとは逆向きの移動であると判定したら、複数の文字データを含む印刷データの各文字の並び順にしたがって各文字の印字サイズが徐々に小さくなるように、前記印刷データの前記印字サイズの情報を決定させ、 If it is determined that the operation is a movement in the direction opposite to the first direction, the printing is performed so that the print size of each character is gradually reduced according to the order of the characters in the print data including the plurality of character data. The information of the print size of the data is determined, and the information is determined.
決定した前記印字サイズの情報に応じた前記印刷データを取得させ、 The print data corresponding to the determined print size information is acquired, and the print data is acquired.
取得した前記印刷データに基づいて、印刷部によって被記録媒体に印刷させることを特徴とするプログラム。 A program characterized by printing on a recording medium by a printing unit based on the acquired print data.
請求項12記載のプログラムであって、The program according to claim 12.
前記印刷装置のコンピュータに、To the computer of the printing device
前記印刷装置が移動中の傾きと、前記印刷装置が移動する速度とを、前記動作検出部によってさらに検出させ、 The motion detection unit further detects the tilt of the printing device while it is moving and the speed at which the printing device moves.
前記動作検出部により検出された前記移動中の傾きが略一定であり、かつ、前記動作検出部により検出された前記移動する速度が速いほど、前記各文字の印字サイズの変化が大きくなるように、前記印刷データの前記印字サイズの情報を決定させることを特徴とするプログラム。 The change in the print size of each character becomes larger as the tilt during movement detected by the motion detection unit is substantially constant and the movement speed detected by the motion detection unit is faster. , A program characterized in that information on the print size of the print data is determined.
JP2020107674A 2019-04-19 2020-06-23 Output data control device, printing device, output data control method, printing method and program Active JP6973571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020107674A JP6973571B2 (en) 2019-04-19 2020-06-23 Output data control device, printing device, output data control method, printing method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019079814A JP6725033B2 (en) 2019-04-19 2019-04-19 Printing device, printing method, and program
JP2020107674A JP6973571B2 (en) 2019-04-19 2020-06-23 Output data control device, printing device, output data control method, printing method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019079814A Division JP6725033B2 (en) 2019-04-19 2019-04-19 Printing device, printing method, and program

Publications (2)

Publication Number Publication Date
JP2020166890A JP2020166890A (en) 2020-10-08
JP6973571B2 true JP6973571B2 (en) 2021-12-01

Family

ID=72666098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020107674A Active JP6973571B2 (en) 2019-04-19 2020-06-23 Output data control device, printing device, output data control method, printing method and program

Country Status (1)

Country Link
JP (1) JP6973571B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003141558A (en) * 2001-08-24 2003-05-16 Omron Corp Photo sticker vending machine, photo sticker creation method, and program
JP2005012297A (en) * 2003-06-17 2005-01-13 Canon Inc Viewing angle change device
JP4959629B2 (en) * 2008-05-23 2012-06-27 カタリスト・モバイル株式会社 Text composition processing system and portable communication terminal comprising the same
JP2010231736A (en) * 2009-03-30 2010-10-14 Sony Corp INPUT DEVICE AND METHOD, INFORMATION PROCESSING DEVICE AND METHOD, INFORMATION PROCESSING SYSTEM, AND PROGRAM
JP5476894B2 (en) * 2009-09-30 2014-04-23 カシオ計算機株式会社 Printing device

Also Published As

Publication number Publication date
JP2020166890A (en) 2020-10-08

Similar Documents

Publication Publication Date Title
US5584591A (en) Tape printer
US6846119B2 (en) Method and handheld device for printing
JP6212295B2 (en) Label printer
EP0414566B1 (en) Portable graphic computer apparatus
EP0414565B1 (en) Portable graphic computer apparatus
CN101151077B (en) Game device
US9302404B2 (en) Apparatus and non-transitory computer-readable medium
US6293717B1 (en) Tape printing apparatus and tape printing method
JPH10154038A (en) Pointing input device
JP6520605B2 (en) Printing device, printing method and program
JP6973571B2 (en) Output data control device, printing device, output data control method, printing method and program
JP6725033B2 (en) Printing device, printing method, and program
JP3632372B2 (en) Image display device
JP2011143648A (en) Tape printing device, label forming method, and storage medium storing program for forming label
US7474421B2 (en) Printing apparatus and method of displaying explanations of printing apparatus
JP6686405B2 (en) Information processing apparatus, program, display method, and printing system
JP3521302B2 (en) Tape printer
JP5228766B2 (en) Tape printer
JP2009178850A (en) Label printer
JPH0744321A (en) Cursor movement command input device
JP2008015684A (en) Display controller
JPH11198467A (en) Printer having cutter
EP0660248B1 (en) Word processor
US20180170069A1 (en) Recording medium, label image preparing method, and label image preparing apparatus
JP2013134547A (en) Touch sense feedback input device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200722

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210721

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211018

R150 Certificate of patent or registration of utility model

Ref document number: 6973571

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150