JP2010146271A - Character processor, tape printing device, method for controlling character processor and its program - Google Patents
Character processor, tape printing device, method for controlling character processor and its program Download PDFInfo
- Publication number
- JP2010146271A JP2010146271A JP2008322527A JP2008322527A JP2010146271A JP 2010146271 A JP2010146271 A JP 2010146271A JP 2008322527 A JP2008322527 A JP 2008322527A JP 2008322527 A JP2008322527 A JP 2008322527A JP 2010146271 A JP2010146271 A JP 2010146271A
- Authority
- JP
- Japan
- Prior art keywords
- cursor
- character
- characters
- tape
- paragraph
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
削除キーの押下によって削除処理を行う文字処理装置、テープ印刷装置、文字処理装置の制御方法およびそのプログラムに関する。 The present invention relates to a character processing device, a tape printing device, a control method for a character processing device, and a program for performing a deletion process by pressing a delete key.
従来、文字処理装置では、入力した文字を削除する方法として、「削除キー」の押下により、1文字ずつ削除していく方法が知られている。また、テープ印刷装置では、消去機能として、文章全体を消去する「全文消去」、並びにカーソルが属する段落内の全ての文字を消去する「段落消去」が知られている(例えば、非特許文献1参照)。
ところで、この非特許文献1に記載のテープ印刷装置において、一行分の文字を削除しようとすると、「削除キー」の押下によって、1文字ずつ削除していくしか方法がない。つまり、文章全体や段落など、大きな単位で削除する場合は、上記のような消去機能を利用すれば良いが、文字数の多い1行や数行分の文字を削除しようとする場合は、「削除キー」の押下を繰り返さなければならず、操作が煩わしいといった問題があった。当然、「全文消去」や「段落消去」と共に、行単位で文章を消去する「行消去」の機能を搭載すれば、1行分をまとめて削除することは可能である。ところが、カーソルが属する行内のカーソルより前に表示される文字など、さらに範囲を絞ろうとすると、操作が複雑になってしまい、使い勝手が悪いといった問題があった。
By the way, in the tape printing apparatus described in Non-Patent
本発明は、このような問題点に鑑み、最小限のキー操作による簡単な操作で、範囲を絞った削除処理を行うことができる文字処理装置、テープ印刷装置、文字処理装置の制御方法およびそのプログラムを提供することを目的とする。 In view of the above problems, the present invention provides a character processing device, a tape printing device, a character processing device control method, and a method thereof capable of performing deletion processing with a narrow range by simple operation with minimum key operation. The purpose is to provide a program.
本発明の文字処理装置は、文字を入力する入力手段と、入力された文字と、その編集位置を示すカーソルと、を表示する表示手段と、入力された文字を削除する削除キーと、削除キーの押下時間に応じて、カーソルより前に表示される1文字、カーソルが属する行内のカーソルより前に表示される文字、カーソルが属する段落内のカーソルより前に表示される文字、カーソルが属する段落内の全ての文字、のいずれかの削除処理を行う削除処理手段と、を備えたことを特徴とする。 The character processing device according to the present invention includes an input means for inputting a character, a display means for displaying the input character and a cursor indicating the editing position, a delete key for deleting the input character, and a delete key. 1 character displayed before the cursor, the character displayed before the cursor in the line to which the cursor belongs, the character displayed before the cursor in the paragraph to which the cursor belongs, the paragraph to which the cursor belongs Deletion processing means for performing deletion processing for any of the characters.
本発明の文字処理装置の制御方法は、入力手段、表示手段および削除キーを有する文字処理装置の制御方法であって、文字処理装置が、入力手段により入力された文字と、その編集位置を示すカーソルと、を表示手段に表示するステップと、削除キーの押下時間に応じて、カーソルより前に表示される1文字、カーソルが属する行内のカーソルより前に表示される文字、カーソルが属する段落内のカーソルより前に表示される文字、カーソルが属する段落内の全ての文字、のいずれかの削除処理を行うステップと、を実行することを特徴とする。 A control method for a character processing device according to the present invention is a control method for a character processing device having an input means, a display means, and a delete key, in which the character processing device indicates a character input by the input means and its editing position. The step of displaying the cursor on the display means, and one character displayed before the cursor, the character displayed before the cursor in the line to which the cursor belongs, and the paragraph to which the cursor belongs, according to the pressing time of the delete key And a step of deleting any one of the characters displayed before the cursor and all the characters in the paragraph to which the cursor belongs.
これらの構成によれば、削除キーの押下時間に応じた範囲の削除処理を行うため、1のキーの長押しだけで、範囲の異なる複数段階の削除処理を実現することができる。また、カーソルの位置を基準とした削除処理を行うため、カーソルの移動によって、所望の範囲を削除対象とすることができる。 According to these configurations, since the deletion process of the range corresponding to the pressing time of the delete key is performed, it is possible to realize the deletion process in a plurality of stages having different ranges by simply pressing and holding one key. Further, since the deletion process is performed based on the position of the cursor, a desired range can be set as a deletion target by moving the cursor.
上記に記載の文字処理装置において、削除処理手段は、削除キーの押下時間が時間T1(但し、T1>0)未満の場合、カーソルより前に表示される1文字を削除することが好ましい。 In the character processing device described above, it is preferable that the deletion processing means deletes one character displayed before the cursor when the pressing time of the deletion key is less than time T1 (where T1> 0).
この構成によれば、削除キーの短押し(押下時間T1未満)により、カーソルより前に表示される1文字を対象として削除することができる。 According to this configuration, it is possible to delete one character displayed before the cursor as a target by short-pressing the delete key (less than the pressing time T1).
上記に記載の文字処理装置において、削除処理手段は、削除キーの押下時間が時間T1(但し、T1>0)以上の場合、カーソルが属する行内の、カーソルより前に表示される文字を削除することが好ましい。 In the character processing device described above, when the delete key is pressed for a time T1 (where T1> 0) or more, the deletion processing means deletes the character displayed before the cursor in the line to which the cursor belongs. It is preferable.
この構成によれば、削除キーの押下時間T1以上の長押しにより、カーソルが属する行内の、カーソルより前に表示される文字を対象として削除することができる。つまり、削除キーの押下を時間T1だけ継続することで、カーソル前の1文字、同一行内のカーソル前の文字、といった2段階の削除処理を行うことができる。 According to this configuration, it is possible to delete a character displayed in front of the cursor in the line to which the cursor belongs by pressing the delete key for longer than the pressing time T1. That is, by continuing to press the delete key for the time T1, two-stage deletion processing such as one character before the cursor and the character before the cursor in the same line can be performed.
上記に記載の文字処理装置において、削除処理手段は、削除キーの押下時間が時間T2(但し、T2>0)以上の場合、カーソルが属する段落内の、カーソルより前に表示される文字を削除することが好ましい。 In the character processing device described above, the deletion processing means deletes a character displayed before the cursor in the paragraph to which the cursor belongs when the delete key is pressed for a time T2 (where T2> 0). It is preferable to do.
この構成によれば、削除キーの押下時間T2以上の長押しにより、カーソルが属する段落内の、カーソルより前に表示される文字を対象として削除することができる。つまり、T2>T1の場合、削除キーの押下を時間T2だけ継続することで、カーソル前の1文字、同一行内のカーソル前の文字、同一段落内のカーソル前の文字、といった3段階の削除処理を行うことができる。 According to this configuration, it is possible to delete a character displayed in front of the cursor in the paragraph to which the cursor belongs by long pressing for at least the delete key pressing time T2. In other words, when T2> T1, the deletion key is continuously pressed for a time T2, so that three-stage deletion processing is performed: one character before the cursor, the character before the cursor in the same line, and the character before the cursor in the same paragraph. It can be performed.
上記に記載の文字処理装置において、削除処理手段は、削除キーの押下時間が時間T3(但し、T3>0)以上の場合、カーソルが属する段落内の、全ての文字を削除することが好ましい。 In the character processing device described above, the deletion processing means preferably deletes all characters in the paragraph to which the cursor belongs when the delete key is pressed for a time T3 (where T3> 0).
この構成によれば、削除キーの押下時間T3以上の長押しにより、カーソルが属する段落内の、全ての文字を対象として削除することができる。つまり、T3>T2>T1の場合、削除キーの押下を時間T3だけ継続することで、カーソル前の1文字、同一行内のカーソル前の文字、同一段落内のカーソル前の文字、カーソルが属する同一段落内の全ての文字、といった4段階の削除処理を行うことができる。 According to this configuration, it is possible to delete all characters in the paragraph to which the cursor belongs by pressing the delete key for a long time longer than the pressing time T3. In other words, when T3> T2> T1, by pressing the delete key for the time T3, one character before the cursor, the character before the cursor in the same line, the character before the cursor in the same paragraph, and the same character to which the cursor belongs. It is possible to perform a four-step deletion process such as all characters in one paragraph.
本発明のテープ印刷装置は、上記に記載の文字処理装置における各手段と、文字処理装置により編集された文字を、テープ上に印刷する印刷手段と、を備えたことを特徴とする。 A tape printer according to the present invention is characterized by comprising each means in the character processing device described above and a printing means for printing a character edited by the character processing device on a tape.
この構成によれば、最小限のキー操作による簡単な操作で、範囲を絞った削除処理を行うことができるテープ印刷装置を実現することができる。 According to this configuration, it is possible to realize a tape printer capable of performing deletion processing with a narrow range by a simple operation with a minimum number of key operations.
本発明のプログラムは、コンピューターに、上記に記載の文字処理装置の制御方法における各ステップを実行させるためのものであることを特徴とする。 The program of the present invention is a program for causing a computer to execute each step in the control method of the character processing device described above.
このプログラムを用いることにより、最小限のキー操作による簡単な操作で、範囲を絞った削除処理を行うことができる文字処理装置の制御方法を実現することができる。 By using this program, it is possible to realize a control method for a character processing apparatus that can perform a deletion process with a narrow range by a simple operation with a minimum of key operations.
以下、本発明の一実施形態について、添付図面を参照しながら詳細に説明する。本実施形態では、文字処理装置および文字処理装置の制御方法を、情報入力からテープ状媒体への印刷(ラベル作成)までの一連の処理を行うテープ印刷装置に適用した場合を例示する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In the present embodiment, a case where the character processing device and the control method of the character processing device are applied to a tape printer that performs a series of processes from information input to printing on a tape-like medium (label creation) is illustrated.
まず、本発明の第1実施形態に係るテープ印刷装置1について説明する。図1は、本実施形態に係るテープ印刷装置1の開閉蓋21を開いた状態の外観斜視図である。図1に示すようにテープ印刷装置1は、装置ケース2により外郭が形成され、装置ケース2の前部上面には各種入力キーを備えたキーボード3が配置されると共に、後部上面には、その左部に開閉蓋21が取り付けられ、その右部には表示画面41が配設されている。開閉蓋21の内側にはテープカートリッジCを装着するためのカートリッジ装着部6が窪入形成されており、テープカートリッジCは、開閉蓋21を開放した状態でカートリッジ装着部6に着脱可能に装着される。また、開閉蓋21にはこれを閉じた状態でテープカートリッジCの装着/非装着を視認するための覗き窓21aが形成されている。
First, the
キーボード3には、文字キー群3a、および各種動作モード等を指定するための機能キー群3bが配列されている。文字キー群3aは、JIS配列に基づいたフルキー構成であり、操作するキー数の増加を抑えるためのシフトキーを備えるなど、一般のワードプロセッサ等と同様である。また、機能キー群3bには、「印刷キー」、「カーソルキー」、「確定キー」および「削除キー」が含まれる。
On the
「印刷キー」は、印刷実行を指示するためのキーである。「カーソルキー」は、上下左右キー([↑],[↓],[←],[→])から成り、カーソル移動やスクロール操作を行うためのキーである。また、「確定キー」は、選択候補の選択および確定操作を行うためのキーである。また、「削除キー」は、文字を削除(消去)するためのキーである。また、当該「削除キー」を長押しすることにより、その押下時間(押下操作が継続されている時間)に応じた範囲の削除処理を行うことができる(詳細については、後述する)。 The “print key” is a key for instructing execution of printing. The “cursor key” is composed of up / down / left / right keys ([↑], [↓], [←], [→]), and is a key for performing cursor movement and scroll operation. The “confirmation key” is a key for selecting a selection candidate and performing a confirmation operation. The “delete key” is a key for deleting (erasing) characters. Further, by long-pressing the “delete key”, it is possible to perform a deletion process of a range corresponding to the pressing time (the time during which the pressing operation is continued) (details will be described later).
表示画面41は、液晶ディスプレイであり、ユーザーがキーボード3を用いて入力した入力情報に基づく編集結果、および当該編集結果に基づいて生成された印刷データ等を確認したりする際に用いられる。
The
装置ケース2の左側部には、カートリッジ装着部6と外部とを連通するテープ排出口22が形成され、このテープ排出口22には、送り出した印刷テープTPを切断するためのテープカッタ23が臨んでいる。そして、テープ排出口22から印刷済みの印刷テープTPが所定長さだけ送り出され、送りを一旦停止させた状態で、この印刷済みの印刷テープTPをテープカッタ23により切断して、短冊状のラベルL(図3(b)参照)を作成する。なお、切断処理については、自動カットを「する」または「しない」の選択肢により、カッターモーター25(図2参照)の駆動を設定できる。
A
一方、カートリッジ装着部6には、ヘッドカバー61a内にサーマルタイプの印刷ヘッド7が内蔵されたヘッドユニット61と、印刷ヘッド7に対峙するプラテン駆動軸62と、後述のインクリボンRを巻き取る巻き取り駆動軸63と、後述のテープリール17の位置決め突起64とを備えている。また、カートリッジ装着部6の下側には、プラテン駆動軸62および巻き取り駆動軸63を回転させるテープ送りモータ26(図2参照)が内蔵されている。
On the other hand, the
テープカートリッジCは、カートリッジケース51内部の上部中央部に、一定の幅(4mm〜48mm程度)の印刷テープTPを巻回したテープリール17と、右下部にインクリボンRを巻回したリボンリール19とを収容して構成されており、印刷テープTPとインクリボンRは同じ幅で構成されている。また、テープリール17の左下部には前記ヘッドユニット61を覆うヘッドカバー61aが差し込まれるための貫通孔55が形成されている。さらに、貫通孔55に差し込まれたヘッドユニット61は、印刷テープTPとインクリボンRとが重なる部分に対応して、前記プラテン駆動軸62に嵌合されて回転駆動するプラテンローラー53が配置されている。一方、前記リボンリール19に近接してリボン巻き取りリール54が配置され、リボンリール19から繰り出されたインクリボンRは、ヘッドカバー61aを周回するように配置され、リボン巻き取りリール54に巻き取られるようになっている。
The tape cartridge C has a
テープカートリッジCがカートリッジ装着部6に装着されると、ヘッドカバー61aに貫通孔55が、位置決め突起64にテープリール17の中心孔が、巻き取り駆動軸63にリボン巻き取りリール54の中心孔がそれぞれ差し込まれ、印刷テープTPおよびインクリボンRを挟み込んで印刷ヘッド7がプラテンローラー53に当接して印刷が可能になる。その後、ユーザーが表示画面41の編集結果を確認しながらキーボード3により所望のテキスト(文字、数字、記号、簡易図形等のキャラクタ)や画像を入力し、「印刷キー」の押下によって印刷を指示すると、テープ印刷装置1は、テープ送りモータ26によりテープカートリッジCから印刷テープTPを繰り出し、印刷ヘッド7の発熱素子を選択的に発熱させることにより印刷テープTPに所望の印刷を行う。印刷テープTPの印刷済み部分はテープ排出口22から随時外部に送り出され、印刷を完了すると、テープ送りモータ26は、余白分を含むテープ長さの位置まで印刷テープTPの送りを行った後、その送りを停止する(その後、切断処理に移行する)。
When the tape cartridge C is mounted on the
一方、印刷テープTPは、裏面に粘着剤層が形成された記録テープTPaと、この粘着剤層により記録テープTPaに貼り付けられた剥離テープTPbとから構成されている。そして、印刷テープTPは、記録テープTPaを外側にし、かつ剥離テープTPbを内側にしてロール状に巻回されてカートリッジケース51内に収容されている。また、印刷テープTPは、テープ種別(テープ幅、テープの地色、地模様、材質など)が異なる複数種のものが用意されており、各カートリッジケース51には、このうち1種類の印刷テープTP(およびインクリボンR)が収容されている。また、カートリッジケース51の裏面にはテープカートリッジCの種別を特定する複数の孔(図示省略)が設けられている。また、複数の孔に対応してカートリッジ装着部6には、これらを検出するテープ識別センサ(マイクロスイッチ等)27(図2参照)が、複数設けられており、このテープ識別センサ27により複数の孔の状態を検出することで、テープ種別を判別できるようになっている。
On the other hand, the printing tape TP is composed of a recording tape TPa having a pressure-sensitive adhesive layer formed on the back surface and a release tape TPb attached to the recording tape TPa by this pressure-sensitive adhesive layer. The printing tape TP is wound in a roll shape with the recording tape TPa outside and the release tape TPb inside, and is accommodated in the
次に、図2の制御ブロック図を参照し、テープ印刷装置1の制御構成について説明する。テープ印刷装置1は、中央処理装置であるCPU(Central Processing Unit)110、RAM(Random Access Memory)120、ROM(Read Only Memory)130、表示画面41、キーボード3、カッターモーター25、テープカッタ23、テープ送りモータ26、印刷ヘッド7およびテープ識別センサ27を備え、各構成要素は、バス150を介して接続されている。
Next, the control configuration of the
RAM120は、CPU110と直接接続されており、CPU110が各種制御を行う際のワークエリアとして用いられる。ROM130は、CPU110が各種制御を行うための制御プログラムおよび各種情報を記憶している。制御プログラムとしては、具体的に、表示画面41の表示制御を行うための表示制御プログラム、「削除キー」の押下時間に応じた削除処理を実現するための削除処理プログラム、および印刷処理を行うための印刷処理プログラム等を記憶している(図示省略)。また、ROM130は、表示画面41への表示、および印刷テープTPへの印刷に用いられる多数のキャラクタを記憶するキャラクタ記憶領域131を有している。
The
表示画面41は、編集結果や印刷レイアウトを表示するための表示手段として機能する。キーボード3は、ユーザーが情報を入力するための入力手段、削除操作を含む編集処理を行うための編集手段、各種設定を行うための設定手段、などとして機能する。
The
カッターモーター25は、テープカッタ23と接続され、切断手段として機能する。また、テープ送りモータ26および印刷ヘッド7は、印刷テープTP上に印刷を行うための印刷手段として機能する。上記のとおり、印刷ヘッド7およびテープ識別センサ27は、カートリッジ装着部6に設けられ、テープ識別センサ27は、テープカートリッジCに収容された印刷テープTPの種別を検出する。CPU110は、このテープ識別センサ27の検出結果に基づいて(テープ幅等に基づいて)、テキストとして入力可能な行数および文字数の制限や、装着されたテープカートリッジCの適合性の判別、などの制御を行う。その他、CPU110は、表示画面41の表示処理、編集処理および印刷処理を制御する。また、特に図示しないが、CPU110は、「削除キー」の押下時間を計測(カウント)するタイマーを有している。
The
次に、図3および図4を参照し、ユーザーによる削除操作と、当該削除操作に基づく削除結果(表示画面41に表示される編集結果)について説明する。図3(a)は、入力されたテキストの一例を示したものである。ここでは、2段落に分割され、1段落目に3行、2段落目に2行の文字が入力された場合を示している。なお、「段落」とは、テープ幅に積み重ねて印刷される「行の集まり(または1行)」を指す。なお、1つのラベルLに印刷される全ての段落(全ての行、全ての文字)を指して、以下「文章」と称する。つまり、「文字<行<段落<文章」の順で、その単位が大きくなるものとする。 Next, with reference to FIG. 3 and FIG. 4, the deletion operation by the user and the deletion result based on the deletion operation (the editing result displayed on the display screen 41) will be described. FIG. 3A shows an example of input text. Here, a case is shown in which characters are divided into two paragraphs and three lines are input in the first paragraph and two lines are input in the second paragraph. Note that “paragraph” refers to “a collection of lines (or one line)” printed in a stacked manner on the tape width. Note that all the paragraphs (all lines and all characters) printed on one label L are hereinafter referred to as “sentences”. That is, the unit becomes larger in the order of “character <line <paragraph <sentence”.
図3(b)は、図3(a)に示したテキストに基づく印刷結果(ラベルLの作成例)を示したものである。このように、1つのラベルLの中に複数の段落を設けることで、いろいろな行数を混在させたり、段落ごとにデザインを変えたりすることができる。 FIG. 3B shows a printing result based on the text shown in FIG. 3A (an example of creating a label L). As described above, by providing a plurality of paragraphs in one label L, various numbers of lines can be mixed or the design can be changed for each paragraph.
図3(c)は、図3(a)に示したテキストに基づく、表示画面41への表示結果を示したものである。ここでは、2行目に入力された文字「た」に、カーソルKが位置している場合を示している。表示画面41の表示領域の関係上、1段落目の一部しか表示されていないが、「カーソルキー」によるカーソルKの右移動によって、1段落目の後半を表示させたり、カーソルKの下移動によって、2段落目を表示させたりすることができるようになっている。なお、符号M1,M2,M3は、各行の行頭マークを示している。行頭マークが黒色で表示(行数を示す数字が白色で表示)されている行は、文字が入力されており、行頭マークが白色で表示(行数を示す数字が黒色で表示)されている行は、文字が入力されていないことを意味している(後者の行頭マークについては、図4のD6参照)。
FIG. 3C shows a display result on the
図4は、ユーザーの削除操作に伴うテキスト編集画面Dの遷移を示したものである。図3(c)に示した状態(D1)で、ユーザーにより「削除キー」が短押しされると(例えば、押下開始から1.0秒未満)、文字「た」が削除され、カーソルKは文字「そ」に移動する(D2)。さらに「削除キー」の押下が継続されると(例えば、押下開始から1.0秒)、カーソルKが属する行内の、文字「そ」以前の文字が削除され、カーソルKは2行目の行頭マークM2に移動する(D3)。つまり、この段階では、カーソルKが属する行内の、最初のカーソル位置より前に表示される文字(文字「た」以前の文字)が全て削除されたこととなる。なお、「最初のカーソル位置」とは、「削除キー」の押下開始時点におけるカーソルKの位置を指す。 FIG. 4 shows the transition of the text editing screen D accompanying the user's deletion operation. In the state (D1) shown in FIG. 3C, when the user presses the “delete key” for a short time (for example, less than 1.0 seconds from the start of pressing), the character “ta” is deleted and the cursor K Move to the character “SO” (D2). If the “delete key” continues to be pressed (for example, 1.0 second from the start of pressing), the character before the character “so” in the line to which the cursor K belongs is deleted, and the cursor K is at the beginning of the second line. Move to the mark M2 (D3). That is, at this stage, all characters (characters before the character “t”) displayed before the first cursor position in the line to which the cursor K belongs are deleted. The “first cursor position” refers to the position of the cursor K at the start of pressing the “delete key”.
画面D3の状態から、さらに「削除キー」の押下が継続されると(例えば、押下開始から1.5秒)、カーソルKが属する段落内の、文字「こ」以前の文字(1行目)が削除され、これに伴ってカーソルKは1行目の行頭マークM1に移動する(D4)。つまり、この段階では、カーソルKが属する段落内の、最初のカーソル位置より前に表示される文字が全て削除されたこととなる。また、さらに「削除キー」の押下が継続されると(例えば、押下開始から2.0秒)、カーソルKが属する段落内の、文字「ち」以降の文字が削除され、これに伴ってカーソルKは2段落目の1行目の行頭マークM1に移動する(D5)。つまり、この段階では、カーソルKが属する段落内の文字が全て削除されたこととなる。このように、本実施形態のテープ印刷装置1は、「削除キー」の短押し、および3段階の長押しにより、4種類の範囲を対象とした削除処理を実現できるようになっている。
If the “delete key” is further pressed from the state of the screen D3 (for example, 1.5 seconds from the start of pressing), the character before the character “ko” in the paragraph to which the cursor K belongs (first line) And the cursor K moves to the first mark M1 in the first line (D4). That is, at this stage, all the characters displayed before the first cursor position in the paragraph to which the cursor K belongs are deleted. If the “delete key” is further pressed (for example, 2.0 seconds from the start of pressing), the characters after the character “Chi” in the paragraph to which the cursor K belongs are deleted, and the cursor is accordingly moved. K moves to the first mark M1 in the first line of the second paragraph (D5). That is, at this stage, all the characters in the paragraph to which the cursor K belongs are deleted. As described above, the
次に、図5のフローチャートを参照し、本実施形態の削除処理の流れについて説明する。まず、ユーザーによってテキストが編集され(S01)、「削除キー」が押下されると(S02:Yes)、カーソル位置を検出し(S03)、検出したカーソル位置の直前の1文字を削除する(S04)。ここで、「削除キー」が継続して押下されているか否かを判別し(S05)、継続して押下されている場合は(S05:Yes)、カーソルKが属する行(以下、「同一行」と称する)内のカーソル位置より前の文字を削除する(S06)。また、さらに「削除キー」が継続して押下されている場合は(S07:Yes)、カーソルKが属する段落(以下、「同一段落」と称する)内のカーソル位置より前の文字を削除する(S08)。また、さらに「削除キー」が継続して押下されている場合は(S09:Yes)、同一段落内の全ての文字を削除する(S10)。 Next, the flow of the deletion process of this embodiment will be described with reference to the flowchart of FIG. First, when the text is edited by the user (S01) and the “delete key” is pressed (S02: Yes), the cursor position is detected (S03), and one character immediately before the detected cursor position is deleted (S04). ). Here, it is determined whether or not the “delete key” is continuously pressed (S05). If it is continuously pressed (S05: Yes), the line to which the cursor K belongs (hereinafter “the same line”). The character in front of the cursor position is deleted (S06). If the “delete key” is continuously pressed (S07: Yes), the character preceding the cursor position in the paragraph to which the cursor K belongs (hereinafter referred to as “same paragraph”) is deleted ( S08). Further, when the “delete key” is continuously pressed (S09: Yes), all characters in the same paragraph are deleted (S10).
なお、図5のフローチャートを、図4に示した例と照らし合わせると、S02の判別は、「削除キー」の押下開始時であり、S05の判別は、押下開始時から1.0秒後であり、S07、S09の判別は、それぞれ前の判別タイミングから0.5秒ずつ間隔を空けて判別されることとなる。但し、図4および図5で示した判別タイミングや削除範囲は一例であり、これに限るものではない。すなわち、これら判別タイミングや削除範囲を、ユーザーのニーズに応じて任意に設定しても良い。 If the flowchart of FIG. 5 is compared with the example shown in FIG. 4, the determination in S02 is when the “delete key” starts to be pressed, and the determination in S05 is 1.0 seconds after the start of pressing. Yes, the determinations at S07 and S09 are determined at intervals of 0.5 seconds from the previous determination timing. However, the determination timing and the deletion range shown in FIGS. 4 and 5 are examples, and the present invention is not limited to this. That is, these determination timings and deletion ranges may be arbitrarily set according to user needs.
図6は、設定項目の一覧を示したものである。同図に示すように、「カーソル位置より前の1文字」、「カーソルが属する同一行内のカーソル位置より前の文字」、「カーソルが属する同一段落内のカーソル位置より前の文字」、「カーソルが属する同一段落内の全ての文字」の4項目に分けて、判別タイミングを設定することができる。ここで、「削除キー」の押下が時間T1未満のとき、「カーソル位置より前の1文字」を削除し、時間T1だけ継続されたとき、「同一行内のカーソル位置より前の文字」を削除し、時間T2だけ継続されたとき、「同一段落内のカーソル位置より前の文字」を削除し、時間T3だけ継続されたとき、「カーソルが属する同一段落内の全ての文字」を削除するとした場合、T1>0、T1<T2<T3の関係が成り立つ範囲で、各削除範囲を削除するための押下時間を設定することができる。なお、図4の例は、T1=1.0秒、T2=1.5秒、T3=2.0秒に設定された場合を例示したものである。 FIG. 6 shows a list of setting items. As shown in the figure, “one character before the cursor position”, “character before the cursor position in the same line to which the cursor belongs”, “character before the cursor position in the same paragraph to which the cursor belongs”, “cursor The determination timing can be set by dividing it into four items, “all characters in the same paragraph to which” belongs. Here, when pressing of the “delete key” is less than time T1, “one character before the cursor position” is deleted, and when continuing for the time T1, “character before the cursor position in the same line” is deleted. Then, when continued for time T2, “characters before the cursor position in the same paragraph” are deleted, and when continued for time T3, “all characters in the same paragraph to which the cursor belongs” are deleted. In this case, the pressing time for deleting each deletion range can be set within a range where the relationship of T1> 0 and T1 <T2 <T3 is satisfied. The example of FIG. 4 illustrates the case where T1 = 1.0 seconds, T2 = 1.5 seconds, and T3 = 2.0 seconds.
以上、説明したとおり、本発明の第1実施形態のテープ印刷装置1によれば、「削除キー」の押下時間に応じて、範囲を絞った複数段階の削除処理を行うことができる。また、カーソルKの位置を基準とした削除処理を行うため、カーソルKの移動によって、所望の範囲を削除対象とすることができる。さらに、削除範囲を、ユーザーのニーズに応じて任意に設定することができるため、使い勝手を格段に向上させることができる。
As described above, according to the
次に、本発明の第2実施形態について説明する。上記の第1実施形態では、「削除キー」の短押し、および3段階の長押しにより、4種類の範囲を対象とした削除処理を実現できるものとしたが、本実施形態では、さらに全文削除を行い得る点で異なる。以下、第1実施形態と異なる点のみ説明する。 Next, a second embodiment of the present invention will be described. In the first embodiment described above, it is assumed that deletion processing for four types of ranges can be realized by short pressing the “delete key” and three long presses. It is different in that it can be performed. Only differences from the first embodiment will be described below.
図7は、第2実施形態に係る削除処理を示すフローチャートである。S01〜S10については、第1実施形態と同様であるため、説明を省略する。本実施形態では、S10の後、さらに「削除キー」が継続して押下されている場合は(S11:Yes)、文章内の全ての文字を削除する(S12)。つまり、図4に示した画面D5の状態で、さらに「削除キー」の押下が継続されると(例えば、押下開始から2.5秒)、2段落目の文字が全て削除される。これにより、文章内の文字が全て削除されるため、カーソルKは、未入力状態の1行目の行頭マークM1に移動することとなる(図示省略)。このように、本実施形態のテープ印刷装置1は、「削除キー」の短押し、および4段階の長押しにより、5種類の範囲を対象とした削除処理を実現できるようになっている。
FIG. 7 is a flowchart showing the deletion process according to the second embodiment. About S01-S10, since it is the same as that of 1st Embodiment, description is abbreviate | omitted. In the present embodiment, after S10, if the “delete key” is continuously pressed (S11: Yes), all characters in the sentence are deleted (S12). That is, if the “deletion key” is further pressed in the state of the screen D5 shown in FIG. 4 (for example, 2.5 seconds from the start of pressing), the characters in the second paragraph are all deleted. As a result, all characters in the sentence are deleted, and the cursor K moves to the first mark M1 in the first line that is not input (not shown). As described above, the
また、本実施形態では、「文章内の全ての文字」を削除する場合の、「削除キー」の押下時間T4を設定可能である。この場合、T3<T4の関係が成り立つことが条件である。このように、本発明の第2実施形態によれば、全文削除についても、「削除キー」の長押しといった簡単な操作により実現可能である。 Further, in this embodiment, it is possible to set the pressing time T4 of the “delete key” when deleting “all characters in the sentence”. In this case, the condition is that the relationship of T3 <T4 holds. As described above, according to the second embodiment of the present invention, the deletion of the whole sentence can be realized by a simple operation such as a long press of the “delete key”.
なお、上記の各実施形態では、「BS(Back Space)キー」に相当する「削除キー」の押下により削除処理を行ったが、他のキー(例えば「Deleteキー」)で実現しても良い。この場合、「Deleteキー」の短押しにより、カーソル直後の1文字を削除し、押下時間がT1以上の場合、「同一行内のカーソル位置より後の文字」を削除し、さらに押下時間がT2以上の場合、「同一段落内のカーソル位置より後の文字」を削除することとなる。 In each of the above embodiments, the deletion process is performed by pressing the “delete key” corresponding to the “BS (Back Space) key”, but may be realized by another key (for example, “Delete key”). . In this case, when the “Delete key” is pressed shortly, one character immediately after the cursor is deleted, and when the pressing time is T1 or more, “the character after the cursor position in the same line” is deleted, and the pressing time is T2 or more. In this case, “the character after the cursor position in the same paragraph” is deleted.
さらに、1の「削除キー」(「BSキー」または「Deleteキー」)の押下時間によって、「カーソルが属する同一行内のカーソル位置より前の文字」、「カーソルが属する同一段落内のカーソル位置より前の文字」、「カーソルが属する同一行内のカーソル位置より後の文字」、「カーソルが属する同一段落内のカーソル位置より後の文字」、「カーソルが属する同一段落内の全ての文字」、「文章内の全ての文字」の6種類の削除処理を実現できるようにしても良い。この場合、「削除キー」の押下が時間T1だけ継続されたとき、「同一行内のカーソル位置より前の文字」を削除し、時間T2だけ継続されたとき、「同一段落内のカーソル位置より前の文字」を削除し、時間TAだけ継続されたとき、「同一行内のカーソル位置より後の文字」を削除し、時間TBだけ継続されたとき、「同一段落内のカーソル位置より後の文字」を削除し、時間T3だけ継続されたとき、「カーソルが属する同一段落内の全ての文字」を削除し、時間T4だけ継続されたとき、「文章内の全ての文字」を削除するとした場合、T1<T2、TA<TB、T1,T2,TA,TB<T3<T4の関係が成り立つ範囲で、各削除範囲を削除するための押下時間を設定することができる。 Furthermore, depending on the pressing time of one “delete key” (“BS key” or “Delete key”), “from the cursor position in the same line to which the cursor belongs” and “cursor position in the same paragraph to which the cursor belongs. "Previous character", "Character after cursor position in the same line to which the cursor belongs", "Character after cursor position in the same paragraph to which the cursor belongs", "All characters in the same paragraph to which the cursor belongs", " Six types of deletion processing of “all characters in the sentence” may be realized. In this case, when pressing of the “delete key” is continued for the time T1, “characters before the cursor position in the same line” are deleted, and when the “deletion key” is continued for the time T2, “before the cursor position in the same paragraph” is deleted. Is deleted for a period of time TA, "characters after the cursor position in the same line" is deleted, and when the period of time TB is continued, "characters after the cursor position in the same paragraph" Is deleted for a period of time T3, "all characters in the same paragraph to which the cursor belongs" is deleted, and when it is continued for a period of time T4, "all characters in the sentence" is deleted, The pressing time for deleting each deletion range can be set within the range where the relationship of T1 <T2, TA <TB, T1, T2, TA, TB <T3 <T4 is satisfied.
また、上記の各実施形態では、押下時間の経過に伴って段階的に削除処理を行うものとしたが、押下開始時から押下継続時間をカウントし、押下終了時(ユーザーが「削除キー」から指を離すまで)までの押下継続時間に応じて、対象となる削除範囲を一度に削除するようにしても良い。 Further, in each of the above embodiments, the deletion process is performed step by step as the pressing time elapses. However, the pressing duration time is counted from the start of pressing, and when the pressing ends (from the “delete key” The target deletion range may be deleted at once according to the pressing duration until the finger is released.
また、上記の各実施形態では、文字処理装置の一例として、テープ印刷装置1を例示したが、これに限らず、本実施形態における削除処理プログラムにしたがって、削除処理を実行可能な情報処理装置に、本発明を適用可能である。
In each of the above embodiments, the
また、上記の各実施形態に示した、テープ印刷装置1の各構成要素をプログラムとして提供することが可能である。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリ等)に格納して提供することも可能である。すなわち、コンピューターを、テープ印刷装置1の各手段として機能させるためのプログラム、およびそれを記録した記録媒体も、本発明の権利範囲に含まれるものである。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。
Moreover, it is possible to provide each component of the
1…テープ印刷装置 3…キーボード 41…表示画面 110…CPU 120…RAM 130…ROM 131…キャラクタ記憶領域 D…テキスト編集画面 K…カーソル L…ラベル M1,M2,M3…行頭マーク TP…印刷テープ
DESCRIPTION OF
Claims (8)
前記入力された文字と、その編集位置を示すカーソルと、を表示する表示手段と、
前記入力された文字を削除する削除キーと、
前記削除キーの押下時間に応じて、前記カーソルより前に表示される1文字、前記カーソルが属する行内の前記カーソルより前に表示される文字、前記カーソルが属する段落内の前記カーソルより前に表示される文字、前記カーソルが属する段落内の全ての文字、のいずれかの削除処理を行う削除処理手段と、を備えたことを特徴とする文字処理装置。 An input means for inputting characters;
Display means for displaying the input characters and a cursor indicating the editing position;
A delete key for deleting the entered characters;
One character displayed before the cursor, a character displayed before the cursor in the line to which the cursor belongs, and a character before the cursor in the paragraph to which the cursor belongs, according to the pressing time of the delete key And a deletion processing means for performing deletion processing of any one of the characters to be deleted and all the characters in the paragraph to which the cursor belongs.
前記文字処理装置により編集された文字を、テープ上に印刷する印刷手段と、を備えたことを特徴とするテープ印刷装置。 Each means in the character processing device according to any one of claims 1 to 5,
A tape printing apparatus comprising: a printing unit that prints a character edited by the character processing apparatus on a tape.
前記文字処理装置が、
前記入力手段により入力された文字と、その編集位置を示すカーソルと、を前記表示手段に表示するステップと、
前記削除キーの押下時間に応じて、前記カーソルより前に表示される1文字、前記カーソルが属する行内の前記カーソルより前に表示される文字、前記カーソルが属する段落内の前記カーソルより前に表示される文字、前記カーソルが属する段落内の全ての文字、のいずれかの削除処理を行うステップと、を実行することを特徴とする文字処理装置の制御方法。 A control method of a character processing device having an input means, a display means, and a delete key,
The character processing device
Displaying the character input by the input means and a cursor indicating the editing position on the display means;
One character displayed before the cursor, a character displayed before the cursor in the line to which the cursor belongs, and a character before the cursor in the paragraph to which the cursor belongs, according to the pressing time of the delete key And a step of deleting any one of the characters to be deleted and all the characters in the paragraph to which the cursor belongs, and a control method for the character processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008322527A JP2010146271A (en) | 2008-12-18 | 2008-12-18 | Character processor, tape printing device, method for controlling character processor and its program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008322527A JP2010146271A (en) | 2008-12-18 | 2008-12-18 | Character processor, tape printing device, method for controlling character processor and its program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010146271A true JP2010146271A (en) | 2010-07-01 |
Family
ID=42566651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008322527A Pending JP2010146271A (en) | 2008-12-18 | 2008-12-18 | Character processor, tape printing device, method for controlling character processor and its program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010146271A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106313916A (en) * | 2015-06-30 | 2017-01-11 | 兄弟工业株式会社 | Printing apparatus, and print image display processing method |
US10248636B2 (en) | 2016-08-25 | 2019-04-02 | Kyocera Document Solutions Inc. | Electronic device for controlling deletion of character input on character input screen, character input control method for controlling deletion of character input on character input screen, and storage medium storing therein character input control method program |
JPWO2020100404A1 (en) * | 2018-11-15 | 2021-10-07 | 京セラドキュメントソリューションズ株式会社 | Electronic equipment and image forming equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61228566A (en) * | 1985-04-02 | 1986-10-11 | Sanyo Electric Co Ltd | Document producing device |
JPH0612411A (en) * | 1992-06-25 | 1994-01-21 | Sanyo Electric Co Ltd | Document processor |
JP2005190220A (en) * | 2003-12-25 | 2005-07-14 | Kyocera Corp | Display deletion device, control method of computer, and program |
JP2007026339A (en) * | 2005-07-21 | 2007-02-01 | Toshiba Corp | Portable terminal |
JP2008243036A (en) * | 2007-03-28 | 2008-10-09 | Kyocera Mita Corp | Character input device and image forming device |
JP2008250432A (en) * | 2007-03-29 | 2008-10-16 | Kyocera Mita Corp | Character input device and image forming apparatus |
-
2008
- 2008-12-18 JP JP2008322527A patent/JP2010146271A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61228566A (en) * | 1985-04-02 | 1986-10-11 | Sanyo Electric Co Ltd | Document producing device |
JPH0612411A (en) * | 1992-06-25 | 1994-01-21 | Sanyo Electric Co Ltd | Document processor |
JP2005190220A (en) * | 2003-12-25 | 2005-07-14 | Kyocera Corp | Display deletion device, control method of computer, and program |
JP2007026339A (en) * | 2005-07-21 | 2007-02-01 | Toshiba Corp | Portable terminal |
JP2008243036A (en) * | 2007-03-28 | 2008-10-09 | Kyocera Mita Corp | Character input device and image forming device |
JP2008250432A (en) * | 2007-03-29 | 2008-10-16 | Kyocera Mita Corp | Character input device and image forming apparatus |
Non-Patent Citations (1)
Title |
---|
JPN6013001063; TEPRA PRO SR920 取扱説明書 第5版, 200509, P.8-9,49-57, 株式会社キングジム * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106313916A (en) * | 2015-06-30 | 2017-01-11 | 兄弟工业株式会社 | Printing apparatus, and print image display processing method |
CN106313916B (en) * | 2015-06-30 | 2020-01-10 | 兄弟工业株式会社 | Printing apparatus and print image display processing method |
US10248636B2 (en) | 2016-08-25 | 2019-04-02 | Kyocera Document Solutions Inc. | Electronic device for controlling deletion of character input on character input screen, character input control method for controlling deletion of character input on character input screen, and storage medium storing therein character input control method program |
JPWO2020100404A1 (en) * | 2018-11-15 | 2021-10-07 | 京セラドキュメントソリューションズ株式会社 | Electronic equipment and image forming equipment |
JP7081684B2 (en) | 2018-11-15 | 2022-06-07 | 京セラドキュメントソリューションズ株式会社 | Electronic equipment and image forming equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5319657B2 (en) | Tape printer | |
US8441654B2 (en) | Cable label forming apparatus, tape printing apparatus, method of forming cable label for cable label forming apparatus and program | |
EP1804173A1 (en) | Label creation apparatus and program | |
US20120243049A1 (en) | Printing apparatus and method of controlling the same | |
US8767248B2 (en) | Label data processing apparatus and label data processing method | |
JP6024462B2 (en) | Printing apparatus, tape printing apparatus, and printing apparatus control method | |
JP5560810B2 (en) | Tape printer, method for determining paragraph arrangement of tape printer, and program thereof | |
JP4566801B2 (en) | Information processing apparatus, combined printing and stamping apparatus, display method for information processing apparatus, processing method for printing and stamping combined apparatus, and program | |
US20060104693A1 (en) | Braille-information processing apparatus, braille-information processing method, program, and storage medium | |
JP2010146271A (en) | Character processor, tape printing device, method for controlling character processor and its program | |
JP2010224703A (en) | Information processing apparatus, tape printer, and program | |
US8472037B2 (en) | Documentation apparatus and tape printing apparatus | |
JP2010214787A (en) | Printer and tape printer | |
JP2011116069A (en) | Information processor and control method therefor | |
JP2010146272A (en) | Character processor, tape printing device, method for controlling character processor, and its program | |
JP2011095970A (en) | Information processing device and control method for the same | |
JP6858054B2 (en) | Printed image generator, label printing device, printed image generation method and its program | |
JP5739697B2 (en) | Printing apparatus and printing apparatus control method | |
JP2010173072A (en) | Tape printer and control method thereof | |
JP2009101527A (en) | Information processor, tape printing apparatus, character string display method in information processor, and program | |
JP5186897B2 (en) | Character processing device, character processing method for character processing device, and program | |
JP5552965B2 (en) | Tape printer and control method of tape printer | |
JP5458564B2 (en) | CHARACTER OUTPUT DEVICE, TAPE PRINTING DEVICE, CHARACTER OUTPUT DEVICE CONTROL METHOD AND ITS PROGRAM | |
JP2011104797A (en) | Printer and control method therefor | |
JP2011194849A (en) | Tape printing apparatus, character arrangement deciding method for tape printing apparatus and program for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130115 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130228 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130228 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20130228 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130326 |