JPS62240572A - Printing apparatus - Google Patents

Printing apparatus

Info

Publication number
JPS62240572A
JPS62240572A JP61085684A JP8568486A JPS62240572A JP S62240572 A JPS62240572 A JP S62240572A JP 61085684 A JP61085684 A JP 61085684A JP 8568486 A JP8568486 A JP 8568486A JP S62240572 A JPS62240572 A JP S62240572A
Authority
JP
Japan
Prior art keywords
word
printing
hyphen
character
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61085684A
Other languages
Japanese (ja)
Inventor
Seiji Mori
政治 森
Kiyoshi Yamakawa
清 山川
Hideo Ueno
英生 上野
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 JP61085684A priority Critical patent/JPS62240572A/en
Priority to PCT/JP1987/000237 priority patent/WO1987006192A1/en
Priority to EP19870902728 priority patent/EP0301094A4/en
Publication of JPS62240572A publication Critical patent/JPS62240572A/en
Pending 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/09Digital output to typewriters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/191Automatic line break hyphenation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To make it possible to erase only one of words connected by a hyphen along with the hyphen or to erase the same so as to leave the hyphen, with respect to the word containing the character at the printing position corresponding to a printing head, by detecting whether there is the hyphen at the printing position in the one upper rank side of a head character or in the one lower rank side of a terminal character. CONSTITUTION:This word erasing control is based on thinking such that a hyphen is regarded as a character to belong to the preceding word of the hyphen and, when the preceding word is erased, said word is erased inclusive of the hyphen. For example, when the preceding word EXAMPLE is erased, a printing head is allowed to locate at either one of printing positions of a second - ninth figure and, if an erasing key is operated, the printing head moves to the printing position of the hyphen of the ninth figure to successively erase characters from the hyphen over a range from the ninth figure to the second figure. When the succeeding word TYPE 1 is erased, the printing head is allowed to locate at either one of printing positions of a tenth - fifteenth figure and, if the erasing key is operated, the printing head moves to the printing position of the fourteenth figure to successively erase over a range from the fourteenth figure to the tenth figure.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は印字装置に関し、特に文字の集合からなる単語
を消去する消去機構を有し単語の消去時に、単語の前後
に続くハイフンをも消去させるようにした印字装置及び
前記ハイフンを消去させないようにした印字装置に関す
る。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to a printing device, and in particular has an erasing mechanism for erasing a word consisting of a set of characters, and when erasing a word, also erases hyphens preceding and following the word. The present invention relates to a printing device in which the hyphen is not erased, and a printing device in which the hyphen is not erased.

(従来技術) タイプライタ等の印字装置によって印字用紙に文章など
を印字していく場合に、単語のスペル等を誤って印字す
ることも多く、この誤印字の単語などの文字列を消去し
、再び印字し直す必要がある。
(Prior art) When printing sentences on printing paper using a printing device such as a typewriter, the spelling of words is often printed incorrectly. It is necessary to print again.

そこで、最近の電子タイプライタ等においては、その制
御装置にヘッドの現在位置を記憶する現在位置メモリと
、キーボードから入力され印字されたデータを記憶する
印字データメモリとを設け、キーボードの消去指令キー
の操作に応じて上記現在位置メモリと印字データメモリ
からのデータを用いて印字された文字の集合からなる単
語を修正リボンにより末尾から順々に消去する消去機構
を備えたものが多い。
Therefore, in recent electronic typewriters, etc., the control device is equipped with a current position memory that stores the current position of the head, and a print data memory that stores the data input and printed from the keyboard. Many printers are equipped with an erasing mechanism that sequentially erases a word consisting of a set of characters printed using data from the current position memory and print data memory in response to an operation using a correction ribbon from the end.

この種消去機構を有する印字装置として、例えば特開昭
60−210482号公報には、消去指令キーの操作に
応じて、■乃至複数の連続する印字文字からなり両端が
スペースで区切られた各ワードを末尾文字から自動的に
消去するようにしたものが記載されている。
As a printing device having this type of erasing mechanism, for example, Japanese Patent Application Laid-Open No. 60-210482 discloses that, in response to the operation of an erasing command key, each word consisting of . There is a version that automatically deletes the last character.

(発明が解決しようとする問題点) タイプライタで英文及び独文等のテキストを印字してい
く場合に、単語と単語とをハイフンで接続することも少
なくないが、タイプミスにより一方の単語を誤印字した
ときにはその単語を消去し印字し直す必要がある。
(Problem to be solved by the invention) When printing English or German text using a typewriter, words are often connected with a hyphen, but due to a typo, one word may be If a mistake is made in printing, the word must be erased and reprinted.

前記公報に記載された印字装置においては、前後のスペ
ースで区切られた一連の文字列を単語(ワード)として
捉え、この単語を自動的に消去するようにしであるので
、ハイフンで接続された2&Ilの単語を1単語として
消去することになる。
The printing device described in the above publication treats a series of character strings separated by leading and trailing spaces as words, and automatically deletes these words. will be deleted as one word.

この場合、2組の単語のうちの一方のみを誤印字した場
合でも、両方の単語及びハイフンを消去し再印字するこ
とになるので、正しい単語については不必要な消去と印
字とを行なうことになって作業能率が低下するという問
題がある。
In this case, even if only one of the two sets of words is incorrectly printed, both words and the hyphen will be erased and reprinted, so the correct word will be unnecessarily erased and printed. There is a problem in that work efficiency decreases.

(発明の目的) 本発明の目的は、ハイフンで接続された単語と単語の一
方のみをハイフンと共に消去し得る、或いはハイフンを
残して消去し得るような印字装置を提供することである
(Object of the Invention) An object of the present invention is to provide a printing device that can erase words connected by a hyphen and only one of the words together with the hyphen or leave the hyphen intact.

(問題点を解決するための手段) 本願第1発明に係る印字装置は、第1図の機能ブロック
図に示すように、入力されたデータに対応した文字又は
記号等を印字用紙に印字する印字機構と、この印字され
たデータを印字位置と対応させて記憶する印字データメ
モリと、前記印字機構の印字ヘッドの現在位置を印字位
置と対応させて記憶する現在位置メモリと、語消去指令
信号の入力により作動を開始し、前記印字機構により印
字された文字を順次消去することにより、その文字の集
合から成る単語を消去する消去機構とを有する語消去可
能な印字装置において、前記語消去指令信号を受けたと
き、前記印字データメモリ及び現在位置メモリにより、
印字ヘッドに対応する印字位置の文字を含む、単語につ
いて先頭文字の1つ上位側の印字位置又は末尾文字の1
つ下位側の印字位置にハイフンがあるか否かを検出する
検出手段を設け、その検出手段からの信号に基いて前記
印字位置のハイフンを消去する制御信号を前記消去機構
へ出力する制御手段を設けたものである。
(Means for Solving the Problems) As shown in the functional block diagram of FIG. 1, the printing device according to the first invention of the present application prints characters or symbols, etc. corresponding to input data on printing paper. a print data memory that stores the printed data in correspondence with the print position; a current position memory that stores the current position of the print head of the printing mechanism in correspondence with the print position; and a word deletion command signal. In the word erasable printing device, the word erasable printing device has a word erasing mechanism that starts operation upon input and sequentially erases characters printed by the printing mechanism to erase a word made up of a set of characters; When received, the print data memory and current position memory
One print position above the first character or one of the last characters for a word, including the character at the print position corresponding to the print head
a detection means for detecting whether or not there is a hyphen at a lower printing position; and a control means for outputting a control signal for erasing the hyphen at the printing position to the erasing mechanism based on a signal from the detection means. It was established.

本願第2発明に係る印字装置は、第1図の機能ブロック
図に示すように、第1発明と同様の前提構成を有する印
字装置において、前記語消去指令信号を受けたとき、前
記印字データメモリ及び現在位置メモリにより、印字ヘ
ッドに対応する印字位置の文字を含む単語について先頭
文字の1つ上位側の印字位置又は末尾文字の1つ下位側
の印字位置にハイフンがあるか否かを検出する検出手段
を設け、その検出手段からの信号に基いて前記印字位置
のハイフンを消去させない制御信号を前記消去機構へ出
力する制御手段を設けたものである。
As shown in the functional block diagram of FIG. 1, the printing device according to the second invention of the present application, in the printing device having the same prerequisite configuration as the first invention, when receiving the word erasure command signal, and current position memory to detect whether or not there is a hyphen at a print position one position above the first character or one position below the last character for a word containing a character at a print position corresponding to the print head. A detection means is provided, and a control means is provided for outputting a control signal for not erasing the hyphen at the printing position to the erasing mechanism based on a signal from the detection means.

(作用) 本願第1発明に係る印字装置は、以上のように構成され
るから、印字データメモリは印字機構によって印字用紙
に印字されたデータを印字位置と対応させて記憶し、ま
た現在位置メモリは印字ヘッドの現在位置を印字位置と
対応させて記憶する。
(Function) Since the printing device according to the first invention of the present application is configured as described above, the print data memory stores the data printed on the print paper by the printing mechanism in correspondence with the print position, and the current position memory stores the current position of the print head in correspondence with the print position.

そして、消去機構が語消去指令信号を受けると、印字デ
ータメモリのデータと現在位置メモリのデータとに基い
て印字ヘッドに対応する印字位置の文字を含む単語を消
去することになる。この消去時に検出手段が語消去指令
信号を受けると検出手段は印字ヘッドに対応する印字位
置の文字を含む単語について先頭文字の1つ上位側の印
字位置又は末尾文字の1つ下位側の印字位置にハイフン
があるか否かを検出する。
When the erasing mechanism receives the word erasing command signal, it erases the word containing the character at the print position corresponding to the print head based on the data in the print data memory and the data in the current position memory. When the detection means receives a word erasure command signal during this erasing, the detection means detects the word containing the character at the print position corresponding to the print head at the print position one position above the first character or one position below the last character. Detects whether there is a hyphen in .

すると、制御手段は検出手段で検出されたハイフンを消
去する制御信号を消去機構へ出力し、印字ヘッドに対応
する単語と共にその単語の前後のハイフンが消去される
Then, the control means outputs a control signal for erasing the hyphen detected by the detection means to the erasing mechanism, and the word corresponding to the print head and the hyphens before and after the word are erased.

本願第2発明に係る印字装置は前記第1発明と同様に作
用するが、次の点で異なっている。
The printing device according to the second invention of the present application operates in the same manner as the first invention, but differs in the following points.

即ち、制御手段は検出手段で検出されたハイフンを消去
させない制御信号を消去機構へ出力し、印字ヘッドに対
応する単語だけが消去され、ハイフンは消去されずに残
ることになる。
That is, the control means outputs a control signal to the erasing mechanism that does not erase the hyphen detected by the detection means, so that only the word corresponding to the print head is erased, and the hyphen remains unerased.

(発明の効果) 本願第1発明に係る印字装置によれば、以上説明したよ
うに単語の上位側に続くハイフン又は単語の下位側に続
くハイフンを検出するように構成したので、ハイフンで
接続された複数の単語のうちの一単語のみを消去するよ
うに消去機構を制御し、誤印字の単語を訂正するときの
作業能率を高めることが出来る。更に、前記−単語と共
にハイフンを消去するように構成したので、誤印字の単
語を消去しそれよりも字数の多い単語を印字ピッチを変
えて訂正印字するときにスペース的に有利となる。
(Effects of the Invention) According to the printing device according to the first invention of the present application, as explained above, since it is configured to detect a hyphen following the upper part of a word or a hyphen following the lower part of a word, it is possible to detect hyphens connected by a hyphen. The erasing mechanism can be controlled so as to erase only one word out of a plurality of words, thereby increasing work efficiency when correcting an incorrectly printed word. Furthermore, since the hyphen is deleted together with the - word, it is advantageous in terms of space when erasing the incorrectly printed word and correcting and printing a word with a larger number of characters by changing the printing pitch.

本願第2発明に係る印字装置によれば、第1発明と同様
にハイフンで接続された複数の単語のうちの一単語のみ
を消去するように消去機構を制御し、誤印字の単語を訂
正するときの作業能率を高めることが出来る。更に、単
語消去時にハイフンを消去させないように構成したので
、ハイフンを消去する必要がない場合あやまってハイフ
ンを消去し再印字するような無駄な操作を省くことが出
来る。
According to the printing device according to the second invention of the present application, similarly to the first invention, the erasing mechanism is controlled to erase only one word out of a plurality of words connected by a hyphen, and the incorrectly printed word is corrected. You can improve your work efficiency. Furthermore, since the hyphen is not erased when erasing a word, it is possible to eliminate unnecessary operations such as accidentally erasing the hyphen and reprinting when there is no need to erase the hyphen.

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

本実施例は本発明を電子タイプライタ1に適用したもの
で、タイプライタ1のキーボード3に設けられた消去指
令キー23を操作することにより、誤印字された文字の
集合からなる単語(以下、ワードという)を訂正リボン
を備えた消去機構によって消去するようにしたものであ
る。
In this embodiment, the present invention is applied to an electronic typewriter 1, and by operating the erase command key 23 provided on the keyboard 3 of the typewriter 1, a word (hereinafter referred to as Words) are erased by an erasing mechanism equipped with a correction ribbon.

タイプライタlのフレーム2の前部には、第1図に示す
ように、キーボード3が配置され、キーボード3の後方
でフレーム2内には印字機91 P Mが配設されてい
る。
As shown in FIG. 1, a keyboard 3 is disposed at the front of the frame 2 of the typewriter I, and a printing machine 91 P M is disposed within the frame 2 behind the keyboard 3.

上記キーボード3には次のような各種のキーが設けられ
ている。即ち、アルファベットの各文字を入力するため
のアルファベットキー4とO〜9の数字を入力するため
の数字キー5とハイフン等を入力するための記号キー6
とを含む文字キー、スペースキー7、バックスペースキ
ー8、リターンキー9、シフトキー10、コードキー1
)、左マージンセットキー12、右マージンセットキー
13、タブセットキー14、タブクリアキー15、タブ
キー16、紙送りキー18、祇戻しキー19、リヒート
キー20、後述するディスプレイ21上においてデータ
入力位置を示すカーソルを移動させるためのカーソル移
動キー22、消去指令信号を出力する消去指令キー23
などである。上記各種機能キーを操作することによって
得られる各機能については、既存のタイプライタと同様
なので説明を省略する。
The keyboard 3 is provided with the following various keys. That is, alphabet keys 4 are used to input each letter of the alphabet, numeric keys 5 are used to input numbers O to 9, and symbol keys 6 are used to input hyphens, etc.
Character keys including , space key 7, backspace key 8, return key 9, shift key 10, code key 1
), left margin set key 12, right margin set key 13, tab set key 14, tab clear key 15, tab key 16, paper feed key 18, return key 19, reheat key 20, indicating the data input position on the display 21 to be described later. Cursor movement key 22 for moving the cursor, erase command key 23 for outputting an erase command signal
etc. The functions obtained by operating the various function keys described above are the same as those of existing typewriters, so the description thereof will be omitted.

キーボード3の後部には、文字キー4・5・6及びスペ
ースキー7等を操作して入力した文字や記号を表示する
ためのディスプレイ21が設けられている。そして、プ
ラテン24はフレーム2の左右方向に向けて配設され、
プラテン駆動モータ25あるいはプラテンノブ26によ
り自動あるいは手動で回転駆動され、印字用紙17を紙
送りする。
A display 21 is provided at the rear of the keyboard 3 for displaying characters and symbols input by operating the character keys 4, 5, 6, the space key 7, and the like. The platen 24 is arranged to face the left and right direction of the frame 2,
It is rotated automatically or manually by a platen drive motor 25 or a platen knob 26 to feed the printing paper 17.

また、キャリッジ27は、第3図に示すようにプラテン
軸28と平行に設けられた2本のガイドロッド29・3
0に支持され、キャリッジ駆動モータ31で駆動される
ワイヤ32によってプラテン24に沿って往復移動され
る。更に、キャリッジ27には活字ホイール33を駆動
する活字ホイール駆動モータ34が配設され、そのモー
タ軸には第3図に示すようにホイールカセット35に収
容された活字ホイール33が着脱自在に装着されて回転
駆動され、活字ホイール33の選択されたスポークの先
端の活字36が印字ハンマ37に対向する印字ポジショ
ンにセットされる。印字ハンマ37はキャリッジ27の
頂部に装着され、その印字ハンマソレノイド38は後述
の印字ハンマドライバ39からの駆動電流で駆動され、
印字ポジションにセットされた活字36を印字用紙17
に打撃するようになっている。
The carriage 27 also has two guide rods 29 and 3 provided parallel to the platen shaft 28, as shown in FIG.
0 and is reciprocated along the platen 24 by a wire 32 driven by a carriage drive motor 31. Furthermore, a type wheel drive motor 34 for driving a type wheel 33 is disposed on the carriage 27, and a type wheel 33 accommodated in a wheel cassette 35 is detachably attached to the motor shaft as shown in FIG. The type 36 at the tip of the selected spoke of the type wheel 33 is set in a printing position facing the printing hammer 37. The printing hammer 37 is mounted on the top of the carriage 27, and its printing hammer solenoid 38 is driven by a drive current from a printing hammer driver 39, which will be described later.
The type 36 set in the printing position is printed on the printing paper 17.
It is designed to hit.

印字リボン40を供給するリボンカセット41はホルダ
42上に載置され、そのホルダ42の前端部はキャリッ
ジ27に対して回動自在に装着されている。印字リボン
40はリボンカセット41の供給スプールから供給され
、リボン送りモータ43で駆動される巻取スプールに巻
取られる。また、ホルダ42の後部に一段低く形成され
た部分には訂正リボン44が設けられている。即ち、リ
ボンカセット41の右側には訂正リボン44を供給する
供給スプールが設けられ、リボンカセット41の左側に
は訂正リボン44を巻取る巻取スプールが設けられてい
る。
A ribbon cassette 41 that supplies the printing ribbon 40 is placed on a holder 42, and the front end of the holder 42 is rotatably attached to the carriage 27. Print ribbon 40 is supplied from a supply spool of ribbon cassette 41 and wound onto a take-up spool driven by ribbon feed motor 43 . Further, a correction ribbon 44 is provided at a lower portion at the rear of the holder 42 . That is, a supply spool for supplying the correction ribbon 44 is provided on the right side of the ribbon cassette 41, and a take-up spool for winding the correction ribbon 44 is provided on the left side of the ribbon cassette 41.

更に、印字リボン40を印字ボジンションの活字36と
プラテン24との間に位置させた印字位置(第3図参照
)と、印字リボン40を印字位置よりも下方へ移動させ
た退避位置(図示路)と、訂正リボン44を印字ポジシ
ョンの活字36とプラテン24との間に位置させた訂正
位置(第4図参照)とに位置切換えするために、リボン
リフトモータ45で回転駆動される駆動軸(図示路)に
連動連結され、ホルダ42を前記3位置に揺動させるカ
ム機構(図示路)がキャリッジ27に装着されている。
Furthermore, there is a printing position where the printing ribbon 40 is located between the type 36 of the printing position and the platen 24 (see FIG. 3), and a retracted position where the printing ribbon 40 is moved below the printing position (path shown). In order to switch the position of the correction ribbon 44 to the correction position (see FIG. 4) in which the correction ribbon 44 is located between the print position 36 and the platen 24, a drive shaft (not shown) is rotated by a ribbon lift motor 45. A cam mechanism (path shown) is attached to the carriage 27 and is interlocked with the cam mechanism (path shown) and swings the holder 42 to the three positions.

そしてまた、キャリッジ27及びホルダ42には、ホル
ダ42の訂正位置への揺動に伴ない訂正リボン44を供
給スプールから巻取スプールに巻取るための周知の訂正
リボン巻取り機構(図示路)が設けられている。
Further, the carriage 27 and the holder 42 are provided with a well-known correction ribbon winding mechanism (path shown) for winding the correction ribbon 44 from the supply spool to the take-up spool as the holder 42 swings to the correction position. It is provided.

従って、印字機構PMは、プラテン24及びプラテン駆
動装置と、キャリッジ27及びキャリッジ駆動装置と、
活字ホイール33及び活字ホイール駆動装置と、印字リ
ボン40及びリボン送り駆動装置と、印字リボン40、
訂正リボン44を印字ポジションに揺動させるカム機構
及びその駆動’AWと、印字ハンマ37及び印字ハンマ
駆動装置等から構成され、印字機構の各駆動装置は制御
装置のCPU (中央演算装置)46に接続されている
Therefore, the printing mechanism PM includes the platen 24 and the platen drive device, the carriage 27 and the carriage drive device,
a type wheel 33 and a type wheel drive device, a print ribbon 40 and a ribbon feed drive device, a print ribbon 40,
It is composed of a cam mechanism that swings the correction ribbon 44 to the printing position, its drive 'AW, a printing hammer 37, a printing hammer driving device, etc., and each driving device of the printing mechanism is connected to a CPU (central processing unit) 46 of a control device. It is connected.

次に、このタイプライタ1の制御系の全体構成について
第5図のブロック図に基いて説明する。
Next, the overall configuration of the control system of this typewriter 1 will be explained based on the block diagram of FIG. 5.

前記印字機構PMの為の駆動装置は、プラテン駆動モー
タ25及びそのドライバ47と、キャリッジ駆動モータ
31及びそのドライバ48と、リボン送りモータ43及
びそのドライバ49と、リボンリフトモータ45及びそ
のドライバ50と、活字ホイール駆動モータ34及びそ
のドライバ51と、印字ハンマソレノイド38及びその
ドライバ39などから構成されている。
The driving devices for the printing mechanism PM include a platen drive motor 25 and its driver 47, a carriage drive motor 31 and its driver 48, a ribbon feed motor 43 and its driver 49, and a ribbon lift motor 45 and its driver 50. , a type wheel drive motor 34 and its driver 51, a printing hammer solenoid 38 and its driver 39, and the like.

表示装置りは液晶表示器からなるディスプレイ21とデ
ィスプレイコントローラ52とから構成され、ディスプ
レイコントローラ52はディスプレイ21で文字等を表
示するための表示データを各文字や記号のコードデータ
に対応させて格納しており、ディスプレイコントローラ
52に入力されるコードデータに対応する表示データを
ディスプレイ21に出力するようになっている。
The display device is composed of a display 21 consisting of a liquid crystal display and a display controller 52. The display controller 52 stores display data for displaying characters, etc. on the display 21 in correspondence with code data of each character or symbol. The display controller 52 outputs display data corresponding to code data input to the display controller 52 to the display 21.

制御装置Cは、CPU46と、CPU46に接続された
ROM (リード・オンリ・メモリ)53及びRAM 
(ランダム・アクセス・メモリ)54とから構成されて
おり、CPU4 Gにはキーボード3と、前記駆動装置
の各ドライバ39.47〜51と、ディスプレイコント
ローラ52とが接続されている。
The control device C includes a CPU 46, a ROM (read only memory) 53 and a RAM connected to the CPU 46.
(random access memory) 54, and the keyboard 3, each of the drivers 39, 47 to 51 of the driving device, and a display controller 52 are connected to the CPU 4G.

前記ROM53には、キーボード3の文字キー4・5・
6及びスペースキー7等から入力される各文字等のコー
ドデータ或いは後述の印字データメモリ1)0から読み
出されるコードデータに対応させて、印字機構PMの各
モータ25・31・34・43・45及び印字ハンマソ
レノイド38とディスプレイ21を制御する制御プログ
ラム、キーボード3の各種機能キーから入力される各機
能のコードデータに対応させて前記各モータ25・31
・34・43・45並びに印字ハンマソレノイド38を
制御する制御プログラムや後述のワード消去制御の制御
プログラムなどが記憶されているプログラムメモリ10
0が設けられている。
The ROM 53 contains character keys 4, 5, and
Each motor 25, 31, 34, 43, 45 of the printing mechanism PM corresponds to code data such as each character inputted from 6 and space key 7, or code data read from the print data memory 1) 0 described later. and a control program for controlling the printing hammer solenoid 38 and the display 21, and a control program for controlling the respective motors 25 and 31 in correspondence with code data for each function inputted from various function keys on the keyboard 3.
・A program memory 10 in which a control program for controlling 34, 43, 45 and the print hammer solenoid 38, a control program for word erasure control to be described later, etc. are stored.
0 is set.

前記RAM54には、印字されたデータを印字位置と対
応させて順々に記憶する印字データメモリ1)0と、印
字位置と対応させたキャリッジ27の現在位置を記憶す
る現在位置メモリ1)2と、活字ホイール33の現在の
回転角度位置つまり印字ポジションにある活字36のス
ポーク番号を記憶する活字位置メモリ1)4と、CPU
46で演算処理した結果を一時的に記憶する各種のメモ
リとが設けられている。
The RAM 54 includes a print data memory 1)0 that sequentially stores printed data in correspondence with the print position, and a current position memory 1)2 that stores the current position of the carriage 27 in correspondence with the print position. , a type position memory 1) 4 that stores the spoke number of the type 36 at the current rotation angle position of the type wheel 33, that is, the print position, and a CPU.
Various types of memories are provided to temporarily store the results of the arithmetic processing at 46.

前記CPU46は、キーボード3の文字キー4・5・6
及びスペースキー7から入力されるアルファベット、数
字、スペースなどの各文字や記号に対応するコードデー
タに基いて印字機構PMにより印字用紙17に印字し、
その印字されたデータを印字位置と対応させてRAM5
4の印字データメモリ1)0に順次記憶させると共に、
キャリッジ駆動モータ31や活字ホイール駆動モータ3
4を駆動する毎に変わる現在位置のデータをRAM54
の現在位置メモリ1)2及び活字位置メモリ1)4に記
憶させる。また、CPU46は、キーボード3の各種機
能キーから入力されるコードデータをROM53のプロ
グラムメモリ100から読出した制御プログラムで処理
することにより入力コードデータに対応する制′a信号
を印字機構PMの各ドライバ39・47〜51やディス
プレイコントローラ52へ出力する。
The CPU 46 uses character keys 4, 5, and 6 of the keyboard 3.
and the printing mechanism PM prints on the printing paper 17 based on the code data corresponding to each character or symbol such as alphabets, numbers, spaces, etc. input from the space key 7,
The printed data is stored in RAM 5 in correspondence with the printing position.
4 print data memory 1) While storing sequentially in 0,
Carriage drive motor 31 and type wheel drive motor 3
The data of the current position that changes every time the 4 is driven is stored in the RAM 54.
The current position memory 1) 2 and the type position memory 1) 4 are stored. Further, the CPU 46 processes the code data input from various function keys of the keyboard 3 using the control program read from the program memory 100 of the ROM 53, and sends a control signal corresponding to the input code data to each driver of the printing mechanism PM. 39, 47 to 51 and the display controller 52.

更に、CPU46は文字キー4・5・6及びスペースキ
ー7から人力されたコードデータ或いは印字データメモ
リ1)0から読出された文字等のコードデータを、プロ
グラムメモリ100から読出した制御プログラムで処理
する。これによりコードデータに対応する制御信号を印
字機構PMの各ドライバ39・47〜51やディスプレ
イコントローラ52へ出力し、印字機構PMと表示装置
りとを制御する。即ち、コードデータに基いて印字機構
PMを制御する場合、CPU46から活字ホイール駆動
モータドライバ51に制御信号が出力され、活字ホイー
ル駆動モータドライバ51から活字ホイール駆動モータ
34に駆動電流が出力される。そして、活字ホイール駆
動モータ34が所定角度回転して、コ・−ドデータに対
応する活字ホイール33の活字36が印字ハンマ37の
前方の印字ポジションにセットされると同時に、CPU
46からリボンリフトモータドライバ50に制御信号が
出力され、そのモータドライバ50からリボンリフトモ
ータ45に駆動電流が出力され、リボンリフトモータ4
5の回転により駆動軸とカム機構を介してホルダ42及
び印字リボン40が第3図の印字位置に揺動駆動される
Further, the CPU 46 processes the code data manually entered from the character keys 4, 5, 6 and the space key 7 or the code data such as characters read from the print data memory 1) 0 using the control program read from the program memory 100. . Thereby, a control signal corresponding to the code data is output to each driver 39, 47 to 51 of the printing mechanism PM and the display controller 52, thereby controlling the printing mechanism PM and the display device. That is, when controlling the printing mechanism PM based on code data, a control signal is output from the CPU 46 to the type wheel drive motor driver 51, and a drive current is output from the type wheel drive motor driver 51 to the type wheel drive motor 34. Then, the type wheel drive motor 34 rotates by a predetermined angle, and the type 36 of the type wheel 33 corresponding to the code data is set to the printing position in front of the print hammer 37, and at the same time, the CPU
A control signal is output from 46 to the ribbon lift motor driver 50, and a drive current is output from the motor driver 50 to the ribbon lift motor 45.
5, the holder 42 and the printing ribbon 40 are swing-driven to the printing position shown in FIG. 3 via the drive shaft and the cam mechanism.

次に、CPU46から印字ハンマソレノイドドライバ3
9に制御信号が出力されると、印字ハンマソレノイドド
ライバ39から印字ハンマソレノイド38に駆動電流が
出力されて、印字ハンマ37で活字ホイール33の活字
36が打撃され、印字用紙17に文字や記号が印字され
る。
Next, the CPU 46 sends the print hammer solenoid driver 3
When a control signal is output to the print hammer solenoid driver 39 , a drive current is output from the print hammer solenoid driver 39 to the print hammer solenoid 38 , the print hammer 37 hits the type 36 of the type wheel 33 , and characters and symbols are printed on the print paper 17 . It will be printed.

そして、所定時間内に次のキー人力がない場合には、(
::PU46からリボンリフトモータドライバ50に制
御信号が出力され、リボンリフトモータ45が回転して
ホルダ42及び印字リボン40は退避位置に戻される。
Then, if there is no next key manpower within the specified time, (
::A control signal is output from the PU 46 to the ribbon lift motor driver 50, the ribbon lift motor 45 rotates, and the holder 42 and print ribbon 40 are returned to the retracted position.

更に、CPU46からキャリッジ駆動モータドライバ4
8とリボン送りモ−タドライバ49に夫々制御信号が出
力される。
Furthermore, the carriage drive motor driver 4 is sent from the CPU 46.
Control signals are output to the ribbon feeding motor driver 8 and the ribbon feeding motor driver 49, respectively.

一方ではキャリッジ駆動モータドライバ48からキャリ
ッジ駆動モータ31に駆動電流が出力され、その駆動モ
ータ31が所定量回転してキャリッジ27はキャリッジ
駆動ワイヤ32を介して1文字分印字方向に移動される
。他方ではリボン送りモータドライバ49からリボン送
りモータ43に駆動電流が出力され、リボン送りモータ
43が所定量回転して印字リボン40が送られる。
On the other hand, a drive current is output from the carriage drive motor driver 48 to the carriage drive motor 31, the drive motor 31 rotates by a predetermined amount, and the carriage 27 is moved in the printing direction by one character via the carriage drive wire 32. On the other hand, a drive current is output from the ribbon feed motor driver 49 to the ribbon feed motor 43, and the ribbon feed motor 43 rotates by a predetermined amount to feed the printing ribbon 40.

また、リターンキー9が操作されると、CPU46はキ
ーボード3からコードデータをプログラムメモリlOO
から読出した制御プログラムで処理することにより、キ
ャリッジ駆動モータドライバ48及びプラテン駆動モー
タドライバ47に制御信号が出力される。そして、キャ
リッジ駆動モータドライバ48からキャリッジ駆動モー
タ31に駆動電流が出力され、その駆動モータ31が逆
回転してキャリッジ27が印字開始位置に戻される。こ
れと同時に、プラテン駆動モータドライバ47からプラ
テン駆動モータ25に駆動電流が出力され、その駆動モ
ータ25が所定量回転して印字用紙17が1行分紙送り
される。
Further, when the return key 9 is operated, the CPU 46 transfers the code data from the keyboard 3 to the program memory lOO.
A control signal is output to the carriage drive motor driver 48 and the platen drive motor driver 47 by processing with the control program read from the control program. Then, a drive current is output from the carriage drive motor driver 48 to the carriage drive motor 31, and the drive motor 31 rotates in the reverse direction to return the carriage 27 to the print starting position. At the same time, a drive current is output from the platen drive motor driver 47 to the platen drive motor 25, and the drive motor 25 rotates by a predetermined amount to feed the printing paper 17 by one line.

更に、消去指令キー23を操作して文字消去する場合、
CPU46はプログラムメモリ100からワード消去の
制御プログラムを読込み、リボンリフトモータドライバ
50に制御信号を出力すると、リボンリフトモータ45
が回転されてホルダ42が第4図の修正位置に揺動駆動
される。そして、CPU46は印字データメモリ1)0
の最後のデータを読出し、活字ホイール駆動モータドラ
イバ51に制御信号が出力され、活字ホイール駆動モー
タ34により活字ホイール33が回転され、消去すべき
文字や記号と同一の活字36が印字ポジションに位置し
、印字ハンマドライバ39からの駆動電流により印字ハ
ンマソレノイド38が駆動されて印字ハンマ37が打撃
され、印字文字の消去が行なわれる。
Furthermore, when erasing characters by operating the erasure command key 23,
When the CPU 46 reads a word erasure control program from the program memory 100 and outputs a control signal to the ribbon lift motor driver 50, the ribbon lift motor 45
is rotated to swing the holder 42 to the corrected position shown in FIG. Then, the CPU 46 prints data memory 1)0.
The last data is read out, a control signal is output to the type wheel drive motor driver 51, the type wheel drive motor 34 rotates the type wheel 33, and the type 36 that is the same as the character or symbol to be erased is located at the printing position. The printing hammer solenoid 38 is driven by the drive current from the printing hammer driver 39, and the printing hammer 37 is struck, thereby erasing the printed characters.

次に、第1発明の一実施例に係るワード消去制御につい
て説明する。このワード消去制御は、2つのワード(単
語)をハイフンで連続させて印字した場合において、ハ
イフンはワードとワードの間の区切記号であるが、各種
の記号と同様に文字と見なしてハイフンに先行する先行
ワードに属すると考え、先行ワードを消去するときには
、ハイフンも含めて消去するものである。
Next, word erase control according to an embodiment of the first invention will be described. This word erasure control is applied when two words are printed consecutively with a hyphen, and although the hyphen is a delimiter between words, it is treated as a character and preceded by a hyphen, just like other symbols. When erasing a preceding word, the hyphen is also erased.

先ず、ワード消去制御のフローチャートの説明を理解し
易くするためにこのワード消去制御の概要について説明
する。
First, an outline of the word erase control will be explained in order to make it easier to understand the flowchart of the word erase control.

第6図は1例としてハイフン(第9桁)に先行する先行
ワードをrEXANPLEJと誤まったスペルで印字し
た文字列rEXANPLE−TYPE1jと印字データ
メモリ1)0内のデータを模式的に例示したものであり
、第1桁と第15桁とには夫々スペースが打たれている
As an example, FIG. 6 schematically shows the character string rEXANPLE-TYPE1j printed with the leading word preceding the hyphen (9th digit) misspelled as rEXANPLEJ and the data in the print data memory 1)0. , and spaces are inserted in the first and fifteenth digits, respectively.

先行ワードのrEXANPL’EJを消去するときには
、印字ヘッドを第2桁〜第9桁の何れかの印字位置に位
置させ、消去指令キー23を操作すると、印字ヘッドは
第9桁のハイフンの印字位置へ移動し、第9桁から第2
桁に亙ってハイフンから順々に消去していくようになっ
ている。
To erase the preceding word rEXANPL'EJ, position the print head at any of the 2nd to 9th digit printing positions and operate the erase command key 23, the print head will move to the hyphen printing position of the 9th digit. and move from the 9th digit to the 2nd digit.
The hyphens are deleted one after another across the digits.

また、ハイフンに後続する後続ワードのrTYPEIJ
を消去するときには、印字ヘッドを第10桁〜第15桁
の何れかの印字位置に位置させ、消去指令キー23を操
作すると、印字ヘッドは第14桁の印字位置へ移動し、
第14桁から第10桁に亙って順々に消去していくよう
になっている。
Also, rTYPEIJ of the subsequent word following the hyphen.
When erasing, place the print head at any of the 10th to 15th digit printing positions, operate the erase command key 23, the print head moves to the 14th digit printing position,
The data is erased sequentially from the 14th digit to the 10th digit.

次に、この電子タイプライタの制御装置で行なわれるワ
ード消去制御のフローチャートについて、第7図を参照
して説明する。
Next, a flowchart of word erasure control performed by the control device of this electronic typewriter will be described with reference to FIG.

消去指令キー23が操作され、キーボード3からCPU
46へ語消去措令信号が出力されると、ステップSt(
以下、単に81と表わし、他のステップについても同様
に扱う)が実行され、Slにおいては、現在位置メモリ
1)2のデータと印字データメモリ1)0のデータとに
基いて印字ヘッドの現在位置に文字があるか否か(印字
されているか否か)が判定され、現在位置に文字がある
ときにはS8へ移行し、また文字がないときにはS2へ
移行する。
When the erase command key 23 is operated, the CPU
When the word erasure order signal is output to 46, step St(
(hereinafter simply referred to as 81 and other steps are treated similarly) is executed, and in Sl, the current position of the print head is determined based on the data in the current position memory 1) 2 and the data in the print data memory 1) 0. It is determined whether there is a character (printed or not) at the current position, and if there is a character at the current position, the process moves to S8, and if there is no character, the process moves to S2.

S2においては、1つ上位側(印字方向と反対方向)の
印字位置に文字があるか否かが判定され、文字がないと
きにはS20へ移行する。即ち現在位置及び1つ上位側
の印字位置に文字がない場合とは、例えば第6図におい
て印字ヘッドが第15桁のスペースの後の第16桁の印
字位置以降の印字位置にある場合か、或いは印字ヘッド
が第1桁のスペースに対応しその上位側が左マージンで
あるような場合であり、これらの場合にはS20におい
てブザーやアラームランプなどにアラームが表示されて
終了する。
In S2, it is determined whether or not there is a character at the next higher printing position (in the opposite direction to the printing direction), and if there is no character, the process moves to S20. In other words, the case where there are no characters at the current position and the next higher printing position means, for example, in FIG. 6, if the print head is at a printing position after the 16th digit printing position after the 15th digit space, or Alternatively, there is a case where the print head corresponds to the space of the first digit and the upper side thereof is the left margin, and in these cases, an alarm is displayed on the buzzer, alarm lamp, etc. in S20 and the process ends.

また、S2における判定結果がYESの場合(1つ上位
側の印字位置に文字がある場合)つまり印字ヘッドが後
続ワードの末尾文字の1つ下位側のスペースの位置(第
6図の第15桁)にある場合には、S3へ移行する。
If the determination result in S2 is YES (if there is a character in the next higher printing position), that is, the print head is positioned one space lower than the last character of the subsequent word (the 15th digit in Figure 6). ), the process moves to S3.

83〜S7のステップは末尾文字から上位側へ1文字ず
つ順々に消去していくステップであり、S3においては
CPU46からキャリッジ駆動モータドライバ48へ制
御信号を出力することによりキ皐リッジ27を1つ上位
側の印字位置へ移動させる。そしてS4においては、現
在の印字ヘッドに対応する印字位置にある印字文字に重
ねて同一の文字を訂正リボン44を介して印字すること
により印字文字が消去され、次の85では、S4で消去
した印字文字に対応する印字データメモリ1)0のデー
タが消去される。
Steps 83 to S7 are steps for sequentially erasing characters one by one from the last character to the higher order side. Move it to the upper printing position. Then, in S4, the printed character is erased by printing the same character over the printed character at the print position corresponding to the current print head via the correction ribbon 44, and in the next step 85, the printed character is erased in S4. The data in print data memory 1) 0 corresponding to the print character is erased.

また、次の86においては、印字ヘッドの現在位置の1
つ上位側印字位置に文字があるか否かが判定され、文字
があるときにはS7へ移行し、また文字がないとき(第
6図において第2桁のとき)には、制御を終了する。更
にS7においては、印字ヘッドの現在位置の1つ上位側
の印字位置はハイフンか否かが判定され、ハイフンでな
いときにはS3に戻り、またハイフンのとき(第6図に
おいて第1O桁のとき)には制御を終了する。
In the next step 86, 1 of the current position of the print head is
It is determined whether or not there is a character in the upper printing position. If there is a character, the process moves to S7, and if there is no character (at the second digit in FIG. 6), the control is terminated. Furthermore, in S7, it is determined whether or not the print position one position above the current position of the print head is a hyphen. If it is not a hyphen, the process returns to S3, and if it is a hyphen (at the 1st O digit in FIG. 6), ends control.

そして、後続ワードが複数文字からなる単語の場合には
、83〜S7が繰返され、後続ワードの先頭の印字文字
まで順々に消去されるのと並行して、消去した印字文字
に対応する印字データメモリ1)0のデータが順々に消
去される。また、印字ヘッドが後続ワードの先頭文字の
印字位置に達してその先頭文字まで消去が完了すると、
S7において1つ上位側の印字位置がハイフンであると
判定され消去の制御が終了する。
If the subsequent word is a word consisting of multiple characters, steps 83 to S7 are repeated and the printed characters corresponding to the erased printed characters are sequentially erased up to the first printed character of the subsequent word. Data memory 1) Data in 0 is sequentially erased. Also, when the print head reaches the printing position of the first character of the subsequent word and the erasure is completed to the first character,
In S7, it is determined that the next higher printing position is a hyphen, and the erasure control ends.

更に、印字ヘッドを先行ワードの何れかの印字文字又は
後続ワードの何れかの印字文字又はハイフンに対応する
印字位置に位置させた状態で消去指令キー23を操作し
たときには、Slにおいて現在位置に文字があると判定
され、S8へ移行し、S8において、印字ヘッドの現在
の位置はハイフンか否かが判定され、ハイフンであると
き(第6図において第9桁の印字位置のとき)にはS4
へ移行し、またハイフンでないときにはS9へ移行する
Furthermore, when the erase command key 23 is operated with the print head positioned at a print position corresponding to any printed character in the preceding word or any printed character or hyphen in the subsequent word, a character is placed at the current position in Sl. In S8, it is determined whether the current position of the print head is a hyphen, and if it is a hyphen (at the printing position of the 9th digit in FIG. 6), the process moves to S8.
If it is not a hyphen, the process moves to S9.

S9においては、1つ下位側(印字方向)の印字位置に
文字があるか否かが判定され、1つ下位側印字位置に文
字がないとき(第6図において第14桁の印字位置にあ
るとき)にはS4へ移行し、また文字があるときにはS
10に進行し、キャリッジ27が1つ下位側の印字位置
へ移動され、S8に戻る。
In S9, it is determined whether or not there is a character at the next lower printing position (printing direction), and if there is no character at the one lower printing position (at the 14th digit printing position in ), it moves to S4, and when there is a character, it moves to S4.
10, the carriage 27 is moved to the next lower printing position, and the process returns to S8.

従って、ワードが複数文字からなる文字列の場合には、
88〜SIOが繰返され、印字ヘッドは順々に下位側へ
移動する。そして、印字ヘッドが先行ワードの末尾文字
の下位側のハイフンの印字位置に来ると88から34へ
移行し、また印字ヘッドが後続ワードの末尾文字の印字
位置に来ると89から84へ移行する。
Therefore, if the word is a string consisting of multiple characters,
88 to SIO are repeated, and the print head sequentially moves to the lower side. Then, when the print head comes to the print position of the hyphen on the lower side of the last character of the preceding word, the process moves from 88 to 34, and when the print head comes to the print position of the last character of the succeeding word, the process moves from 89 to 84.

そしてまた、84〜S7・S3を繰返すことにより、前
記と同様に、先行ワードの末尾文字の下位側のハイフン
から1文字ずつ順々に遡って該ワードの先頭文字まで、
或いは後続ワードの末尾文字から1文字ずつ順々に遡っ
て該ワードの先頭文字まで消去すると、制御が終了する
Then, by repeating steps 84 to S7 and S3, in the same way as above, go back one character at a time from the hyphen on the lower side of the last character of the preceding word to the first character of the word.
Alternatively, the control ends when the data is erased one character at a time from the last character of the subsequent word to the first character of the word.

以上のように、ハイフンに先行する先行ワードを消去す
るときにはハイフンも消去され、ハイフンに後続する後
続ワードを消去するときには後続ワードのみ消去される
ことになる。
As described above, when erasing the preceding word preceding the hyphen, the hyphen is also erased, and when erasing the subsequent word following the hyphen, only the subsequent word is erased.

先行ワード或いは後続ワードの消去後には、印字ヘッド
が消去された夫々のワードの先頭位置に移動しているの
で、正しいスペルで印字し直すことが出来る。
After the preceding or following word is erased, the print head moves to the beginning of each erased word, so that it can be reprinted with the correct spelling.

(第2実施例) ところで、前記実施例におけるワード消去制御のルーチ
ンを第8図に示すように部分的に変更し、ハイフンは後
続ワードに属すると考え、後続ワードを消去するときに
は、ハイフンも含めて消去するように構成してもよい。
(Second Embodiment) By the way, the word erasure control routine in the above embodiment is partially modified as shown in FIG. It may also be configured so that the information is deleted by

即ち、この第2実施例のワード消去制御のルーチンにつ
いて第8図のフローチャー1・に基いて説明すると、S
1〜S6及びS20については第7図のフローチャート
と同様であるため、その説明は省略する。
That is, the word erase control routine of this second embodiment will be explained based on flowchart 1 in FIG.
Since steps 1 to S6 and S20 are the same as those in the flowchart of FIG. 7, their explanations will be omitted.

S6の判定結果がYESの場合つまり印字ヘッドの現在
位置の1つ上位側印字位置に文字がある場合はSllに
移行し、Sllにおいて今消去した文字がハイフンか否
かを判定し、ハイフンを消去したときには制御を終了し
、ハイフンでないときにはS3に戻る。
If the determination result in S6 is YES, that is, if there is a character at the print position one position above the current position of the print head, the process moves to Sll, where it is determined whether the character just erased is a hyphen or not, and the hyphen is erased. When it is a hyphen, the control ends, and when it is not a hyphen, the process returns to S3.

また、消去指令キー23を操作したときに印字ヘッドの
現在位置に文字があるときには、Slから312へ移行
し、S12においては、印字ヘッドの現在の位置はハイ
フンか否かが判定され、ハイフンであるとき(第6図に
おいて第9桁の印字位置のとき)にはS15へ移行し、
またハイフンでないときにはS13へ移行する。そして
、S13においては、1つ下位側(印字方向)の印字位
置に文字があるか否かが判定され、1つ下位側印字位置
に文字があるときにはS14へ移行し、また文字がない
とき(第6図において第14桁の印字位置にあるとき)
にはS4へ移行する。
Furthermore, if there is a character at the current position of the print head when the erase command key 23 is operated, the process moves from Sl to 312, and in S12, it is determined whether or not the current position of the print head is a hyphen. At some point (at the printing position of the 9th digit in FIG. 6), the process moves to S15,
If it is not a hyphen, the process moves to S13. Then, in S13, it is determined whether or not there is a character at the next lower printing position (printing direction), and if there is a character at the next lower printing position, the process moves to S14, and if there is no character ( (When it is at the printing position of the 14th digit in Figure 6)
Then, the process moves to S4.

S14においては、1つ下位側の印字位置はハイフンか
否かが判定され、ハイフンのときにはS4へ移行し、ま
たハイフンでないときにはS15へ移行し、S15にお
いては、キャリッジが1つ下位側の印字位置へ移動され
、S13に戻る。
In S14, it is determined whether or not the next lower printing position is a hyphen. If it is a hyphen, the process moves to S4, and if it is not a hyphen, the process moves to S15. In S15, the carriage moves to the next lower printing position. , and returns to S13.

S13〜S15が繰返され、印字ヘッドは順々に下位側
へ移動する。従って、消去指令キー23を操作したとき
に、印字ヘッドがハイフンの印字位置にある場合にはキ
ャリッジ27が順々に下位側へ移動し、後続ワードの末
尾文字の位置に達すると313から34へ移行する。そ
して、S4〜S6、Sll、S3を繰返して後続ワード
の印字文字が 末尾から1文字ずつ順々に消去され、ハ
イフンまでの消去が完了すると終了する。
S13 to S15 are repeated, and the print head sequentially moves to the lower side. Therefore, when the erase command key 23 is operated, if the print head is in the hyphen printing position, the carriage 27 moves sequentially to the lower side, and when it reaches the position of the last character of the subsequent word, it moves from 313 to 34. Transition. Then, by repeating S4 to S6, Sll, and S3, the printed characters of the subsequent word are erased one by one from the end, and the process ends when the erasure up to the hyphen is completed.

一方、消去指令キー23を操作したときに、印字ヘッド
が先行ワードの何れかの文字に対応している場合にはS
lと312を経て313〜S15を繰返して順々に下位
側へ移動し、印字ヘッドが先行ワードの末尾文字の位置
に達すると314から84へ移行してS4〜S6、Sl
l、S3を繰返し、先行ワードの末尾文字から先頭文字
までの消去が終了すると、S6における判定結果がN。
On the other hand, when the erase command key 23 is operated, if the print head corresponds to any character in the preceding word, S
1 and 312, 313 to S15 are repeated, and the print head moves to the lower side in order. When the print head reaches the position of the last character of the preceding word, it moves from 314 to 84, and then S4 to S6, Sl
1 and S3 are repeated, and when erasing from the last character to the first character of the preceding word is completed, the determination result in S6 is N.

となって制御が終了する。The control ends.

また、消去指令キー23を操作したときに、印字ヘッド
が後続ワードの何れかの文字に対応している場合には前
記と同様に813〜S15を繰返して順々に下位側へ移
動し、印字ヘッドが後続ワードの末尾文字の位置に達す
ると313から84へ移行してS4〜S6、Sll、S
3を繰返し、後続ワードの末尾文字からハイフンまでの
消去が終了すると、Sllにおける判定結果がYesと
なって制御が終了する。
Also, when the erase command key 23 is operated, if the print head corresponds to any character in the subsequent word, the steps 813 to S15 are repeated in the same way as above to move to the lower side in order, and print When the head reaches the position of the last character of the following word, it moves from 313 to 84, and then S4 to S6, Sll, S
3 is repeated, and when the deletion from the last character of the subsequent word to the hyphen is completed, the determination result in Sll becomes Yes and the control ends.

(第3実施例) また、前記第1実施例におけるワード消去制御のルーチ
ンを第9図に示すように部分的に変更し、ハイフンに先
行する先行ワードを消去するときにも、後続する後続ワ
ードを消去するときにも常にハイフンを消去するように
構成してもよい。
(Third Embodiment) In addition, the word erasure control routine in the first embodiment is partially modified as shown in FIG. It may also be configured to always delete hyphens when deleting .

この第3実施例のワード消去制御のルーチンはS16だ
けが第7図のフローチャートと異なっている。即ち、8
16においては今消去した文字はハイフンか否かが判定
され、NoのときにはS3へ戻り、またYesのときに
は制御を終了する。
The word erase control routine of this third embodiment differs from the flowchart of FIG. 7 only in S16. That is, 8
In step 16, it is determined whether or not the character just erased is a hyphen. If the answer is No, the process returns to S3, and if the answer is Yes, the control ends.

要するに、先行ワードを消去するときにもハイフンから
このワードの先頭文字まで順々に消去し、また後続ワー
ドを消去するときにもワードの末尾文字からハイフンま
で順々に消去するようになっている。
In short, when deleting a preceding word, it deletes in order from the hyphen to the first character of this word, and when deleting a subsequent word, it deletes in order from the last character of the word to the hyphen. .

尚、前記各実施例においては2つのワードをハイフンで
連続させて印字したものを例にあげて説明したが、3個
以上のワード(単語)をハイフンで連続させて印字した
ものであってもよいことは言うまでもない。
In addition, in each of the above embodiments, explanations have been given using examples in which two words are printed consecutively with a hyphen, but even if three or more words are printed consecutively with a hyphen. Needless to say, it's a good thing.

(第4実施例) 次に、第2発明の実施例に係るワード消去制御について
説明する。
(Fourth Embodiment) Next, word erase control according to an embodiment of the second invention will be described.

このワード消去制御は、先行ワードを消去するときにも
また後続ワードを消去するときにもハイフンを消去させ
ないようにするものである。このワード消去制御のルー
チンについて第10図のフローチャートに基いて説明す
るが、5l−37、S20のステップは前記実施例に係
る第7図のフローチャートと同様なのでその説明は省略
し、異なる点についてのみ説明する。
This word erasure control prevents hyphens from being erased neither when erasing the preceding word nor when erasing the succeeding word. This word erasure control routine will be explained based on the flowchart of FIG. 10, but since the steps 5l-37 and S20 are the same as the flowchart of FIG. explain.

消去指令キー23を操作したとき印字ヘッドの現在位置
に文字があるときにはSlから318へ移行し、31B
においては現在位置はハイフンか否かが判定され、ハイ
フンであるときに(第6図において第9桁の印字位置に
あるとき)にはS2へ移行し、またハイフンでないとき
にはS19へ移行する。
When the erase command key 23 is operated and there is a character at the current position of the print head, the process moves from Sl to 318, and then to 31B.
In , it is determined whether the current position is a hyphen, and if it is a hyphen (at the printing position of the 9th digit in FIG. 6), the process moves to S2, and if it is not a hyphen, the process moves to S19.

S19においては、印字ヘッドに対応する印字位置の1
つ下位側の印字位置に文字があるか否かが判定され、文
字がないときにはS4へ移行し、また文字があるときに
はS21に進行し、321では、1つ下位側の印字位置
にある文字がハイフンか否を判定し、ハイフンであると
きにはS4へ移行し、またハイフンでないときにはS2
2へ移行する。そして、S22においては、印字ヘッド
が1つ下位側の印字位置へ移動されS19に戻る。
In S19, the print position 1 corresponding to the print head is
It is determined whether or not there is a character at the next lower printing position. If there is no character, the process moves to S4, and if there is a character, the process moves to S21. In 321, the character at the next lower printing position is checked. Determine whether or not it is a hyphen. If it is a hyphen, proceed to S4; if it is not a hyphen, proceed to S2.
Move to 2. Then, in S22, the print head is moved to the next lower printing position, and the process returns to S19.

このように、消去指令キー23を操作したときに、印字
ヘッドに対応する印字位置にハイフンがあるときには、
31B、S2及びS3により印字ヘッドが先行ワードの
末尾文字の位置へ移動され、83〜S7を繰返すことに
より先行ワードの末尾文字から先頭文字まで1文字ずつ
順々に消去され、それに対応する印字データメモリ1)
0のデータも消去され、先頭文字の消去が終了すると8
6における判定結果がNOとなって制御が終了する。
In this way, when the erase command key 23 is operated and there is a hyphen at the print position corresponding to the print head,
The print head is moved to the position of the last character of the preceding word by steps 31B, S2, and S3, and by repeating steps 83 to S7, characters are erased one by one from the last character to the first character of the preceding word, and the corresponding print data is erased. Memory 1)
The data of 0 is also erased, and when the first character is erased, it becomes 8.
The determination result in step 6 becomes NO and the control ends.

一方、消去指令キー23を操作したときに、印字ヘッド
が先行ワードの何れか文字に対応している場合には、S
lと318とを経てS19、S21〜S22を繰返し、
印字ヘッドが先行ワードの末尾文字の位置に達すると、
321から84へ移行し、S4〜S7及びS3を繰返す
ことにより、先行ワードの末尾文字から先頭文字まで1
文字ずつ順々に消去され、それに対応する印字データメ
モリ1)0のデータも消去され、先頭文字の消去が終了
すると制御が終了する。
On the other hand, when the erase command key 23 is operated, if the print head corresponds to any character in the preceding word, the S
1 and 318, repeat S19 and S21 to S22,
When the print head reaches the position of the last character of the preceding word,
By moving from 321 to 84 and repeating S4 to S7 and S3, 1 from the last character to the first character of the preceding word.
The characters are erased one by one, and the corresponding data in the print data memory 1)0 is also erased, and when the erasure of the first character is completed, the control ends.

これに対して、消去指令キー23を操作したときに、印
字ヘッドが後続ワードの何れかの文字に対応している場
合には、Slと318とを経てS19、S21〜S22
を繰返し、印字ヘッドが後続ワードの末尾文字の位置に
達すると、S19から84へ移行し、34〜S7及びS
3を繰返すことにより後続ワードの末尾文字から先頭文
字まで1文字ずつ順々に消去され、それに対応する印字
データメモリ1)0のデータも消去され、先頭文字の消
去が終了すると37の判定結果がYesとなって制御が
終了する。
On the other hand, when the erase command key 23 is operated, if the print head corresponds to any character in the subsequent word, the print head will pass through Sl and 318 to S19, S21 to S22.
is repeated, and when the print head reaches the position of the last character of the subsequent word, the process moves from S19 to 84, and 34 to S7 and S
By repeating step 3, characters are erased one by one from the last character to the first character of the subsequent word, and the corresponding data in the print data memory 1)0 is also erased, and when the first character has been erased, the judgment result of 37 is displayed. The result is Yes and the control ends.

以上説明したように、第1発明の第1実施例に係るワー
ド消去制御は、ワードの末尾文字の1つ下位側の印字位
置のハイフンをそのワードと共に消去するものである。
As explained above, the word erasure control according to the first embodiment of the first invention erases the hyphen at the print position one position below the last character of a word together with the word.

また、第2実施例に係るワード消去制御は、ワードの先
頭文字の1つ上位側の印字位置のハイフンをそのワード
と共に消去するものである。更に、第3実施例に係るワ
ード消去制御はワードの先頭文字の1つ上位側の印字位
置のハイフンもワードの末尾文字の1つ下位側の印字位
置のハイフンもそのワードと共に消去するものである。
Further, the word deletion control according to the second embodiment deletes a hyphen at a print position one position above the first character of a word together with the word. Furthermore, the word erasure control according to the third embodiment erases both the hyphen at the print position one position above the first character of the word and the hyphen at the print position one position below the last character of the word, together with the word. .

一方、第2発明に係るワード制御はワードの先頭文字の
1つ上位側の印字位置のハイフンもワードの末尾文字の
1つ下位側の印字位置のハイフンもそのワード消去時に
消去しないようにするものである。
On the other hand, the word control according to the second invention is such that neither the hyphen at the print position one position above the first character of the word nor the hyphen at the print position one position below the last character of the word are erased when the word is erased. It is.

尚、前記実施例は、活字ホイール式印字機構を備えた印
字装置に本発明を適用した場合の実施例について説明し
たが、ボール活字式印字機構を有する印字装置にも本発
明を同様に適用することが出来る。
In the above embodiment, the present invention is applied to a printing device equipped with a type wheel type printing mechanism, but the present invention can be similarly applied to a printing device having a ball type type printing mechanism. I can do it.

更に、サーマルヘッドを備えた印字装置であって訂正リ
ボンや印字リボンを用いてワードの先頭文字から順々に
消去する消去機構を備えた印字装置にも本発明を略同様
に適用することが出来る。
Furthermore, the present invention can be applied in substantially the same way to a printing device equipped with a thermal head and equipped with an erasing mechanism that sequentially erases characters starting from the first character of a word using a correction ribbon or a printing ribbon. .

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

第1図は本発明の印字装置の機能ブロック図、第2図〜
第10図は本発明の実施例を示すもので、第2図は電子
タイプライタの斜視図、第3図は電子タイプライタの要
部を示す縦断部分側面図、第4図はホルダを修正位置に
して訂正リボンにより印字文字を消去するときの第3図
相当図、第5図はタイプライタの制御系のブロック図、
第6図は印字されたワードと印字位置と印字データメモ
リ内のデータとの関係を例示した図、第7図〜第10図
は夫々ワード消去制御のフローチャートである。 C・・制御装置、 3・・キーボード、 23・・消去
指令キー、 46・・CPU、 24・・プラテン、 
 27・・キャリッジ、  32・・ワイヤ、 40・
・印字リボン、 33・・活字ホイール、  37・・
印字ハンマ、 38・・印字ハンマソレノイド、  3
9・・印字ハンマソレノイドドライバ、 44・・訂正
リボン、 53・・ROM、 54・・RAM、  3
4・・活字ホイール駆動モータ、 51・・活字ホイー
ル駆動モータドライバ、  45・・リボンリフトモー
タ、50・・リボンリフトモータドライバ、  31・
・キャリッジ駆動モータ、  48・・キャリッジ駆動
モータドライバ、  43・・リボン送りモータ、  
49・・リボン送すモータドライバ、25・・プラテン
駆動モータ、 47・・プラテン駆動モータドライバ、
  1)2・・現在位置メモリ、  1)0・・印字デ
ータメモリ、  1)4・・活字位置メモリ。 特 許 出 願 人  ブラザー工業株式会社第1図 第2図 第3図 手続補昭和 昭和61年7月 9日 昭和61年嚇−第85684号 2、発明の名称 印字装置 3、補正をする者 1円牛との関係   特許出願人 住 所   名古屋市瑞穂区堀田通九丁目三十五番地名
  称  (526)  ブラザー工業株式会社f懐者
河嶋勝二 4、代理人 住  所 〒530  大阪市北区西天満4丁目5番5
号 東急マーキス梅田5、補正命令の日付   自 発 7、補正の内容 +1)  願書の右上の空欄部分に、 (特許法第38条ただし書の規定による特許出願)の文
言を追加します。 (2)願書の「16発明の名称 印字装置」の次の行に
、2、特許請求の範囲に記載された発明の数 2の文言
を追加します。 (3)願書の「20発明者」、「3.特許出願人」、「
40代理人」□「5.添付書類の目録」の番号を1ずつ
繰上げて、「30発明者」、「4.特許出願人」、「5
1代理人」「6.添付書類の目録」と訂正します。
FIG. 1 is a functional block diagram of the printing device of the present invention, and FIG.
Fig. 10 shows an embodiment of the present invention, Fig. 2 is a perspective view of an electronic typewriter, Fig. 3 is a longitudinal partial side view showing the main parts of the electronic typewriter, and Fig. 4 shows the holder in the corrected position. Figure 3 is a diagram equivalent to erasing printed characters with a correction ribbon; Figure 5 is a block diagram of the typewriter control system;
FIG. 6 is a diagram illustrating the relationship between printed words, printing positions, and data in the print data memory, and FIGS. 7 to 10 are flowcharts of word erasure control, respectively. C... Control device, 3... Keyboard, 23... Erase command key, 46... CPU, 24... Platen,
27...Carriage, 32...Wire, 40...
・Printing ribbon, 33・・Type wheel, 37・・
Printing hammer, 38...Printing hammer solenoid, 3
9... Print hammer solenoid driver, 44... Correction ribbon, 53... ROM, 54... RAM, 3
4. Type wheel drive motor, 51. Type wheel drive motor driver, 45. Ribbon lift motor, 50. Ribbon lift motor driver, 31.
- Carriage drive motor, 48... Carriage drive motor driver, 43... Ribbon feed motor,
49... Ribbon feed motor driver, 25... Platen drive motor, 47... Platen drive motor driver,
1) 2... Current position memory, 1) 0... Print data memory, 1) 4... Print position memory. Patent Applicant Brother Industries, Ltd. Figure 1 Figure 2 Figure 3 Procedure Supplement July 9, 1985 Notice of 1985 - No. 85684 2, Invention name printing device 3, Person making the amendment 1 Relationship with Engyu Patent applicant address 9-35, Horita-dori, Mizuho-ku, Nagoya Name (526) Brother Industries, Ltd. Katsuji Kawashima 4, Agent address 4 Nishitenma, Kita-ku, Osaka 530 Chome 5-5
No. Tokyu Marquis Umeda 5, Date of amendment order Voluntary 7, Contents of amendment + 1) Add the words (patent application pursuant to the proviso to Article 38 of the Patent Act) to the blank space at the top right of the application. (2) Add the words 2. Number of inventions stated in the claims 2 to the line next to "16 Title of invention: Printing device" in the application. (3) “20 Inventor”, “3. Patent Applicant”, “
40 Agent” □ Increase the numbers in “5. List of Attached Documents” by 1 and enter “30 Inventor,” “4. Patent Applicant,” and “5.
1. Agent” and “6. List of attached documents”.

Claims (2)

【特許請求の範囲】[Claims] (1)入力されたデータに対応した文字又は記号等を印
字用紙に印字する印字機構と、 この印字されたデータを印字位置と対応させて記憶する
印字データメモリと、 前記印字機構の印字ヘッドの現在位置を印字位置と対応
させて記憶する現在位置メモリと、語消去指令信号の入
力により作動を開始し、前記印字機構により印字された
文字を順次消去することにより、その文字の集合から成
る単語を消去する消去機構とを有する語消去可能な印字
装置において、 前記語消去指令信号を受けたとき、前記印字データメモ
リ及び現在位置メモリにより、印字ヘッドに対応する印
字位置の文字を含む単語について先頭文字の1つ上位側
の印字位置又は末尾文字の1つ下位側の印字位置にハイ
フンがあるか否かを検出する検出手段と、その検出手段
からの信号に基いて前記印字位置のハイフンを消去する
制御信号を前記消去機構へ出力する制御手段とを設けた
ことを特徴とする印字装置。
(1) A printing mechanism that prints characters or symbols, etc. corresponding to input data on printing paper; a print data memory that stores the printed data in correspondence with printing positions; and a print head of the printing mechanism. A current position memory that stores the current position in correspondence with a printing position, and a word consisting of a set of characters that is activated by inputting a word erasure command signal and sequentially erases the characters printed by the printing mechanism. In a word erasable printing device having a word erasing mechanism for erasing a word, when the word erasing command signal is received, the print data memory and the current position memory are used to erase the first word containing the character at the print position corresponding to the print head. A detection means for detecting whether or not there is a hyphen at a printing position one position above the character or a position one position below the last character, and erasing the hyphen at the printing position based on a signal from the detection means. and control means for outputting a control signal to the erasing mechanism.
(2)入力されたデータに対応した文字又は記号等を印
字用紙に印字する印字機構と、 この印字されたデータを印字位置と対応させて記憶する
印字データメモリと、 前記印字機構の印字ヘッドの現在位置を印字位置と対応
させて記憶する現在位置メモリと、語消去指令信号の入
力により作動を開始し、前記印字機構により印字された
文字を順次消去することにより、その文字の集合から成
る単語を消去する消去機構とを有する語消去可能な印字
装置において、 前記語消去指令信号を受けたとき、前記印字データメモ
リ及び現在位置メモリにより、印字ヘッドに対応する印
字位置の文字を含む単語について先頭文字の1つ上位側
の印字位置又は末尾文字の1つ下位側の印字位置にハイ
フンがあるか否かを検出する検出手段と、その検出手段
からの信号に基いて前記印字位置のハイフンを消去させ
ない制御信号を前記消去機構へ出力する制御手段とを設
けたことを特徴とする印字装置。
(2) a printing mechanism that prints characters or symbols, etc. corresponding to input data on printing paper; a print data memory that stores the printed data in correspondence with printing positions; and a print head of the printing mechanism. A current position memory that stores the current position in correspondence with a printing position, and a word consisting of a set of characters that is activated by inputting a word erasure command signal and sequentially erases the characters printed by the printing mechanism. In a word erasable printing device having a word erasing mechanism for erasing a word, when the word erasing command signal is received, the print data memory and the current position memory are used to erase the first word containing the character at the print position corresponding to the print head. A detection means for detecting whether or not there is a hyphen at a printing position one position above the character or a position one position below the last character, and erasing the hyphen at the printing position based on a signal from the detection means. and control means for outputting a control signal to the erasing mechanism.
JP61085684A 1986-04-14 1986-04-14 Printing apparatus Pending JPS62240572A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP61085684A JPS62240572A (en) 1986-04-14 1986-04-14 Printing apparatus
PCT/JP1987/000237 WO1987006192A1 (en) 1986-04-14 1987-04-13 Printer
EP19870902728 EP0301094A4 (en) 1986-04-14 1987-04-13 Printer.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61085684A JPS62240572A (en) 1986-04-14 1986-04-14 Printing apparatus

Publications (1)

Publication Number Publication Date
JPS62240572A true JPS62240572A (en) 1987-10-21

Family

ID=13865671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61085684A Pending JPS62240572A (en) 1986-04-14 1986-04-14 Printing apparatus

Country Status (1)

Country Link
JP (1) JPS62240572A (en)

Similar Documents

Publication Publication Date Title
EP0228913A2 (en) Typewriter having means for automatic indication of candidate correct word for misspelled word, and/or automatic correction of misspelled word
JPS63122587A (en) Electronic typewriter
JPS63167960A (en) Document processor
EP0256633B1 (en) Character erasing device in a printer
JPS6195472A (en) Electronic typewriter
JPH05185695A (en) Printing device
JPH01225987A (en) Character string displaying device
JPS62240572A (en) Printing apparatus
JPS62220361A (en) Printer with memory function
JPS62240573A (en) Printing apparatus
JPH0457512B2 (en)
JPS62181170A (en) Printer
JPS62181171A (en) Printer
JPS6359579A (en) Input processor
US4818130A (en) Character erasable printing apparatus including selective erasing of variable length underline
JPS62294578A (en) Printing apparatus
EP0301094A1 (en) Printer
JPS62294576A (en) Printing apparatus
JPS62294575A (en) Printing apparatus
JPS62294579A (en) Printing apparatus
JPS63260474A (en) Character-erasable printer
JPS62294577A (en) Printing apparatus
JPS63274575A (en) Printer
JPH0464474A (en) Printing apparatus
JPS63178072A (en) Character erasable printer