JP6003622B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP6003622B2
JP6003622B2 JP2012279078A JP2012279078A JP6003622B2 JP 6003622 B2 JP6003622 B2 JP 6003622B2 JP 2012279078 A JP2012279078 A JP 2012279078A JP 2012279078 A JP2012279078 A JP 2012279078A JP 6003622 B2 JP6003622 B2 JP 6003622B2
Authority
JP
Japan
Prior art keywords
information indicating
printing
trajectory
locus
touch position
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
JP2012279078A
Other languages
Japanese (ja)
Other versions
JP2014123250A (en
Inventor
功一 近藤
功一 近藤
珊珊 関
珊珊 関
鈴木 靖典
靖典 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012279078A priority Critical patent/JP6003622B2/en
Publication of JP2014123250A publication Critical patent/JP2014123250A/en
Application granted granted Critical
Publication of JP6003622B2 publication Critical patent/JP6003622B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、タッチパネルを備えた印刷装置に関する。   The present invention relates to a printing apparatus provided with a touch panel.

タッチパネルを備え、ユーザによるタッチ操作に応じた処理(印刷処理、設定処理、表示処理等)が実行される印刷装置が知られている。例えば特許文献1には、表示部に設けられたタッチパネルを介してテープの切断方法を入力することが可能な印刷装置が提案されている。   There is known a printing apparatus that includes a touch panel and executes processing (printing processing, setting processing, display processing, and the like) according to a touch operation by a user. For example, Patent Document 1 proposes a printing apparatus that can input a tape cutting method via a touch panel provided in a display unit.

特開2011−62985号公報JP2011-62985A

ユーザのタッチ操作が高速で行われることによって、タッチ操作が微妙に変化する場合がある。この場合、印刷装置は、類似する他のタッチ操作が行われたと誤って認識する可能性がある。従って、ユーザが所望する処理とは別の処理が、印刷装置によって実行されるという問題点がある。   When the user's touch operation is performed at high speed, the touch operation may change slightly. In this case, the printing apparatus may erroneously recognize that another similar touch operation has been performed. Therefore, there is a problem that processing different from the processing desired by the user is executed by the printing apparatus.

本発明の目的は、ユーザによるタッチ操作に基づき、ユーザの所望する処理を適切に判断して実行することが可能な印刷装置を提供することである。   An object of the present invention is to provide a printing apparatus capable of appropriately determining and executing a process desired by a user based on a touch operation by the user.

本発明の第一態様に係る印刷装置は、印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、タッチパネルと、前記タッチパネル上のタッチされた位置を検出する検出手段と、前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段とを備え、前記テーブルには、第一軌跡及び第二軌跡を示す情報の夫々に、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、前記第二軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第三処理内容が関連付けられた第三レコードと、第三軌跡を示す情報、閾値以上の変化速度であることを示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第四レコードとが含まれ、前記第一軌跡及び前記第二軌跡の夫々は、前記第三軌跡を少なくとも含む複数の軌跡の組み合わせであり、且つ、一筆書きの軌跡であることを特徴とする。 A printing apparatus according to a first aspect of the present invention is a printing apparatus including a printing unit that performs printing on a printing medium, a touch panel, a detection unit that detects a touched position on the touch panel, and the detection unit. A first specifying means for specifying a change speed that is a change speed of the touch position based on a change amount per predetermined time of the touch position that is a position detected by the touch position; and the touch position detected by the detection means. Second specifying means for specifying the touch position locus, information indicating the touch position locus, information indicating the change speed, and information indicating the processing contents related to printing by the printing means. The change speed specified by the first specifying means and the second specifying means by referring to a table associated and stored in the storage means Therefore determining means for determining the processing content corresponding to the specified the track, based on the processing content determined by the determination means comprises execution means for executing processing related to printing by said printing means, said In the table, each of the information indicating the first trajectory and the second trajectory, the information indicating that the change rate is equal to or higher than a threshold, the first record in which the first processing content is associated, and the first trajectory. Information indicating that the change rate is less than a threshold, and the second record associated with the second processing content, information indicating the second trajectory, information indicating that the change rate is less than the threshold, And the third record associated with the third processing content, the information indicating the third locus, the information indicating that the change speed is equal to or higher than the threshold, the information indicating that the change speed is less than the threshold, and the previous A fourth record associated with the first processing content, and each of the first trajectory and the second trajectory is a combination of a plurality of trajectories including at least the third trajectory, and a one-stroke trajectory It is characterized by being.

本発明の印刷装置は、タッチ位置の変化速度と軌跡とを特定し、テーブルを参照することによって、対応する処理内容を決定する。通常、ユーザによるタッチ操作の操作速度が速い場合、タッチ操作が微妙に変化しやすい。これに対して印刷装置は、変化速度に応じた適切な処理内容を、軌跡に関連付けてテーブルに記憶しておく。これによって印刷装置は、速いタッチ操作が行われることによってタッチ操作が微妙に変化した場合でも、ユーザが所望する処理内容を特定して実行することが可能となる。
又、印刷装置は、操作速度が低速である場合には、異なるタッチ操作(第一軌跡及び第二軌跡)が行われた場合に夫々異なる処理内容に基づいて処理を行い、操作速度が高速である場合には、異なるタッチ操作(第一軌跡及び第二軌跡)が行われた場合でも同一の処理内容に基づいて処理を行うことができる。このため印刷装置は、タッチ操作が高速で行われることによってタッチ操作が微妙に変化し、異なるタッチ操作が行われたと認識した場合でも、変化前のタッチ操作に基づいて共通の処理内容を特定し、処理を実行することができる。
又、印刷装置は、テーブルにおいて第三軌跡に関連付けられた第一処理内容を、第一軌跡及び第二軌跡を辿るタッチ操作が高速に行われた場合の処理内容として決定できる。このため、第一軌跡及び第二軌跡を辿るタッチ操作が高速に行われることによってタッチ操作が微妙に変化した場合に、変化前のタッチ操作(第三軌跡を辿るタッチ操作)が行われた場合の処理内容(第一処理内容)で処理を実行できる。印刷装置は、タッチ操作が高速に行われた場合の微妙な変化の影響を排除し、ユーザが所望する処理内容を適切に判断して実行できる。
本発明の第二態様に係る印刷装置は、印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、タッチパネルと、前記タッチパネル上のタッチされた位置を検出する検出手段と、前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段とを備え、前記テーブルには、第一軌跡を示す情報、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、第三軌跡を示す情報、閾値以上の変化速度であることを示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第四レコードとが含まれ、前記第一軌跡は、前記第三軌跡を少なくとも含む複数の軌跡の組み合わせであり、且つ、一筆書きの軌跡であることを特徴とする。
第一態様又は第二態様において、前記第三軌跡は、前記タッチパネルの特定方向の一方側の端部近傍から他方側の端部近傍まで前記タッチ位置が変化した場合の軌跡であってもよい。
本発明の第三態様に係る印刷装置は、印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、タッチパネルと、前記タッチパネル上のタッチされた位置を検出する検出手段と、前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段とを備え、前記テーブルには、第一軌跡及び第二軌跡を示す情報の夫々に、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、前記第二軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第三レコードとが含まれ、前記第一軌跡は、前記タッチ位置が円形移動した場合の軌跡であり、前記第二軌跡は、前記タッチ位置が四角形移動した場合の軌跡であることを特徴とする。
The printing apparatus according to the present invention determines the corresponding processing content by specifying the change speed and locus of the touch position and referring to the table. Usually, when the operation speed of the touch operation by the user is fast, the touch operation tends to change slightly. In contrast, the printing apparatus stores appropriate processing contents corresponding to the change speed in a table in association with the trajectory. As a result, the printing apparatus can specify and execute the processing content desired by the user even when the touch operation changes slightly due to a fast touch operation.
Further, when the operation speed is low, the printing apparatus performs processing based on different processing contents when different touch operations (first trajectory and second trajectory) are performed, and the operation speed is high. In some cases, even when different touch operations (first trajectory and second trajectory) are performed, processing can be performed based on the same processing content. For this reason, even if the printing device recognizes that the touch operation has changed slightly due to the touch operation being performed at a high speed and a different touch operation has been performed, the printing apparatus identifies the common processing content based on the touch operation before the change. The process can be executed.
Further, the printing apparatus can determine the first processing content associated with the third trajectory in the table as the processing content when the touch operation that follows the first trajectory and the second trajectory is performed at high speed. For this reason, when the touch operation slightly changes due to the touch operation that follows the first locus and the second locus being performed at high speed, the touch operation before the change (touch operation that follows the third locus) is performed. The processing can be executed with the processing content (first processing content). The printing apparatus can eliminate the influence of subtle changes when the touch operation is performed at high speed, and can appropriately determine the processing content desired by the user and execute it.
A printing apparatus according to a second aspect of the present invention is a printing apparatus including a printing unit that performs printing on a printing medium, and includes a touch panel, a detection unit that detects a touched position on the touch panel, and the detection unit. A first specifying means for specifying a change speed that is a change speed of the touch position based on a change amount per predetermined time of the touch position that is a position detected by the touch position; and the touch position detected by the detection means. Second specifying means for specifying the touch position locus, information indicating the touch position locus, information indicating the change speed, and information indicating the processing contents related to printing by the printing means. The change speed specified by the first specifying means and the second specifying means by referring to a table associated and stored in the storage means Therefore, a determination unit that determines the processing content corresponding to the identified locus, and an execution unit that executes processing related to printing by the printing unit based on the processing content determined by the determination unit, The table includes information indicating the first trajectory, information indicating that the change speed is equal to or higher than the threshold, and the first record associated with the first processing content, the information indicating the first trajectory, and the change less than the threshold. Information indicating that it is speed, second record associated with the second processing content, information indicating the third locus, information indicating that the change speed is greater than or equal to the threshold, and change speed that is less than the threshold And a fourth record associated with the first processing content, and the first trajectory is a combination of a plurality of trajectories including at least the third trajectory, and Characterized in that it is a locus of brush writing.
In the first aspect or the second aspect, the third trajectory may be a trajectory when the touch position changes from the vicinity of one end of the touch panel in the specific direction to the vicinity of the other end.
A printing apparatus according to a third aspect of the present invention is a printing apparatus including a printing unit that performs printing on a printing medium, a touch panel, a detection unit that detects a touched position on the touch panel, and the detection unit. A first specifying means for specifying a change speed that is a change speed of the touch position based on a change amount per predetermined time of the touch position that is a position detected by the touch position; and the touch position detected by the detection means. Second specifying means for specifying the touch position locus, information indicating the touch position locus, information indicating the change speed, and information indicating the processing contents related to printing by the printing means. The change speed specified by the first specifying means and the second specifying means by referring to a table associated and stored in the storage means Therefore, a determination unit that determines the processing content corresponding to the identified locus, and an execution unit that executes processing related to printing by the printing unit based on the processing content determined by the determination unit, In the table, each of the information indicating the first trajectory and the second trajectory, the information indicating that the change rate is equal to or higher than a threshold, the first record in which the first processing content is associated, and the first trajectory. Information indicating that the change rate is less than a threshold, and the second record associated with the second processing content, information indicating the second trajectory, information indicating that the change rate is less than the threshold, And the third record associated with the first processing content, the first trajectory is a trajectory when the touch position is circularly moved, and the second trajectory is the four touch positions. Characterized in that it is a trajectory in the case where the shape moves.

第一〜第三態様において、前記第二特定手段によって特定された前記軌跡を表示手段に表示させる制御を行う表示制御手段を備えていてもよい。これによってユーザは、タッチパネルに対して行ったタッチ操作の軌跡を、表示部に表示された軌跡を視認することで容易に確認できる。このためユーザは、タッチ操作を適切に行ったかを容易に確認できる。 1st-3rd aspect WHEREIN: You may provide the display control means which performs control which displays the said locus | trajectory specified by the said 2nd specification means on a display means. Thus, the user can easily confirm the locus of the touch operation performed on the touch panel by visually recognizing the locus displayed on the display unit. For this reason, the user can easily confirm whether the touch operation has been performed appropriately.

第一〜第三態様において、前記表示制御手段は、前記第一特定手段によって特定された前記変化速度に対応する色の軌跡を、前記表示手段に表示させてもよい。これによってユーザは、タッチ操作の操作速度を、表示部に表示された軌跡の色を視認することで容易に確認できる。 In the first to third aspects , the display control means may cause the display means to display a color locus corresponding to the change speed specified by the first specifying means. Accordingly, the user can easily confirm the operation speed of the touch operation by visually recognizing the color of the locus displayed on the display unit.

プリンタ1の斜視図である。1 is a perspective view of a printer 1. FIG. 表示部5を示す図である。It is a figure which shows the display part. プリンタ1の電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of the printer 1. 処理テーブル4021を示す図である。It is a figure which shows the process table 4021. FIG. タッチパネル6がタッチされる様子を示す図である。It is a figure which shows a mode that the touch panel 6 is touched. タッチパネル6がタッチされる様子を示す図である。It is a figure which shows a mode that the touch panel 6 is touched. メイン処理のフローチャートである。It is a flowchart of a main process.

本発明の一実施形態について、図面を参照して説明する。図1を参照して、テーププリンタ1(以下、単に「プリンタ1」という)の物理的構成について説明する。図1の左下、右上、左上、右下方向は、夫々、プリンタ1の下、上、左、右方向である。プリンタ1にはテープカセット(図示外)が装着される。プリンタ1は、テープカセットから引き出され、搬送されるテープ状の印刷媒体(以下、単に「テープ」という)に対して、テープ幅方向に1列毎にドットを形成することで、印刷を行うことが可能なプリンタである。プリンタ1では、文字、数字、記号等の各種キャラクタの印刷が可能である。   An embodiment of the present invention will be described with reference to the drawings. A physical configuration of a tape printer 1 (hereinafter simply referred to as “printer 1”) will be described with reference to FIG. The lower left, upper right, upper left, and lower right directions in FIG. 1 are the lower, upper, left, and right directions of the printer 1, respectively. A tape cassette (not shown) is attached to the printer 1. The printer 1 performs printing by forming dots for each column in the tape width direction on a tape-like print medium (hereinafter simply referred to as “tape”) that is pulled out from the tape cassette and conveyed. It is a printer that can. The printer 1 can print various characters such as letters, numbers, and symbols.

プリンタ1の表面の下側に、キーボード3が設けられる。キーボード3は、テープに印刷される印刷対象のデータを入力するためのキャラクタキー、確定キー等を含む。キーボード3の上側に、電源キー、印刷キー等を含む機能キー群4が設けられる。以下、機能キー群4とキーボード3とを総称し、「操作部2」ともいう。操作部2に対する操作は、夫々のキーに内蔵されたメカニカルスイッチによって検出される。機能キー群4の上側に、矩形状の表示部5が設けられる。表示部5は、印刷対象のキャラクタ、印刷の様式設定(書体、文字サイズ)等を表示する液晶ディスプレイである。プリンタ1の最上部に、開閉可能なカバー7が設けられる。カバー7は、カセット装着部に装着されたテープカセットを覆う。   A keyboard 3 is provided below the surface of the printer 1. The keyboard 3 includes a character key, a confirmation key, and the like for inputting data to be printed to be printed on the tape. A function key group 4 including a power key, a print key, and the like is provided on the upper side of the keyboard 3. Hereinafter, the function key group 4 and the keyboard 3 are collectively referred to as “operation unit 2”. An operation on the operation unit 2 is detected by a mechanical switch built in each key. A rectangular display unit 5 is provided above the function key group 4. The display unit 5 is a liquid crystal display that displays characters to be printed, printing style settings (typeface, character size), and the like. A cover 7 that can be opened and closed is provided at the top of the printer 1. The cover 7 covers the tape cassette mounted on the cassette mounting unit.

図2に示すように、表示部5には、複数のキャラクタ51、様式設定52、及びテープ長53が表示される。複数のキャラクタ51は、テープに印刷されるキャラクタを示している。複数のキャラクタ51は、2段分表示される場合もある。様式設定52は、書体521及び文字サイズ522を含む。なお図2における文字サイズ522は、テープの幅にあわせて文字サイズが自動的に調整される動作モードであることを示している。テープ長53は、プリンタ1によって印刷されるテープの長さを示す。   As shown in FIG. 2, the display unit 5 displays a plurality of characters 51, a style setting 52, and a tape length 53. The plurality of characters 51 indicate characters printed on the tape. The plurality of characters 51 may be displayed for two levels. The style setting 52 includes a typeface 521 and a character size 522. Note that the character size 522 in FIG. 2 indicates an operation mode in which the character size is automatically adjusted according to the tape width. The tape length 53 indicates the length of the tape printed by the printer 1.

表示部5の表面にタッチパネル6が設けられる。タッチパネル6は抵抗膜方式に基づいて駆動する。タッチパネル6は、図示外の電圧印加部及び電圧検出部を備える。電圧印加部は、タッチパネル6の左右方向及び上下方向の両端に設けられた電極間に電圧を印加する。電圧検出部は、電極間の電圧を検出する。プリンタ1のCPU401(図3参照、後述)は、タッチパネル6に設けられた電圧検出部によって検出された電圧を、タッチパネル6から取得する。CPU401は、取得した電圧に基づき、タッチパネル6に対してタッチされた位置(以下、「タッチ位置」ともいう。)を検出する。なお、タッチパネル6の駆動方式は抵抗膜方式以外に変更できる。   A touch panel 6 is provided on the surface of the display unit 5. The touch panel 6 is driven based on a resistive film method. The touch panel 6 includes a voltage application unit and a voltage detection unit that are not shown. The voltage application unit applies a voltage between electrodes provided at both ends of the touch panel 6 in the left-right direction and the up-down direction. The voltage detector detects a voltage between the electrodes. The CPU 401 (see FIG. 3, described later) of the printer 1 acquires the voltage detected by the voltage detection unit provided on the touch panel 6 from the touch panel 6. The CPU 401 detects a position touched on the touch panel 6 (hereinafter also referred to as “touch position”) based on the acquired voltage. The driving method of the touch panel 6 can be changed to other than the resistive film method.

具体的には次の通りである。CPU401は、タッチパネル6のタッチ位置を示す座標情報を算出することによって、タッチ位置を検出する。座標情報は、タッチパネル6の左右方向をX方向、上下方向とY方向とし、表示部5の左下の頂点を原点とする。CPU401は、タッチパネル6から取得した電圧に基づき、X方向及びY方向の位置を示す座標情報を算出する。   Specifically, it is as follows. The CPU 401 detects the touch position by calculating coordinate information indicating the touch position of the touch panel 6. In the coordinate information, the left-right direction of the touch panel 6 is the X direction, the up-down direction, and the Y direction, and the lower left vertex of the display unit 5 is the origin. The CPU 401 calculates coordinate information indicating the position in the X direction and the Y direction based on the voltage acquired from the touch panel 6.

図3を参照し、プリンタ1の電気的構成について説明する。プリンタ1は、制御基板上に形成される制御回路部400を備えている。制御回路部400は、各機器を制御するCPU401、CPU401にデータバス410を介して接続されたROM402、CGROM403、RAM404、フラッシュメモリ409および入出力インタフェイス411等を含む。   The electrical configuration of the printer 1 will be described with reference to FIG. The printer 1 includes a control circuit unit 400 formed on a control board. The control circuit unit 400 includes a CPU 401 that controls each device, a ROM 402, a CGROM 403, a RAM 404, a flash memory 409, an input / output interface 411, and the like connected to the CPU 401 via a data bus 410.

ROM402には、プリンタ1の制御上必要な各種のプログラム、様式設定及びテープ長の初期値等が記憶されている。CPU401は、各種のプログラムに基づいて各種演算を行う。CGROM403には、各種キャラクタやバーコードを印刷するための印刷用ドットパターンデータが、書体やサイズ毎に分類され、コードデータに対応させて記憶されている。RAM404には、テキストメモリ、設定メモリ、プリントバッファ等、複数の記憶エリアが設けられている。テキストメモリには、キーボード3及びタッチパネル6から入力された印刷対象のキャラクタのデータが格納される。設定メモリには、テキストメモリに記憶されたキャラクタをテープに印刷する場合の様式設定(書体、文字サイズ)及びテープ長が記憶される。プリントバッファには、印刷対象の印刷用ドットパターンが格納される。その他記憶エリアには、各種演算データ等が記憶される。フラッシュメモリ409には、処理テーブル4021(図4参照、後述)、軌跡テーブル(図示外)、及び各種設定値等が記憶されている。   The ROM 402 stores various programs necessary for control of the printer 1, format settings, initial values of tape length, and the like. The CPU 401 performs various calculations based on various programs. In the CGROM 403, printing dot pattern data for printing various characters and bar codes is classified for each typeface and size and stored in correspondence with the code data. The RAM 404 is provided with a plurality of storage areas such as a text memory, a setting memory, and a print buffer. The text memory stores character data to be printed input from the keyboard 3 and the touch panel 6. The setting memory stores the style setting (typeface and character size) and the tape length when the character stored in the text memory is printed on the tape. The print buffer stores a print dot pattern to be printed. In the other storage area, various calculation data and the like are stored. The flash memory 409 stores a processing table 4021 (see FIG. 4, described later), a trajectory table (not shown), various setting values, and the like.

入出力インタフェイス411には、操作部2、タッチパネル6、液晶駆動回路(LCDC)405、駆動回路406、407、408等が接続されている。LCDC405は、表示部5に表示データを出力するためのビデオRAM(図示外)を有し、表示部5に対する表示制御を行う。駆動回路406は、テープに印刷を行うサーマルヘッド10の発熱素子を通電させることによって、テープに印刷を行う。駆動回路407は、テープを送るテープ送りモータ23を駆動する。駆動回路408は、カッタモータ24を駆動して印刷済みのテープを切断する。   The input / output interface 411 is connected to the operation unit 2, the touch panel 6, a liquid crystal driving circuit (LCDC) 405, driving circuits 406, 407, 408, and the like. The LCDC 405 includes a video RAM (not shown) for outputting display data to the display unit 5 and performs display control for the display unit 5. The drive circuit 406 performs printing on the tape by energizing the heating element of the thermal head 10 that performs printing on the tape. The drive circuit 407 drives the tape feed motor 23 that feeds the tape. The drive circuit 408 drives the cutter motor 24 to cut the printed tape.

CPU401は、タッチパネル6のいずれかの位置が継続してタッチされている場合、所定の周期Tでタッチ位置を検出する。このため例えば、ユーザがタッチパネル6のうちいずれかの位置に指21をタッチさせた状態で、指21を移動させた場合、CPU401は、周期Tで周期的にタッチ位置を検出することによって、複数のタッチ位置を検出する。CPU401は、複数のタッチ位置の時間変化に基づいて、複数のタッチ位置を経由する線分の形状を特定する。CPU401は、特定した線分の形状を軌跡テーブルに適用する。軌跡テーブルには、複数の線分の形状の夫々に、タッチ位置の軌跡が対応付けて記憶されている。CPU401は、軌跡テーブルを適用することによって、特定した線分の形状から、タッチ位置の軌跡を特定できる。   When any position on the touch panel 6 is continuously touched, the CPU 401 detects the touch position at a predetermined period T. Therefore, for example, when the user moves the finger 21 in a state where the user has touched the finger 21 at any position on the touch panel 6, the CPU 401 periodically detects the touch position at the period T, thereby detecting a plurality of touch positions. The touch position of is detected. The CPU 401 specifies the shape of the line segment that passes through the plurality of touch positions based on the time change of the plurality of touch positions. The CPU 401 applies the specified line segment shape to the trajectory table. In the trajectory table, the trajectory of the touch position is stored in association with each of the shapes of the plurality of line segments. The CPU 401 can identify the locus of the touch position from the shape of the identified line segment by applying the locus table.

またCPU401は、連続する二つのタッチ位置の間の距離Dと周期Tとに基づいて、タッチ位置が変化する速さ(以下、「変化速度」という。)V(=D/T)を指21の移動速度として特定できる。   Further, the CPU 401 sets the speed (hereinafter referred to as “change speed”) V (= D / T) at which the touch position changes based on the distance D between the two consecutive touch positions and the period T to the finger 21. It can be specified as the moving speed.

ユーザは、プリンタ1によるテープへの印刷に関連する処理、例えば、複数のキャラクタ51の編集、様式設定52の変更、各種動作設定、複数のキャラクタ51の印刷等の実行指示を、タッチパネル6に対して所定のタッチ操作を行うことでプリンタ1に入力できる。以下、様式設定52及びテープ長53に基づいて複数のキャラクタ51をテープに印刷する指示を、タッチパネル6に対して所定のタッチ操作を行うことでユーザがプリンタ1に入力する場合を例に挙げて、具体的に説明する。   The user instructs the touch panel 6 to execute processing related to printing on the tape by the printer 1, for example, editing a plurality of characters 51, changing style settings 52, various operation settings, printing a plurality of characters 51, and the like. The user can input to the printer 1 by performing a predetermined touch operation. Hereinafter, a case where the user inputs an instruction to print a plurality of characters 51 on a tape based on the style setting 52 and the tape length 53 to the printer 1 by performing a predetermined touch operation on the touch panel 6 will be described as an example. This will be described in detail.

複数のキャラクタ51の印刷指示をプリンタ1に入力する場合、ユーザは、タッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させる(矢印71(図2参照))。CPU401は複数のタッチ位置を検出する。CPU401は、複数のタッチ位置の時間変化に基づき、軌跡テーブルを適用することによって、タッチ位置の軌跡を「左スライド」として特定する。同時にCPU401は、連続する二つのタッチ位置間の距離と所定の周期とに基づいて、タッチ位置の変化速度を、連続する二つタッチ位置毎に特定する。CPU401は、特定した変化速度と所定の変化速度とを比較し、特定した変化速度が所定の閾値以上である場合に、変化速度が「高速」であると判断し、特定した変化速度が所定の閾値未満である場合に、変化速度が「低速」であると判断する。   When inputting print instructions for a plurality of characters 51 to the printer 1, the user moves the finger 21 touched from the vicinity of the right end toward the vicinity of the left end while the finger 21 is touching the vicinity of the right end of the touch panel 6 ( Arrow 71 (see FIG. 2)). The CPU 401 detects a plurality of touch positions. The CPU 401 specifies the trajectory of the touch position as “left slide” by applying a trajectory table based on the temporal change of the plurality of touch positions. At the same time, the CPU 401 specifies the change speed of the touch position for each two consecutive touch positions based on the distance between the two consecutive touch positions and a predetermined cycle. The CPU 401 compares the specified change speed with a predetermined change speed, and determines that the change speed is “high speed” when the specified change speed is equal to or greater than a predetermined threshold. When it is less than the threshold value, it is determined that the change speed is “low speed”.

CPU401は、特定したタッチ位置の軌跡、及び、連続する二つのタッチ位置毎に特定した変化速度のうち最後に特定した変化速度を、フラッシュメモリ409に記憶された処理テーブル4021(図4参照)に適用することによって、タッチ操作によって指示された処理内容を決定する。処理内容は、プリンタ1によるテープへの印刷に関連する処理の具体的な内容である。処理内容としては、例えば、複数のキャラクタ51を編集する場合における特定のキャラクタの選択処理、変更する様式設定52の選択処理及び変更処理、各種動作設定を行うためにメニュー画面を表示部5に表示する処理、各種印刷方法(通常印刷、コピー印刷、連番印刷、ミラー印刷等)に基づいて複数のキャラクタ51を印刷する処理等が挙げられる。これらのうちコピー印刷は、同じラベルを複数枚印刷することを示す。また連番印刷は、複数のキャラクタ51に含まれる数字やアルファベット部分を、指定した枚数分だけ順番に変更させて印刷することを示す。またミラー印刷は、複数のキャラクタ51を反転させて印刷することを示す。   The CPU 401 stores, in the processing table 4021 (see FIG. 4) stored in the flash memory 409, the locus of the specified touch position and the change speed specified last among the change speeds specified for two consecutive touch positions. By applying, the processing content instructed by the touch operation is determined. The processing content is specific content of processing related to printing on the tape by the printer 1. As processing contents, for example, a menu screen is displayed on the display unit 5 in order to perform selection processing of a specific character when editing a plurality of characters 51, selection processing and changing processing of a style setting 52 to be changed, and various operation settings. And a process of printing a plurality of characters 51 based on various printing methods (normal printing, copy printing, serial number printing, mirror printing, etc.). Among these, copy printing indicates that a plurality of the same labels are printed. The serial number printing indicates that the numbers and alphabets included in the plurality of characters 51 are changed in order by the designated number and printed. Mirror printing indicates that a plurality of characters 51 are reversed and printed.

図4を参照し、処理テーブル4021について説明する。処理テーブル4021には、タッチ位置の軌跡を示す情報、タッチ位置の変化速度を示す情報、及び処理内容を示す情報が対応付けて記憶されている。例えば処理テーブル4021には、タッチ位置の軌跡「左スライド」、変化速度「高速」、処理内容「通常印刷」が対応付けられたレコード41が記憶されている。また、タッチ位置の軌跡「左スライド」、変化速度「低速」、処理内容「通常印刷」が対応付けられたレコード42が記憶されている。また、タッチ位置の軌跡「左スライド+上スライド」、変化速度「高速」、処理内容「通常印刷」が対応付けられたレコード43が記憶されている。また、タッチ位置の軌跡「左スライド+上スライド」、変化速度「低速」、処理内容「コピー印刷」が対応付けられたレコード44が記憶されている。また、タッチ位置の軌跡「左スライド+下スライド」、変化速度「高速」、処理内容「通常印刷」が対応付けられたレコード45が記憶されている。また、タッチ位置の軌跡「左スライド+下スライド」、変化速度「低速」、処理内容「連番印刷」が対応付けられたレコード46が記憶されている。   The processing table 4021 will be described with reference to FIG. The processing table 4021 stores information indicating the locus of the touch position, information indicating the change speed of the touch position, and information indicating the processing content in association with each other. For example, the processing table 4021 stores a record 41 in which the locus of the touch position “left slide”, the change speed “high speed”, and the processing content “normal printing” are associated. Further, a record 42 in which the locus of the touch position “left slide”, the change speed “low speed”, and the processing content “normal printing” are associated is stored. Further, a record 43 in which the locus of the touch position “left slide + upper slide”, the change speed “high speed”, and the processing content “normal printing” are associated is stored. Further, a record 44 in which the locus of the touch position “left slide + upward slide”, the change speed “low speed”, and the processing content “copy printing” are associated is stored. Further, a record 45 is stored in which the locus of the touch position “left slide + down slide”, the change speed “high speed”, and the processing content “normal printing” are associated. Further, a record 46 is stored in which the locus of the touch position “left slide + down slide”, the change speed “low speed”, and the processing content “serial number printing” are associated.

上述においてCPU401は、タッチ位置の軌跡として「左スライド」を特定しているので、タッチ位置の変化速度「高速」「低速」に依らず、処理内容として「通常印刷」を決定する(レコード41、42参照)。このようにしてCPU401は、タッチ操作「左スライド」に対応する処理内容「通常印刷」を、処理テーブル4021に基づいて決定することによって、ユーザが所望する「通常印刷」を実行できる。   In the above description, since the CPU 401 specifies “left slide” as the locus of the touch position, “normal printing” is determined as the processing content regardless of the change speed “high speed” and “low speed” of the touch position (record 41, record 41, 42). In this manner, the CPU 401 can execute “normal printing” desired by the user by determining the processing content “normal printing” corresponding to the touch operation “left slide” based on the processing table 4021.

一方、例えば図5に示すように、ユーザがタッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させ、次いで、左端付近で指21を上側に移動させた場合(矢印72)を例に挙げる。CPU401は複数のタッチ位置を検出し、複数のタッチ位置の時間変化に基づき、軌跡テーブルを適用することによって、タッチ位置の軌跡を「左スライド+上スライド」として特定する。同時にCPU401は、連続する二つのタッチ位置のうち最後の二つのタッチ位置の間の距離と所定の周期とに基づいて、タッチ位置の変化速度を特定する。   On the other hand, for example, as shown in FIG. 5, in a state where the user touches the finger 21 near the right end of the touch panel 6, the touched finger 21 is moved from the vicinity of the right end toward the vicinity of the left end, and then the finger is moved near the left end. The case where 21 is moved upward (arrow 72) is taken as an example. The CPU 401 detects a plurality of touch positions, and specifies a trajectory of the touch position as “left slide + upper slide” by applying a trajectory table based on a temporal change of the plurality of touch positions. At the same time, the CPU 401 specifies the change speed of the touch position based on the distance between the last two touch positions of the two consecutive touch positions and a predetermined cycle.

CPU401は、特定したタッチ位置の軌跡及び変化速度を、フラッシュメモリ409に記憶された処理テーブル4021に適用することによって、タッチ操作によって指示された処理内容を決定する。処理テーブル4021では、タッチ位置の軌跡「左スライド+上スライド」、及び変化速度「高速」に「通常印刷」が対応付けられ、タッチ位置の軌跡「左スライド+上スライド」、及び変化速度「低速」に「コピー印刷」が対応付けられている。従って上述のように、タッチ位置の軌跡として「左スライド+上スライド」が特定された場合、CPU401は、タッチ位置の変化速度に応じて、「通常印刷」又は「コピー印刷」を決定することになる。   The CPU 401 determines the processing content instructed by the touch operation by applying the specified touch position trajectory and change speed to the processing table 4021 stored in the flash memory 409. In the processing table 4021, “normal printing” is associated with the touch position locus “left slide + upward slide” and the change speed “high speed”, the touch position locus “left slide + upside slide”, and the change speed “low speed”. Is associated with “copy printing”. Therefore, as described above, when “left slide + upward slide” is specified as the locus of the touch position, the CPU 401 determines “normal printing” or “copy printing” according to the change speed of the touch position. Become.

他方、例えば図6に示すように、ユーザがタッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させ、次いで、左端付近で指21を下側に移動させた場合(矢印73)を例に挙げる。CPU401は、タッチ位置の軌跡を「左スライド+下スライド」として特定し、同時にタッチ位置の変化速度を特定する。処理テーブル4021では、タッチ位置の軌跡「左スライド+下スライド」、及び変化速度「高速」に「通常印刷」が対応付けられ、タッチ位置の軌跡「左スライド+下スライド」、及び変化速度「低速」に「連番印刷」が対応付けられている。従ってCPU401は、タッチ位置の変化速度に応じて、「通常印刷」又は「連番印刷」を決定することになる。   On the other hand, for example, as shown in FIG. 6, in a state where the user touches the finger 21 near the right end of the touch panel 6, the finger 21 touched is moved from the right end toward the left end, and then the finger is moved near the left end. Take 21 as an example (arrow 73). The CPU 401 specifies the locus of the touch position as “left slide + down slide”, and simultaneously specifies the change speed of the touch position. In the processing table 4021, “normal printing” is associated with the touch position locus “left slide + down slide” and the change speed “high speed”, the touch position locus “left slide + down slide”, and the change speed “low speed”. "Sequential number printing". Therefore, the CPU 401 determines “normal printing” or “serial number printing” according to the change speed of the touch position.

従ってユーザは、タッチパネル6の右端近傍から左端近傍に向けて、タッチさせた指21を移動させるタッチ操作を低速で行うことによって、複数のキャラクタ51の通常印刷をプリンタ1に指示することができる。またユーザは、タッチパネル6の右端近傍から左端近傍に向けて、タッチさせた指21を移動させ、次いで、左端付近で指21を上側に移動させるタッチ操作を低速で行うことによって、複数のキャラクタのコピー印刷をプリンタ1に指示することができる。またユーザは、タッチパネル6の右端近傍から左端近傍に向けて、タッチさせた指21を移動させ、次いで、左端付近で指21を下側に移動させるタッチ操作を低速で行うことによって、複数のキャラクタの連番印刷をプリンタ1に指示することができる。このようにユーザはタッチパネル6に対するタッチ操作の方法を変更することによって、プリンタ1に複数の処理を実行させることが可能となる。   Accordingly, the user can instruct the printer 1 to perform normal printing of the plurality of characters 51 by performing a touch operation for moving the touched finger 21 from the vicinity of the right end to the vicinity of the left end of the touch panel 6 at a low speed. Further, the user moves the finger 21 touched from the vicinity of the right end of the touch panel 6 toward the vicinity of the left end, and then performs a touch operation of moving the finger 21 upward near the left end at a low speed. Copy printing can be instructed to the printer 1. In addition, the user moves the finger 21 touched from the vicinity of the right end of the touch panel 6 toward the vicinity of the left end, and then performs a touch operation for moving the finger 21 downward near the left end at a low speed, thereby performing a plurality of characters. Can be instructed to the printer 1. In this manner, the user can cause the printer 1 to execute a plurality of processes by changing the touch operation method on the touch panel 6.

なお上述のように、タッチ位置の変化速度に応じて異なる処理内容が決定される理由は次の通りである。例えばユーザが、タッチパネル6の右端近傍にタッチさせた指21を左端近傍に向けて高速に移動させるタッチ操作(「左スライド」)を行う場合、無意識に、タッチ操作後の指21の位置が上側又は下側に僅かに移動する場合がある。この場合、ユーザは意図的に指21を上側又は下側に移動させていなくても、CPU401は、タッチ位置の軌跡を、「左スライド+上スライド」又は「左スライド+下スライド」として特定する。この場合、ユーザが「通常印刷」を所望している場合でも、印刷装置は「コピー印刷」又は「連番印刷」を実行してしまう。   As described above, the reason why different processing contents are determined according to the change speed of the touch position is as follows. For example, when the user performs a touch operation (“left slide”) in which the finger 21 touched near the right end of the touch panel 6 is moved toward the left end at high speed (“left slide”), the position of the finger 21 after the touch operation is unconsciously moved upward. Or, it may move slightly downward. In this case, even if the user does not intentionally move the finger 21 upward or downward, the CPU 401 specifies the locus of the touch position as “left slide + upper slide” or “left slide + down slide”. . In this case, even when the user desires “normal printing”, the printing apparatus executes “copy printing” or “serial number printing”.

これに対して、処理テーブル4021には、複数の軌跡「左スライド」「上スライド」の組み合わせ(「左スライド+上スライド」)を含むレコード43、44、及び、複数の軌跡「左スライド」「下スライド」の組み合わせ(「左スライド+下スライド」)を含むレコード45、46が記憶されている。レコード43、44の軌跡とレコード45、46の軌跡とは、「左スライド」が共通する。また、共通する軌跡「左スライド」のみを有するレコード41、42には、処理内容「通常印刷」が対応付けられる。また、変化速度「高速」を含むレコード43(軌跡:「左スライド+上スライド」)、45(軌跡:「左スライド+下スライド」)には、レコード41、42(軌跡:「左スライド」)と同一の処理内容「通常印刷」が対応付けられる。一方、変化速度「低速」を含むレコード44(軌跡:「左スライド+上スライド」)、46(軌跡:「左スライド+下スライド」)には、それぞれ異なる処理内容「コピー印刷」又は「連番印刷」が対応付けられる。   In contrast, the processing table 4021 includes records 43 and 44 including a combination of a plurality of trajectories “left slide” and “upper slide” (“left slide + upper slide”), and a plurality of trajectories “left slide” “ Records 45 and 46 including a combination of “down slide” (“left slide + down slide”) are stored. The trajectory of the records 43 and 44 and the trajectory of the records 45 and 46 are “slide left”. Further, the processing content “normal printing” is associated with the records 41 and 42 having only the common locus “left slide”. Further, records 41 and 42 (trajectory: “left slide”) are included in records 43 (trajectory: “left slide + upper slide”) and 45 (trajectory: “left slide + lower slide”) including the change speed “high speed”. Are associated with the same processing content “normal printing”. On the other hand, the records 44 (trajectory: “left slide + upper slide”) and 46 (trajectory: “left slide + down slide”) including the change speed “low speed” have different processing contents “copy printing” or “serial number”, respectively. “Print” is associated.

処理テーブル4021では、タッチ位置の軌跡「左スライド」が共通するレコード41〜46のうち、タッチ位置の変化速度が「高速」であるレコード41、43、45には、共通する処理内容として「通常印刷」が対応付けられる。このため、指21を右端近傍から左端近傍に移動させるタッチ操作(「左スライド」)に加え、指21を上側(上スライド)又は下側(下スライド)に移動させるタッチ操作が高速に行われた場合、処理テーブル4021を参照することによって、CPU401は、指21を右端近傍から左端近傍に移動させるタッチ操作(「左スライド」)のみが行われた場合と同様の処理内容である「通常印刷」を決定し、処理を実行する。   In the processing table 4021, among the records 41 to 46 that share the touch position locus “left slide”, the records 41, 43, and 45 whose touch position change speed is “high speed” include “normal” “Print” is associated. For this reason, in addition to the touch operation for moving the finger 21 from the vicinity of the right end to the vicinity of the left end (“left slide”), the touch operation for moving the finger 21 upward (up slide) or down (down slide) is performed at high speed. In this case, by referring to the processing table 4021, the CPU 401 performs “normal printing”, which is the same processing content as when the touch operation (“left slide”) for moving the finger 21 from the vicinity of the right end to the vicinity of the left end is performed. "Is determined and the process is executed.

一方、処理テーブル4021では、タッチ位置の軌跡「左スライド」が共通するレコード41〜46のうち、タッチ位置の変化速度が「低速」であるレコード42、44、46には、別々の処理内容「通常印刷」「コピー印刷」又は「連番印刷」が対応付けられる。こため、指21を右端近傍から左端近傍に移動させるタッチ操作(「左スライド」)が低速に行われた場合や、このタッチ操作に加えて、指21を上側(上スライド)又は下側(下スライド)に移動させるタッチ操作が低速に行われた場合、処理テーブル4021を参照することによって、CPU401は、夫々別々の処理内容「通常印刷」「コピー印刷」「連番印刷」を決定し、処理を実行する。   On the other hand, in the processing table 4021, among the records 41 to 46 having the same touch position locus “left slide”, the records 42, 44, and 46 whose touch position change speed is “low speed” include different processing contents “ “Normal printing”, “copy printing”, or “serial number printing” is associated. For this reason, when the touch operation ("left slide") for moving the finger 21 from the vicinity of the right end to the vicinity of the left end is performed at a low speed, or in addition to this touch operation, the finger 21 is moved upward (upper slide) or lower ( When the touch operation to move to the lower slide is performed at a low speed, the CPU 401 determines different processing contents “normal printing”, “copy printing”, and “serial number printing” by referring to the processing table 4021, and Execute the process.

以上のように、処理テーブル4021では、異なるタッチ位置の軌跡「左スライド」「左スライド+上スライド」「左スライド+下スライド」の夫々に対応する変化速度が「高速」である場合、同一の処理内容「通常印刷」が夫々に対応付けられる(レコード41、43、45)。また、対応付けられる処理内容「通常印刷」は、異なるタッチ位置の軌跡「左スライド+上スライド」「左スライド+下スライド」の両方に共通する軌跡「左スライド」のみに対応付けられている処理内容「通常印刷」と同一である。このためCPU401は、タッチ操作が高速で行われることによってタッチ操作が微妙に変化し(即ち、上側又は下側にタッチ位置が移動し)、異なるタッチ操作が行われたと認識した場合でも、変化前のタッチ操作(即ち、左スライド)に基づいて処理内容を決定し、処理を実行できる。従ってプリンタ1は、タッチ操作が速い速度で行われた場合の微妙な変化の影響を排除し、ユーザが所望する処理内容を適切に判断して実行できる。   As described above, in the processing table 4021, when the change speeds corresponding to the trajectories “left slide”, “left slide + upper slide”, and “left slide + lower slide” of different touch positions are “high speed”, the same. The processing contents “normal printing” are associated with each other (records 41, 43, 45). Further, the process content “normal printing” to be associated is a process associated with only the locus “left slide” common to both the locus “left slide + upper slide” and “left slide + lower slide” of different touch positions. The content is the same as “normal printing”. For this reason, even when the CPU 401 recognizes that the touch operation is changed at a high speed (ie, the touch position is moved upward or downward) and a different touch operation is performed, The processing content can be determined based on the touch operation (that is, the left slide) and the processing can be executed. Therefore, the printer 1 can eliminate the influence of subtle changes when the touch operation is performed at a high speed, and can appropriately determine the processing content desired by the user and execute it.

一方、処理テーブル4021では、異なるタッチ位置の軌跡「左スライド」「左スライド+上スライド」「左スライド+下スライド」の夫々に対応する変化速度が「低速」である場合、異なる処理内容「通常印刷」「コピー印刷」「連番印刷」が夫々に対応付けられる(レコード42、44、46)。このためプリンタ1は、タッチ操作の速度が遅い場合に、多様な処理内容を切り替えて実行できる。   On the other hand, in the processing table 4021, when the change speed corresponding to each of the trajectories “left slide”, “left slide + upward slide”, and “left slide + downward slide” of different touch positions is “low speed”, different processing contents “normal” "Print", "Copy print", and "Serial number print" are associated with each other (records 42, 44, 46). Therefore, the printer 1 can switch and execute various processing contents when the speed of the touch operation is slow.

なお、処理テーブル4021に記憶される情報は一例であり、別の情報が処理テーブル4021に記憶されてもよい。例えば、3種類以上の軌跡の組み合わせを含むレコードが記憶されていてもよい。   Note that the information stored in the processing table 4021 is an example, and other information may be stored in the processing table 4021. For example, a record including a combination of three or more types of trajectories may be stored.

図7を参照し、プリンタ1のCPU401が実行するメイン処理について説明する。CPU401は、ROM402に記憶されたプログラムを実行することによって、メイン処理を実行する。CPU401は、プリンタ1の電源キーが押下された場合に、メイン処理を開始する。   A main process executed by the CPU 401 of the printer 1 will be described with reference to FIG. The CPU 401 executes a main process by executing a program stored in the ROM 402. The CPU 401 starts main processing when the power key of the printer 1 is pressed.

図7に示すように、CPU401は、RAM404に記憶された変数Xに0を記憶することによって、変数Xを初期化する(S11)。変数Xは、タッチ位置として検出する座標情報の数を示す。CPU401は、タッチパネル6に設けられた電圧検出部によって検出された電圧を取得する。CPU401は、タッチパネル6から取得した電圧に基づき、タッチパネル6のいずれかの位置がタッチされたか判断する(S13)。タッチパネル6のうちいずれかの位置がタッチされた場合(S13:YES)、CPU401は、タッチパネル6から取得した電圧に基づき座標情報を算出することによって、タッチ位置を検出する(S15)。   As shown in FIG. 7, the CPU 401 initializes the variable X by storing 0 in the variable X stored in the RAM 404 (S11). A variable X indicates the number of coordinate information detected as a touch position. The CPU 401 acquires the voltage detected by the voltage detection unit provided on the touch panel 6. Based on the voltage acquired from the touch panel 6, the CPU 401 determines whether any position on the touch panel 6 has been touched (S13). When any position on the touch panel 6 is touched (S13: YES), the CPU 401 detects the touch position by calculating coordinate information based on the voltage acquired from the touch panel 6 (S15).

CPU401は、S15でタッチ位置を検出した時刻を取得する(S17)。なお時刻は、制御基板上に形成された制御回路部400に含まれる図示外のReal Time Clock(RTC)デバイスから取得される。なお上述したように、CPU401は、タッチパネル6のいずれかの位置が継続してタッチされている場合、所定の周期Tでタッチ位置を検出する。このためCPU401は、タッチ位置を連続して複数回検出する場合には、前回タッチ位置を検出した時刻に周期Tを加算することによって、今回タッチ位置を検出した時刻を算出してもよい。CPU401は、S15で検出したタッチ位置を示す座標情報と、S17で取得した時刻を示す情報とを対応付け、RAM404に記憶する(S19)。CPU401は、変数Xに1を加算することによって、変数Xを更新する(S21)。処理はS23に進む。   CPU401 acquires the time which detected the touch position by S15 (S17). The time is acquired from a real time clock (RTC) device (not shown) included in the control circuit unit 400 formed on the control board. As described above, the CPU 401 detects the touch position at a predetermined cycle T when any position on the touch panel 6 is continuously touched. Therefore, when the CPU 401 detects the touch position continuously a plurality of times, the CPU 401 may calculate the time when the current touch position is detected by adding the period T to the time when the previous touch position is detected. The CPU 401 associates the coordinate information indicating the touch position detected in S15 with the information indicating the time acquired in S17 and stores it in the RAM 404 (S19). The CPU 401 updates the variable X by adding 1 to the variable X (S21). The process proceeds to S23.

CPU401は、変数Xが2以上であるか判断する(S23)。S15の処理でタッチ位置が1回のみ検出されている場合、変数Xは1以下となるので(S23:NO)、処理はS13に戻る。一方、複数回検出されている場合、変数Xは2以上となるので(S23:YES)、処理はS25に進む。   The CPU 401 determines whether the variable X is 2 or more (S23). When the touch position is detected only once in the process of S15, the variable X is 1 or less (S23: NO), so the process returns to S13. On the other hand, if it is detected a plurality of times, the variable X is 2 or more (S23: YES), so the process proceeds to S25.

CPU401は、S15で前回検出されたタッチ位置と、S15で今回検出されたタッチ位置との間の距離を算出する。CPU401は、S19でRAM404に記憶された情報のうち、前回検出されたタッチ位置を示す座標情報に対応付けられている時刻を示す情報と、今回検出されたタッチ位置を示す座標情報に対応付けられている時刻を示す情報とに基づき、双方の時刻の差分を算出する。なおCPU401は、周期Tで周期的にタッチ位置を検出しているので、算出される差分はTとなる。CPU401は、タッチ位置間の距離を差分Tで除算することによって、タッチ位置が変化する速度(変化速度)Vを算出する(S25)。   The CPU 401 calculates the distance between the touch position detected last time in S15 and the touch position detected this time in S15. The CPU 401 associates the information stored in the RAM 404 in S19 with information indicating the time associated with the coordinate information indicating the previously detected touch position and the coordinate information indicating the touch position detected this time. The difference between both times is calculated based on the information indicating the current time. Since the CPU 401 periodically detects the touch position at the period T, the calculated difference is T. The CPU 401 calculates a speed (change speed) V at which the touch position changes by dividing the distance between the touch positions by the difference T (S25).

CPU401は、S25で算出した変化速度Vが所定の閾値以上であるか判断する(S27)。算出した変化速度Vが所定の閾値以上である場合(S27:YES)、CPU401は、処理テーブル4021を適用する場合の変化速度を「高速」に特定する(S29)。特定された変化速度「高速」を示す情報は、RAM404に記憶される。処理はS33に進む。一方、算出した変化速度Vが所定の閾値未満である場合(S27:NO)、CPU401は、処理テーブル4021を適用する場合の変化速度を「低速」に特定する(S31)。特定された変化速度「低速」を示す情報は、RAM404に記憶される。処理はS33に進む。   The CPU 401 determines whether or not the change speed V calculated in S25 is equal to or greater than a predetermined threshold (S27). When the calculated change speed V is equal to or greater than the predetermined threshold (S27: YES), the CPU 401 specifies “high speed” as the change speed when the processing table 4021 is applied (S29). Information indicating the specified change speed “high speed” is stored in the RAM 404. The process proceeds to S33. On the other hand, when the calculated change speed V is less than the predetermined threshold (S27: NO), the CPU 401 specifies “low speed” as the change speed when applying the processing table 4021 (S31). Information indicating the specified change speed “low speed” is stored in the RAM 404. The process proceeds to S33.

CPU401は、表示部5のうち、S15で前回検出されたタッチ位置と今回検出されたタッチ位置との間に相当する位置に、双方のタッチ位置を結ぶ線画を表示することによって、タッチ位置の軌跡の一部を表示部5に表示する(S33)。なお、S33で前回表示部5に線画が表示されている場合、その線画は継続して表示部5に表示される。この場合、CPU401は、既に表示された状態の線画の端部に、新たに線画を追加して表示することになる。またCPU401は、表示された線画のうちS15で今回検出されたタッチ位置側の端部にアローヘッドを表示する。これによって、表示部5のうちタッチ位置の軌跡上に矢印が表示された状態になる。   The CPU 401 displays a line drawing connecting the two touch positions at a position corresponding to the touch position detected last time in S15 and the touch position detected this time in the display unit 5, thereby tracking the touch position. Is displayed on the display unit 5 (S33). If a line drawing was previously displayed on the display unit 5 in S33, the line drawing is continuously displayed on the display unit 5. In this case, the CPU 401 adds and displays a new line drawing at the end of the line drawing already displayed. Further, the CPU 401 displays an arrow head at the end on the touch position side detected in S15 in the displayed line drawing. As a result, an arrow is displayed on the locus of the touch position in the display unit 5.

例えば、タッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させるタッチ操作が行われた場合、図2に示すように、表示部5の右端近傍から左端近傍に向けて延びる矢印61が表示される。また例えば、タッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させ、次いで、左端付近で指21を上側に移動させるタッチ操作が行われた場合、図5に示すように、表示部5の右端近傍から左端近傍に向けて延び、左端で上方に曲折して上方に延びる矢印62が表示される。また例えば、タッチパネル6の右端近傍に指21をタッチさせた状態で、右端近傍から左端近傍に向けてタッチさせた指21を移動させ、次いで、左端付近で指21を下側に移動させるタッチ操作が行われた場合、図6に示すように、表示部5の右端近傍から左端近傍に向けて延び、左端で下方に曲折して下方に延びる矢印63が表示される。   For example, in a state where the finger 21 is touched near the right end of the touch panel 6 and a touch operation is performed to move the finger 21 touched from the vicinity of the right end toward the vicinity of the left end, as shown in FIG. An arrow 61 extending from the vicinity of the right end of 5 toward the vicinity of the left end is displayed. Further, for example, in a state where the finger 21 is touched in the vicinity of the right end of the touch panel 6, the touch operation of moving the finger 21 touched from the vicinity of the right end toward the vicinity of the left end and then moving the finger 21 upward in the vicinity of the left end is performed. When this is done, as shown in FIG. 5, an arrow 62 is displayed that extends from the vicinity of the right end of the display unit 5 toward the vicinity of the left end, bends upward at the left end, and extends upward. Further, for example, in a state where the finger 21 is touched near the right end of the touch panel 6, the touched finger 21 is moved from the vicinity of the right end toward the left end, and then the finger 21 is moved downward near the left end. 6, as shown in FIG. 6, an arrow 63 is displayed which extends from the vicinity of the right end of the display unit 5 toward the vicinity of the left end, bends downward at the left end, and extends downward.

CPU401は、表示部5に表示された状態の矢印の色を、必要に応じて変更する(S35)。具体的には次の通りである。CPU401は、S29又はS31で最後に特定された変化速度(「高速」又は「低速」のいずれか)を、RAM404から取得する。CPU401は、取得した変化速度が「高速」である場合、矢印の色を赤色に決定する。CPU401は、表示部5に表示された状態の矢印が赤色以外(白色)である場合、矢印の色を赤色に変更する(例えば矢印63(図6参照))。一方、CPU401は、取得した変化速度が「低速」である場合、矢印の色を白色に決定する。CPU401は、表示部5に表示された状態の矢印が白色以外(赤色)である場合、矢印の色を白色に変更する(例えば矢印61(図2参照)、62(図5参照))。   CPU401 changes the color of the arrow of the state displayed on the display part 5 as needed (S35). Specifically, it is as follows. The CPU 401 acquires from the RAM 404 the change speed (either “high speed” or “low speed”) last specified in S29 or S31. When the acquired change speed is “high speed”, the CPU 401 determines the color of the arrow to be red. When the arrow in the state displayed on the display unit 5 is other than red (white), the CPU 401 changes the color of the arrow to red (for example, the arrow 63 (see FIG. 6)). On the other hand, if the obtained change speed is “low speed”, the CPU 401 determines the color of the arrow to be white. When the arrow in the state displayed on the display unit 5 is other than white (red), the CPU 401 changes the color of the arrow to white (for example, arrows 61 (see FIG. 2) and 62 (see FIG. 5)).

CPU401は、一連のタッチ操作が継続している間、S13〜S35の処理を繰り返す。一連のタッチ操作が完了し、タッチパネル6のいずれかの位置もタッチされない状態になったとする。CPU401は、タッチパネル6がタッチされない状態となった場合(S13:NO)、変数Xが2以上であるか判断する(S41)。S15の処理でタッチ位置が1回のみ検出されている場合、変数Xは1以下となる(S41:NO)。この場合、CPU401はタッチ位置の軌跡を特定することができないので、処理はS13に戻る。   The CPU 401 repeats the processes of S13 to S35 while a series of touch operations continues. It is assumed that a series of touch operations are completed and any position on the touch panel 6 is not touched. When the touch panel 6 is not touched (S13: NO), the CPU 401 determines whether the variable X is 2 or more (S41). When the touch position is detected only once in the process of S15, the variable X is 1 or less (S41: NO). In this case, since the CPU 401 cannot specify the locus of the touch position, the process returns to S13.

一方、S15の処理でタッチ位置が複数回検出されている場合、変数Xは2以上となるので(S41:YES)、CPU401はタッチ位置の軌跡を特定することができる。CPU401は、S19でRAM404に記憶された情報に基づいて特定される複数のタッチ位置を経由する線分の形状を特定する。CPU401は、特定した線分の形状を軌跡テーブルに適用することによって、タッチ位置の軌跡を特定する(S43)。   On the other hand, when the touch position is detected a plurality of times in the process of S15, the variable X is 2 or more (S41: YES), so the CPU 401 can specify the locus of the touch position. The CPU 401 specifies the shape of the line segment that passes through the plurality of touch positions specified based on the information stored in the RAM 404 in S19. The CPU 401 identifies the locus of the touch position by applying the identified line segment shape to the locus table (S43).

CPU401は、S29又はS31で最後に特定された変化速度(「高速」又は「低速」のいずれか)を、RAM404から取得する。CPU401は、RAM404から取得した変化速度と、S43で特定したタッチ位置の軌跡とを処理テーブル4021(図4参照)に適用することによって、処理内容を決定する(S45)。CPU401は、特定した処理内容に基づいて処理を実行する(S47)。例えば、表示部5の表示制御に関する処理内容が特定された場合、CPU401は、LCDC405を制御して表示部5に画像を表示させる。また例えば、印刷制御に関する処理内容が特定された場合、CPU401は、駆動回路406、407、408を制御してサーマルヘッド10、テープ送りモータ23、及びカッタモータ24を駆動させ、ラベルに対する印刷を行う。処理はS11に戻る。   The CPU 401 acquires from the RAM 404 the change speed (either “high speed” or “low speed”) last specified in S29 or S31. The CPU 401 determines the processing content by applying the change speed acquired from the RAM 404 and the locus of the touch position specified in S43 to the processing table 4021 (see FIG. 4) (S45). The CPU 401 executes processing based on the specified processing content (S47). For example, when the processing content related to the display control of the display unit 5 is specified, the CPU 401 controls the LCDC 405 to display an image on the display unit 5. Further, for example, when the processing content related to print control is specified, the CPU 401 controls the drive circuits 406, 407, and 408 to drive the thermal head 10, the tape feed motor 23, and the cutter motor 24, and performs printing on the label. . The process returns to S11.

以上説明したように、プリンタ1のCPU401は、タッチ位置の軌跡及び変化速度を特定し、処理テーブル4021を適用することによって、対応する処理内容を決定する。通常、ユーザによるタッチ操作の操作速度が速い場合、タッチ操作は微妙に変化しやすい。これに対してCPU401は、タッチ位置の変化速度に応じた適切な処理内容を、タッチ位置の軌跡に対応付けて処理テーブル4021に記憶しておく。これによってCPU401は、速いタッチ操作が行われることによってタッチ操作が微妙に変化した場合でも、ユーザが所望する処理内容を特定して実行することが可能となる。   As described above, the CPU 401 of the printer 1 identifies the touch position locus and the change speed, and determines the corresponding processing content by applying the processing table 4021. Usually, when the operation speed of the touch operation by the user is fast, the touch operation is likely to change slightly. On the other hand, the CPU 401 stores appropriate processing contents corresponding to the change speed of the touch position in the processing table 4021 in association with the locus of the touch position. As a result, the CPU 401 can specify and execute the processing content desired by the user even when the touch operation changes slightly due to a fast touch operation.

またCPU401は、タッチ位置の軌跡を矢印61〜63によって表示部5に表示する。このためユーザは、タッチパネル6に対して行ったタッチ操作の軌跡を、表示部5に表示された矢印61、62、63を視認することで容易に確認できる。このためユーザは、タッチ操作を適切に行ったかを容易に確認できる。   In addition, the CPU 401 displays the locus of the touch position on the display unit 5 with arrows 61 to 63. For this reason, the user can easily confirm the trajectory of the touch operation performed on the touch panel 6 by visually recognizing the arrows 61, 62, and 63 displayed on the display unit 5. For this reason, the user can easily confirm whether the touch operation has been performed appropriately.

またCPU401は、タッチ位置の変化速度に応じて、表示部5に表示する矢印61〜63の色を調整する。このためユーザは、タッチ操作の操作速度を、表示部5に表示された矢印の色を視認することで容易に確認できる。   Further, the CPU 401 adjusts the colors of the arrows 61 to 63 displayed on the display unit 5 according to the change speed of the touch position. For this reason, the user can easily confirm the operation speed of the touch operation by visually recognizing the color of the arrow displayed on the display unit 5.

なお、本発明は上述の実施形態に限定されず、種々の変更が可能である。上述においてCPU401は、タッチ位置の軌跡を示す矢印61〜63を表示部5に表示した。CPU401は、決定された処理内容を表示部5に表示してもよい。CPU401は、決定された処理内容を通知する音声を、図示外のスピーカから出力させてもよい。これらの処理は、タッチ位置の軌跡を示す矢印61〜63の表示部5への表示の代わりに実行されてもよいし、タッチ位置の軌跡を示す矢印61〜63の表示部5への表示と同時に実行されてもよい。   In addition, this invention is not limited to the above-mentioned embodiment, A various change is possible. In the above description, the CPU 401 displays the arrows 61 to 63 indicating the locus of the touch position on the display unit 5. The CPU 401 may display the determined processing content on the display unit 5. The CPU 401 may output sound for notifying the determined processing content from a speaker not shown. These processes may be executed instead of the display of the arrows 61 to 63 indicating the locus of the touch position on the display unit 5, or the display of the arrows 61 to 63 indicating the locus of the touch position on the display unit 5. It may be executed simultaneously.

上述においてCPU401は、タッチ位置の変化速度を、表示部5に表示した矢印61〜63の色によって示した。CPU401は、特定した変化速度(「高速」「低速」のいずれか)を表示部5に表示してもよい。CPU401は、特定した変化速度を通知する音声を、図示外のスピーカから出力させてもよい。これらの処理は、矢印61〜63の色を変化させる処理と同時に実行されてもよいし、矢印61〜63の色を変化させる処理の代わりに実行されてもよい。   In the above description, the CPU 401 indicates the change speed of the touch position with the colors of the arrows 61 to 63 displayed on the display unit 5. The CPU 401 may display the specified change speed (either “high speed” or “low speed”) on the display unit 5. The CPU 401 may output sound for notifying the specified change speed from a speaker not shown. These processes may be executed simultaneously with the process of changing the colors of the arrows 61 to 63, or may be executed instead of the process of changing the colors of the arrows 61 to 63.

上述において、CPU401は、変化速度と所定の閾値とを比較することによって、変化速度が「高速」「低速」のいずれかであると判断した。これに対してCPU401は、タッチ位置の軌跡の種類に応じて、所定の閾値を変化させてもよい。またCPU401は、タッチ位置の軌跡の種類に応じて、判断する変化速度の段階数を変化させてもよい。この場合、処理テーブル4021においてタッチ位置に対応付けられる変化速度の段階数は、タッチ位置の軌跡に応じて変化することになる。   In the above description, the CPU 401 determines that the change speed is either “high speed” or “low speed” by comparing the change speed with a predetermined threshold. On the other hand, the CPU 401 may change the predetermined threshold according to the type of the locus of the touch position. Further, the CPU 401 may change the number of stages of change speed to be determined according to the type of the locus of the touch position. In this case, the number of steps of change speed associated with the touch position in the processing table 4021 changes according to the locus of the touch position.

上述において、CPU401は、連続する二つのタッチ位置毎に特定した変化速度のうち、一連のタッチ操作の最後に特定された変化速度を処理テーブル4021に適用することによって、処理内容を決定した。これに対してCPU401は、一連のタッチ操作が終了するまでに特定されたすべての変化速度を平均し、平均した変化速度と所定の閾値とを比較することによって、タッチ位置の変化速度を「高速」又は「低速」に特定してもよい。   In the above description, the CPU 401 determines the processing content by applying, to the processing table 4021, the changing speed specified at the end of a series of touch operations among the changing speeds specified for two consecutive touch positions. On the other hand, the CPU 401 averages all the change speeds specified until a series of touch operations is completed, and compares the average change speed with a predetermined threshold value to thereby change the touch position change speed to “high speed”. Or “low speed”.

なお、サーマルヘッド10が本発明の「印刷手段」に相当する。S15の処理を行うCPU401が本発明の「検出手段」に相当する。S25の処理を行うCPU401が本発明の「第一特定手段」に相当する。S43の処理を行うCPU401が本発明の「第二特定手段」に相当する。S45の処理を行うCPU401が本発明の「決定手段」に相当する。S47の処理を行うCPU401が本発明の「実行手段」に相当する。S33、S35の処理を行うCPU401が本発明の「表示制御手段」に相当する。処理テーブル4021が本発明の「テーブル」に相当する。処理テーブル4021における軌跡「左スライド+上スライド」が本発明の「第一軌跡」に相当する。処理テーブル4021における軌跡「左スライド+下スライド」が本発明の「第二軌跡」に相当する。処理テーブル4021のうち処理内容「通常印刷」が本発明の「第一処理内容」に相当する。レコード43、45が本発明の「第一レコード」に相当する。処理テーブル4021における処理内容「コピー印刷」が本発明の「第二処理内容」に相当する。レコード44が本発明の「第二レコード」に相当する。処理テーブル4021における処理内容「連番印刷」が本発明の「第三処理内容」に相当する。レコード46が本発明の「第三レコード」に相当する。処理テーブルにおける軌跡「左スライド」が本発明の「第三軌跡」に相当する。レコード41、42が本発明の「第四レコード」に相当する。   The thermal head 10 corresponds to the “printing unit” of the present invention. The CPU 401 that performs the process of S15 corresponds to the “detection unit” of the present invention. The CPU 401 that performs the process of S25 corresponds to the “first specifying unit” of the present invention. The CPU 401 performing the process of S43 corresponds to the “second specifying unit” of the present invention. The CPU 401 that performs the process of S45 corresponds to the “determination unit” of the present invention. The CPU 401 that performs the process of S47 corresponds to the “execution unit” of the present invention. The CPU 401 that performs the processes of S33 and S35 corresponds to the “display control means” of the present invention. The processing table 4021 corresponds to the “table” of the present invention. The trajectory “left slide + upper slide” in the processing table 4021 corresponds to the “first trajectory” of the present invention. The locus “left slide + down slide” in the processing table 4021 corresponds to the “second locus” of the present invention. The processing content “normal printing” in the processing table 4021 corresponds to the “first processing content” of the present invention. Records 43 and 45 correspond to the “first record” of the present invention. The processing content “copy printing” in the processing table 4021 corresponds to the “second processing content” of the present invention. The record 44 corresponds to the “second record” of the present invention. The processing content “serial number printing” in the processing table 4021 corresponds to “third processing content” of the present invention. The record 46 corresponds to the “third record” of the present invention. The trajectory “left slide” in the processing table corresponds to the “third trajectory” of the present invention. Records 41 and 42 correspond to the “fourth record” of the present invention.

1 プリンタ
5 表示部
6 タッチパネル
10 サーマルヘッド
41、42、43、44、45、46 レコード
61、62、63 矢印
401 CPU
4021 処理テーブル
DESCRIPTION OF SYMBOLS 1 Printer 5 Display part 6 Touch panel 10 Thermal head 41, 42, 43, 44, 45, 46 Record 61, 62, 63 Arrow 401 CPU
4021 processing table

Claims (6)

印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、
タッチパネルと、
前記タッチパネル上のタッチされた位置を検出する検出手段と、
前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、
前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、
タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、
前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段と
を備え
前記テーブルには、
第一軌跡及び第二軌跡を示す情報の夫々に、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、
前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、
前記第二軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第三処理内容が関連付けられた第三レコードと、
第三軌跡を示す情報、閾値以上の変化速度であることを示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第四レコードと
が含まれ、
前記第一軌跡及び前記第二軌跡の夫々は、前記第三軌跡を少なくとも含む複数の軌跡の組み合わせであり、且つ、一筆書きの軌跡であることを特徴とする印刷装置。
A printing apparatus comprising printing means for printing on a print medium,
A touch panel;
Detecting means for detecting a touched position on the touch panel;
First specifying means for specifying a change speed, which is a change speed of the touch position, based on a change amount per predetermined time of the touch position, which is a position detected by the detecting means;
Second specifying means for specifying a locus of the touch position based on a temporal change of the touch position detected by the detecting means;
By referring to a table stored in the storage unit in association with information indicating the locus of the touch position, information indicating the change speed, and information indicating the processing content related to printing by the printing unit, the first identification Determining means for determining the processing speed corresponding to the change speed specified by the means and the locus specified by the second specifying means;
Execution means for executing processing related to printing by the printing means based on the processing content determined by the determining means ;
In the table,
Each of the information indicating the first trajectory and the second trajectory, information indicating that the change speed is equal to or higher than a threshold, and the first record associated with the first processing content,
Information indicating the first trajectory, information indicating a change rate less than a threshold, and a second record associated with the second processing content;
Information indicating the second trajectory, information indicating that the rate of change is less than a threshold, and a third record associated with the third processing content;
Information indicating the third locus, information indicating that the change rate is greater than or equal to the threshold, information indicating that the change rate is less than the threshold, and the fourth record associated with the first processing content
Contains
Each of the first trajectory and the second trajectory is a combination of a plurality of trajectories including at least the third trajectory, and is a one-stroke trajectory .
印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、
タッチパネルと、
前記タッチパネル上のタッチされた位置を検出する検出手段と、
前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、
前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、
タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、
前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段と
を備え
前記テーブルには、
第一軌跡を示す情報、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、
前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、
第三軌跡を示す情報、閾値以上の変化速度であることを示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第四レコードと
が含まれ、
前記第一軌跡は、前記第三軌跡を少なくとも含む複数の軌跡の組み合わせであり、且つ、一筆書きの軌跡であることを特徴とする印刷装置。
A printing apparatus comprising printing means for printing on a print medium,
A touch panel;
Detecting means for detecting a touched position on the touch panel;
First specifying means for specifying a change speed, which is a change speed of the touch position, based on a change amount per predetermined time of the touch position, which is a position detected by the detecting means;
Second specifying means for specifying a locus of the touch position based on a temporal change of the touch position detected by the detecting means;
By referring to a table stored in the storage unit in association with information indicating the locus of the touch position, information indicating the change speed, and information indicating the processing content related to printing by the printing unit, the first identification Determining means for determining the processing speed corresponding to the change speed specified by the means and the locus specified by the second specifying means;
Execution means for executing processing related to printing by the printing means based on the processing content determined by the determining means ;
In the table,
Information indicating the first trajectory, information indicating that the rate of change is equal to or greater than a threshold, and the first record associated with the first processing content;
Information indicating the first trajectory, information indicating a change rate less than a threshold, and a second record associated with the second processing content;
Information indicating the third locus, information indicating that the change rate is greater than or equal to the threshold, information indicating that the change rate is less than the threshold, and the fourth record associated with the first processing content
Contains
The printing apparatus according to claim 1, wherein the first trajectory is a combination of a plurality of trajectories including at least the third trajectory, and is a one-stroke trajectory .
前記第三軌跡は、前記タッチパネルの特定方向の一方側の端部近傍から他方側の端部近傍まで前記タッチ位置が変化した場合の軌跡であることを特徴とする請求項1又は2に記載の印刷装置。  The said 3rd locus | trajectory is a locus | trajectory in case the said touch position changes from the edge part vicinity of the one side of the specific direction of the said touch panel to the edge part vicinity of the other side of Claim 1 or 2 characterized by the above-mentioned. Printing device. 印刷媒体に印刷を行う印刷手段を備えた印刷装置であって、
タッチパネルと、
前記タッチパネル上のタッチされた位置を検出する検出手段と、
前記検出手段によって検出された位置であるタッチ位置の所定時間当たりの変化量に基づき、前記タッチ位置の変化する速さである変化速度を特定する第一特定手段と、
前記検出手段によって検出された前記タッチ位置の時間変化に基づき、前記タッチ位置の軌跡を特定する第二特定手段と、
タッチ位置の軌跡を示す情報、変化速度を示す情報、及び、前記印刷手段による印刷に関連する処理内容を示す情報が関連付けられて記憶手段に記憶されたテーブルを参照することによって、前記第一特定手段によって特定された前記変化速度、及び、前記第二特定手段によって特定された前記軌跡に対応する処理内容を決定する決定手段と、
前記決定手段によって決定された前記処理内容に基づき、前記印刷手段による印刷に関連する処理を実行する実行手段と
を備え
前記テーブルには、
第一軌跡及び第二軌跡を示す情報の夫々に、閾値以上の変化速度であることを示す情報、及び、第一処理内容が関連付けられた第一レコードと、
前記第一軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、第二処理内容が関連付けられた第二レコードと、
前記第二軌跡を示す情報、閾値未満の変化速度であることを示す情報、及び、前記第一処理内容が関連付けられた第三レコードと
が含まれ、
前記第一軌跡は、前記タッチ位置が円形移動した場合の軌跡であり、
前記第二軌跡は、前記タッチ位置が四角形移動した場合の軌跡であることを特徴とする印刷装置。
A printing apparatus comprising printing means for printing on a print medium,
A touch panel;
Detecting means for detecting a touched position on the touch panel;
First specifying means for specifying a change speed, which is a change speed of the touch position, based on a change amount per predetermined time of the touch position, which is a position detected by the detecting means;
Second specifying means for specifying a locus of the touch position based on a temporal change of the touch position detected by the detecting means;
By referring to a table stored in the storage unit in association with information indicating the locus of the touch position, information indicating the change speed, and information indicating the processing content related to printing by the printing unit, the first identification Determining means for determining the processing speed corresponding to the change speed specified by the means and the locus specified by the second specifying means;
Execution means for executing processing related to printing by the printing means based on the processing content determined by the determining means ;
In the table,
Each of the information indicating the first trajectory and the second trajectory, information indicating that the change speed is equal to or higher than a threshold, and the first record associated with the first processing content,
Information indicating the first trajectory, information indicating a change rate less than a threshold, and a second record associated with the second processing content;
Information indicating the second trajectory, information indicating a change rate less than a threshold, and a third record associated with the first processing content
Contains
The first trajectory is a trajectory when the touch position moves circularly,
The printing apparatus according to claim 2, wherein the second locus is a locus when the touch position moves squarely .
前記第二特定手段によって特定された前記軌跡を表示手段に表示させる制御を行う表示制御手段を備えたことを特徴とする請求項1から4の何れかに記載の印刷装置。 Printing apparatus according to any one of 4 from claim 1 characterized by comprising a display control means for performing control to display on the display means the locus specified by the second specifying means. 前記表示制御手段は、
前記第一特定手段によって特定された前記変化速度に対応する色の軌跡を、前記表示手段に表示させることを特徴とする請求項に記載の印刷装置。
The display control means includes
The printing apparatus according to claim 5 , wherein a color locus corresponding to the change speed specified by the first specifying unit is displayed on the display unit.
JP2012279078A 2012-12-21 2012-12-21 Printing device Active JP6003622B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012279078A JP6003622B2 (en) 2012-12-21 2012-12-21 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012279078A JP6003622B2 (en) 2012-12-21 2012-12-21 Printing device

Publications (2)

Publication Number Publication Date
JP2014123250A JP2014123250A (en) 2014-07-03
JP6003622B2 true JP6003622B2 (en) 2016-10-05

Family

ID=51403680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012279078A Active JP6003622B2 (en) 2012-12-21 2012-12-21 Printing device

Country Status (1)

Country Link
JP (1) JP6003622B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001154766A (en) * 1999-11-25 2001-06-08 Kenwood Corp Grope operating device
US8819597B2 (en) * 2009-04-10 2014-08-26 Google Inc. Glyph entry on computing device
JP5306105B2 (en) * 2009-08-18 2013-10-02 キヤノン株式会社 Display control device, display control device control method, program, and storage medium
JP5538869B2 (en) * 2009-12-22 2014-07-02 キヤノン株式会社 Information processing apparatus, control method thereof, and program

Also Published As

Publication number Publication date
JP2014123250A (en) 2014-07-03

Similar Documents

Publication Publication Date Title
US10733362B2 (en) Editing apparatus
EP1788476B1 (en) Document processing apparatus
CN109643164B (en) Signal processing device, signal processing method, program, and electronic device
JP6036731B2 (en) Data processing apparatus, printing apparatus, and program
JP5963056B2 (en) Operation input processing program and operation input processing method
CN100413694C (en) Tape printing apparatus
US8797582B2 (en) Tape printing apparatus, and display method in the tape printing apparatus
US8947715B2 (en) Printer for displaying characters, block numbers and block break line
JP5998803B2 (en) Printing device
JP5907387B2 (en) Printing apparatus and printing method
JP4985433B2 (en) Label printer
JP6003622B2 (en) Printing device
JP2012168877A5 (en)
US10444688B2 (en) Editing apparatus, non-transitory storage medium, and printing apparatus
JP5234028B2 (en) Tape printing apparatus, program, and printing control method
JP6376147B2 (en) Printing apparatus and control program
JP6245067B2 (en) Editing device and printing device
JP6528632B2 (en) Editing device, printing device, and control program
JP6264277B2 (en) Data processing apparatus, printing apparatus, and data processing program
JP6432500B2 (en) Display device and printing device
JP2015219558A (en) Printing device
JP6245113B2 (en) Editing device and printing device
JP4345735B2 (en) Display control device
JP5811810B2 (en) Printing device
EP0660248B1 (en) Word processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150320

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160413

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160822

R150 Certificate of patent or registration of utility model

Ref document number: 6003622

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150