JP2560297B2 - Output device - Google Patents

Output device

Info

Publication number
JP2560297B2
JP2560297B2 JP61292095A JP29209586A JP2560297B2 JP 2560297 B2 JP2560297 B2 JP 2560297B2 JP 61292095 A JP61292095 A JP 61292095A JP 29209586 A JP29209586 A JP 29209586A JP 2560297 B2 JP2560297 B2 JP 2560297B2
Authority
JP
Japan
Prior art keywords
output
range
data
key
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.)
Expired - Fee Related
Application number
JP61292095A
Other languages
Japanese (ja)
Other versions
JPS63144065A (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 JP61292095A priority Critical patent/JP2560297B2/en
Publication of JPS63144065A publication Critical patent/JPS63144065A/en
Application granted granted Critical
Publication of JP2560297B2 publication Critical patent/JP2560297B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は出力装置に関し、特に印字用紙やディスプレ
イ等の出力媒体上に指定された範囲にその左右両端部に
等ピッチに相当するスペースをもうけて文字や記号を等
ピッチで出力するようにした出力装置に関する。
Description: TECHNICAL FIELD The present invention relates to an output device, and in particular, a space corresponding to an equal pitch is provided at both left and right ends of a specified range on an output medium such as a printing paper or a display. Output device for outputting characters and symbols at equal pitches.

(従来技術) 従来の印字装置、例えば電子タイプライタやワードプ
ロセッサなどでは、入力された文字列を印字して文書を
作成する際の便宜のため、例えば第7図・(a)・
(b)に示すように溝列を予め指定した範囲の両限界位
置に文字列の両端の文字を揃えると共に、指示範囲内に
均等に割り付ける均等割付機能や、文書の行の両端を予
め設定された位置に揃えて文字列を均等に割付けるジャ
スティフィケーション機能を備えたものが既に知られて
いる(例えば:特開昭60−124270号、実開昭60−41260
号、実開昭60−119560号)。
(Prior Art) In a conventional printing device such as an electronic typewriter or a word processor, for convenience of printing an input character string to create a document, for example, FIG.
As shown in (b), the groove rows are aligned at both end positions of the pre-specified range, the characters at both ends of the character string are aligned, and the even allocation function of evenly allocating within the specified range, and both ends of document lines are preset. There are already known ones having a justification function that evenly allocates character strings in different positions (for example, JP-A-60-124270 and JP-A-60-41260).
No., Jitsukai Sho 60-119560).

前記均等割付機能を有する従来の印字装置では、ユー
ザがCRTディスプレイやLCDディスプレイ上で均等割付範
囲の指定を行うようになっている。また、前記ジャステ
ィフィケーション機能を有する従来の印字装置では、広
い範囲に亙る文書全体につき一括して行の両端を指定す
るようになっている。
In the conventional printing device having the uniform allocation function, the user specifies the uniform allocation range on the CRT display or the LCD display. Further, in the conventional printing device having the justification function, both ends of a line are collectively designated for the entire document over a wide range.

(発明が解決しようとする問題点) 文書を作成する際、例えば書面の最上段の所定位置に
特別にタイトルを印字するような場合や既に印刷された
書面の所定の空欄内に印字するような場合には、所望の
或いは指示された範囲内に文字を等ピッチで印字したい
ときがある。
(Problems to be solved by the invention) When a document is created, for example, when a title is specially printed at a predetermined position on the top of the document, or when it is printed in a predetermined blank space of the already printed document. In some cases, it may be desirable to print characters at equal pitches within a desired or designated range.

ところが、前記均等割付機能を有する従来の印字装置
では、例えば、第7図(a)に示すように、*印間の所
定の空欄(印字範囲)つまりとに文字「ABC」を等
ピッチで印字する場合に、予めの位置との位置を設
定しておき、文字「ABC」を入力後等ピッチ印字する
と、第7図(b)に示すように、文字「A」が印字範囲
の左端位置に隣接して印字され、また文字「C」がそ
の右端位置に隣接して等ピッチ印字される。尚、この
ときの等印字ピッチを「b」で示す。
However, in the conventional printing device having the uniform allocation function, for example, as shown in FIG. 7 (a), the characters "ABC" are printed at equal pitches in predetermined blank spaces (printing range) between * marks. In this case, if the position is set in advance and the character “ABC” is input and printing is performed at equal pitches, the character “A” is displayed at the left end position of the printing range as shown in FIG. 7 (b). The characters are printed adjacent to each other, and the character "C" is printed adjacent to the right end position of the same pitch. The equal printing pitch at this time is shown by "b".

このとき、印字範囲が比較的広く且つタイル等の印字
文字数が少ないようなときには印字文字の各文字間が広
くなり、何れがタイトルなのかが判別出来ないという問
題点がある。
At this time, when the print range is relatively wide and the number of print characters such as tiles is small, the space between the print characters is wide, and it is not possible to determine which is the title.

そこで、タイトルの判別を容易にするために印字範囲
の両端にスペースを設けるときには、印字範囲を第7図
(a)の′と′間に設定すればよいが、体裁上各文
字間と同様のスペースを印字範囲の両端に設けたいとき
には、操作者が印字範囲を測定して等ピッチ値を計算で
求め、その等ピッチ値に応じてキャリッジを微小送りさ
せ2印字しなければならず、容易に等ピッチ印字出来な
いこと、操作性が悪いという問題がある。
Therefore, when spaces are provided at both ends of the print range in order to facilitate the discrimination of the title, the print range may be set between'and 'in FIG. 7 (a). If spaces are to be provided at both ends of the print range, the operator must measure the print range, obtain the equal pitch value by calculation, and finely feed the carriage according to the equal pitch value to print two prints. There are problems that it cannot print at equal pitch and the operability is poor.

(発明の目的) 本発明の目的は、出力媒体上の所定の範囲内に文字列
を等ピッチで正確かつ簡単迅速に出力することができる
出力装置を提供することである。
(Object of the Invention) An object of the present invention is to provide an output device capable of outputting a character string within a predetermined range on an output medium at an equal pitch accurately, simply and quickly.

(問題点を解決するための手段) 本発明に係る出力装置は、第1図の機能ブロック図に
示すように、文字や記号などを入力する入力手段と、文
字や記号を出力媒体に出力する出力手段と、入力手段か
らの入力データに対応する文字や記号を出力媒体に出力
させるように出力手段を制御する制御手段とを備えた出
力装置において、出力媒体上での等ピッチ出力の範囲を
設定する範囲設定手段を備え、入力手段から入力された
等ピッチ出力データを記憶する等ピッチデータメモリを
備え、範囲設定手段で設定された出力媒体上の範囲と等
ピッチデータメモリの文字列データの文字数に1を加え
た分割数とに基いて求めた等ピッチに相当するスペース
を前記範囲の左端部と右端部とに設けて文字列をその等
ピッチで出力させる等ピッチ制御手段を備えたものであ
る。
(Means for Solving Problems) An output device according to the present invention, as shown in the functional block diagram of FIG. 1, outputs an input means for inputting characters and symbols and an output medium for characters and symbols. In an output device equipped with an output means and a control means for controlling the output means so as to output a character or a symbol corresponding to input data from the input means to the output medium, a range of equal pitch output on the output medium is set. A range setting means for setting is provided, and an equal pitch data memory for storing the equal pitch output data inputted from the input means is provided, and the range on the output medium set by the range setting means and the character string data of the equal pitch data memory are set. Spaces corresponding to an equal pitch obtained based on the number of divisions obtained by adding 1 to the number of characters are provided at the left end portion and the right end portion of the range to equip the equal pitch control means for outputting the character string at the equal pitch. It is a gift.

(作用) 本発明に係る出力装置においては、入力手段から文字
や記号などが入力されると、制御手段が、入力手段から
の入力データに対応する文字や記号を出力媒体に出力さ
せるように出力手段を制御する。それに応じて、出力手
段は文字や記号を出力媒体に出力する。
(Operation) In the output device according to the present invention, when a character or a symbol is input from the input unit, the control unit outputs the character or the symbol corresponding to the input data from the input unit to the output medium. Control means. In response, the output means outputs the character or symbol to the output medium.

一方、入力手段から入力された等ピッチ出力データ
は、等ピッチデータメモリに記憶される。また、範囲設
定手段によって、出力媒体上での等ピッチ出力の範囲が
設定される。出力範囲の設定が終われば、等ピッチ制御
手段により出力媒体上の範囲と等ピッチデータメモリの
文字列データの文字数に1加えた分割数とに基いて求め
た等ピッチに相当するスペースが範囲の左端部と右端部
とに設けられて文字列がその等ピッチで出力するように
出力手段が制御される。
On the other hand, the equal pitch output data input from the input means is stored in the equal pitch data memory. Further, the range setting means sets the range of equal pitch output on the output medium. When the setting of the output range is completed, the space corresponding to the equal pitch obtained based on the range on the output medium by the equal pitch control means and the number of divisions obtained by adding 1 to the number of characters of the character string data of the equal pitch data memory becomes the range. The output means provided at the left end and the right end are controlled so that the character strings are output at the same pitch.

(発明の効果) 本発明に係る出力装置によれば、上述の如き範囲設定
手段と等ピッチデータメモリと等ピッチ制御手段とを備
えて、出力媒体上の所望の出力範囲内にその左右両端部
に等ピッチに相当するスペースを設けて文字や記号を等
ピッチで出力するようにしたので、容易に等ピッチ印字
出来、操作性が向上する。例えば、出力手段が印字手段
のときには、実施例に係る第6図(b)に示すように印
字媒体上に指定した所望の範囲にその左右両端部に等ピ
ッチに相当するスペースを設けて入力データを等ピッチ
で印字し得るので、印刷された書面等の所定の空欄にタ
イトル等を印字するときに、何れがタイトルなのかが容
易に判別出来且つ迅速できれいに印字することが出来
る。
(Effects of the Invention) According to the output device of the present invention, the left and right end portions of the output device are provided within a desired output range on the output medium, including the range setting means, the equal pitch data memory, and the equal pitch control means. Since a space corresponding to a constant pitch is provided to output characters and symbols at a constant pitch, it is possible to easily print at a constant pitch and improve operability. For example, when the output means is the printing means, as shown in FIG. 6 (b) according to the embodiment, spaces corresponding to equal pitches are provided at the left and right ends of the desired range designated on the print medium to input data. Can be printed at an equal pitch, so that when a title or the like is printed in a predetermined blank space of a printed document or the like, it can be easily discriminated which is the title and can be printed quickly and neatly.

(実施例) 以下、本発明の実施例を図面に基いて説明する。(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には次のような各種のキーが設
けられている。即ち、アルファベットキー10と数字キー
11と記号キー12とを含む文字キー、スペースキー13、バ
ックスペースキー14、リターンキー15、タブセットキー
16、紙送りキー17、紙戻しキー18、リピートキー19、カ
ーソル移動キー20、均等割付キー21、等ピッチ印字を実
行するための実行キー22などである。尚、均等割付キー
21は本発明特有の均等割付モードへの移行を指令するた
めのキーである。その他の各種キー及びそれらを操作す
ることによって得られる機能や動作については、既存の
タイプライタと概ね同様なのでここでは説明を省略す
る。
As shown in FIG. 2, a keyboard 3 is arranged in the front part of the body frame 2 of the electronic typewriter 1, and a printing mechanism PM is arranged in the body frame 2 behind the keyboard 3. The keyboard 3 is provided with the following various keys. That is, the alphabet key 10 and the numeric key
Character key including 11 and symbol key 12, space key 13, back space key 14, return key 15, tab set key
16, a paper feed key 17, a paper return key 18, a repeat key 19, a cursor movement key 20, an even allocation key 21, an execution key 22 for executing uniform pitch printing, and the like. In addition, even allocation key
Reference numeral 21 is a key for instructing the shift to the even allocation mode peculiar to the present invention. The other various keys and the functions and operations obtained by operating them are almost the same as those of the existing typewriter, and therefore the description thereof is omitted here.

キーボード3の後部には、文字キー10〜12及びスペー
スキー13等を操作して入力した文字や記号を表示するた
めのLCDディスプレイ(液晶ディスプレイ)71が設けら
れている。
At the rear of the keyboard 3, an LCD display (liquid crystal display) 71 for displaying characters and symbols input by operating the character keys 10 to 12 and the space key 13 is provided.

前記印字機構PMにおいて、プラテン30はプラテン駆動
モータ或いはプラテンノブ31により駆動されて印字用紙
45を紙送りするようになっている。また、キャリッジ32
は2本のガイド軸34・35に支持されており、キャリッジ
32には活字ホイール駆動モータ54が配設され、そのモー
タ軸には活字ホイール37が装着されている。また印字位
置に配置された活字ホイール37の活字39を打撃する印字
ハンマ40は印字ハンマソレノイド55により駆動される。
印字リボン41を収納したリボンカセット42はホルダ43上
に載置され、ホルダ43の後部の一段低く形成した部分に
は訂正リボン44が配置されている。更に、印字リボン41
を印字位置に配置させた印字姿勢(第3図)と、印字リ
ボン41を印字位置よりも下方へ移動させた休止姿勢(図
示略)と、訂正リボン44を印字位置に配置させた訂正姿
勢(図示略)とに亙ってホルダ43を位置切換えするため
に、リボンリフトモータ53で回転駆動される駆動軸及び
周知のカム機構が設けられている。
In the printing mechanism PM, the platen 30 is driven by a platen drive motor or a platen knob 31 to print a sheet.
It is designed to feed 45. Also, the carriage 32
Is supported by two guide shafts 34 and 35, and the carriage
A character wheel drive motor 54 is arranged at 32, and a character wheel 37 is mounted on the motor shaft. The print hammer 40 that strikes the type 39 of the type wheel 37 arranged at the print position is driven by the print hammer solenoid 55.
The ribbon cassette 42 accommodating the print ribbon 41 is placed on the holder 43, and the correction ribbon 44 is arranged in the rear portion of the holder 43 which is formed one step lower. In addition, the print ribbon 41
Is placed at the printing position (FIG. 3), a resting posture (not shown) in which the printing ribbon 41 is moved below the printing position, and a correction posture in which the correction ribbon 44 is placed at the printing position ( A drive shaft rotated by a ribbon lift motor 53 and a known cam mechanism are provided to switch the position of the holder 43 (not shown).

次に、前記タイプライタ1の制御系の全体構成につい
て第4図のブロック図に基いて説明する。
Next, the overall configuration of the control system of the typewriter 1 will be described with reference to the block diagram of FIG.

印字機構PMの駆動部は、プラテン駆動モータ50及びそ
のドライバ60と、キャリッジ駆動モータ51及びそのドラ
イバ61と、リボン送りモータ52及びそのドライバ62と、
リボンリフトモータ53及びそのドライバ63と、活字ホイ
ール駆動モータ54及びそのドライバ64と、印字ハンマソ
レノイド55及びそのドライバ65、などから構成されてい
る。印字機構PMの各ドライバ60〜65は制御装置Cに接続
されている。
The drive unit of the printing mechanism PM includes a platen drive motor 50 and its driver 60, a carriage drive motor 51 and its driver 61, a ribbon feed motor 52 and its driver 62,
A ribbon lift motor 53 and its driver 63, a type wheel drive motor 54 and its driver 64, a print hammer solenoid 55 and its driver 65, and the like. The drivers 60 to 65 of the printing mechanism PM are connected to the controller C.

表示装置Dは、表示制御用の表示CPU(中央演算装
置)70と、文字や記号を表示するLCDディスプレイ71
と、LCDディスプレイ71に表示するためのディスプレイ
コントローラ73とから構成されている。表示CPU70及び
ディスプレイコントローラ73は、インターフェース75を
介して後述のメインCPU(中央処理装置)76から出力さ
れるコマンドデータや文字コードデータを受け、それに
対応する表示信号をLCDディスプレイ71に出力する。
The display device D is a display CPU (central processing unit) 70 for display control, and an LCD display 71 for displaying characters and symbols.
And a display controller 73 for displaying on the LCD display 71. The display CPU 70 and the display controller 73 receive command data and character code data output from a main CPU (central processing unit) 76, which will be described later, via the interface 75, and output a display signal corresponding to the command data and character code data to the LCD display 71.

制御装置Cは、メインCPU76と、メインCPU76に接続さ
れたROM(リード・オンリ・メモリ)80及びRAM(ランダ
ム・アクセス・メモリ)90とから構成されている。メイ
ンCPU76にはデータバス等を介してキーボード3と、印
字機構PMの各ドライバ60〜65と、インターフェース75と
が接続されている。
The control unit C is composed of a main CPU 76, a ROM (read only memory) 80 and a RAM (random access memory) 90 connected to the main CPU 76. The keyboard 3, the drivers 60 to 65 of the printing mechanism PM, and the interface 75 are connected to the main CPU 76 via a data bus or the like.

ROM80のプログラムメモリ81には、キーボード3の文
字キー10〜12及びスペースキー13等から入力される各文
字等のデータや各種機能キーから入力される各機能のデ
ータに対応させて、前記各モータ50〜54及び印字ハンマ
ソレノイド55と表示装置Dを制御する制御プログラムな
どの一般的な制御プログラムが記憶されている。その
他、プログラムメモリ81には、後述のような等ピッチ印
字の制御を行うための制御プログラムが記憶されてい
る。
In the program memory 81 of the ROM 80, the motors corresponding to the data of each character input from the character keys 10 to 12 and the space key 13 of the keyboard 3 and the data of each function input from the various function keys are associated with each motor. A general control program such as a control program for controlling the display solenoids 50 and the printing hammer solenoid 55 and the display device D is stored. In addition, the program memory 81 stores a control program for controlling equal pitch printing as described later.

RAM90には、メインCPU76で演算処理した結果を一時的
に記憶する各種メモリなどの他、次のようなメモリが設
けられている。即ち、印字位置と対応させたキャリッジ
の現在位置を記憶する現在位置メモリ91と、均等割付モ
ードのときにセットされる均等割付フラグを格納する均
等割付フラグメモリ92と、均等割付(等ピッチ印字)の
印字範囲を設定しているときにセットされる印字範囲フ
ラグを格納する印字範囲フラグメモリ93と、等ピッチ印
字の印字範囲の左端位置を記憶する左端位置メモリ94及
び印字範囲お右端位置を記憶する右端位置メモリ95と、
等ピッチ印字用に入力された文字や記号を記憶する等ピ
ッチ印字データメモリ96と、等ピッチ印字データメモリ
96に書込まれた文字や記号の数を計数する文字数カウン
タIと、文字ピッチの計数結果を記憶する文字ピッチメ
モリ97とが設けられている。
The RAM 90 is provided with the following memories in addition to various memories for temporarily storing the results of arithmetic processing by the main CPU 76. That is, the current position memory 91 that stores the current position of the carriage associated with the print position, the even allocation flag memory 92 that stores the even allocation flag that is set in the even allocation mode, and the uniform allocation (equal pitch printing) The print range flag memory 93 that stores the print range flag that is set when the print range of is set, the left end position memory 94 that stores the left end position of the print range of equal pitch printing, and the right end position of the print range are stored. Right end position memory 95
Equal-pitch print data memory 96 for storing characters and symbols input for equal-pitch print, and equal-pitch print data memory
A character number counter I for counting the number of characters and symbols written in 96 and a character pitch memory 97 for storing the result of counting the character pitch are provided.

メインCPU76は、制御プログラムに基いて、キーボー
ド3の文字キー10〜12から入力される各文字や記号のデ
ータを印字機構PMにより印字用紙45に印字させる。入力
データが、印字機構PMの各モータを作動させる各種の機
能キーからのコマンドデータのときには、メインCPU76
は入力データに対応する制御信号を各ドライバ60〜65へ
出力する。更に、メインCPU76は次に説明するような等
ピッチ印字の制御を行う。
Based on the control program, the main CPU 76 causes the printing mechanism PM to print the data of each character or symbol input from the character keys 10 to 12 of the keyboard 3. When the input data is command data from various function keys that operate each motor of the printing mechanism PM, the main CPU76
Outputs a control signal corresponding to the input data to each driver 60-65. Further, the main CPU 76 controls the equal pitch printing as described below.

次に、前記タイプライタの制御系で行なわれる等ピッ
チ印字制御のフローチャートについて、第5図に基いて
説明する。
Next, a flowchart of the equal pitch printing control performed by the control system of the typewriter will be described with reference to FIG.

タイプライタに電源が投入されるとこの制御が開始さ
れ、ステップS1(以下、単にS1で表し、他のステップも
同様に扱う)において、プログラムメモリ81から制御プ
ログラムがメインCPU76に読み出され、各フラグ92・93
をリセットし、各メモリ97・94〜97をクリアするなどの
初期設定が実行され、S2に移行する。S2ではキー入力を
待ち、キー入力があればS3に移行する。S3では、RAM90
の均等割付フラグメモリ92のデータに基いて均等割付フ
ラグがセットされているか否かが測定され、セットされ
ていないときにはS4に移行し、S4では操作されたのは均
等割付キー21か否かが判定され、均等割付キー21でない
ときにはS5において入力されたキーに基づいて一般的な
タイプライタとしての表示制御と印字制御等が実行さ
れ、S2に戻る。
This control is started when the typewriter is powered on, and in step S1 (hereinafter, simply represented by S1 and other steps are handled similarly), the control program is read from the program memory 81 to the main CPU 76, Flag 92/93
Is reset, initial settings such as clearing each memory 97/94 to 97 are executed, and the process proceeds to S2. In S2, it waits for a key input, and if there is a key input, it moves to S3. In S3, RAM90
Whether or not the even allocation flag is set based on the data of the even allocation flag memory 92 is measured, and when it is not set, the process proceeds to S4. In S4, it is determined whether or not the even allocation key 21 is operated. If it is determined that the key is not the even allocation key 21, display control and print control as a general typewriter are executed based on the key input in S5, and the process returns to S2.

そして、均等割付キー21が操作されると、S4での判定
はYesとなりS6へ移行し、均等割付フラグをセットして
均等割付モードに切換え、次のS7において、等ピッチ印
字の印字文字数を計数する文字数カウンタIをクリア
し、S2に戻る。
Then, when the even allocation key 21 is operated, the determination at S4 becomes Yes, the process proceeds to S6, the even allocation flag is set and the mode is switched to the even allocation mode, and at the next S7, the number of characters printed at equal pitch is counted. Clear the character number counter I to return to S2.

このときには、例えば第6図(a)に示すように、印
字用紙45に既に印字されている*印の間、つまりと
間の印字範囲lを設定する場合に、S2〜S5を経て第2図
の紙送りキー17、紙戻しキー18、スペースキー13及びバ
ックスペースキー14等の操作により印字ヘッドは第6図
(a)のに位置しており、印字範囲の左端を設定する
ためにタブセットキー16が操作されると、S3においてYe
sと判定されてS8へ移行し、RAM90の印字範囲フラグメモ
リ93のデータに基いて印字範囲フラグはセットされてい
るか否かが判定され、セットされていないときにはS9で
タブセットキー16であると判定されてS10へ移行する。
At this time, for example, as shown in FIG. 6 (a), when the print range 1 between the * marks already printed on the print paper 45, that is, between, is set, the print range 1 shown in FIG. By operating the paper feed key 17, the paper return key 18, the space key 13, the back space key 14, etc., the print head is located at the position shown in FIG. 6 (a), and the tab set is used to set the left end of the print range. When the key 16 is operated, in S3
If it is determined to be s, the process proceeds to S8, it is determined whether or not the print range flag is set based on the data of the print range flag memory 93 of the RAM 90, and when it is not set, the tab set key 16 is selected in S9. The determination is made and the process proceeds to S10.

S10において、RAM90の現在位置データメモリ91のデー
タが左端位置メモリ94に書込まれ、次のS11では印字範
囲フラグがセットされてからS2に戻る。
In S10, the data in the current position data memory 91 of the RAM 90 is written in the left end position memory 94, and the print range flag is set in the next S11, and then the process returns to S2.

次に、印字範囲の右端を設定するためにキャリッジ移
動キー、例えばスペースキー13或いはバックスペースキ
ー14、が操作されると、S3・S8を経てS12でキャリッジ
移動キーであると判定されてS13へ移行し、操作された
キャリッジ移動キーに対応てキャリッジ32が移動され、
S2に戻る。上記の場合にメインCPU76はキャリッジ駆動
モータドライバ61に制御信号を出力する。このときに、
キャリッジ32は、例えば第6図(a)のに位置してい
る。
Next, when the carriage movement key, for example, the space key 13 or the backspace key 14, is operated to set the right end of the print range, it is determined in S12 that the carriage movement key has been passed through S3 and S8, and the process proceeds to S13. The carriage 32 is moved according to the operated carriage movement key,
Return to S2. In the above case, the main CPU 76 outputs a control signal to the carriage drive motor driver 61. At this time,
The carriage 32 is located, for example, in (a) of FIG.

次に、再度タブセットキー16が操作されると、S3・S8
・S12を経てS14へ移行し、タブセットキー16であると判
定され、S15へ移行する。
Next, when the tab set key 16 is operated again, S3 / S8
After S12, the process proceeds to S14, it is determined that the tab set key 16 is present, and the process proceeds to S15.

S15において、現在位置メモリ91のデータが右端位置
メモリ95に書込まれ、次のS16では印字範囲フラグがリ
セットされてS2に戻る。
In S15, the data in the current position memory 91 is written in the right end position memory 95, and in the next S16, the print range flag is reset and the process returns to S2.

尚、S14でNoと判定されたとき、つまりキャリッジ移
動キー或いはタブセットキー16以外のキーが操作された
ときには、S25へ移行してブザーやランプでアラームが
出力されS2へ戻る。
When it is determined No in S14, that is, when the carriage movement key or a key other than the tab set key 16 is operated, the process proceeds to S25, an alarm is output by a buzzer or a lamp, and the process returns to S2.

S9〜S16を経て設定された印字範囲内に等ピッチ印字
するために文字キー10・11や記号キー12が操作される
と、S3・S8〜S9を経てS17へ移行し、印字可能なキーで
あるか否かが判定され、印字可能なキーのときにはS18
へ移行する。S18では、入力データを等ピッチ印字デー
タメモリ96に記憶され、次のS19ではカウンタIに1が
加算され、次のS20において、入力された文字や記号を
ディスプレイ71に表示し、S2に戻る。この段階では、文
字を入力する毎にS17〜S20の処理が繰り返される。
When the character keys 10 and 11 and the symbol key 12 are operated to print at an equal pitch within the print range set via S9 to S16, the process moves to S17 via S3, S8 to S9, and the printable key is selected. If there is a printable key, S18
Move to. In S18, the input data is stored in the equi-pitch print data memory 96, 1 is added to the counter I in the next S19, the input characters and symbols are displayed on the display 71 in the next S20, and the process returns to S2. At this stage, the processing of S17 to S20 is repeated every time a character is input.

前記文字や記号をディスプレイ71に表示する場合、メ
インCPU76からインターフェイス75を介して文字や記号
のデータが表示CPU70へ出力され、表示CPU70はそのデー
タに対応するドットパターンのデータをディスプレイコ
ントローラ73から読込んで、表示用データをディスプレ
イコントローラ73の表示用RAMに出力し、表示用RAMから
ディスプレィ71に表示信号が出力される。ここでは、仮
に「ABC」と入力したとする。
When displaying the characters or symbols on the display 71, data of the characters or symbols is output from the main CPU 76 to the display CPU 70 via the interface 75, and the display CPU 70 reads the dot pattern data corresponding to the data from the display controller 73. Then, the display data is output to the display RAM of the display controller 73, and the display signal is output from the display RAM to the display 71. Here, it is assumed that "ABC" is entered.

印字に必要な全ての文字を入力してから実行キー22を
操作すると、S3・S8・S17・S21を経てS22に移行する。S
22では、左端位置メモリ94のデータと右端位置メモリ95
のデータと文字数カウンタIのデータとに基づき、印字
範囲を(印字文字数+1)に等分割した文字ピッチを計
算して、その文字ピッチを文字ピッチメモリ97に記憶す
る。即ち、入力文字列の両端の文字と印字範囲の両端と
の間にも等間隔のスペースが入るように文字ピッチが計
算される。
When all characters necessary for printing are input and the execute key 22 is operated, the process proceeds to S22 via S3, S8, S17 and S21. S
In 22, the data in the leftmost position memory 94 and the rightmost position memory 95
Based on the data of 1) and the data of the character number counter I, the character pitch obtained by equally dividing the print range into (the number of print characters + 1) is calculated, and the character pitch is stored in the character pitch memory 97. That is, the character pitch is calculated so that spaces at equal intervals are inserted between the characters at both ends of the input character string and both ends of the print range.

次のS23において、等ピッチ印字データメモリ96及び
文字ピッチメモリ97のデータに基づいて、印字用紙上の
設定範囲に等ピッチで入力された文字を印字する。この
場合、メインCPU76から印字機構PMの各ドライバ61〜65
へ制御信号を出力する。第6図の例では、タイトル「AB
C」が第6図(b)のように、*印で挟まれた範囲に等
ピッチaで印字される。印字が終了すれば、S24におい
て均等割付フラグ92をリセットし、各メモリ94〜97をク
リアし、ディスプレイ71を消去してからS2に戻る。
In the next step S23, the characters input at equal pitches are printed in the set range on the printing paper based on the data in the equal pitch print data memory 96 and the character pitch memory 97. In this case, from the main CPU76 to each driver 61-65 of the printing mechanism PM.
Output a control signal to. In the example of FIG. 6, the title "AB
As shown in FIG. 6 (b), "C" is printed at an equal pitch a in the area sandwiched by * marks. When printing is completed, the even allocation flag 92 is reset in S24, the memories 94 to 97 are cleared, the display 71 is erased, and then the process returns to S2.

以上説明したように、本実施例によれば、書面上の所
望の印字範囲内に等ピッチ印字を正確かつ簡単迅速に行
うことができる。
As described above, according to this embodiment, it is possible to accurately, easily and quickly perform uniform pitch printing within a desired printing range on a document.

尚、前記タブセットキー20に代えて専用の印字範囲指
定キーによって印字範囲を指定する構成としてもよい。
The print range may be designated by a dedicated print range designation key instead of the tab set key 20.

尚、前記実施例では、印字用紙45上の所望の範囲に文
字列を等ピッチ印字する場合について説明したが、ディ
スプレイ上の所望の範囲に文字や記号を等ピッチで表示
する等ピッチ表示に本発明を同様に適用することが出来
る。但し、CRTディスプレイにおいてもLCDディスプレイ
においても文字や記号の各表示位置がディスプレイの機
構上の制約を受けるのでその制約の枠内での等ピッチ表
示となる。
Incidentally, in the above-mentioned embodiment, the case where the character string is printed in the desired range on the printing paper 45 with the equal pitch is explained. The invention can be similarly applied. However, since the display positions of characters and symbols are restricted by the mechanism of the display in both the CRT display and the LCD display, the pitch display is performed within the frame of the restriction.

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

第1図は本発明の印字装置の機能ブロック図、第2図〜
第6図は本発明の実施例を示すもので、第2図は電子タ
イプライタの斜視図、第3図は電子タイプライタの要部
縦断側面図、第4図は電子タイプライタの制御系のブロ
ック図、第5図は制御ルーチンのフローチャート、第6
図は作動状態を示す説明図、第7図は従来の均等割付印
字を説明する説明図である。 3……キーボード、45……印字用紙、76……メインCP
U、80……ROM、81……プログラムメモリ、90……RAM、9
4……左端位置メモリ、95……右端位置メモリ、96……
等ピッチ印字データメモリ、97……文字ピッチメモリ、
PM……印字機構。
FIG. 1 is a functional block diagram of the printer of the present invention, and FIGS.
FIG. 6 shows an embodiment of the present invention. FIG. 2 is a perspective view of an electronic typewriter, FIG. 3 is a vertical sectional side view of a main part of the electronic typewriter, and FIG. 4 is a control system of the electronic typewriter. Block diagram, FIG. 5 is a flow chart of control routine, FIG.
FIG. 7 is an explanatory diagram showing an operating state, and FIG. 7 is an explanatory diagram for explaining conventional evenly-spaced printing. 3 ... Keyboard, 45 ... Printing paper, 76 ... Main CP
U, 80 …… ROM, 81 …… Program memory, 90 …… RAM, 9
4 …… Left end position memory, 95 …… Right end position memory, 96 ……
Equal-pitch print data memory, 97 …… Character pitch memory,
PM: Printing mechanism.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字や記号などを入力する入力手段と、文
字や記号を出力媒体に出力する出力手段と、入力手段か
らの入力データに対応する文字や記号を出力媒体に出力
させるように出力手段を制御する制御手段とを備えた出
力装置において、 前記出力媒体上での等ピッチ出力の範囲を設定する範囲
設定手段と、 前記入力手段から入力された等ピッチ出力データを記憶
する等ピッチデータメモリと、 前記範囲設定手段で設定された出力媒体上の範囲と、前
記等ピッチデータメモリの文字列データの文字数に1を
加えた分割数とに基いて求めた等ピッチに相当するスペ
ースを前記範囲の左端部と右端部とに設けて前記文字列
をその等ピッチで出力させる等ピッチ制御手段とを備え
たことを特徴とする出力装置。
1. Input means for inputting characters and symbols, output means for outputting characters and symbols to an output medium, and output for outputting characters and symbols corresponding to input data from the input means to an output medium. An output device comprising a control means for controlling the means, a range setting means for setting a range of the equal pitch output on the output medium, and an equal pitch data for storing the equal pitch output data inputted from the input means. A space corresponding to an equal pitch obtained based on the memory, the range on the output medium set by the range setting means, and the number of divisions obtained by adding 1 to the number of characters of the character string data of the equal pitch data memory is set. An output device, comprising: an equal pitch control means which is provided at a left end portion and a right end portion of the range and outputs the character string at the equal pitch.
JP61292095A 1986-12-08 1986-12-08 Output device Expired - Fee Related JP2560297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61292095A JP2560297B2 (en) 1986-12-08 1986-12-08 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61292095A JP2560297B2 (en) 1986-12-08 1986-12-08 Output device

Publications (2)

Publication Number Publication Date
JPS63144065A JPS63144065A (en) 1988-06-16
JP2560297B2 true JP2560297B2 (en) 1996-12-04

Family

ID=17777479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61292095A Expired - Fee Related JP2560297B2 (en) 1986-12-08 1986-12-08 Output device

Country Status (1)

Country Link
JP (1) JP2560297B2 (en)

Also Published As

Publication number Publication date
JPS63144065A (en) 1988-06-16

Similar Documents

Publication Publication Date Title
EP0267801B1 (en) Electronic typewriter with word correction function
JPH0510234B2 (en)
JPH05185653A (en) Tape printing apparatus
US4548520A (en) Electronic typewriter
EP0256633B1 (en) Character erasing device in a printer
EP0267769B1 (en) An electronic typewriter with a spelling check function
EP0271321B1 (en) Display device for typewriters
JP2560297B2 (en) Output device
JP2591043B2 (en) Printing device
US4848940A (en) Typewriter for format printing
JPH0457512B2 (en)
JPH06110891A (en) Documentation device
JP2991339B2 (en) Document processing device
JPS59188476A (en) Electronic typewriter with display device
EP0334605A2 (en) Documentation system capable of displaying guidance
JPH05233624A (en) Document processor
JPS63281875A (en) Printing apparatus
JPH0761727B2 (en) Printer
GB2229839A (en) Word processor
JPS6320665A (en) Input device
JPS63106068A (en) Word processor
JPS60111286A (en) Typewriter with display
JPH06180700A (en) Document processor
JPH0461777B2 (en)
JPS60109871A (en) Electronic typewriter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees