JPS60136823A - Printer - Google Patents

Printer

Info

Publication number
JPS60136823A
JPS60136823A JP58244139A JP24413983A JPS60136823A JP S60136823 A JPS60136823 A JP S60136823A JP 58244139 A JP58244139 A JP 58244139A JP 24413983 A JP24413983 A JP 24413983A JP S60136823 A JPS60136823 A JP S60136823A
Authority
JP
Japan
Prior art keywords
printing
line
right margin
carrier
key input
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
JP58244139A
Other languages
Japanese (ja)
Inventor
Tsutomu Takahashi
勉 高橋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58244139A priority Critical patent/JPS60136823A/en
Publication of JPS60136823A publication Critical patent/JPS60136823A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the printing of a punctuation mark or the like on the head of a line by discriminating whether the line feed restoration of a carrier is to be executed before or after the printing of the initial keyed character inputted over a right margin in accordance with the initial keyed character. CONSTITUTION:A control device 2 constituted of a microprocessor controls the operation of a printer 3 in accordance with a signal inputted from a keyboard device 1 and stores and accesses respective kinds of information in/from a storage device 4. When an automatic line feed restoration mode setting key MK mounted on the keyboard device 1 is depressed, the control device 2 detects whether the carrier exceeds the right margin or not every succeeding key input, and if the carrier exceeds the right margin, discriminates whether the key input is a period or not. In case of a period, the control device 2 controls the printer 3 so that line feed restoration is executed after printing the period. When the key input is not a panctuation mark, the input character is printed after line feed restoration.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は印字装置に関し、特に、キャリア自動改行復帰
機能を有する電子タイプライタなどに用いて好適な印字
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a printing device, and particularly to a printing device suitable for use in an electronic typewriter or the like having a carrier automatic line feed return function.

〔従来技術〕[Prior art]

従来のタイプライタでは行毎にリターンキーを押下する
ことによってキャリアの改行復帰を行なってきた。しか
るに近年のマイクロプロセッサを応用した電子制御によ
る、いわゆる電子タイプライタにあっては、リターンキ
ーを押下することなく、右マージン近くまで印字される
と自動的にキャリアを改行復帰させる機能が付与される
ようになり、操作者は、右マージンの位置を気にするこ
となく、そのまま連続してキー人力を実施することがで
きるようになった。
In conventional typewriters, the carrier returns to a new line by pressing the return key after each line. However, in recent years, so-called electronic typewriters, which are electronically controlled using microprocessors, have a function that automatically returns the carrier to a new line when printing reaches close to the right margin without pressing the return key. Now, the operator can perform key operations continuously without worrying about the position of the right margin.

しかしながら、このような従来の電子タイプライタにあ
って、日本語や朝鮮語のようにミ単語を構成する文字の
間の任意の位置での改行が許可される言語の場合は、右
マージンいっばいまで印字がなされてから自動的に改行
復帰が行われている〇そこで、行の印字終了位flす常
に右マージン位置と合わせることができる反面、文ある
いは句の区切りを示す句点や読点が行頭に印字される場
合があるという欠点を有している。
However, on such conventional electronic typewriters, in languages such as Japanese and Korean that allow line breaks at any position between the characters that make up a word, the right margin is A line feed return is automatically performed after printing up to It has the disadvantage that it may be printed.

〔目 的〕〔the purpose〕

したがって、本発明の目的は上述した欠点に鑑み、句点
や読点のような特別な文字が行頭に印字されないように
、改行復帰する前に次のキー入力を読み込み、特別な文
字であれば行末に印字した後に改行復帰するようにした
印字装置を提供することにある。
Therefore, in view of the above-mentioned shortcomings, an object of the present invention is to read the next key input before returning to the line so that special characters such as periods and commas are not printed at the beginning of the line, and if the special character is a special character, it is printed at the end of the line. To provide a printing device that returns to a new line after printing.

〔実施例〕〔Example〕

以下、図面を参照して本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明を適用した電子タイプライタのシステム
構成の一例を示し、ここで、lはキーボード装置であり
、キーボード装置lは文字記号キーCKやスペースキー
SK 、リターンキーRKの他にキャリアの自動改行復
帰機能を駆動させるためのモード設定キーMK 、マー
ジン設定キーJKなどのファンクションキーを備えてお
り、これらのキーを操作することによって対応した信号
を制御装置λに出力する。3はキャリアを印字用紙に対
し主走査方向に駆動し、キーボード装置lから入力され
た文字記号等を印字する印字装置である。
FIG. 1 shows an example of the system configuration of an electronic typewriter to which the present invention is applied. Here, l is a keyboard device, and the keyboard device l has character symbol keys CK, space key SK, return key RK, and a carrier. It is equipped with function keys such as a mode setting key MK and a margin setting key JK for driving the automatic line return return function of the machine, and by operating these keys, a corresponding signal is output to the control device λ. Reference numeral 3 denotes a printing device that drives a carrier in the main scanning direction with respect to printing paper and prints characters, symbols, etc. input from the keyboard device 1.

グは記憶装置であり、マージン位置やキャリア位置等を
示す各種ポインタおよびフラグ等を記憶することができ
る。
The tag is a storage device and can store various pointers and flags indicating margin positions, carrier positions, etc.

また、マイクロプロセッサで構成することのできる制御
装置コでは、キーボード装置lから入力された信号に応
じて印字装置3の動作を制御し、更に記憶装置ダに対し
て各種情報の格納および呼出しを行うと共に、キーボー
ド装置lに設けた自動改行復帰モード設定キーMKのキ
ー入力を行ったときは、次のキー人力のたび毎にキャリ
アが右マージンを越えたか否かを検出し、右マージンを
越えていれば更にキー入力が句点であるか否かを判断し
て、句点であれば印字を行ってから改行復帰させ、句点
でなければそのまま改行復帰してからその入力文字を印
字させるように制御する。
In addition, the control device 3, which can be configured with a microprocessor, controls the operation of the printing device 3 according to signals input from the keyboard device 1, and also stores and retrieves various information from the storage device DA. At the same time, when the automatic line feed return mode setting key MK provided on the keyboard device L is entered, it is detected whether or not the carrier has exceeded the right margin each time the next key is pressed, and whether or not the carrier has exceeded the right margin is detected. If the key input is a period, it is further determined whether or not it is a period, and if it is a period, it is printed and then a line feed is returned, and if it is not a period, it is directly returned to a line and then the input character is printed. .

第一図は制御装置コにおいて、上述したような自動改行
復帰モードの際にキャリアを改行復帰させるための処理
手順を示す。なお、この処理手順は、日本語用電子タイ
プライタの場合の例として、句読点を行頭に印字するこ
とを禁止するように制御するための処理手!aを示すも
のである。
FIG. 1 shows a processing procedure for returning the carrier to a line feed in the automatic line feed return mode as described above in the control device. This processing procedure is used as an example for a Japanese electronic typewriter to control printing of punctuation marks at the beginning of a line! It shows a.

まず、ステップByにおいてキー入力がなされる度9g
、に、ステップS2でキャリアが右マージンを越えたか
否かを判断し、キャリアが右マージンを越えるまではス
テップS3およびSlIに示すように入力文字の印字、
キャリア布速りを繰り返す。
First, each time a key input is made in step By, 9g
, it is determined in step S2 whether the carrier exceeds the right margin, and until the carrier exceeds the right margin, input characters are printed as shown in step S3 and SlI.
Repeat carrier cloth speed.

しかして、キャリアが右マージンを越えた場合には、ス
テップS!fに進んで次のキー入力された文字が句読点
か否かを判断し、句読点でなければその入力文字は次行
の先頭文字として印字可能であるのでステップS6でキ
ャリアを改行復帰し)ステップS3およびSダにおいて
次行の先頭に入力文字を印字してキャリア布速りを実施
する。また、ステップS9において入力された文字が句
読点の場合には、行頭の文字として印字されないように
するために、ステップS7において引続き句読点を印字
し、更にステップSgでキャリアを改行復帰する。
However, if the carrier exceeds the right margin, step S! Proceeding to step f, it is determined whether or not the next key-input character is a punctuation mark, and if it is not a punctuation mark, the input character can be printed as the first character of the next line, so in step S6 the carrier is returned to a new line).Step S3 Then, in S da, the input characters are printed at the beginning of the next line and the carrier cloth is sped up. If the character input in step S9 is a punctuation mark, the punctuation mark is subsequently printed in step S7 so as not to be printed as the first character of a line, and the carrier is returned to a new line in step Sg.

〔効 果〕 ゛ 以上説明したように、本発明によれば、右マージン近傍
の位置でキャリアを自動的に改行復帰が可能な印字装置
において、右マージンを越えて入力された最初のキー入
力文字の種類如何によって1キヤリアをこのキー入力文
字の印字後に改行復帰させるか、若しくは直ちに改行復
帰させてから印字させるかが判断されるように自動改行
復帰モードを設定するので、例えば日本語用電子タイプ
ライタにあって、句点や読点のような特別な文字が行頭
に印字される不都合を取り除くことができ、操作者は印
字位置に気をとられれることなしに連続してキー入力を
実施することができる。
[Effect] ゛As explained above, according to the present invention, in a printing device that is capable of automatically returning the carrier to a line feed at a position near the right margin, the first key input character input beyond the right margin The automatic line feed return mode is set so that it is determined whether the 1 carrier should be returned to a line after printing this key input character, or whether it should be immediately returned to a line and then printed, depending on the type of character. This eliminates the inconvenience that special characters such as periods and commas are printed at the beginning of a line in writers, and allows the operator to perform continuous key input without worrying about the printing position. I can do it.

【図面の簡単な説明】 第1図は本発明印字装置の一例としての電子タイプライ
タのシステム構成の一例を示すブロック線図、 第2図はその電子タイプライタの制御装置におけるキャ
リアの改行復帰の処理手順の一例を示す70−チャート
である。 /・・・キーボード装置、 コ・・・印字装置、 3・・・記憶装置、 4’−ffi[l□、、、、 区 !−一 〇K・・・文字記号キー、 8K・・・スペースキー、 塚 RK・・・リターンキー、 MK・・・モード設定キー、 JK・・・マージン設定キー。 特許出願人 キャノン株式会社
[Brief Description of the Drawings] Fig. 1 is a block diagram showing an example of the system configuration of an electronic typewriter as an example of the printing device of the present invention, and Fig. 2 is a block diagram showing an example of the system configuration of an electronic typewriter as an example of the printing device of the present invention. 70-chart showing an example of a processing procedure. /...keyboard device, ko...printing device, 3...storage device, 4'-ffi[l□,,,, ward! -10K...Character symbol key, 8K...Space key, Tsuka RK...Return key, MK...Mode setting key, JK...Margin setting key. Patent applicant Canon Co., Ltd.

Claims (1)

【特許請求の範囲】 右マージンの近傍で自動改行復帰を行わせるモード設定
手段と、該モード設定手段によってモードを設定したと
きにキー入力があると、当該キー入力が前記右マージン
の近傍でのキー入力であるか否かを判断する手段と、当
該キー入力が右マージン近傍のキー入力であれば、更に
当該キー入力が特殊文字の入力であるか否かを判断する
手段と、当該キー入力が特殊文字の入力と判断されたと
きには前記特殊文字を印字してから改行復帰を行う手段
とを具えたことを特徴とする印字装置。 (以下、余白)
[Claims] A mode setting means for automatically performing a line feed return in the vicinity of the right margin; and a mode setting means for automatically returning a line in the vicinity of the right margin; means for determining whether the key input is a key input, and if the key input is a key input near the right margin, further determining whether the key input is a special character input; 1. A printing device comprising means for printing said special character and then returning to a new line when it is determined that a special character has been input. (Hereafter, margin)
JP58244139A 1983-12-26 1983-12-26 Printer Pending JPS60136823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58244139A JPS60136823A (en) 1983-12-26 1983-12-26 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58244139A JPS60136823A (en) 1983-12-26 1983-12-26 Printer

Publications (1)

Publication Number Publication Date
JPS60136823A true JPS60136823A (en) 1985-07-20

Family

ID=17114336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58244139A Pending JPS60136823A (en) 1983-12-26 1983-12-26 Printer

Country Status (1)

Country Link
JP (1) JPS60136823A (en)

Similar Documents

Publication Publication Date Title
US4195353A (en) Word processor comprising improved editing means
CA1323594C (en) Tab adjust function for an electronic typewriter
US4639151A (en) Electronic typewriter which prints selected portions of a text
JPS60136823A (en) Printer
US4666321A (en) Electronic typewriter selectively responsive to set tabs and set decimal point tabs
JPS61202877A (en) Output device
EP0249794A2 (en) Automatic stop code insertion feature for a word processing apparatus
JPH0313990B2 (en)
JPS6015187A (en) Electronic typewriter
JPS6317631B2 (en)
JPS5857985A (en) Printer
JP2606589B2 (en) Data output device
KR950007750B1 (en) Right margin deciding method in typewriter
JPS59104692A (en) Electronic equipment
JPS6261436B2 (en)
JPH0624910Y2 (en) Word processor
JPS5628876A (en) Simultaneous printer
JPH0717552U (en) Printer
JP2872733B2 (en) Printer device
JPS6063185A (en) Electronic apparatus
JPS61293880A (en) Printer
EP0156359A3 (en) Electronic typewriter
JPS6135982A (en) Printing processing apparatus
JPH05162388A (en) Printing device
JPS62218166A (en) Printer capable of correcting word