JPH0671812B2 - Character erasable printing device - Google Patents
Character erasable printing deviceInfo
- Publication number
- JPH0671812B2 JPH0671812B2 JP62095696A JP9569687A JPH0671812B2 JP H0671812 B2 JPH0671812 B2 JP H0671812B2 JP 62095696 A JP62095696 A JP 62095696A JP 9569687 A JP9569687 A JP 9569687A JP H0671812 B2 JPH0671812 B2 JP H0671812B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- underline
- printing
- character
- 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.)
- Expired - Lifetime
Links
- 230000015654 memory Effects 0.000 claims description 43
- 238000000034 method Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/26—Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling
- B41J29/36—Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling for cancelling or correcting errors by overprinting
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文字消去可能な印字装置に関し、特にアンダー
ライン付き文字を消去するときに、消去文字の前後の印
字文字のアンダーラインデータに基いて、印字ヘッドを
移動しないでアンダーラインを消去するようにした文字
消去可能な印字装置に関する。Description: TECHNICAL FIELD The present invention relates to a character erasable printing device, and in particular, when erasing an underlined character, based on the underline data of the printed characters before and after the erased character. The present invention relates to a character erasable printing device in which an underline is erased without moving a print head.
一般に、文字消去可能な電子タイプライタなどの印字装
置では、印字中の誤印字文字を消去キー操作で消去する
オートコレクション機構を備えているものがある。この
オートコレクション機構として、誤印字文字上に修正剤
を貼り付けるカバーラップ方式と、印字したインクを訂
正リボンで剥ぎ取るリフトオフ方式とがあり、近年では
リフトオフ方式が一般に使用されている。Generally, some printers such as electronic typewriters capable of erasing characters are equipped with an autocorrection mechanism for erasing erroneously printed characters during printing by operating an erasing key. As this autocorrection mechanism, there are a cover wrap method in which a correction agent is pasted on an erroneously printed character, and a lift-off method in which the printed ink is stripped off by a correction ribbon. In recent years, the lift-off method is generally used.
このリフトオフ方式においては、印字用紙上に印字した
インクを印字リボンで剥ぎ取って誤印字文字を消去する
構成上、印字時と消去時とにおいて印字素子が同一位置
にあることが要求される。即ち、印字時と消去時とにお
ける印字素子の停止位置が少しでもずれると、印字した
インクのうち剥ぎ取られない部分が生じる。従って、完
全に誤印字文字を消去するためには、印字時と消去時と
において印字素子が完全に同一位置であることが要求さ
れる。In the lift-off method, the ink printed on the printing paper is peeled off by the printing ribbon to erase the erroneously printed characters, and the printing elements are required to be at the same position during printing and during erasing. That is, if the stop position of the printing element deviates even a little during printing and during erasing, a portion of the printed ink that cannot be stripped will occur. Therefore, in order to completely erase the erroneously printed character, it is required that the printing elements are completely at the same position during printing and during erasing.
しかし、そのような印字素子の停止位置精度を得ること
は、機構上及びコスト上の限界がある。However, obtaining the stop position accuracy of such a printing element has a mechanical and cost limit.
そこで、従来、例えば特開昭56−46992号、特開昭60−1
47376号公報では、リフトオフ方式を採用した印字装置
において、キャリッジを左右に微少量移動させ乍ら消去
動作を複数回行うことにより、誤印字文字のインクを完
全に剥ぎ取れるようにしている。Therefore, conventionally, for example, JP-A-56-46992 and JP-A-60-1
In Japanese Patent Laid-Open No. 47376, in a printing apparatus adopting a lift-off method, a carriage is moved to the left and right by a small amount, and an erasing operation is performed a plurality of times so that the ink of the erroneously printed character is completely stripped off.
上記従来の印字装置においては、オートアンダーライン
モードデアンダーライン付文字が印字されているとき
に、オートコレクション機能によりこのアンダーライン
付の印字文字を消去すると、アンダーラインも同時に消
去することができる。In the above-mentioned conventional printing apparatus, when the underlined character is printed by the autocorrection function when the underlined character is printed, the underline can be simultaneously deleted.
このとき、印字装置は上述したように、キャリッジを左
右に微少量移動させて誤印字文字を消去すると共に、ア
ンダーラインを消去するときにもキャリッジを左右に微
少量移動させるので、誤印字文字は完全に消去できる
が、アンダーラインはアンダーライン活字の文字幅分に
加えて、微小量移動分多く消去されてしまう。At this time, as described above, the printing device moves the carriage to the left and right by a small amount to erase the erroneous printed characters, and also moves the carriage to the left and right by a small amount when erasing the underline. Although it can be completely erased, the underline is erased by a small amount in addition to the character width of the underline type.
このために、例えば第7図に示すようにアンダーライン
付の印字文字を消去後、アンダーライン付で訂正印字
(例えば文字「H」)をすると、アンダーライン80はキ
ャリッジの微小量移動分に相当する隙間81が空いて途切
れてしまうので、前後のアンダーラインに連続した奇麗
なアンダーライン印字ができなくなるという問題があ
る。Therefore, for example, as shown in FIG. 7, when the underlined print character is erased and the correction print is performed with the underline (for example, the letter “H”), the underline 80 corresponds to a minute movement amount of the carriage. Since there is a gap 81 between the underlines, the gaps are interrupted, and there is a problem that it is not possible to print clean underline that is continuous with the underlines before and after.
本発明の目的は、アンダーライン付き文字を消去すると
きに、消去文字の前後の印字文字のアンダーラインデー
タに基いて、アンダーラインデータが連続しているとき
には印字ヘッドを移動しないでアンダーラインを消去す
るようにした文字消去可能な印字装置を提供することに
ある。An object of the present invention is, when erasing an underlined character, based on the underline data of print characters before and after the erased character, when the underline data is continuous, the underline is erased without moving the print head. It is to provide a printing device capable of erasing characters.
本発明に係る文字消去可能な印字装置は、第1図の機能
ブロック図に示すように、文字や記号のデータ等を入力
する入力手段と、複数の活字と印字ハンマと印字リボン
とを備え、入力データに対応する文字や記号を印字媒体
に印字する印字手段と、印字された文字や記号のコード
データとアンダーラインデータとを印字位置に対応させ
て記憶する印字データメモリと、印字手段の印字ヘッド
の現在位置を印字位置と対応させて記憶する現在位置メ
モリと、入力手段から消去指令が入力されたときに、印
字データメモリのデータと現在位置メモリのデータとに
基いて、現在位置とその前後に印字ヘッドを微少移動さ
せた位置にて、消去すべき文字や記号と同一の文字や記
号の活字を消去リボンを介して印字ハンマで複数回打撃
することにより、その文字や記号を消去する消去手段と
を備えた文字消去可能な印字装置において、消去手段で
消去するときに現在位置メモリのデータに基いて印字デ
ータメモリから印字ヘッドの現在位置とその1つ上位側
印字位置及び1つ下位側印字位置のアンダーラインデー
タを検索する検索手段と、検索手段により印字ヘッドの
現在位置及びその1つ上位側印字位置又は1つ下位側印
字位置にアンダーラインデータが検出されたときに、前
記現在位置のアンダーラインは印字ヘッドを微少移動さ
せずに消去手段に消去させるアンダーライン消去制御手
段とを設けたものである。As shown in the functional block diagram of FIG. 1, a character erasable printing device according to the present invention comprises input means for inputting data such as characters and symbols, a plurality of characters, a printing hammer and a printing ribbon. Printing means for printing characters or symbols corresponding to input data on a printing medium, print data memory for storing code data of printed characters or symbols and underline data in correspondence with printing positions, and printing by the printing means The current position memory that stores the current position of the head in correspondence with the print position, and the current position and its position based on the data in the print data memory and the data in the current position memory when an erase command is input from the input means. At the position where the print head is slightly moved back and forth, the type of the same letter or symbol as the letter or symbol to be erased is struck multiple times with a print hammer through the erase ribbon, In a character erasable printing device having erasing means for erasing the characters and symbols of the present invention, when erasing by the erasing means, based on the data of the current position memory, the current position of the print head from the print data memory and its upper one Retrieval means for retrieving underline data of the side print position and one lower print position, and underline data is detected by the search means at the current position of the print head and one of the upper print position or one lower print position. The underline at the current position is provided with an underline erasing control means for erasing by the erasing means without slightly moving the print head.
本発明に係る文字消去可能な印字装置においては、複数
の活字と印字ハンマと印字リボンとを備えた印字手段は
入力手段から入力される入力データに対応する文字や記
号を印字媒体に印字する。In the character erasable printing device according to the present invention, the printing means having a plurality of characters, the print hammer and the print ribbon prints characters or symbols corresponding to the input data input from the input means on the print medium.
印字手段で印字された文字や記号のコードデータとアン
ダーラインデータとが印字位置に対応して印字データメ
モリに記憶され、更に印字手段の印字ヘッドの現在位置
は印字位置と対応して現在位置メモリに記憶される。The code data of characters and symbols printed by the printing means and the underline data are stored in the print data memory corresponding to the printing position, and the current position of the print head of the printing means corresponds to the printing position and the current position memory. Memorized in.
入力手段から消去指令が入力されると、印字ヘッドの現
在位置に対応する文字や記号は消去手段により、印字デ
ータメモリのデータと現在位置メモリのデータとに基い
て、印字ヘッドの現在位置とその前後に印字ヘッドを微
小移動させた位置で消去する文字や記号と同一の文字や
記号の活字を消去リボンを介して印字ハンマで複数回打
撃することにより消去される。When an erasing command is input from the input means, the erasing means causes the erasing means to erase the character or symbol corresponding to the current position of the print head based on the data in the print data memory and the data in the current position memory. Characters that are the same as the characters or symbols to be erased at the position where the print head is moved slightly back and forth are erased by hitting multiple times with a print hammer through the erase ribbon.
消去手段で印字文字を消去するときに、検索手段は現在
位置メモリのデータに基いて、印字データメモリから印
字ヘッドとその1つ上位側印字位置及び1つ下位側印字
位置のアンダーラインデータを検出する。そして、検索
手段により印字ヘッドの現在位置及びその1つ上位側印
字位置又は1つ下位側印字位置にアンダーラインデータ
が検出されると、アンダーライン消去制御手段は消去手
段に印字ヘッドを微小移動させずに現在位置のアンダー
ラインを消去させる。When erasing the print characters by the erasing means, the searching means detects, from the print data memory, the underline data of the print head and one upper side printing position and one lower side printing position based on the data of the current position memory. To do. When the retrieving means detects underline data at the current position of the print head and one of the upper print position or the one lower print position, the underline erasing control means causes the erasing means to slightly move the print head. Without deleting the underline at the current position.
以上説明したように、本発明に係る文字消去可能な印字
装置によれば、文字や記号を消去するときに、印字ヘッ
ドの現在位置及びその1つの上位側印字位置又は1つ下
位側印字位置にアンダーラインデータが検出されると、
印字ヘッドを微小移動させずに現在位置のアンダーライ
ンが消去されるので、アンダーラインはアンダーライン
活字の文字幅分だけ消去さることになる。As described above, according to the character erasable printing device of the present invention, when erasing a character or a symbol, the current position of the print head and one of the upper print position or the one lower print position thereof are set. When underline data is detected,
Since the underline at the current position is erased without slightly moving the print head, the underline is erased by the character width of the underline type.
即ち、文字消去後アンダーライン付で訂正印字すると、
そのアンダーラインと1つ上位側印字位置又は1つ下位
側印字位置のアンダーラインとは隙間が空かずに途切れ
ることがなく、連続した綺麗なアンダーライン印字がで
きる。That is, if you correct and print with underline after erasing characters,
There is no gap between the underline and the underline at the one upper print position or the one lower print position, and there is no discontinuity, and continuous and clean underline printing can be performed.
以下、本発明の実施例を図面に基いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.
本実施例は本発明を電子タイプライタに適用した場合の
ものである。In this embodiment, the present invention is applied to an electronic typewriter.
第2図に示すように、電子タイプライタ1の本体フレー
ム2の前部には、キーボード3が配置され、キーボード
3の後方で本体フレーム2には印字機構PMが配設され、
又、キーボード3の後部には入力した文字や記号等を表
示するための1行分の液晶ディスプレイ75が設けられて
いる。As shown in FIG. 2, a keyboard 3 is arranged at the front of the body frame 2 of the electronic typewriter 1, and a printing mechanism PM is arranged at the body frame 2 behind the keyboard 3.
In addition, a liquid crystal display 75 for one line is provided at the rear of the keyboard 3 for displaying characters and symbols that have been input.
キーボード3には、アルファベットキーや数字キー及び
記号キーを含む文字キー10、スペースキー11、印字文字
を消去するための消去キー12、アンダーラインを施すた
めのオートアンダーラインキー13と各種機能キーが通常
のタイプライタと同様に設けられている。The keyboard 3 includes a character key 10 including alphabetic keys, numeral keys and symbol keys, a space key 11, an erase key 12 for erasing print characters, an auto-underline key 13 for underlining, and various function keys. It is provided like a normal typewriter.
印字機構PMには、少なくとも、印字用紙を紙送りするプ
ラテン20とそれを駆動するモータとその駆動回路、プラ
テン20と平行なガイド21に支持されたキャリッジ22とそ
れを左右方向へ往復駆動するモータとその駆動回路、ホ
イールカセット23に収容された活字ホイール24とそれを
駆動するモータとその駆動回路、リボンカセット25に収
納された印字リボン26とそれを巻取るモータとその駆動
回路、活字ホイール24の活字27を打撃する印字ハンマと
それを駆動するソレノイド28とその駆動回路、印字リボ
ン26或いは訂正リボン29を選択的に印字位置に配置する
リボン切換機構などが設けられており、この印字機構PM
は通常の電子タイプライタの印字機構と同様のものであ
る。The printing mechanism PM includes at least a platen 20 for feeding a printing sheet, a motor for driving the platen 20, a drive circuit for the platen 20, a carriage 22 supported by a guide 21 parallel to the platen 20, and a motor for reciprocating the carriage 22 in the left-right direction. And its drive circuit, the type wheel 24 accommodated in the wheel cassette 23, the motor for driving it and its drive circuit, the printing ribbon 26 accommodated in the ribbon cassette 25, the motor for winding it and its drive circuit, the type wheel 24 The printing hammer for striking the type 27 of the type, the solenoid 28 for driving it, its drive circuit, the ribbon switching mechanism for selectively arranging the printing ribbon 26 or the correction ribbon 29 at the printing position, and the like are provided.
Is similar to the printing mechanism of an ordinary electronic typewriter.
次に、電子タイプライタの制御系の全体構成について第
3図のブロック図に基いて説明する。Next, the overall configuration of the control system of the electronic typewriter will be described with reference to the block diagram of FIG.
電子タイプライタ1は基本的にはキーボード3、印字機
構PM、表示機構D及び制御装置C等で構成され、キーボ
ード3、印字機構PM、表示機構Dはデータバス等を介し
て制御装置CのメインCPU(中央演算装置)39に接続さ
れている。The electronic typewriter 1 is basically composed of a keyboard 3, a printing mechanism PM, a display mechanism D, a control device C and the like, and the keyboard 3, the printing mechanism PM and the display mechanism D are main parts of the control device C via a data bus or the like. It is connected to a CPU (Central Processing Unit) 39.
制御装置CはメインCPU39と、そのメインCPU39にデータ
バス等を介して接続されたROM(リード・オンリ・メモ
リ)40及びRAM(ランダム・アクセス・メモリ)50とか
ら構成されている。The control device C is composed of a main CPU 39, a ROM (read only memory) 40 and a RAM (random access memory) 50 connected to the main CPU 39 via a data bus or the like.
ROM40のプログラムメモリ41には、キーボード3の各文
字キーや各種機能キーから入力されるコードデータに対
応させて印字機構PMや表示機構Dを制御する制御プログ
ラム及び後述のアンダーライン付文字消去制御の制御プ
ログラムなどが記憶されている。In the program memory 41 of the ROM 40, a control program for controlling the printing mechanism PM and the display mechanism D corresponding to code data input from each character key or various function keys of the keyboard 3 and an underlined character erasing control which will be described later. A control program and the like are stored.
RAM50には、印字位置と対応させて絶対原点からのキャ
リッジ22(印字ヘッド)の現在位置を順次更新して記憶
する現在位置メモリ51と、印字された文字等のコードデ
ータとアンダーラインやボールドなどのアトリビュート
データとを2バイトで印字位置と対応させて順々に約50
0文字記憶する印字データメモリ52と、キーボード3か
ら入力されてディスプレイ75に表示される文字等のデー
タを記憶する入力バッファと、入力データをファイルデ
ータとして記憶するテキストメモリと、カーソル表示位
置をディスプレイ75の各表示位置と対応させてカーソル
移動に応じてカウントするカーソル表示位置カウンタ
と、カーソル表示位置カウンタのデータに対応して入力
バッファのアドレスを指示するカーソル位置ポインタ
と、印字データメモリ52において指示されたアドレスの
データを検索する印字データポインタ53と、メインCPU3
9で演算処理した結果を一時的に記憶する各種のメモリ
が設けられている。The RAM 50 includes a current position memory 51 that sequentially updates and stores the current position of the carriage 22 (print head) from the absolute origin in association with the print position, code data such as printed characters, underline, bold, etc. Approximately 50 in sequence with 2 bytes corresponding to the attribute data and the print position.
A print data memory 52 for storing 0 characters, an input buffer for storing data such as characters input from the keyboard 3 and displayed on the display 75, a text memory for storing the input data as file data, and a cursor display position are displayed. A cursor display position counter that counts according to the movement of the cursor in correspondence with each display position of 75, a cursor position pointer that indicates the address of the input buffer corresponding to the data of the cursor display position counter, and an instruction in the print data memory 52 Print data pointer 53 to search the data of the specified address, and the main CPU3
Various memories are provided for temporarily storing the results of arithmetic processing in 9.
メインCPU39は、制御プログラムに基いて、各文字キー1
0から入力されるデータに対応する文字・記号を印字機
構PMに印字させ、印字データを印字位置と対応させて印
字データメモリ52に順次記憶させる。Main CPU39, each character key 1 based on the control program
Characters / symbols corresponding to data input from 0 are printed on the printing mechanism PM, and the print data is sequentially stored in the print data memory 52 in correspondence with the print position.
更に、消去キー12が操作されると、メインCPU39は、現
在位置メモリ51のデータと印字データメモリ52のデータ
に基いて印字文字と同一の活字27を訂正リボン29を介し
て印字機構PMに打撃させて消去させる。この場合印字ヘ
ッドの現在位置で1回打撃させ、次に印字ヘッドを印字
方向に例えば1/240インチ微少移動させた位置で1回打
撃させ、次に印字ヘッドを前記現在位置から反印字方向
に1/240インチ微少移動させた位置で1回打撃させ、合
計3回の打撃により消去を実行させる。Further, when the delete key 12 is operated, the main CPU 39 strikes the print mechanism PM via the correction ribbon 29 with the same type 27 as the print character based on the data of the current position memory 51 and the data of the print data memory 52. Let it erase. In this case, the print head is struck once at the current position, then the print head is struck once at a position slightly moved in the printing direction by, for example, 1/240 inch, and then the print head is moved in the opposite printing direction from the current position. It is struck once at a position slightly moved by 1/240 inch, and erased by a total of three hits.
表示機構Dは、インターフェイス70と表示用CPU71とキ
ャラクタジェネレータ72とディスプレイコントローラ73
と液晶ディスプレイ75とから構成され、図示のように接
続されている。The display mechanism D includes an interface 70, a display CPU 71, a character generator 72, and a display controller 73.
And a liquid crystal display 75, which are connected as shown.
キャラクタジェネレータ72には、ディスプレイ75に文字
・記号を表示するため約400種類のドットマトリックス
表示データがコードデータに対応して記憶されている。The character generator 72 stores about 400 types of dot matrix display data corresponding to code data for displaying characters and symbols on the display 75.
表示用CPU71は、インターフェース70を介してメインCPU
39から出力されるコマンドデータや文字データに基き、
これらに対応する表示データをキャラクタジェネレータ
72から読出し、その表示データをディスプレイコントロ
ーラ73へ出力する。ディスプレイコントローラ73は、表
示データを表示用RAM74に書込むと同時に、その表示デ
ータに応じた表示信号をディスプレイ75に出力する。更
に、表示用CPU71は、インターフェイス70を介してメイ
ンCPU39からのカーソル移動データに応じて、ディスプ
レイコントローラ73にカーソルの移動先のアドレスを指
示するカーソル移動制御も行う。The display CPU 71 is the main CPU via the interface 70.
Based on the command data and character data output from 39,
Display data corresponding to these is generated by the character generator.
It reads from 72 and outputs the display data to the display controller 73. The display controller 73 writes the display data in the display RAM 74 and, at the same time, outputs a display signal corresponding to the display data to the display 75. Further, the display CPU 71 also performs cursor movement control for instructing the display controller 73 of the address of the cursor movement destination according to the cursor movement data from the main CPU 39 via the interface 70.
次に、電子タイプライタの制御装置Cで行われるアンダ
ーライン付文字消去制御について、第4図のフローチャ
ートに基いて説明する。Next, the underlined character erasing control performed by the control device C of the electronic typewriter will be described with reference to the flowchart of FIG.
タイプライタ1に電源が投入されるとこの制御が開始さ
れステップS1(以下、単にS1で表し、他のステップも同
様に扱う)へ移行して初期設定が実行され、S2において
キー入力待ちをする。キー入力されるとS3へ移行し、消
去キー12か否かが判定され、消去キー12でないとき、例
えば文字キー10のときにはS4へ移行して入力データが印
字されると共に印字データが印字データメモリ52に記憶
され、S2に戻る。このとき、メインCPU39は印字機構PM
の各駆動回路に制御信号を出力する。When the power of the typewriter 1 is turned on, this control is started, and the process proceeds to step S1 (hereinafter referred to simply as S1 and other steps are handled in the same manner) to execute the initial setting, and wait for key input in S2. . When a key is input, the process proceeds to S3, and it is determined whether or not the erase key 12 is present. If the erase key 12 is not present, for example, if it is the character key 10, the process proceeds to S4 and the input data is printed and the print data is stored in the print data memory. It is stored in 52 and returns to S2. At this time, the main CPU39 is the printing mechanism PM.
And outputs a control signal to each drive circuit.
消去キー12が操作されるとS3でYesと判定されてS5に移
行する。S5にて、印字データポインタ53に現在位置メモ
リ51のデータが書込まれ、印字データポインタ53のデー
タに基いて印字データメモリ52の印字ヘッド位置に対応
するアドレスのデータが読出される。そして、次のS6に
て、そのデータは印字データか否かが判定され、印字デ
ータのときにはS7へ移行する。When the delete key 12 is operated, it is determined as Yes in S3 and the process proceeds to S5. In S5, the data of the current position memory 51 is written in the print data pointer 53, and the data of the address corresponding to the print head position of the print data memory 52 is read based on the data of the print data pointer 53. Then, in the next S6, it is determined whether or not the data is print data, and when it is print data, the process proceeds to S7.
S7にて、アンダーラインのデータが有るか否か、つまり
読出したデータの下位1バイトに設けられているアンダ
ーライン付与ビットが「1」か否かが判定され、アンダ
ーラインのデータが有るときには、S8へ移行する。S8に
て、印字データポインタ53から1が減算され、このデー
タに基いて印字データメモリ52における印字ヘッド位置
よりも1文字反印字方向の印字位置に対応する印字デー
タが読出される。In S7, it is determined whether there is underline data, that is, whether the underline addition bit provided in the lower 1 byte of the read data is "1". If there is underline data, Move to S8. In S8, 1 is subtracted from the print data pointer 53, and based on this data, the print data corresponding to the print position in the print data memory 52 in the direction opposite to the print head by one character is read out.
S9において、アンダーラインのデータが有るか否か、つ
まりアンダーラインが連続しているか否かが判定され、
アンダーラインのデータが有るときにはS10へ移行す
る。例えば、第5図(a)に示すように、印字ヘッドは
文字「B」の印字文字に位置しており、文字「A」と文
字「B」とにアンダーラインが連続して印字されてい
る。In S9, it is determined whether there is underline data, that is, whether the underline is continuous,
If there is underlined data, the process proceeds to S10. For example, as shown in FIG. 5 (a), the print head is located at the print character of the character "B", and the characters "A" and "B" are continuously underlined. .
S10において、アンダーラインを除いた印字文字が消去
される。例えば、第5図(b)に示すように、アンダー
ラインを除いた文字「B」は通常の消去処理つまり文字
「B」のキャラクタコードに基いて、印字機構PMの活字
ホイール24、ソレノイド28、訂正リボン29などを駆動さ
せ、キャリッジ22を左右に微小量移動させ乍ら消去動作
を3回実行して文字「B」を消去する。In S10, the print characters except the underline are erased. For example, as shown in FIG. 5B, the character "B" excluding the underline is based on the normal erasing process, that is, the character code of the character "B". The correction ribbon 29 or the like is driven, and the carriage 22 is moved to the right or left by a small amount, and the erasing operation is executed three times to erase the character "B".
S11において、印字ヘッドを移動せずにアンダーライン
が消去される。例えば、第5図(c)に示すように、印
字ヘッドが印字位置に位置した状態において、アンダー
ラインの活字27が訂正リボン29を介して1回又は複数回
打撃され、アンダーラインが消去される。即ち、アンダ
ーラインは1文字分に対応する長さだけ消去される。In S11, the underline is erased without moving the print head. For example, as shown in FIG. 5 (c), the underlined type 27 is struck through the correction ribbon 29 one or more times to erase the underline when the print head is located at the print position. . That is, the underline is erased by the length corresponding to one character.
S12において、消去したデータに対応する印字データメ
モリ52のアドレスにスペースコードが書込まれ、又アン
ダーラインのデータが除去されて消去したがデータが印
字データメモリ52から消去され、S2に戻る。In S12, the space code is written in the address of the print data memory 52 corresponding to the erased data, and the underlined data is removed and erased, but the data is erased from the print data memory 52, and the process returns to S2.
そして、訂正印字のために文字キー10がオートアンダー
ラインモードで操作されると、S2〜S3を経てS4で文字キ
ー10に対応する文字がアンダーライン付で印字される。
例えば第5図(d)に示すように、文字「D」がアンダ
ーライン付で印字される。このときに、アンダーライン
は途切れず、連続して印字される。Then, when the character key 10 is operated in the automatic underline mode for correction printing, the character corresponding to the character key 10 is printed with an underline in S4 through S2 to S3.
For example, as shown in FIG. 5 (d), the character "D" is printed with underlining. At this time, the underline is continuously printed without interruption.
一方、S9でNoと判定されるとS13へ移行する。S13にて、
印字データポインタ53に1が加算され、このデータに基
いて印字データメモリ52における印字ヘッド位置の1文
字印字方向の印字位置に対応する印字データが読出され
る。そしてS14において、アンダーラインのデータが有
るか否か、つまりアンダーラインが連続しているか否か
が判定され、アンダーラインのデータが有るときには、
S10へ移行し、アンダーラインを除いた印字文字が消去
され、次にS11にてアンダーラインが消去され、次にS12
にて消去したデータが印字データメモリ52から消去さ
れ、S2に戻る。例えば、第5図(a)に示すように、印
字ヘッドは文字「B」の印字位置に位置しており、文字
「B」と文字「C」とにアンダーラインが連続して印字
されているときには、先づ文字「B」が消去され、次に
アンダーラインが1文字分に対応する長さだけ消去され
る(第5図(b)・(c)参照)。On the other hand, if No is determined in S9, the process proceeds to S13. At S13,
1 is added to the print data pointer 53, and the print data corresponding to the print position of the print head position in the print data memory 52 in the one-character print direction is read based on this data. Then, in S14, it is determined whether there is underline data, that is, whether the underline is continuous, and if there is underline data,
The process moves to S10, the print characters except the underline are erased, then the underline is erased in S11, and then S12.
The data erased at is erased from the print data memory 52, and the process returns to S2. For example, as shown in FIG. 5 (a), the print head is located at the print position of the character "B", and the characters "B" and "C" are continuously underlined. Sometimes, the character "B" is erased first, and then the underline is erased by the length corresponding to one character (see FIGS. 5B and 5C).
又、S7でNoと判定されたとき或いはS14でNoと判定され
たとき、つまりアンダーラインが連続していないときに
はS15へ移行して、印字ヘッド位置に対応する印字文字
が(アンダーライン付きであるときにはアンダーライン
と共に)消去され、次のS12でそのデータが印字データ
メモリ52から消去されて、S2に戻る。例えば、第6図
(a)に示すように、印字ヘッドは文字「B」の印字位
置に位置しており、文字「B」にのみアンダーラインが
印字されているときには、第6図(b)に示すように、
文字「B」とアンダーラインとが通常の消去処理つまり
文字「B」のキャラクタコードとアンダーライン付与ビ
ットとに基いて、印字機構PMの活字ホイール24、ソレノ
イド28、訂正リボン29などを駆動させ、キャリッジ22を
左右に微小量移動させ乍ら消去動作を夫々3回実行し
て、文字「B」とアンダーラインとが消去されると共に
印字データメモリ52からも消去される。Also, when it is determined No in S7 or No in S14, that is, when the underline is not continuous, the process proceeds to S15, and the print character corresponding to the print head position is (with an underline). It is erased (sometimes with an underline), the data is erased from the print data memory 52 in the next S12, and the process returns to S2. For example, as shown in FIG. 6 (a), the print head is located at the printing position of the character “B”, and when the underline is printed only on the character “B”, FIG. 6 (b). As shown in
The character "B" and the underline are normally erased, that is, based on the character code of the character "B" and the underline addition bit, the type wheel 24, solenoid 28, correction ribbon 29, etc. of the printing mechanism PM are driven. The carriage 22 is moved to the left and right by a small amount, and the erasing operation is performed three times each to erase the character "B" and the underline, and also erase from the print data memory 52.
S6においてNoと判定されたとき、例えばスペースコード
のときにはS16へ移行し、印字ヘッドが反印字方向へ1
文字分移動される。次のS17にて、印字データポインタ5
3に現在位置メモリ51のデータが書込まれ、この印字デ
ータポインタ53のデータに基いて印字データメモリ52の
印字ヘッド位置に対応するアドレスのデータが読出され
る。そして、次のS18において、印字データが有るか否
かが判定され、印字データがあるときにはS7以降が繰返
され、又印字データがないとき、例えば印字データメモ
リ52の先頭データのときにはS19へ移行し、ブザーを鳴
動させるなどのアラーム処理され、S2に戻る。When it is determined No in S6, for example, when it is a space code, the process proceeds to S16, and the print head moves 1 in the reverse printing direction.
It is moved by the character. In next S17, print data pointer 5
The data of the current position memory 51 is written in 3, and the data of the address corresponding to the print head position of the print data memory 52 is read based on the data of the print data pointer 53. Then, in the next S18, it is determined whether or not there is print data, and if there is print data, S7 and subsequent steps are repeated, and if there is no print data, for example, if it is the first data in the print data memory 52, then the process proceeds to S19. , Alarm processing such as sounding the buzzer is performed, and the process returns to S2.
以上説明したように、文字を消去するときに、消去すべ
き印字文字及びその1つ印字方向側の印字文字又は1つ
反印字方向側の印字文字にアンダーラインが連続して印
字されているときには、先づ印字文字が印字ヘッドの微
小移動を介して確実に消去され、次に印字ヘッドを移動
させることなくアンダーラインが消去されるので、アン
ダーラインはアンダーライン活字の文字幅分に対応する
長さだけ消去されることになる。As described above, when erasing a character, when an underline is continuously printed on the print character to be erased and one print character on the print direction side or one print character on the opposite print direction side, , Since the printed character is erased surely through the slight movement of the print head first and the underline is erased without moving the print head next, the underline is the length corresponding to the character width of the underline type. It will only be erased.
つまり、アンダーライン付文字を訂正印字したときに
は、アンダーラインが途切れず、連続した綺麗なアンダ
ーライン印字を行なうことができる。That is, when the underlined character is corrected and printed, the underline is not interrupted, and continuous and clean underline printing can be performed.
第1図は本発明の構成を説明する機能ブロック図、第2
図〜第6図は本発明の実施例を示すもので、第2図は電
子タイプライタの斜視図、第3図はタイプライタの制御
系のブロック図、第4図はアンダーライン付文字消去制
御のルーチンのフローチャート、第5図、第6図はアン
ダーライン付文字の消去制御を説明する図、第7図は従
来のアンダーライン付文字の消去制御を説明する図であ
る。 3……キーボード、12……消去キー、13……オートアン
ダーラインキー、26……印字リボン、27……活字、28…
…ソレノイド、29……訂正リボン、39……メインCPU、4
0……ROM、50……RAM、51……現在位置メモリ、52……
印字データメモリ、53……印字データポインタ、C……
制御装置。FIG. 1 is a functional block diagram for explaining the configuration of the present invention, and FIG.
1 to 6 show an embodiment of the present invention. FIG. 2 is a perspective view of an electronic typewriter, FIG. 3 is a block diagram of a control system of the typewriter, and FIG. 4 is an underlined character erasing control. FIG. 5, FIG. 6 and FIG. 6 are flowcharts for explaining the erase control of underlined characters, and FIG. 7 is a diagram for explaining the conventional erase control of underlined characters. 3 ... Keyboard, 12 ... Delete key, 13 ... Auto underline key, 26 ... Print ribbon, 27 ... Type, 28 ...
… Solenoid, 29 …… Correction ribbon, 39 …… Main CPU, 4
0 …… ROM, 50 …… RAM, 51 …… Current position memory, 52 ……
Print data memory, 53 …… Print data pointer, C ……
Control device.
Claims (1)
と、 複数の活字と印字ハンマと印字リボンとを備え、入力デ
ータに対応する文字や記号を印字媒体に印字する印字手
段と、 印字された文字や記号のコードデータとアンダーライン
データとを印字位置に対応させて記憶する印字データメ
モリと、 印字手段の印字ヘッドの現在位置を印字位置と対応させ
て記憶する現在位置メモリと、 入力手段から消去指令が入力されたときに、印字データ
メモリのデータと現在位置メモリのデータとに基いて、
現在位置とその前後に印字ヘッドを微少移動させた位置
にて、消去すべき文字や記号と同一の文字や記号の活字
を消去リボンを介して印字ハンマで複数回打撃すること
により、その文字や記号を消去する消去手段とを備えた
文字消去可能な印字装置において、 前記消去手段で消去するときに現在位置メモリのデータ
に基いて印字データメモリから印字ヘッドの現在位置と
その1つ上位側印字位置及び1つ下位側印字位置のアン
ダーラインデータを検索する検索手段と、 前記検索手段により印字ヘッドの現在位置及びその1つ
上位側印字位置又は1つ下位側印字位置にアンダーライ
ンデータが検出されたときに、前記現在位置のアンダー
ラインは印字ヘッドを微少移動させずに消去手段に消去
させるアンダーライン消去制御手段とを設けたことを特
徴とする文字消去可能な印字装置。1. A printing means for printing characters or symbols corresponding to input data on a print medium, comprising: an input means for inputting data of characters or symbols; a plurality of characters; a printing hammer; and a printing ribbon. A print data memory for storing the code data of the characters and symbols and the underline data corresponding to the print position, a current position memory for storing the current position of the print head of the printing means in correspondence with the print position, and an input When an erase command is input from the means, based on the data in the print data memory and the data in the current position memory,
At the current position and a position where the print head is moved slightly before and after it, the type of the same character or symbol as the character or symbol to be erased is struck multiple times with a print hammer through the erase ribbon, In a character erasable printing device including erasing means for erasing a symbol, when erasing by the erasing means, the current position of the print head and one upper side printing from the print data memory based on the data of the current position memory are printed. Search means for searching the position and the underline data of the one lower print position, and the underline data is detected by the search means at the current position of the print head and one upper print position or one lower print position thereof. The underline at the current position is provided with underline erasing control means for erasing by the erasing means without slightly moving the print head. Character erasable printing apparatus according to claim.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62095696A JPH0671812B2 (en) | 1987-04-17 | 1987-04-17 | Character erasable printing device |
| US07/121,880 US4818130A (en) | 1986-11-19 | 1987-11-17 | Character erasable printing apparatus including selective erasing of variable length underline |
| EP87310183A EP0268470B1 (en) | 1986-11-19 | 1987-11-18 | Character erasable printing apparatus |
| DE8787310183T DE3784845T2 (en) | 1986-11-19 | 1987-11-18 | ERASABLE LETTERS PRINTING DEVICE. |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62095696A JPH0671812B2 (en) | 1987-04-17 | 1987-04-17 | Character erasable printing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63260474A JPS63260474A (en) | 1988-10-27 |
| JPH0671812B2 true JPH0671812B2 (en) | 1994-09-14 |
Family
ID=14144661
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62095696A Expired - Lifetime JPH0671812B2 (en) | 1986-11-19 | 1987-04-17 | Character erasable printing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0671812B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02194986A (en) * | 1989-01-23 | 1990-08-01 | Canon Inc | Recorder |
-
1987
- 1987-04-17 JP JP62095696A patent/JPH0671812B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63260474A (en) | 1988-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0753467B2 (en) | Electronic typewriter | |
| JPS63167960A (en) | document processing device | |
| JPS63120362A (en) | Document processing device with spell check function | |
| JP4491220B2 (en) | Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program | |
| JPH0671812B2 (en) | Character erasable printing device | |
| EP0268470B1 (en) | Character erasable printing apparatus | |
| JPH0671811B2 (en) | Character erasable printing device | |
| JPS6354273A (en) | electronic typewriter | |
| US5060184A (en) | Word processing apparatus | |
| JP3826536B2 (en) | Document processing device | |
| JPS63128970A (en) | Character erasure mechanism of printer | |
| JP2759942B2 (en) | Document processing device | |
| JPS63170068A (en) | Output device | |
| JPS6237735A (en) | Electronic typewriter | |
| JPS62294578A (en) | Printing apparatus | |
| JPS63297082A (en) | Electronic typewriter | |
| JPS63234318A (en) | Printer | |
| JPH03256777A (en) | document creation device | |
| JPS63281845A (en) | Printing apparatus | |
| JPH01234968A (en) | Document editing device | |
| JPH0812670B2 (en) | Spell check data processor | |
| JPS63102969A (en) | Electronic typewriter | |
| JPH01145179A (en) | Electronic typewriter with correction function | |
| JPS63213056A (en) | document processing device | |
| JPS62294575A (en) | printing device |