JPS63260474A - Character-erasable printer - Google Patents

Character-erasable printer

Info

Publication number
JPS63260474A
JPS63260474A JP62095696A JP9569687A JPS63260474A JP S63260474 A JPS63260474 A JP S63260474A JP 62095696 A JP62095696 A JP 62095696A JP 9569687 A JP9569687 A JP 9569687A JP S63260474 A JPS63260474 A JP S63260474A
Authority
JP
Japan
Prior art keywords
data
printing
character
print
underline
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.)
Granted
Application number
JP62095696A
Other languages
Japanese (ja)
Other versions
JPH0671812B2 (en
Inventor
Yuichi Harada
祐一 原田
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 JP62095696A priority Critical patent/JPH0671812B2/en
Priority to US07/121,880 priority patent/US4818130A/en
Priority to DE8787310183T priority patent/DE3784845T2/en
Priority to EP87310183A priority patent/EP0268470B1/en
Publication of JPS63260474A publication Critical patent/JPS63260474A/en
Publication of JPH0671812B2 publication Critical patent/JPH0671812B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/26Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling
    • B41J29/36Devices, 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)

Abstract

PURPOSE:To erase the character width of an underlined type by detecting underline data at the present position of a print head, a printing position disposed at the upper or lower position by one, and erasing the underline of the present position without finely moving the head. CONSTITUTION:A main CPU 39 prints a character/symbol corresponding to data input from each character key 10 by a printing mechanism PM on the basis of a control program, and sequentially stores printing data corresponding to printing positions in a printing data memory 52. Further, when an erasure key 12 is operated, the CPU 39 hits the same type 27 as a printing character through a correction ribbon 29 by the mechanism PM on the basis of the data of a present position memory 51 and the data of the memory 52 to erase it. In this case, the erasure is executed by striking totally three times by first striking at the present position of a printing head, then striking the head at a position finely moved, for example, 1/240 inch in a printing direction, and eventually striking the head by finely moving it, for example, 1/240 inch from the present position in a reverse printing direction.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文字消去可能な印字装置に関し、特にアンダー
ライン付き文字を消去するときに、消去文字の前後の印
字文字のアンダーラインデータに基いて、印字ヘッドを
移動しないでアンダーラインを消去するようにした文字
消去可能な印字装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a printing device capable of erasing characters, and in particular, when erasing underlined characters, the present invention is based on the underline data of printed characters before and after the erased character. The present invention relates to a printing device capable of erasing characters, which erases underlines without moving the print head.

〔従来技術] 一般に、文字消去可能な電子タイプライタなどの印字装
置では、印字中の誤印字文字を消去キー操作で消去する
オートコレクション機構を備えているものがある。この
オートコレクション機構として、誤印字文字上に修正剤
を貼り付けるカバーラップ方式と、印字したインクを訂
正リボンで剥ぎ取るリフトオフ方式とがあり、近年では
リフトオフ方式が一般に使用されている。
[Prior Art] Generally, some printing devices such as electronic typewriters that are capable of erasing characters are equipped with an auto-correction mechanism that erases erroneously printed characters during printing by operating an erase key. There are two types of auto-correction mechanisms: a cover wrap method in which a correction agent is pasted on the erroneously printed characters, and a lift-off method in which the printed ink is peeled off with a correction ribbon.The lift-off method has been commonly used in recent years.

このリフトオフ方式においては、印字用紙上に印字した
インクを印字リボンで剥ぎ取って誤印字文字を消去する
構成上、印字時と消去時とにおいて印字素子が同一位置
にあることが要求される。
In this lift-off method, the ink printed on the printing paper is removed with a printing ribbon to erase erroneously printed characters, so the printing element is required to be in the same position during printing and erasing.

即ち、印字時と消去時とにおける印字素子の停止位置が
少しでもずれると、印字したインクのうち剥ぎ取られな
い部分が生じる。従って、完全に誤印字文字を消去する
ためには、印字時と消去時とにおいて印字素子が完全に
同一位置であることが要求される。
That is, if the stopping position of the printing element during printing and erasing is even slightly shifted, a portion of the printed ink will not be peeled off. Therefore, in order to completely erase erroneously printed characters, it is required that the printing element be in the completely same position during printing and erasing.

しかし、そのような印字素子の停止位置精度を得ること
は、機構上及びコスト上の限界がある。
However, there are mechanical and cost limitations in achieving such precision in the stopping position of the printing element.

そこで、従来、例えば特開昭56−46992号、特開
昭60−147376号公報では、リフトオフ方式を採
用した印字装置において、キャリッジを左右に微小量移
動させ乍ら消去動作を複数回行うことにより、誤印字文
字のインクを完全に剥ぎ取れるようにしている。
Therefore, conventionally, for example, in JP-A-56-46992 and JP-A-60-147376, in a printing device that employs a lift-off method, the carriage is moved by a minute amount left and right and the erasing operation is performed multiple times. , the ink from misprinted characters can be completely removed.

〔発明が解決しようとする問題点] 上記従来の印字装置においては、オートアンダーライン
モードでアンダーライン付文字が印字されているときに
、オートコレクション機能によりこのアンダーライン付
の印字文字を消去すると、アンダーラインも同時に消去
することができる。
[Problems to be Solved by the Invention] In the conventional printing device described above, when an underlined character is printed in the auto underline mode, if the underlined printed character is erased by the auto correction function, Underlines can also be deleted at the same time.

このとき、印字装置は上述したように、キャリッジを左
右に微小量移動させて誤印字文字を消去すると共に、ア
ンダーラインを消去するときにもキャリッジを左右に微
小量移動させるので、誤印字文字は完全に消去できるが
、アンダーラインはアンダーライン活字の文字幅分に加
えて、微小量移動分多く消去されてしまう。
At this time, as mentioned above, the printing device moves the carriage a minute amount left and right to erase the incorrectly printed characters, and also moves the carriage a minute amount left and right when erasing the underline, so the incorrectly printed characters are removed. Although the underline can be completely erased, in addition to the character width of the underlined type, the amount of minute movement will be erased.

このために、例えば第7図に示すようにアンダーライン
付の印字文字を消去後、アンダーライン付で訂正印字(
例えば文字「H」)をすると、アンダーライン80はキ
ャリッジの微小量移動分に相当する隙間81が空いて途
切れてしまうので、前後のアンダーラインに連続した綺
麗なアンダーライン印字ができなくなるという問題があ
る。
For this purpose, for example, as shown in Figure 7, after erasing the underlined printed characters, the corrected characters are printed with the underline (
For example, when printing the letter "H"), the underline 80 is interrupted by a gap 81 corresponding to the small amount of movement of the carriage, so there is a problem that it is not possible to print a continuous and beautiful underline with the previous and subsequent underlines. be.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、アンダーライン付き文字を消去すると
きに、消去文字の前後の印字文字のアンダーラインデー
タに基いて、アンダーラインデータが連続しているとき
には印字ヘッドを移動しないでアンダーラインを消去す
るようにした文字消去可能な印字装置を提供することに
ある。
An object of the present invention is to erase underlined characters without moving the print head when the underlined data is continuous, based on the underline data of printed characters before and after the erased character. An object of the present invention is to provide a printing device capable of erasing characters.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係る文字消去可能な印字装置は、第1図の機能
ブロック図に示すように、文字や記号のデータ等を入力
する入力手段と、複数の活字と印字ハンマと印字リボン
とを備え、入力データに対応する文字や記号を印字媒体
に印字する印字手段と、印字された文字や記号のコード
データとアンダーラインデータとを印字位置に対応させ
て記憶する印字データメモリと、印字手段の印字ヘッド
の現在位置を印字位置と対応させて記憶する現在位置メ
モリと、入力手段から消去指令が入力されたときに、印
字データメモリのデータと現在位置メモリのデータとに
基いて、現在位置とその前後に印字ヘッドを微少移動さ
せた位置にて、消去すべき文字や記号と同一の文字や記
号の活字を消去リボンを介して印字ハンマで複数回打撃
することにより、その文字や記号を消去する消去手段と
を備えた文字消去可能な印字装置において、消去手段で
消去するときに現在位置メモリのデータに基いて印字デ
ータメモリから印字ヘッドの現在位置とその1つ上位側
印字位置及び1つ下位側印字位置のアンダーラインデー
タを検索する検索手段と、検索手段により印字ヘッドの
現在位置及びその1つ上位側印字位置又は1つ下位側印
字位置にアンダーラインデータが検出されたときに、前
記現在位置のアンダーラインは印字ヘッドを微少移動さ
せずに消去手段に消去させるアンダーライン消去制御手
段とを設けたものである。
As shown in the functional block diagram of FIG. 1, the character-erasable printing device according to the present invention includes an input means for inputting data such as characters and symbols, a plurality of characters, a printing hammer, and a printing ribbon. A printing means for printing characters and symbols corresponding to input data on a printing medium, a printing data memory for storing code data and underline data of the printed characters and symbols in correspondence with printing positions, and a printing means for printing. A current position memory stores the current position of the head in correspondence with the print position, and when an erase command is input from the input means, the current position and its current position are stored based on the data in the print data memory and the data in the current position memory. By slightly moving the print head back and forth, the printed characters or symbols that are the same as those to be erased are struck multiple times with a printing hammer through the erasing ribbon, thereby erasing the characters or symbols. In a printing device capable of erasing characters, which is equipped with an erasing means, when erasing is performed by the erasing means, the current position of the print head, one higher printing position, and one lower printing position are stored in the print data memory based on the data in the current position memory. a search means for searching for underline data at a side print position; Underline erasing control means is provided to cause the erasing means to erase the underline at the position without slightly moving the print head.

〔作用〕[Effect]

本発明に係る文字消去可能な印字装置においては、複数
の活字と印字ハンマと印字リボンとを備えた印字手段は
入力手段から入力される入力データに対応する文字や記
号を印字媒体に印字する。
In the character-erasable printing device according to the present invention, the printing means, which includes a plurality of printed characters, a printing hammer, and a printing ribbon, prints characters and symbols corresponding to input data input from the input means on a printing medium.

印字手段で印字された文字や記号のコードデータとアン
ダーラインデータとが印字位置に対応して印字データメ
モリに記憶され、更に印字手段の印字ヘッドの現在位置
は印字位置と対応して現在位置メモリに記憶される。
The code data and underline data of characters and symbols printed by the printing means are stored in the print data memory in correspondence with the printing position, and the current position of the print head of the printing means is stored in the current position memory in correspondence with the printing position. is memorized.

入力手段から消去指令が入力されると、印字ヘッドの現
在位置に対応する文字や記号は消去手段により、印字デ
ータメモリのデータと現在位置メモリのデータとに基い
て、印字ヘッドの現在位置とその前後に印字ヘッドを微
小移動させた位置で消去する文字や記号と同一の文字や
記号の活字を消去リボンを介して印字ハンマで複数回打
撃することにより消去される。
When an erasing command is input from the input means, the characters and symbols corresponding to the current position of the print head are erased by the erasing means based on the data in the print data memory and the data in the current position memory. The printed characters or symbols identical to those to be erased are erased by striking them multiple times with a printing hammer through an erasing ribbon at a position where the print head is slightly moved back and forth.

消去手段で印字文字を消去するときに、検索手段は現在
位置メモリのデータに基いて、印字データメモリから印
字ヘッドとその1つ上位側印字位置及び1つ下位側印字
位置のアンダーラインデータを検出する。そして、検索
手段により印字ヘッドの現在位置及びその1つ上位側印
字位置又は1つ下位側印字位置にアンダーラインデータ
が検出されると、アンダーライン消去制御手段は消去手
段に印字ヘッドを微小移動させずに現在位置のアンダー
ラインを消去させる。
When erasing a printed character by the erasing means, the search means detects the underline data of the print head and its one higher printing position and one lower printing position from the print data memory based on the data in the current position memory. do. When the search means detects underline data at the current position of the print head and one print position above or below the current position, the underline erasure control means causes the erasure means to slightly move the print head. Erases the underline at the current position without moving.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明に係る文字消去可能な印字
装置によれば、文字や記号を消去するときに、印字ヘッ
ドの現在位置及びその1つ上位側印字位置又は1つ下位
側印字位置にアンダーラインデータが検出されると、印
字ヘッドを微小移動させずに現在位置のアンダーライン
が消去されるので、アンダーラインはアンダーライン活
字の文字幅分だけ消去さることになる。
As explained above, according to the character-erasable printing device according to the present invention, when erasing characters or symbols, the current position of the print head and one print position above or below the current position of the print head can be erased. When underline data is detected, the underline at the current position is erased without making a slight movement of the print head, so the underline is erased by the character width of the underlined type.

即ち、文字消去後アンダーライン付で訂正印字すると、
そのアンダーラインと1つ上位側印字位置又は1つ下位
側印字位置のアンダーラインとは隙間が空かずに途切れ
ることがなく、連続した綺麗なアンダーライン印字がで
きる。
In other words, if you print the corrected text with an underline after erasing the characters,
There is no gap between the underline and the underline at the next higher printing position or the next lower printing position, so that continuous and beautiful underline printing is possible.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

本実施例は本発明を電子タイプライタに適用した場合の
ものである。
This embodiment is a case where 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 main body frame 2 of the electronic typewriter 1, a printing mechanism PM is arranged on the main body frame 2 behind the keyboard 3, and the keyboard 3 A one-line liquid crystal display 75 for displaying input characters, symbols, etc. is provided at the rear of the screen.

キーボード3には、アルファベットキーや数字キー及び
記号キーを含む文字キー10、スペースキー11、印字
文字を消去するための消去キー12、アンダーラインを
施すためのオートアンダーラインキー13と各種機能キ
ーが通常のタイプライタと同様に設けられている。
The keyboard 3 includes character keys 10 including alphabet keys, numeric keys, and symbol keys, a space key 11, an erase key 12 for erasing printed characters, an auto underline key 13 for underlining, and various function keys. It is set up 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 that feeds printing paper, a motor that drives the platen, and a drive circuit thereof.
A carriage 22 supported by a guide 21 parallel to the platen 20, a motor that drives it back and forth in the left and right direction, and its drive circuit, a type wheel 24 housed in a wheel cassette 23, a motor that drives it, its drive circuit, and a ribbon. The printing ribbon 26 stored in the cassette 25, the motor that winds it, its drive circuit, and the type 27 on the type wheel 24.
The printing hammer that hits the print hammer and the solenoid 28 that drives it.
and its driving circuit, printing ribbon 26 or correction ribbon 29
A ribbon switching mechanism for selectively arranging the ribbon at a printing position is provided, and this printing mechanism PM 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 explained based on the block diagram of FIG.

電子タイプライタ1は基本的にはキーボード3、印字機
構PM、表示機構り及び制御装置C等で構成され、キー
ボード3、印字機構PM、表示機構りはデータバス等を
介して制御装置CのメインCPU(中央演算装置)39
に接続されている。
The electronic typewriter 1 basically consists of a keyboard 3, a printing mechanism PM, a display mechanism, a control device C, etc. The keyboard 3, printing mechanism PM, display mechanism are connected to the main controller C via a data bus, etc. CPU (central processing unit) 39
It is connected to the.

制御装置CはメインCPU39と、そのメインCPU3
9にデータバス等を介して接続されたROM(リード・
オンリ・メモリ)40及びRAM(ランダム・アクセス
・メモリ)50とから構成されている。
The control device C includes a main CPU 39 and its main CPU 3.
9 through a data bus etc.
RAM (Random Access Memory) 40 and RAM (Random Access Memory) 50.

ROM40のプログラムメモリ41には、キーボード3
の各文字キーや各種機能キーから入力されるコードデー
タに対応させて印字機構PMや表示機構りを制御する制
御プログラム及び後述のアンダーライン付文字消去制御
の制御プログラムなどが記憶されている。
The program memory 41 of the ROM 40 includes the keyboard 3.
A control program for controlling the printing mechanism PM and display mechanism in response to code data input from each character key and various function keys, and a control program for underlined character deletion control, which will be described later, are stored.

RAM50には、印字位置と対応させて絶対原点からの
キャリッジ22(印字ヘッド)の現在位置を順次更新し
て記憶する現在位置メモリ51と、印字された文字等の
コードデータとアンダーラインやボールドなどのアトリ
ビュートデータとを2バイトで印字位置と対応させて順
々に約500文字記憶する印字データメモリ52と、キ
ーボード3から入力されてディスプレイ75に表示され
る文字等のデータを記憶する入力バッファと、入力デー
タをファイルデータとして記憶するテキストメモリと、
カーソル表示位置をディスプレイ75の各表示位置と対
応させてカーソル移動に応じてカウントするカーソル表
示位置カウンタと、カーソル表示位置カウンタのデータ
に対応して入力バッファのアドレスを指示するカーソル
位置ポインタと、印字データメモリ52において指示さ
れたアドレスのデータを検索する印字データポインタ5
3と、メインCPU39で演算処理した結果を一時的に
記憶する各種のメモリ等が設けられている。
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 correspondence with the print position, and code data such as printed characters, underlines, bold, etc. a print data memory 52 that stores approximately 500 characters in 2-byte correspondence with attribute data of the print position, and an input buffer that stores data such as characters input from the keyboard 3 and displayed on the display 75. , a text memory that stores input data as file data,
A cursor display position counter that associates the cursor display position with each display position on the display 75 and counts according to the movement of the cursor; a cursor position pointer that indicates the address of the input buffer in accordance with the data of the cursor display position counter; Print data pointer 5 that searches data at a specified address in data memory 52
3, and various types of memories for temporarily storing the results of calculations performed by the main CPU 39.

メインCPU39は、制御プログラムに基いて、各文字
キー10から入力されるデータに対応する文字・記号を
印字機構PMに印字させ、印字データを印字位置と対応
させて印字データメモリ52に順次記憶させる。
Based on the control program, the main CPU 39 causes the printing mechanism PM to print characters and symbols corresponding to the data input from each character key 10, and sequentially stores the print data in the print data memory 52 in correspondence with the print position. .

更に、消去キー12が操作されると、メインCPU39
は、現在位置メモリ51のデータと印字データメモリ5
2のデータに基いて印字文字と同一の活字27を訂正リ
ボン29を介して印字機構PMに打撃させて消去させる
。この場合印字ヘッドの現在位置で1回打撃させ、次に
印字ヘッドを印字方向に例えばl/240インチ微少移
動させた位置で1回打撃させ、次に印字ヘッドを前記現
在位置から反印字方向に1/240インチ微少移動させ
た位置で1回打撃させ、合計3回の打撃により消去を実
行させる。
Furthermore, when the erase key 12 is operated, the main CPU 39
is the data of the current position memory 51 and the print data memory 5.
Based on the data of No. 2, printed characters 27 identical to the printed characters are struck by the printing mechanism PM via the correction ribbon 29 and erased. In this case, the print head is struck once at its current position, then struck once at a position where the print head is slightly moved, for example, 1/240 inches in the printing direction, and then the print head is moved from the current position in the counter-printing direction. Erasing is performed by striking once at a position slightly moved by 1/240 inch, for a total of three strikes.

表示機構りは、インターフェイス70と表示用CPU7
1とキャラクタジェネレータ72とディスプレイコント
ローラ73と液晶ディスプレイ75とから構成され、図
示のように接続されている。
The display mechanism includes an interface 70 and a display CPU 7.
1, a character generator 72, a display controller 73, and a liquid crystal display 75, which are connected as shown.

キャラクタジェネレータ72には、ディスプレイ75に
文字・記号を表示するため約400種類のドツトマトリ
ックス表示データがコードデータに対応して記憶されて
いる。
Approximately 400 types of dot matrix display data are stored in the character generator 72 in correspondence with the code data in order to display characters and symbols on the display 75.

表示用CPU71は、インターフェース70を介してメ
インCPU39から出力されるコマンドデータや文字デ
ータに基き、これらに対応する表示データをキャラクタ
ジェネレータ72から読出し、その表示データをディス
プレイコントローラ73へ出力する。ディスプレイコン
トロー゛う73は、表示データを表示用RAM74に書
込むと同時に、その表示データに応じた表示信号をディ
スプレイ75に出力する。更に、表示用CPU71は、
インターフェイス70を介してメインCPU39からの
カーソル移動データに応じて、ディスプレイコントロー
ラ73にカーソルの移動先のアドレスを指示するカーソ
ル移動制御も行う。
The display CPU 71 reads out display data corresponding to command data and character data output from the main CPU 39 via the interface 70 from the character generator 72, and outputs the display data to the display controller 73. The display controller 73 writes display data into the display RAM 74 and at the same time outputs a display signal corresponding to the display data to the display 75. Furthermore, the display CPU 71
In response to cursor movement data from the main CPU 39 via the interface 70, cursor movement control is also performed to instruct the display controller 73 about the address to which the cursor should be moved.

次に、電子タイプライタの制御装置Cで行われるアンダ
ーライン付文字消去制御について、第4図のフローチャ
ートに基いて説明する。
Next, the underlined character deletion control performed by the control device C of the electronic typewriter will be explained based on the flowchart shown in FIG.

タイプライタ1に電源が投入されるとこの制御が開始さ
れステップSL(以下、単にSlで表し、他のステップ
も同様に扱う)へ移行して初期設定が実行され、S2に
おいてキー入力待ちをする。
When the typewriter 1 is powered on, this control starts, moves to step SL (hereinafter simply referred to as SL, and other steps are handled in the same way), executes initial settings, and waits for key input in S2. .

キー入力されると83へ移行し、消去キー12か否かが
判定され、消去キー12でないとき、例えば文字キー1
0のときにはS4へ移行して入力データが印字されると
共に印字データが印字データメモリ52に記憶され、S
2に戻る。このとき、メインCPU39は印字機構PM
の各駆動回路に制御信号を出力する。
When a key is input, the process moves to 83, and it is determined whether or not the erase key 12 is pressed.If it is not the erase key 12, for example, the character key 1
When the value is 0, the process moves to S4, where the input data is printed and the print data is stored in the print data memory 52.
Return to 2. At this time, the main CPU 39 controls the printing mechanism PM.
A control signal is output to each drive circuit.

消去キー12が操作されると33でYesと判定されて
S5に移行する。S5にて、印字データポインタ53に
現在位置メモリ51のデータが書込まれ、印字データポ
インタ53のデータに基いて印字データメモリ52の印
字ヘッド位置に対応するアドレスのデータが読出される
。そして、次のS6にて、そのデータは印字データか否
かが判定され、印字データの゛ときにはS7へ移行する
When the erase key 12 is operated, a YES determination is made at 33, and the process moves to S5. In S5, the data of the current position memory 51 is written into the print data pointer 53, and based on the data of the print data pointer 53, the data of the address corresponding to the print head position of the print data memory 52 is read. Then, in the next step S6, it is determined whether the data is print data or not, and if it is print data, the process moves to S7.

S7にて、アンダーラインのデータが有るか否か、つま
り読出したデータの下位1バイトに設けられているアン
ダーライン付与ビットが「1」か否かが判定され、アン
ダーラインのデータが有るときには、S8へ移行する。
In S7, it is determined whether there is underline data, that is, whether the underline addition bit provided in the lower one byte of the read data is "1", and if there is underline data, Move to S8.

S8にて、印字データポインタ53から1が減算され、
このデータに基いて印字データメモリ52における印字
ヘッド位置よりも1文字反印字方向の印字位置に対応す
る印字データが読出される。
At S8, 1 is subtracted from the print data pointer 53,
Based on this data, print data corresponding to a print position one character in the opposite print direction from the print head position in the print data memory 52 is read out.

S9において、アンダーラインのデータが有るか否か、
つまりアンダーラインが連続しているか否かが判定され
、アンダーラインのデータが有るときにはSIOへ移行
する。例えば、第5図(a)に示すように、印字ヘッド
は文字r13Jの印字位置に位置しており、文字「A」
と文字「B」とにアンダーラインが連続して印字されて
いる。
In S9, whether there is underlined data or not,
That is, it is determined whether the underlines are continuous or not, and if there is underline data, the process moves to SIO. For example, as shown in FIG. 5(a), the print head is located at the printing position of the character r13J, and the character "A" is printed.
and the letter "B" are consecutively underlined.

SIOにおいて、アンダーラインを除いた印字文字が消
去される。例えば、第5図(b)に示すように、アンダ
ーラインを除いた文字r13Jは通常の消去処理つまり
文字r13Jのキャラクタコードに基いて、印字機構P
Mの活字ホイール24、ソレノイド28、訂正リボン2
9などを駆動させ、キャリッジ22を左右に微小量移動
させ乍ら消去動作を3回実行して文字「B」を消去する
In SIO, printed characters except underlines are erased. For example, as shown in FIG. 5(b), the character r13J excluding the underline is erased by the printing mechanism P based on the character code of the character r13J.
M type wheel 24, solenoid 28, correction ribbon 2
9 or the like to move the carriage 22 by a minute amount to the left or right and execute the erasing operation three times to erase the character "B".

311において、印字ヘッドを移動せずにアンダーライ
ンが消去される。例えば、第5図(c)に示すように、
印字ヘッドが印字位置に位置した状態において、アンダ
ーラインの活字27が訂正リボン29を介して1回又は
複数回打撃され、アンダーラインが消去される。即ち、
アンダーラインは1文字分に対応する長さだけ消去され
る。
At 311, the underline is erased without moving the printhead. For example, as shown in FIG. 5(c),
With the print head in the printing position, the underlined type 27 is struck one or more times via the correction ribbon 29 to erase the underline. That is,
The underline is deleted by a length corresponding to one character.

312において、消去したデータに対応する印字データ
メモリ52のアドレスにスペースコードが書込まれ、又
アンダーラインのデータが除去されて消去したデータが
印字データメモリ52から消去され、S2に戻る。
At 312, a space code is written to the address of the print data memory 52 corresponding to the erased data, and the underline data is removed and the erased data is erased from the print data memory 52, and the process returns to S2.

そして、訂正印字のために文字キー10がオートアンダ
ーラインモードで操作されると、32〜S3を経てS4
で文字キー10に対応する文字がアンダーライン付で印
字される。例えば第5図(d)に示すように、文字rp
Jがアンダーライン付で印字される。このときに、アン
ダーラインは途切れず、連続して印字される。
Then, when the character key 10 is operated in the auto underline mode for correction printing, the steps 32 to S3 are followed by S4.
The character corresponding to character key 10 is printed with an underline. For example, as shown in FIG. 5(d), the character rp
J is printed with an underline. At this time, the underline is printed continuously without interruption.

一方、S9でNoと判定されると313へ移行する。3
13にて、印字データポインタ53に1が加算され、こ
のデータに基いて印字データメモIJ52における印字
ヘッド位置の1文字印字方向の印字位置に対応する印字
データが読出される。
On the other hand, if the determination is No in S9, the process moves to 313. 3
At step 13, 1 is added to the print data pointer 53, and based on this data, the print data corresponding to the print position in the print head position in the print direction of one character in the print data memo IJ52 is read out.

そして314において、アンダーラインのデータが有る
か否か、つまりアンダーラインが連続しているか否かが
判定され、アンダーラインのデータが有るときには、S
10へ移行し、アンダーラインを除いた印字文字が消去
され、次にSllにてアンダーラインが消去され、次に
312にて消去したデータが印字データメモリ52から
消去され、S2に戻る。例えば、第5図(a)に示すよ
うに、印字ヘッドは文字r13Jの印字位置に位置して
おり、文字rBJと文字「C」とにアンダーラインが連
続して印字されているときには、先づ文字「B」が消去
され、次にアンダーラインが1文字分に対応する長さだ
け消去される(第5図(b)・ (C)参照)。
Then, in step 314, it is determined whether there is underline data, that is, whether the underlines are continuous, and if there is underline data, S
10, the printed characters except the underline are erased, then the underline is erased in Sll, then the erased data is erased from the print data memory 52 in 312, and the process returns to S2. For example, as shown in FIG. 5(a), the print head is located at the printing position of the character r13J, and when the underline is printed consecutively on the character rBJ and the character "C", The character "B" is erased, and then the underline is erased by a length corresponding to one character (see FIGS. 5(b) and 5(c)).

又、S7でNoと判定されたとき或いはS14でNoと
判定されたとき、つまりアンダーラインが連続していな
いときにはS15へ移行して、印字ヘッド位置に対応す
る印字文字が(アンダーライン付きであるときにはアン
ダーラインと共に)消去され、次の312でそのデータ
が印字データメモリ52から消去されて、S2に戻る。
Further, when it is determined No in S7 or No in S14, that is, when the underlines are not continuous, the process moves to S15, and the print character corresponding to the print head position is (underlined). In the next step 312, the data is deleted from the print data memory 52, and the process returns to S2.

例えば、第6図(a)に示すように、印字ヘッドは文字
「B」の印字位置に位置してお°す、文字「B」にのみ
アンダーラインが印字されているときには、第6図(b
)に示すように、文字「B」とアンダーラインとが通常
の消去処理つまり文字rB」のキャラクタコードとアン
ダーライン付与ビットとに基いて、印字機構PMの活字
ホイール24、ソレノイド28、訂正リボン29などを
駆動させ、キャリッジ22を左右に微小量移動させ乍ら
消去動作を夫々3同案行して、文字「B」とアンダーラ
インとが消去されると共に印字データメモリ52からも
消去される。
For example, as shown in FIG. 6(a), the print head is located at the printing position of the letter "B". When the underline is printed only on the letter "B", as shown in FIG. b
), the character "B" and the underline are erased by the normal erasing process, that is, based on the character code of the character "rB" and the underline addition bit, the character "B" and the underline are erased by the type wheel 24, solenoid 28, and correction ribbon 29 of the printing mechanism PM. The character "B" and the underline are erased from the print data memory 52 as well as the character "B" is erased by driving the carriage 22 to move the carriage 22 by a minute amount left and right and carrying out three erasing operations at the same time.

S6においてNoと判定されたとき、例えばスペースコ
ードのときには516へ移行し、印字ヘッドが反印字方
向へ1文字分移動される。次のS17にて、印字データ
ポインタ53に現在位置メモリ51のデータが書込まれ
、この印字データポインタ53のデータに基いて印字デ
ータメモリ52の印字ヘッド位置に対応するアドレスの
データが読出される。そして、次の318において、印
字データが有るか否かが判定され、印字データがあると
きにはS7以降が繰返され、又印字データがないとき、
例えば印字データメモリ52の先頭データのときにはS
19へ移行し、ブザーを鳴動させるなどのアラーム処理
され、S2に戻る。
When it is determined No in S6, for example, if it is a space code, the process moves to 516, and the print head is moved by one character in the opposite printing direction. In the next step S17, the data of the current position memory 51 is written to the print data pointer 53, and based on the data of this print data pointer 53, the data of the address corresponding to the print head position of the print data memory 52 is read out. . Then, in the next step 318, 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, when the first data of the print data memory 52 is S
19, an alarm process such as sounding a buzzer is performed, and the process returns to S2.

以上説明したように、文字を消去するときに、消去すべ
き印字文字及びその1つ印字方向側の印字文字又は1つ
反印字方向側の印字文字にアンダーラインが連続して印
字されているときには、先づ印字文字が印字ヘッドの微
小移動を介して確実に消去され、次に印字ヘッドを移動
させることなくアンダーラインが消去されるので、アン
ダーラインはアンダーライン活字の文字幅分に対応する
長さだけ消去されることになる。
As explained above, when erasing characters, if an underline is printed continuously on the printed character to be erased and the printed character one character in the printing direction, or the printed character one character in the opposite printing direction, , the printed characters are first erased reliably through minute movements of the print head, and then the underline is erased without moving the print head, so the underline has a length corresponding to the character width of the underline type. It will just be erased.

つまり、アンダーライン付文字を訂正印字したときには
、アンダーラインが途切れず、連続した綺麗なアンダー
ライン印字を行うことができる。
In other words, when an underlined character is corrected and printed, the underline is not interrupted, and continuous and beautiful underline printing can be performed.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の詳細な説明する機能ブロック図、第2
図〜第6図は本発明の実施例を示すもので、第2図は電
子タイプライタの斜視図、第3図はタイプライタの制御
系のブロック図、第4図はアンダーライン付文字消去制
御のルーチンのフローチャート、第5図、第6図はアン
ダーライン付文字の消去制御を説明する図、第7図は従
来のアンダーライン付文字の消去制御を説明する図であ
る。 3・・キーボード、  12・・消去キー、  13・
・オートアンダーラインキー、 26・・印字リボン、
  27・・活字、  28・・ソレノイド、29・・
訂正リボン、 39・・メインCPU。 40・・ROM、  50・・RAM、  51・・現
在位置メモリ、 52・・印字データメモリ、53・・
印字データポインタ、 C・・制御装置。 特 許 出 願 人 ブラザー工業株式会社第1図 第5図 (a)  里 (b)  ■ (C)  Δg (d)  昼 第6図 (a)    A旦C (b)   AC (C)   ADC 第7図 HEN −2−フ
Fig. 1 is a functional block diagram explaining the present invention in detail;
Fig. 6 shows an embodiment of the present invention, Fig. 2 is a perspective view of an electronic typewriter, Fig. 3 is a block diagram of the control system of the typewriter, and Fig. 4 is an underlined character erasing control. FIGS. 5 and 6 are diagrams illustrating erasure control of underlined characters, and FIG. 7 is a diagram illustrating conventional erasure control of underlined characters. 3. Keyboard, 12. Erase key, 13.
・Auto underline key, 26...Print ribbon,
27...Print, 28...Solenoid, 29...
Correction ribbon, 39...Main CPU. 40...ROM, 50...RAM, 51...Current position memory, 52...Print data memory, 53...
Print data pointer, C...control device. Patent applicant Brother Industries, Ltd. Figure 1 Figure 5 (a) ri (b) ■ (C) Δg (d) Day Figure 6 (a) AdanC (b) AC (C) ADC No. 7 FigureHEN-2-F

Claims (1)

【特許請求の範囲】[Claims] (1)文字や記号のデータ等を入力する入力手段と、複
数の活字と印字ハンマと印字リボンとを備え、入力デー
タに対応する文字や記号を印字媒体に印字する印字手段
と、 印字された文字や記号のコードデータとアンダーライン
データとを印字位置に対応させて記憶する印字データメ
モリと、 印字手段の印字ヘッドの現在位置を印字位置と対応させ
て記憶する現在位置メモリと、 入力手段から消去指令が入力されたときに、印字データ
メモリのデータと現在位置メモリのデータとに基いて、
現在位置とその前後に印字ヘッドを微少移動させた位置
にて、消去すべき文字や記号と同一の文字や記号の活字
を消去リボンを介して印字ハンマで複数回打撃すること
により、その文字や記号を消去する消去手段とを備えた
文字消去可能な印字装置において、 前記消去手段で消去するときに現在位置メモリのデータ
に基いて印字データメモリから印字ヘッドの現在位置と
その1つ上位側印字位置及び1つ下位側印字位置のアン
ダーラインデータを検索する検索手段と、 前記検索手段により印字ヘッドの現在位置及びその1つ
上位側印字位置又は1つ下位側印字位置にアンダーライ
ンデータが検出されたときに、前記現在位置のアンダー
ラインは印字ヘッドを微少移動させずに消去手段に消去
させるアンダーライン消去制御手段とを設けたことを特
徴とする文字消去可能な印字装置。
(1) An input means for inputting character and symbol data, etc., a printing means for printing characters and symbols corresponding to the input data on a print medium, which includes a plurality of type characters, a printing hammer, and a printing ribbon; A print data memory stores character and symbol code data and underline data in correspondence with the print position; a current position memory stores the current position of the print head of the printing means in correspondence with the print position; and an input means. When the erase command is input, 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 slightly moved before and after the current position, the characters or symbols that are the same as those to be erased are struck multiple times with a printing hammer through the erasing ribbon. In a character-erasable printing device equipped with an erasing means for erasing a symbol, when erasing is performed by the erasing means, the current position of the print head and the next higher printing character are retrieved from the print data memory based on data in the current position memory. a search means for searching for underline data at a position and one print position below the current position of the print head and underline data at one print position above or below the current position of the print head; 2. A printing device capable of erasing characters, characterized in that said character erasing control means is provided for causing an erasing means to erase the underline at the current position without slightly moving the print head.
JP62095696A 1986-11-19 1987-04-17 Character erasable printing device Expired - Lifetime JPH0671812B2 (en)

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
DE8787310183T DE3784845T2 (en) 1986-11-19 1987-11-18 ERASABLE LETTERS PRINTING DEVICE.
EP87310183A EP0268470B1 (en) 1986-11-19 1987-11-18 Character erasable printing apparatus

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 true JPS63260474A (en) 1988-10-27
JPH0671812B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194986A (en) * 1989-01-23 1990-08-01 Canon Inc Recorder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194986A (en) * 1989-01-23 1990-08-01 Canon Inc Recorder

Also Published As

Publication number Publication date
JPH0671812B2 (en) 1994-09-14

Similar Documents

Publication Publication Date Title
JPH0510234B2 (en)
JPH0753467B2 (en) Electronic typewriter
JPS63167960A (en) Document processor
JPH0326409B2 (en)
JPS60111284A (en) Typewriter with display
JPS63260474A (en) Character-erasable printer
JPH01225987A (en) Character string displaying device
JPH0457512B2 (en)
US4818130A (en) Character erasable printing apparatus including selective erasing of variable length underline
JPH07214860A (en) Document processing equipment
JPS63178072A (en) Character erasable printer
JPS6354273A (en) Electronic typewriter
JPS63265675A (en) Printing apparatus
JPS63281845A (en) Printing apparatus
JPH05324641A (en) Tape printer
JPH0464474A (en) Printing apparatus
JPS63102969A (en) Electronic typewriter
JPS63168767A (en) Ducument forming device
JPH0467511B2 (en)
JPS63297082A (en) Electronic typewriter
JPS63106068A (en) Word processor
JPS63170068A (en) Output device
JPH03256777A (en) Document preparation device
JPS62294577A (en) Printing apparatus
JPS62240572A (en) Printing apparatus