JPS63144065A - Output device - Google Patents

Output device

Info

Publication number
JPS63144065A
JPS63144065A JP29209586A JP29209586A JPS63144065A JP S63144065 A JPS63144065 A JP S63144065A JP 29209586 A JP29209586 A JP 29209586A JP 29209586 A JP29209586 A JP 29209586A JP S63144065 A JPS63144065 A JP S63144065A
Authority
JP
Japan
Prior art keywords
printing
range
equal pitch
equal
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP29209586A
Other languages
Japanese (ja)
Other versions
JP2560297B2 (en
Inventor
Toshiyuki Sakai
俊之 酒井
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

Abstract

PURPOSE:To output a character row at an equal pitch accurately and speedily, by providing a range-setting means, an equal pitch data memory and an equal pitch controlling means, and outputting the character row in a desired output range on an output medium, with a space corresponding to the equal pitch provided at either end part. CONSTITUTION:When an equal space key 21 is operated, mode is switched to an equal space mode, and a character counter I for counting the number of characters to be printed in equal space printing is cleared. When a tab set key 16 is operated to set the left end of a printing range, it is discriminated whether printing range flags are set, based on data in a printing range flag memory 93 in a RAM 90. When character keys 10, 11 or symbol keys 12 are operated for performing equal pitch printing in the set printing range, input data or the like is stored into an equal pitch printing data memory 96, and the counter I is incremented by one. When an execution key 22 is operated, an equal pitch is calculated by dividing the printing range by (the number of characters to be printed) + 1, and the inputted characters are outputting at the equal pitch in the range set on a printing paper.

Description

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

(従来技術) 従来の印字装置、例えば電子タイプライタやワードプロ
セッサなどでは、入力された文字列を印字して文書を作
成する際の便宜のため、例えば第7図・(a)  ・(
b)に示すように文字列を予め指定した範囲の両限界位
置に文字列の両端の文字を揃えると共に、指示範囲内に
均等に割り付ける均等割付機能や、文書の行の両端を予
め設定された位置に揃えて文字列を均等に割付けるジャ
スティフィケーション機能を備えたものが既に知られて
いる(例えば:特開昭60−124270号、実開昭6
0−41260号、実開昭60−1)9560号)。
(Prior Art) In conventional printing devices, such as electronic typewriters and word processors, for convenience when creating documents by printing input character strings, for example, FIG.
As shown in b), there is an equal allocation function that aligns the characters at both ends of a character string to both limits of a pre-specified range, and evenly distributes them within the specified range, There are already known ones that have a justification function that evenly allocates character strings by aligning them to their positions (for example: Japanese Patent Application Laid-Open No. 60-124270, Japanese Utility Model Application No. 60-124270,
No. 0-41260, Utility Model Application No. 60-1) No. 9560).

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

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

ところが、前記均等割付機能を有する従来の印字装置で
は、例えば、第7図(a)に示すように、*即問の所定
の空欄(印字範囲)つまり■と■に文字rABCJを等
ピッチで印字する場合に、予め■の位置と■の位置を設
定しておき、文字「ABC,を入力後等ピッチ印字する
と、第7図(b)に示すように、文字「A」が印字範囲
の左端位置■に隣接して印字され、また文字「C」がそ
の右端位置■に隣接して等ピッチ印字される。尚、この
ときの等印字ピッチを「b」で示す。
However, in the conventional printing device having the above-mentioned equal allocation function, for example, as shown in FIG. In this case, if you set the position of ■ and the position of ■ in advance and print the characters "ABC" at equal pitches after inputting them, the character "A" will be at the left end of the printing range, as shown in Figure 7 (b). The character "C" is printed adjacent to the position ■, and the character "C" is printed adjacent to the rightmost position ■ at equal pitches. Note that the equal printing pitch at this time is indicated by "b".

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

そこで、タイトルの判別を容易にするために印字範囲の
両端にスペースを設けるときには、印字範囲を第7図(
a)の■゛と■′間に設定すればよいが、体裁上各文字
間と同様のスペースを印字範囲の両端に設けたいときに
は、操作者が印字範囲を測定して等ピッチ値を計算で求
め、その等ピッチ値に応じてキャリッジを微小送りさせ
2印字しなければならず、容易に等ピッチ印字出来ない
こと、操作性が悪いという問題がある。
Therefore, when providing a space at both ends of the print range to make it easier to distinguish the title, the print range should be set as shown in Figure 7 (
It is sufficient to set the space between ■゛ and ■' in a), but if you want to provide the same space between each character at both ends of the printing range for aesthetic reasons, the operator can measure the printing range and calculate the equal pitch value. The problem is that equal pitch printing cannot be easily performed and that operability is poor.

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

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

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

一方、入力手段から入力された等ピッチ出力データは、
等ピッチデータメモリに記憶される。また、範囲設定手
段によって、出力媒体上での等ピッチ出力の範囲が設定
される。出力範囲の設定が終われば、等ピッチ制御手段
により出力媒体上の範囲と等ピッチデータメモリの文字
列データの文字数に1加えた分割数とに基いて求めた等
ピッチに相当するスペースが範囲の左端部と右端部とに
設けられて文字列がその等ピッチで出力するように出力
手段が制御される。
On the other hand, the equal pitch output data input from the input means is
Stored in 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 calculated based on the range on the output medium and the division number obtained by adding 1 to the number of characters of the character string data in the equal pitch data memory is determined by the equal pitch control means. Output means provided at the left end and 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 according to the present invention, the range setting means, equal pitch data memory, and equal pitch control means as described above are provided, and both left and right ends of the output medium are set within a desired output range on the output medium. Spaces corresponding to equal pitches are provided for characters and symbols to be output at equal pitches, so equal pitches can be easily printed and operability is improved. For example, when the output means is a printing means, as shown in FIG. 6(b) according to the embodiment, spaces corresponding to equal pitches are provided on both left and right ends of the print medium in a specified desired range, and the input data is printed. can be printed at equal pitches, so when a title or the like is printed in a predetermined blank space of a printed document, it can be easily distinguished which is the title, and it can be printed quickly and neatly.

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

本実施例は本発明を電子タイプライタに適用した場合の
ものである。
This embodiment is a case where the present invention is applied to an electronic typewriter.

第2図に示すように、電子タイプライタ1の本体フレー
ム2の前部には、キーボード3が配置され、キーボード
3の後方で本体フレーム2内には印字機構PMが配設さ
れている。キーボード3には次のような各種のキーが設
けられている。即ち、アルファベットキー10と数字キ
ー1)と記号キー12とを含む文字キー、スペースキー
13、バックスペースキー14、リターンキー15、タ
ブセットキー16、紙送りキー17、祇戻しキー18、
リピートキー19、カーソル移動キー20、均等割付キ
ー21、等ピッチ印字を実行するための実行キー22な
どである。尚、均等割付キー21は本発明特有の均等割
付モードへの移行を指令するためのキーである。その他
の各種キー及びそれらを操作することによって得られる
機能や動作については、既存のタイプライタと概ね同様
なのでここでは説明を省略する。
As shown in FIG. 2, a keyboard 3 is arranged at the front of a main body frame 2 of the electronic typewriter 1, and a printing mechanism PM is arranged inside the main body frame 2 behind the keyboard 3. The keyboard 3 is provided with the following various keys. Namely, character keys including alphabet key 10, numeric key 1) and symbol key 12, space key 13, backspace key 14, return key 15, tab set key 16, paper feed key 17, return key 18,
These include a repeat key 19, a cursor movement key 20, an equal allocation key 21, and an execution key 22 for executing equal pitch printing. Note that the equal allocation key 21 is a key for instructing a transition to the equal allocation mode unique to the present invention. The other various keys and the functions and operations obtained by operating them are generally the same as those of existing typewriters, so a description thereof will be omitted here.

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

前記印字機構PMにおいて、プラテン30はプラテン駆
動モータ或いはプラテンノブ31により、駆動されて印
字用紙45を紙送りするようになっている。また、キャ
リッジ32は2本のガイド軸34・35に支持されてお
り、キャリッジ32には活字ホイール駆動モータ54が
配設され、そのモータ軸には活字ホイール37が装着さ
れている。
In the printing mechanism PM, the platen 30 is driven by a platen drive motor or a platen knob 31 to feed the printing paper 45. Further, the carriage 32 is supported by two guide shafts 34 and 35, and a type wheel drive motor 54 is disposed on the carriage 32, and a type wheel 37 is mounted on the motor shaft.

また印字位置に配置された活字ホイール37の活字39
を打撃する印字ハンマ40は印字ハンマソレノイド55
により駆動される。印字リボン41を収納したリボンカ
セット42はホルダ43上に載置され、ホルダ43の後
部の一段低(形成した部分には訂正リボン44が配置さ
れている。更に、印字リボン41を印字位置に配置させ
た印字姿勢(第3図)と、印字リボン41を印字位置よ
りも下方へ移動させた休止姿勢(図示路)と、訂正リボ
ン44を印字位置に配置させた訂正姿勢(図示路)とに
亙ってホルダ43を位置切換えするために、リボンリフ
トモータ53で回転駆動される駆動軸及び周知のカム機
構が設けられている。
Also, the type 39 of the type wheel 37 placed at the printing position
The printing hammer 40 that strikes the printing hammer solenoid 55
Driven by. The ribbon cassette 42 containing the printing ribbon 41 is placed on a holder 43, and a correction ribbon 44 is placed in the lower part of the rear part of the holder 43. Furthermore, the printing ribbon 41 is placed in the printing position. the printing posture (FIG. 3), the resting posture (path shown) in which the printing ribbon 41 is moved below the printing position, and the correction posture (path shown) in which the correction ribbon 44 is placed at the printing position. In order to change the position of the holder 43, a drive shaft rotatably driven by a ribbon lift motor 53 and a well-known cam mechanism are provided.

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

印字機構PMの駆動部は、プラテン駆動モータ50及び
そのドライバ60と、キャリッジ駆動モータ51及びそ
のドライバ61と、リボン送りモータ52及びそのドラ
イバ62と、リボンリフトモータ53及びそのドライバ
63と、活字ホイール駆動モータ54及びそのドライバ
64と、印字ハンマソレノイド55及びそのドライバ6
5、などから構成されている。印字機構PMの各ドライ
バ60〜65は制御装置Cに接続されている。
The driving parts of the printing mechanism PM include 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, and a type wheel. Drive motor 54 and its driver 64; Print hammer solenoid 55 and its driver 6
It consists of 5, etc. Each of the drivers 60 to 65 of the printing mechanism PM is connected to the control device C.

表示装置iDは、表示制御用の表示CPU (中央演算
装置)70と、文字や記号を表示するLCDディスプレ
イ71と、LCDディスプレイ71に表示するためのデ
ィスプレイコントローラ73とから構成されている。表
示CPU70及びディスプレイコントローラ73は、イ
ンターフェース75を介して後述のメイン(、PU <
中央演算装置)76から出力されるコマンドデータや文
字コードデータを受け、それに対応する表示信号をLC
Dディスプレイ71に出力する。
The display device iD includes a display CPU (central processing unit) 70 for display control, 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 display controller 73 connect to the main (, PU <
Receives command data and character code data output from the central processing unit) 76 and displays corresponding display signals on the LC.
Output to D display 71.

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

ROM80のプログラムメモリ81には、キーボード3
の文字キー10〜12及びスペースキー13等から入力
される各文字等のデータや各種機能キーから入力される
各機能のデータに対応させて、前記各モータ50〜54
及び印字ハンマソレノイド55と表示装置りを制御する
制御プログラムなどの一般的な制御プログラムが記憶さ
れている。その他、プログラムメモリ81には、後述の
ような等ピッチ印字の制御を行うための制御プログラム
が記憶されている。
The keyboard 3 is stored in the program memory 81 of the ROM 80.
Each of the motors 50 to 54 corresponds to the data of each character inputted from the character keys 10 to 12 and the space key 13, etc., and the data of each function inputted from various function keys.
General control programs such as a control program for controlling the printing hammer solenoid 55 and the display device are also 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に書込まれた文字や記号の数
を計数する文字数カウンタ■と、文字ピッチの計算結果
を記憶する文字ピッチメモリ97とが設けられている。
The RAM 90 is provided with the following memories in addition to various memories for temporarily storing the results of calculations performed by the main CPU 76. That is, a current position memory 91 that stores the current position of the carriage in correspondence with the printing position;
An even allocation flag memory 92 that stores an even allocation flag that is set when in the even allocation mode, and a print range that stores a print range flag that is set when an even allocation (equal pitch printing) print range is set. Flag memory 93
, a left end position memory 94 for storing the left end position of the printing range for equal pitch printing, a right end position memory 95 for storing the right end position of the printing range, and an equal pitch printing memory for storing input characters and symbols for equal pitch printing. A data memory 96, a character number counter (2) for counting the number of characters and symbols written in the equal pitch print data memory 96, and a character pitch memory 97 for storing the calculation result of character pitch are provided.

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

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

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

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

このときには、例えば第6図(a)に示すように、印字
用紙45に既に印字されている*印の間、つまり■と■
間の印字範囲iを設定する場合に、S2〜S5を経て第
2図の紙送りキー17、祇戻しキー18、スペースキー
13及びバックスペースキー14等の操作により印字ヘ
ッドは第6図(a)の■に位置しており、印字範囲の左
端を設定するためにタブセットキー16が操作されると
、S3においてYesと判定されてS8へ移行し、RA
M90の印字範囲フラグメモリ93のデータに基いて印
字範囲フラグはセットされているか否かが判定され、セ
ットされていないときにはS9でタブセットキー16で
あると判定されてS10へ移行する。
At this time, as shown in FIG. 6(a), for example, between the * marks already printed on the printing paper 45, that is,
When setting a printing range i between ), and when the tab set key 16 is operated to set the left end of the printing range, it is determined Yes in S3 and the process moves to S8, and the RA
It is determined whether the printing range flag is set based on the data in the printing range flag memory 93 of M90, and if it is not set, it is determined in S9 that the tab set key 16 is pressed and the process moves to S10.

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

次に、印字範囲の右端を設定するためにキャリッジ移動
キー、例えばスペースキー13或いはバックスペースキ
ー14、が操作されると、S3・S8を経てS12でキ
ャリッジ移動キーであると判定されてS13へ移行し、
操作されたキャリッジ移動キーに対応してキャリッジ3
2が移動され、S2に戻る。上記の場合にメインCPU
76はキャリッジ駆動モータドライバ61に制御信号を
出力する。このときに、キャリッジ32は、例えば第6
図(a)の■に位置している。
Next, when a carriage movement key, such as the space key 13 or the backspace key 14, is operated to set the right end of the printing range, it is determined in S12 via S3 and S8 that it is a carriage movement key, and the process proceeds to S13. transition,
Carriage 3 moves in response to the operated carriage movement key.
2 is moved and the process returns 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, for example,
It is located at ■ in Figure (a).

次に、再度タブセットキー16が操作されると、S3・
S8・S12を経て314へ移行し、タブセットキー1
6であると判定され、515へ移行する。
Next, when the tab set key 16 is operated again, S3.
Move to 314 through S8 and S12, and press tab set key 1
It is determined that it is 6, and the process moves to 515.

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

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

39〜S16を経て設定された印字範囲内に等ピッチ印
字するために文字キー10・1)や記号キー12が操作
されると、S3・88〜S9を経てS17へ移行し、印
字可能なキーであるか否かが判定され、印字可能なキー
のときには518へ移行する。318では、入力データ
を等ピッチ印字データメモリ96に記憶され、次のS1
9ではカウンタ■に1が加算され、次の320において
、入力された文字や記号をディスプレイ71に表示し、
S2に戻る。この段階では、文字を入力する毎に317
〜S20の処理が繰り返される。
When the character key 10.1) or the symbol key 12 is operated to print at equal pitch within the set printing range through steps 39 to S16, the process moves to S17 through steps S3 and 88 to S9, and the printable key is pressed. It is determined whether or not the key is printable, and if the key is printable, the process moves to 518. In step 318, the input data is stored in the equal pitch print data memory 96, and the input data is stored in the equal pitch print data memory 96, and the input data is
In step 9, 1 is added to the counter ■, and in the next step 320, the input characters and symbols are displayed on the display 71,
Return to S2. At this stage, each time you enter a character, you will receive 317
The processes from ~S20 are repeated.

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

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

次の323において、等ピッチ印字データメモリ96及
び文字ピッチメモリ97のデータに基づいて、印字用紙
上の設定範囲に等ピッチで入力された文字を印字する。
In the next step 323, based on the data in the equal pitch print data memory 96 and the character pitch memory 97, the characters inputted at equal pitches are printed in the set range on the printing paper.

この場合、メインCPU76から印字機構PMの各ドラ
イバ61〜65へ制御信号を出力する。第6図の例では
、タイトルrABcJが第6図(b)のように、*印で
挟まれた範囲に等ピッチaで印字される。印字が終了す
れば、S24において均等割付フラグ92をリセットし
、各メモリ94〜97をクリアし、ディスプレイ71を
消去してからS2に戻る。
In this case, a control signal is output from the main CPU 76 to each driver 61 to 65 of the printing mechanism PM. In the example of FIG. 6, the title rABcJ is printed at equal pitch a in the range between the * marks, as shown in FIG. 6(b). When printing is completed, the equal allocation flag 92 is reset in S24, each memory 94 to 97 is cleared, the display 71 is erased, and the process returns to S2.

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

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

尚、前記実施例では、印字用紙45上の所望の範囲に文
字列を等ピッチ印字する場合について説明したが、ディ
スプレイ上の所望の範囲に文字や記号を等ピッチで表示
する等ピッチ表示に本発明を同様に適用することが出来
る。但し、CRTディスプレイにおいてもLCDディス
プレイにおいても文字や記号の各表示位置がディスプレ
イの機構上の制約を受けるのでその制約の枠内での等ピ
ッチ表示となる。
In the above embodiment, a case has been described in which character strings are printed at equal pitches in a desired range on the printing paper 45, but it is also possible to print characters and symbols at equal pitches in a desired range on a display. The invention can be applied similarly. However, in both the CRT display and the LCD display, the display positions of characters and symbols are subject to mechanical constraints of the display, and therefore the characters and symbols are displayed at equal pitches within the framework of the constraints.

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

第1図は本発明の印字装置の機能ブロック図、第2図〜
第6図は本発明の実施例を示すもので、第2図は電子タ
イプライタの斜視図、第3図は電子タイプライタの要部
縦断側面図、第4図は電子タイプライタの制御系のブロ
ック図、第5図は制御ルーチンのフローチャート、第6
図は作動状態を示す説明図、第7図は従来の均等割付印
字を説明する説明図である。 3・・キーボード、  45・・印字用紙、 76・・
メインCPU、  80・・ROM、  81・・プロ
グラムメモリ、  90・・RAM、   94・・左
端位置メモリ、 95・・右端位置メモリ、96・・等
ピッチ印字データメモリ、 97・・文字ピッチメモリ
、 PM・・印字機構。 特許出願人  ブラザー工業株式会社 第1図 第3図 第6図
FIG. 1 is a functional block diagram of the printing device of the present invention, and FIG.
Fig. 6 shows an embodiment of the present invention, Fig. 2 is a perspective view of an electronic typewriter, Fig. 3 is a longitudinal sectional side view of main parts of the electronic typewriter, and Fig. 4 is a control system of the electronic typewriter. Block diagram, Figure 5 is a flowchart of the control routine, Figure 6 is a flowchart of the control routine.
FIG. 7 is an explanatory diagram showing the operating state, and FIG. 7 is an explanatory diagram illustrating conventional evenly spaced printing. 3...keyboard, 45...printing paper, 76...
Main CPU, 80...ROM, 81...Program memory, 90...RAM, 94...Left end position memory, 95...Right end position memory, 96...Equal pitch print data memory, 97...Character pitch memory, PM ...Printing mechanism. Patent applicant: Brother Industries, Ltd. Figure 1 Figure 3 Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)文字や記号などを入力する入力手段と、文字や記
号を出力媒体に出力する出力手段と、入力手段からの入
力データに対応する文字や記号を出力媒体に出力させる
ように出力手段を制御する制御手段とを備えた出力装置
において、 前記出力媒体上での等ピッチ出力の範囲を設定する範囲
設定手段と、 前記入力手段から入力された等ピッチ出力データを記憶
する等ピッチデータメモリと、 前記範囲設定手段で設定された出力媒体上の範囲と、前
記等ピッチデータメモリの文字列データの文字数に1を
加えた分割数とに基いて求めた等ピッチに相当するスペ
ースを前記範囲の左端部と右端部とに設けて前記文字列
をその等ピッチで出力させる等ピッチ制御手段とを備え
たことを特徴とする出力装置。
(1) An input means for inputting characters and symbols, an output means for outputting the characters and symbols to an output medium, and an output means for outputting characters and symbols corresponding to input data from the input means to the output medium. An output device comprising: a range setting means for setting a range of equal pitch output on the output medium; and an equal pitch data memory for storing equal pitch output data input from the input means. , A space corresponding to the equal pitch obtained based on the range on the output medium set by the range setting means and the division number obtained by adding 1 to the number of characters of the character string data in the equal pitch data memory is divided into the range. An output device comprising equal pitch control means provided at a left end and a right end for outputting the character string at the same 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 true JPS63144065A (en) 1988-06-16
JP2560297B2 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
JP2560297B2 (en) 1996-12-04

Similar Documents

Publication Publication Date Title
US4564301A (en) Typewriter with text memory
EP0267801B1 (en) Electronic typewriter with word correction function
JPS59188475A (en) Electronic typewriter
EP0267769B1 (en) An electronic typewriter with a spelling check function
EP0256633B1 (en) Character erasing device in a printer
EP0221747B1 (en) Document processor
EP0271321B1 (en) Display device for typewriters
JPS63144065A (en) Output device
US4971461A (en) Printing device for exchanging printing elements by use of character and identification code data
US4955735A (en) Printer with combined data and operating-mode display
JPH01225987A (en) Character string displaying device
JPH0457512B2 (en)
JPS62297168A (en) Printer
JPS6392475A (en) Electronic typewriter
US4818130A (en) Character erasable printing apparatus including selective erasing of variable length underline
JPS59188476A (en) Electronic typewriter with display device
JPH01257079A (en) Printer
JPH0461777B2 (en)
JPH05233624A (en) Document processor
JPS6320665A (en) Input device
EP0334605A2 (en) Documentation system capable of displaying guidance
JPH01234281A (en) Document forming device with centering function
JPS63281875A (en) Printing apparatus
JPS60109871A (en) Electronic typewriter
JPS63189279A (en) Printer

Legal Events

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