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

JPH0671811B2 - Character erasable printing device - Google Patents

Character erasable printing device

Info

Publication number
JPH0671811B2
JPH0671811B2 JP1109187A JP1109187A JPH0671811B2 JP H0671811 B2 JPH0671811 B2 JP H0671811B2 JP 1109187 A JP1109187 A JP 1109187A JP 1109187 A JP1109187 A JP 1109187A JP H0671811 B2 JPH0671811 B2 JP H0671811B2
Authority
JP
Japan
Prior art keywords
character
print
data
erasing
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.)
Expired - Lifetime
Application number
JP1109187A
Other languages
Japanese (ja)
Other versions
JPS63178072A (en
Inventor
祐一 原田
一 熊澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1109187A priority Critical patent/JPH0671811B2/en
Priority to US07/121,880 priority patent/US4818130A/en
Priority to EP87310183A priority patent/EP0268470B1/en
Priority to DE8787310183T priority patent/DE3784845T2/en
Publication of JPS63178072A publication Critical patent/JPS63178072A/en
Publication of JPH0671811B2 publication Critical patent/JPH0671811B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は文字消去可能な印字装置に関し、特にアンダー
ライン付き文字を消去するときに、消去文字の前後の印
字文字のアンダーライン情報に応じて消去するようにし
た文字消去可能な印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character erasable printing device, and particularly, when erasing an underlined character, according to the underline information of the printed character before and after the erased character. The present invention relates to a character erasable printing device.

(従来技術) 一般に、文字消去可能な電子タイプライタ等の印字装置
では、印字中の誤印字文字を消去キー操作で消去するオ
ートコレクション機構が備えられているものがある。そ
のオートコレクション機構として、該印字文字上に修正
剤を貼り付けるカバーラップ方式と、印字したインクを
訂正リボンで剥ぎ取るリフトオフ方式とがあり、近年で
はリフトオフ方式が一般に使用されている。
(Prior Art) In general, 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 the autocorrection mechanism, there are a cover wrap method in which a correction agent is stuck on the printed characters and a lift-off method in which the printed ink is peeled off with 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, so that the printing element is required to be in the same position during printing and during erasing. That is, if the positions of the printing elements during printing and erasing deviate from each other even a little, a portion of the printed ink that cannot be stripped occurs. In order to completely erase erroneously printed characters, it is required that the printing elements be at the same position during printing and during erasing. However, obtaining such position accuracy has a mechanical and cost limit.

そこで、従来、例えば、特公昭56−46992号、特開昭60
−147376号公報では、リフトオフ方式を採用した印字装
置においては、キャリッジを左右に微小量移動させなが
ら消去動作を複数回行うことにより、誤印字文字のイン
クを完全に剥ぎ取れるようにしている。
Then, conventionally, for example, Japanese Patent Publication No. 56-46992 and Japanese Patent Laid-Open No. 60
In Japanese Patent Laid-Open No. 147376, in a printing apparatus adopting a lift-off method, an erroneous printing character is completely stripped off by performing an erasing operation a plurality of times while moving a carriage laterally by a small amount.

(発明が解決しようとする問題点) 上記従来の印字装置においては、オートアンダーライン
モードでランダーライン付文字が印字されているとき
に、オートコレクション機能によりこのアンダーライン
付の印字文字を消去すると、アンダーラインも同時に消
去することが出来る。
(Problems to be Solved by the Invention) In the above conventional printer, when characters with lander lines are printed in the auto underline mode, if the characters with underlines are erased by the autocorrection function, Underline can be erased at the same time.

このとき、印字装置は上述したように、キャリッジを左
右に微小量移動させて誤印字文字を消去すると共に、ア
ンダーラインを消去するときにもキャリッジを左右に微
少量移動させるので、誤印字文字を完全に消去できる
が、アンダーラインは消去文字の1文字分に加えて、微
小移動量分多く消去されてしまう。このために、第7図
に示すように、消去後アンダーライン付の訂正印字(文
字「H」)をすると、アンダーライン80はキャリッジの
微小移動量分に相当する隙間81が空いて途切れてしまう
ので、前後のアンダーラインに連続した綺麗なアンダー
ライン印字ができなくなるという問題点がある。
At this time, as described above, the printing apparatus 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 the amount of minute movement in addition to one erased character. For this reason, as shown in FIG. 7, when the correction printing with the underline after erasure (character “H”) is performed, the underline 80 is interrupted with a gap 81 corresponding to the minute movement amount of the carriage. Therefore, there is a problem in that it becomes impossible to print clean underline that is continuous with the front and back underlines.

(発明の目的) 本発明の目的は、アンダーライン付印字文字を消去する
場合に、消去文字の前後の印字文字のアンダーライン情
報に応じて消去するようにし、アンダーラインが途切れ
ない文字消去可能な印字装置を提供することである。
(Object of the Invention) An object of the present invention is to erase an underlined print character according to the underline information of the print characters before and after the erased character so that the underline can be erased. A printing device is provided.

(問題点を解決するための手段) 本発明に係る文字消去可能な印字装置は、第1図の機能
ブロック図に示すように、入力されたデータに基いて印
字媒体に印字する印字機構と、この印字データとその印
字データに対するアンダーライン情報を記憶する印字デ
ータメモリと、印字機構の印字ヘッドの現在位置を記憶
する現在位置メモリと、消去指令信号に応じて印字機構
を微小量移動させ、複数位置で作動させることにより印
字された文字を消去する消去機構とを有する文字消去可
能な印字装置において、消去指令信号を受けたとき、現
在位置メモリにより、指示された印字位置の上位及び下
位のデータがアンダーライン付きか否かを判断する判断
手段を備え、その判断手段により、両側の印字データの
うち少なくとも一方がアンダーライン付きのときには、
当該消去文字がアンダーライン付きであっても、アンダ
ーラインを消去することなく文字のみを消去機構により
消去する消去制御手段を備えたものである。
(Means for Solving Problems) A character erasable printing device according to the present invention includes a printing mechanism for printing on a printing medium based on input data, as shown in a functional block diagram of FIG. A print data memory that stores this print data and underline information for the print data, a current position memory that stores the current position of the print head of the print mechanism, and a small amount of movement of the print mechanism in response to an erase command signal In a character erasable printing device having an erasing mechanism for erasing a printed character by operating at a position, when an erasing command signal is received, upper and lower data of the instructed printing position is stored by the current position memory. Is equipped with a judgment means for judging whether or not is underlined, and at least one of the print data on both sides is underlined by the judgment means. At the time of
Even if the erased character has an underline, the erase mechanism is provided to erase only the character by the erase mechanism without erasing the underline.

(作用) 本発明に係る文字消去可能な印字装置においては、印字
機構は入力されたデータに基いて印字媒体に印字し、印
字した印字データとその印字データに対するアンダーラ
イン情報とは印字データメモリに記憶され、前記印字機
構の印字ヘッドの現在位置は現在位置メモリに記憶され
る。消去機構により、消去指令信号に応じて印字機構が
微小量移動され、複数位置で作動されることにより印字
された文字が消去される。
(Operation) In the character erasable printer according to the present invention, the printing mechanism prints on the print medium based on the input data, and the printed print data and the underline information for the print data are stored in the print data memory. The current position of the print head of the printing mechanism is stored in the current position memory. The erasing mechanism moves the printing mechanism by a minute amount in response to the erasing command signal and operates at a plurality of positions to erase the printed characters.

消去指令信号を受けると、判断手段により、現在位置メ
モリのデータに基いて、指示された印字位置の上位及び
下位のデータがアンダーライン付きか否かが判断され
る。そして、両側の印字データのうち少なくとも一方が
アンダーライン付きのときには、消去制御手段により、
当該消去文字がアンダーライン付きであってもアンダー
ラインを消去することなく文字のみが消去機構により消
去される。
When the erasing command signal is received, the judging means judges, based on the data in the current position memory, whether the upper and lower data of the designated printing position are underlined. When at least one of the print data on both sides is underlined, the erasure control means
Even if the erased character has an underline, only the character is erased by the erasing mechanism without erasing the underline.

(発明の効果) 本発明に係る文字消去可能な印字装置によれば、以上説
明したように、消去文字の上位側及び下位側の印字デー
タのうち、少なくとも一方がアンダーライン付のときに
は、アンダーラインを消去することなく文字のみを消去
するようにしたので、前後のアンダーラインに連続した
綺麗なアンダーライン印字を行うことができる。
(Effects of the Invention) According to the character erasable printing device of the present invention, as described above, when at least one of the print data on the upper side and the lower side of the erased character is underlined, the underline Since only the characters are erased without erasing, it is possible to perform a clean underline that is continuous with the underlines before and after.

更に、訂正印字をするときに、再度アンダーラインを印
字する必要がないので、印字リボンが節約出来ると共に
アンダーラインを再印字する時間も節約できる。
Further, since it is not necessary to print the underline again when performing the correction printing, the printing ribbon can be saved and the time for reprinting the underline can be saved.

(実施例) 以下、本発明の実施例を図面に基いて説明する。(Example) Hereinafter, the Example of this invention is described based on drawing.

本実施例は本発明を電子タイプライタに適用した場合の
ものである。
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, the body frame 2 of the typewriter 1
A keyboard 3 is arranged in the front part of the keyboard 3, a printing mechanism PM is arranged in the main body frame 2 behind the keyboard 3, and a keyboard 1 is provided on the rear part of the keyboard 3 for displaying input characters and symbols. A row of liquid crystal displays 75 are provided.

キーボード3には、アルファベットキーや数字キー及び
記号キーを含む文字キー10、スペースキー11、印字文字
を消去するためのコレクションキー12、アンダーライン
を施すためのオートアンダーラインキー13等が設けられ
ている。尚、他のキーは通常のタイプライタと同様の機
能を有している。
The keyboard 3 is provided with a character key 10 including alphabetic keys, numeral keys and symbol keys, a space key 11, a collection key 12 for erasing print characters, an auto-underline key 13 for underlining, etc. There is. The other keys have the same function as a normal typewriter.

印字機構PMには、少なくとも、印字用紙を紙送りするプ
ラテン20とそれを駆動するモータとその駆動回路、プラ
テン20と平行なガイド21に支持されたキャリッジ22とそ
れを左右方向へ往復駆動するモータとその駆動回路、ホ
イールカセット23に収容された活字ホイール24とそれを
駆動するモータとその駆動回路、リボンカセット25に収
納された印字リボン26とそれを巻取るモータとその駆動
回路、活字ホイール24の活字27を打撃する印字ハンマと
それを駆動するソレノイド28とその駆動回路、印字リボ
ン或いは訂正リボン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 print 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, the solenoid 28 for driving it, its drive circuit, the ribbon switching mechanism for selectively arranging the printing ribbon or the correction ribbon 29 at the printing position, and the like are provided.
Is similar to the printing mechanism of a normal 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、印字機構P
M、表示機構D及び制御装置C等で構成されている。キ
ーボード3、印字機構PM、表示機構Dは、データバス等
を介して制御装置CのメインCPU(中央演算装置)40に
接続されている。
The typewriter 1 basically has a keyboard 3 and a printing mechanism P.
It is composed of M, a display mechanism D, a control device C and the like. The keyboard 3, the printing mechanism PM, and the display mechanism D are connected to the main CPU (central processing unit) 40 of the control device C via a data bus or the like.

制御装置CはメインCPU40と、そのメインCPU40にデータ
バス等を介して接続されたROM(リード・オンリ・メモ
リ)50及びRAM(ランダム・アクセス・メモリ)60とか
ら構成されている。
The control device C comprises a main CPU 40, a ROM (read only memory) 50 and a RAM (random access memory) 60 connected to the main CPU 40 via a data bus or the like.

ROM50のプログラムメモリ51には、キーボード3の各文
字キーや各種機能キーから入力されるコードデータに対
応させて印字機構PMや表示機構Dを制御する制御プログ
ラム、後述する文字削除の制御プログラムなどが記憶さ
れている。
In the program memory 51 of the ROM 50, there are a control program for controlling the printing mechanism PM and the display mechanism D corresponding to the code data input from each character key and various function keys of the keyboard 3, a character deletion control program described later, and the like. Remembered

RAM60には、印字位置と対応させて絶対原点からのキャ
リッジ22(印字ヘッド)の現在位置を順次更新して記憶
する現在位置メモリ61と、印字された文字データとアン
ダーラインやボールドなどのアトリビュートデータとを
2バイトで印字位置と対応させて順々に約500文字記憶
する印字データメモリ62と、キーボード3から入力され
てディスプレイ75に表示される文字等のデータを記憶す
る入力バッファと、ディスプレイ75の各表示位置と対応
させてカーソル移動に応じてカウントするカーソル表示
位置カウンタと、カーソル表示位置カウンタのデータに
対応して入力バッファのアドレスを指示するカーソル位
置と、オートアンダーラインモードが設定されるとセッ
トするアンダーラインモードフラグ63と、印字データメ
モリ62において指示されたアドレスのデータを検索する
印字データポインタ64と、メインCPU40で演算処理した
結果を一時的に記憶する各種メモリ等が設けられてい
る。
The RAM 60 has a current position memory 61 that sequentially updates and stores the current position of the carriage 22 (print head) from the absolute origin in association with the print position, printed character data and attribute data such as underline and bold. Print data memory 62 for sequentially storing about 500 characters in 2 bytes corresponding to the print position, an input buffer for storing data such as characters input from keyboard 3 and displayed on display 75, and display 75. Cursor display position counter that counts according to the movement of the cursor corresponding to each display position of, the cursor position that indicates the address of the input buffer corresponding to the data of the cursor display position counter, and the auto-underline mode are set And the underline mode flag 63 that sets A print data pointer 64 for retrieving dress data, various memories for temporarily storing results of arithmetic processing by the main CPU 40, and the like are provided.

メインCPU40は、制御プログラムに基いて、各文字キー1
0から入力されるデータに対応する文字・記号を印字機
構PMに印字させ、印字データを印字位置と対応させて印
字データメモリ62に順次記憶させる。又、コレクション
キー12が操作された場合には、印字データメモリ62のデ
ータに基いて印字文字と同一の活字27が訂正リボン29を
介してキャリッジ22の微小量移動毎に3回打撃され、印
字文字が消去される。
Main CPU40, based on the control program, each character key 1
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 62 in correspondence with the print position. Further, when the correction key 12 is operated, the character 27 which is the same as the character to be printed based on the data in the print data memory 62 is struck through the correction ribbon 29 three times for each minute movement of the carriage 22 to print. The character is erased.

表示機構Dは、インターフェイス70と表示用CPU71とキ
ャラクタジェネレータ72とディスプレイコントローラ73
と液晶ディスプレイ75とから構成され、図示のように接
続されている。キャラクタジェネレータ72には、ディス
プレイ75に文字・記号を表示するため約400種類のドッ
トマトリックス表示データがコードデータに対応して記
憶されている。表示用CPU71は、インターフェース70を
介してメインCPU40から出力されるコマンドデータや文
字データに基き、これらに対応する表示データをキャラ
クタジェネレータ72から読出し、表示データをディスプ
レイコントローラ73へ出力する。ディスプレイコントロ
ーラ73は、その表示データを表示用RAM74に書込むと同
時に、表示データに応じた表示信号をディスプレイ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. 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. Based on the command data and character data output from the main CPU 40 via the interface 70, the display CPU 71 reads the display data corresponding to these from the character generator 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.

次に、電子タイプライタの制御装置Cで行われる文字消
去制御について、第4図のフローチャートに基いて説明
する。
Next, the 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で表し、他のステップも同
様に扱う)において、アンダーラインモードフラグ63を
リセットするなどの初期設定が実行され、S2に移行す
る。S2では、キー入力持ちを行い、キー入力があればS3
に移行する。S3では、入力キーが文字キー10又はスペー
スキー11であるか否かが判断され、Yesであれば、次のS
4において、オートアンダーラインモードが設定されて
いるか否か、つまりアンダーラインモードフラグ63がセ
ットされているか否かが判断される。そして、オートア
ンダーラインモードが設定されていないとき(オートア
ンダーラインフラグ63がリセットされているとき)には
S5に移行する。S5では、入力データに対応するアンダー
ラインに付さない通常の文字印字が行われ、S7へ移行す
る。
When the power of the typewriter 1 is turned on, this control is started, and in step S1 (hereinafter, simply expressed as S1 and other steps are treated similarly), initialization such as resetting the underline mode flag 63 is executed. , S2. In S2, keep key input, and if there is key input, S3
Move to. In S3, it is determined whether the input key is the character key 10 or the space key 11, and if Yes, the next S
At 4, it is determined whether the auto underline mode is set, that is, whether the underline mode flag 63 is set. When the auto underline mode is not set (when the auto underline flag 63 is reset)
Move to S5. In S5, normal character printing without underlining corresponding to the input data is performed, and the process proceeds to S7.

又S4において、オートアンダーラインモードが設定され
ているときにはS6に移行し、入力データに対応する文字
がアンダーライン付で印字され、S7へ移行する。尚、S6
でにおいて、印字位置に既にアンダーラインが印字され
ているときには、アンダーラインを重ねて印字しないよ
うにするアンダーライン中止制御手段を設け、アンダー
ラインの重ね印字を防止するようにしてもよい(詳細
は、特願昭61−138625号)。S7では、入力キーに対応し
た印字データは、印字データメモリ62に記憶される。
尚、S6においてアンダーラインを付した場合にはアンダ
ーラインの印字データも含めて印字データメモリ62に記
憶され、S2に戻る。例えば、第5図(a)に示すよう
に、S2〜S4・S6〜S7が繰返されて、文字列「ABC」がア
ンダーライン付きで印字される。
When the automatic underline mode is set in S4, the process proceeds to S6, the character corresponding to the input data is printed with underline, and the process proceeds to S7. Incidentally, S6
In (1), when an underline has already been printed at the print position, an underline stop control means may be provided to prevent overprinting of the underline and prevent overprinting of the underline. , Japanese Patent Application No. 61-138625). In S7, the print data corresponding to the input key is stored in the print data memory 62.
When the underline is added in S6, the print data including the underline print data is stored in the print data memory 62, and the process returns to S2. For example, as shown in FIG. 5 (a), S2 to S4 and S6 to S7 are repeated, and the character string "ABC" is printed with underlining.

コレクションキー13が操作されると、S2〜S3を経てS8に
移行する。S8においてYesと判定されてS9へ移行し、現
在位置メモリ61のデータに基いて印字データメモリ62の
印字ヘッド位置に対応するアドレスのデータが読出され
る。そして次のS10において、そのデータが文字データ
(アンダーライン付スペースデータを含む)か否かが判
断され、文字データのときにはS11に移行する。
When the collection key 13 is operated, the process proceeds to S8 via S2 to S3. When it is determined as Yes in S8, the process proceeds to S9, and the data of the address corresponding to the print head position of the print data memory 62 is read based on the data of the current position memory 61. Then, in the next S10, it is determined whether or not the data is character data (including underlined space data), and if it is character data, the process proceeds to S11.

S11では、印字データポインタ64に現在位置メモリ61の
データが書込まれ、先ず印字データポインタ64のデータ
から1を減算した印字データメモリ62の印字データ(印
字ヘッド位置の1つ上位側の印字データ)が読出され、
次に印字データポインタ64に2を加算した印字データメ
モリ62の印字データ(印字ヘッド位置の1つ下位側の印
字データ)が読出される。次のS12において、読出した
前後の印字データのうちにアンダーラインのデータがあ
るか否か即ち、印字データメモリ62の1つの文字データ
の下位1バイトに設けられているアンダーライン付与ビ
ットが1か0かが判断され、アンダーラインのデータが
あればS13に移行する。この状態は例えば、第5図
(a)に示すように、印字ヘッドは文字「B」の印字位
置に位置しており、印字ヘッド位置の1つ上位側の印字
文字「A」と1つ上位側の印字文字「B」とにアンダー
ラインが印字されている。
In S11, the data in the current position memory 61 is written in the print data pointer 64, and the print data in the print data memory 62 which is obtained by subtracting 1 from the data in the print data pointer 64 (the print data on the upper side of the print head position, which is one upper side). ) Is read,
Next, the print data (print data one lower than the print head position) in the print data memory 62 obtained by adding 2 to the print data pointer 64 is read. At the next step S12, whether there is underline data in the print data before and after read, that is, whether the underline addition bit provided in the lower 1 byte of one character data of the print data memory 62 is 1 or not. If it is 0, and if there is underlined data, the process proceeds to S13. In this state, for example, as shown in FIG. 5 (a), the print head is positioned at the print position of the character "B", and the print character "A" and the print character "A" one level higher than the print head position. An underline is printed on the side of the print character "B".

S13では、現在位置メモリ61のデータと印字データメモ
リ62のデータとに基いて印字データメモリ62からアンダ
ーラインデータを除いた印字データが消去される。この
とき、アンダーラインのデータを除いた印字データのキ
ャラクタコードに基き、印字機構PMの活字ホイール24、
ソレノイド28、訂正リボン29などを駆動させ、キャリッ
ジ22を左右に微小量移動させながら消去動作を複数回行
って所定の文字を消去する。更に具体的には、まず訂正
リボン29を印字位置に位置させ、消去する文字と同じ活
字27を殴打位置に配置する。そしてソレノイド28を動作
させて活字27を打撃して、印字インクを訂正リボン29に
より剥ぎ取る。次に、キャリッジ22を右方へ0.2mm(1/1
20インチ)移行させて上記と同様の消去動作を行う。更
に、キャリッジ22を左方へ0.4mm(2/120インチ)移行さ
せて再び消去動作を行う。この消去動作が終われば、キ
ャリッジ22を右方へ0.2mm移行させて、キャリッジ22を
元の位置に戻し、リフトされていた訂正リボン29をダウ
ンさせ消去処理を完了する(詳細は、特開昭60−147376
号参照)。例えば、第5図「b」に示すように、文字
「B」のみが消去される。次のS14において、印字デー
タメモリ62において、消去した印字データのキャラクタ
コードが消去され、スペースコードが書込まれ、S2に戻
る。
In S13, the print data excluding the underline data is deleted from the print data memory 62 based on the data in the current position memory 61 and the data in the print data memory 62. At this time, based on the character code of the print data excluding the underline data, the type wheel 24 of the printing mechanism PM,
The solenoid 28, the correction ribbon 29, etc. are driven, and the erasing operation is performed a plurality of times while displacing the carriage 22 by a small amount to the left and right to erase a predetermined character. More specifically, first, the correction ribbon 29 is placed at the printing position, and the same type 27 as the character to be erased is placed at the strike position. Then, the solenoid 28 is operated to strike the type 27, and the printing ink is stripped off by the correction ribbon 29. Next, move the carriage 22 to the right 0.2 mm (1/1
20 inches) and perform the same erase operation as above. Further, the carriage 22 is moved to the left by 0.4 mm (2/120 inch) and the erasing operation is performed again. When this erasing operation is completed, the carriage 22 is moved to the right by 0.2 mm, the carriage 22 is returned to the original position, the lifted correction ribbon 29 is lowered, and the erasing process is completed. 60-147376
No.). For example, as shown in FIG. 5B, only the character "B" is deleted. In the next S14, the character code of the erased print data is erased in the print data memory 62, the space code is written, and the process returns to S2.

そして、その消去位置に文字を印字するときに、現在オ
ートアンダーラインモードの場合には、S2〜S4・S6〜S7
を経て再度アンダーラインを印字することなく訂正文字
が印字される。例えば、第5図(c)に示すように、訂
正文字「C」のみが印字される。
Then, when printing characters at the erase position, if S2 to S4 and S6 to S7 are currently in the automatic underline mode.
After that, the correction character is printed without printing the underline again. For example, as shown in FIG. 5 (c), only the correction character "C" is printed.

一方、S12においてNoと判定されるとS15へ移行する。例
えば、第6図(a)に示すように、文字列「ABC」のう
ち、文字「B」のみにアンダーラインが印字されてお
り、印字ヘッドが文字「B」位置に位置しているときで
ある。
On the other hand, if No is determined in S12, the process proceeds to S15. For example, as shown in FIG. 6 (a), when the underline is printed only on the character "B" in the character string "ABC" and the print head is located at the character "B" position. is there.

S15では、現在位置メモリ61のデータと印字データメモ
リ62のデータとに基いて印字文字(アンダーラインを含
む)が消去される。即ち、当該印字データのキャラクタ
コード及びアトリビュートデータに基いて、印字機構PM
の活字ホイール24、ソレノイド28、訂正リボン29などを
駆動させ、キャリッジ22を左右に微小量移動させながら
消去動作を複数回行って所定の文字(アンダーラインを
含む)を消去する。消去動作は、S13の場合と同様に、
微小量の位置変化を伴う3度の消去動作により行う。消
去処理が完了すればS16に移行し、消去した印字データ
が印字データメモリ62から消去され、S2に戻る。
In S15, the print character (including the underline) is erased based on the data in the current position memory 61 and the data in the print data memory 62. That is, based on the character code and attribute data of the print data, the printing mechanism PM
The character wheel (24), solenoid (28), correction ribbon (29), etc. are driven, and a predetermined character (including underline) is erased by performing the erasing operation a plurality of times while moving the carriage (22) by a small amount to the left and right. The erase operation is the same as in S13.
The erase operation is performed three times with a minute change in position. When the erasing process is completed, the process proceeds to S16, the erased print data is erased from the print data memory 62, and the process returns to S2.

例えば、第6図(b)に示すように、文字「B」はアン
ダーラインと共に消去される。そして、その位置に文字
を印字するときに、アンダーラインモードであればS2〜
S4・S6〜S7を経て、アンダーライン付きで訂正印字さ
れ、又アンダーラインモードでなければS2〜S5・S7を経
て、第6図(c)に示すように、訂正文字「D」が訂正
印字される。
For example, as shown in FIG. 6 (b), the character "B" is erased together with the underline. Then, when printing characters at that position, if the underline mode
Correction printing is performed with an underline through S4, S6 to S7, and if it is not underline mode, the correction character "D" is corrected and printed through S2 to S5 and S7, as shown in FIG. 6 (c). To be done.

S10においてNoと判定されるとS17へ移行し、そのデータ
が印字データメモリ62内の先頭データか否かが判断さ
れ、印字データメモリ62の先頭データであれば、文字消
去が不可能なので、次のS19にてアラーム処理し、S2に
戻る。又S17において、その印字データが印字データメ
モリ62内の先頭データでなければ、S18に移行する。S18
では、現在位置メモリ61のデータと印字データメモリ62
のデータとに基いて、キャリッジ22が反印字方向に1文
字分移動され、S9へ移行する。即ち、S9〜S10・S17〜S1
8が繰返され、文字消去が不可能とならない限り、文字
データが検出されるまで反印字方向に順次検索される。
これにより、印字ヘッドがタブ動作やスペース動作後の
位置であっても、文字データを自動的に検出することが
できるようになる。
If it is determined No in S10, the process proceeds to S17, it is determined whether or not the data is the first data in the print data memory 62, and if it is the first data in the print data memory 62, character deletion is impossible. The alarm is processed in S19 and the process returns to S2. If the print data is not the head data in the print data memory 62 in S17, the process proceeds to S18. S18
Then, the data of the current position memory 61 and the print data memory 62
Then, the carriage 22 is moved by one character in the reverse printing direction based on the above data, and the process proceeds to S9. That is, S9 ~ S10 / S17 ~ S1
8 is repeated, and unless character deletion becomes impossible, the characters are sequentially searched in the reverse print direction until the character data is detected.
As a result, even if the print head is at the position after the tab operation or the space operation, the character data can be automatically detected.

尚、文字キー10、スペースキー11、コレクションキー12
以外のキーが操作されると、S8の判断結果がNoとなり、
S20において、操作されたキーに対応する処理、例え
ば、オートアンダーラインモードの設定や解除などの処
理が実行され、S2に戻る。
In addition, character key 10, space key 11, collection key 12
If any key other than is operated, the judgment result of S8 is No,
In S20, a process corresponding to the operated key, for example, a process of setting or canceling the auto underline mode is executed, and the process returns to S2.

以上説明したように、消去文字の前後の印字文字(1つ
反印字方向と1つ印字方向の印字文字)のうち少なくと
も一方がアンダーライン付のときには、消去文字のみを
消去し、アンダーラインを消去しないので、アンダーラ
インが途切れず、連続した綺麗なアンダーライン印字を
行うことができる。
As described above, when at least one of the print characters before and after the erased character (one print character in the opposite print direction and one print character in the print direction) is underlined, only the erased character is erased and the underline is erased. Since it does not, the underline is not interrupted and continuous and clean underline printing can be performed.

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

第1図は本発明の印字装置の機能ブロック図、第2図〜
第6図は本発明に係る印字装置の実施例を示すもので、
第2図はタイプライタの斜視図、第3図はタイプライタ
の制御系のブロック図、第4図は制御ルーチンのフロー
チャート、第5図、第6図は印字・消去状況を示す図、
第7図は従来の消去状況を示す図である。 3……キーボード、12……コレクションキー、29……訂
正リボン、40……メインCPU、50……ROM、60……RAM、6
1……現在位置メモリ、62……印字データメモリ、63…
…アンダーラインモードフラグ、C……制御装置、PM…
…印字機構。
FIG. 1 is a functional block diagram of the printer of the present invention, and FIGS.
FIG. 6 shows an embodiment of the printer according to the present invention.
FIG. 2 is a perspective view of the typewriter, FIG. 3 is a block diagram of a control system of the typewriter, FIG. 4 is a flowchart of a control routine, and FIGS. 5 and 6 are diagrams showing print / erase states,
FIG. 7 is a diagram showing a conventional erasing state. 3 ... Keyboard, 12 ... Collection key, 29 ... Correction ribbon, 40 ... Main CPU, 50 ... ROM, 60 ... RAM, 6
1 ... Current position memory, 62 ... Print data memory, 63 ...
… Underline mode flag, C… Control unit, PM…
... printing mechanism.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力されたデータに基いて印字媒体に印字
する印字機構と、 この印字データとその印字データに対するアンダーライ
ン情報を記憶する印字データメモリと、 前記印字機構の印字ヘッドの現在位置を記憶する現在位
置メモリと、 消去指令信号に応じて前記印字機構を微小量移動させ、
複数位置で作動させることにより印字された文字を消去
する消去機構とを有する文字消去可能な印字装置におい
て、 消去指令信号を受けたとき、前記現在位置メモリによ
り、指示された印字位置の上位及び下位のデータがアン
ダーライン付きか否かを判断する判断手段と、 その判断手段により、両側の印字データのうち少なくと
も一方がアンダーライン付きのときには、当該消去文字
がアンダーライン付きであっても、アンダーラインを消
去することなく文字のみを前記消去機構により消去する
消去制御手段とを備えたことを特徴とする文字消去可能
な印字装置。
1. A print mechanism for printing on a print medium based on input data, a print data memory for storing the print data and underline information for the print data, and a current position of a print head of the print mechanism. The current position memory to be stored and the printing mechanism is moved by a small amount according to the erase command signal,
In a character erasable printing device having an erasing mechanism for erasing printed characters by operating at a plurality of positions, when the erasing command signal is received, the current position memory causes the upper and lower positions of the instructed printing position. If the erasure character is underlined even if at least one of the print data on both sides is underlined, A character erasable printing device, comprising: an erasing control means for erasing only characters by the erasing mechanism without erasing the characters.
JP1109187A 1986-11-19 1987-01-20 Character erasable printing device Expired - Lifetime JPH0671811B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1109187A JPH0671811B2 (en) 1987-01-20 1987-01-20 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
JP1109187A JPH0671811B2 (en) 1987-01-20 1987-01-20 Character erasable printing device

Publications (2)

Publication Number Publication Date
JPS63178072A JPS63178072A (en) 1988-07-22
JPH0671811B2 true JPH0671811B2 (en) 1994-09-14

Family

ID=11768317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1109187A Expired - Lifetime JPH0671811B2 (en) 1986-11-19 1987-01-20 Character erasable printing device

Country Status (1)

Country Link
JP (1) JPH0671811B2 (en)

Families Citing this family (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
JPS63178072A (en) 1988-07-22

Similar Documents

Publication Publication Date Title
JPH0753467B2 (en) Electronic typewriter
JPH0821030B2 (en) Document processing device
EP0256633B1 (en) Character erasing device in a printer
EP0267769B1 (en) An electronic typewriter with a spelling check function
JPH0671811B2 (en) Character erasable printing device
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JP3280073B2 (en) Document processing device
JPH01225987A (en) string display device
JPH0671812B2 (en) Character erasable printing device
EP0268470B1 (en) Character erasable printing apparatus
JPS6354273A (en) electronic typewriter
JPS63128970A (en) Character erasure mechanism of printer
JP3826536B2 (en) Document processing device
JPS63297082A (en) Electronic typewriter
JPS63281875A (en) Printing apparatus
JPS63170068A (en) Output device
JPS62294578A (en) Printing apparatus
JPS63274575A (en) Printer
JPH04115971A (en) printing device
JPS63281845A (en) Printing apparatus
JPH01234968A (en) Document editing device
JPH07225756A (en) Document processor
JPH0452226B2 (en)
JPH0550711A (en) Electronic typewriter
JPH01145179A (en) Electronic typewriter with correction function