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

JPH061471B2 - Document creation device - Google Patents

Document creation device

Info

Publication number
JPH061471B2
JPH061471B2 JP59081970A JP8197084A JPH061471B2 JP H061471 B2 JPH061471 B2 JP H061471B2 JP 59081970 A JP59081970 A JP 59081970A JP 8197084 A JP8197084 A JP 8197084A JP H061471 B2 JPH061471 B2 JP H061471B2
Authority
JP
Japan
Prior art keywords
layout
data
printing
document
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59081970A
Other languages
Japanese (ja)
Other versions
JPS60225971A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP59081970A priority Critical patent/JPH061471B2/en
Publication of JPS60225971A publication Critical patent/JPS60225971A/en
Publication of JPH061471B2 publication Critical patent/JPH061471B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 技術分野 この発明は、文書作成機能を有する文書作成装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to a document creation device having a document creation function.

従来技術 一般に、ワードプロセツサ,電子タイプライタ等の文書
作成機能を有する文書作成装置においては、文書作成中
の頁の一部分を表示装置に表示するようにしている。
2. Description of the Related Art Generally, in a document creating apparatus having a document creating function such as a word processor and an electronic typewriter, a part of a page being created is displayed on a display device.

特にパーソナルタイプの文書作成装置においては、小型
化を図るために表示装置として文書の1〜2行分を表示
するものしか備えていない。
In particular, a personal-type document creating apparatus has only a display device for displaying one or two lines of a document in order to reduce the size.

しかしながら、このように文書作成中の頁の一部分しか
表示されないのでは、作成中の文章が存在している頁全
体のレイアウトを把握することが困難である。
However, if only a part of the page being created is displayed in this way, it is difficult to grasp the layout of the entire page in which the text being created exists.

そこで、文書表示用の表示装置とは別個に作成中の文書
のレイアウトを表示する専用の表示装置を備えたものも
ある。
Therefore, some display devices are provided with a dedicated display device for displaying the layout of the document being created, separately from the display device for displaying the document.

しかしながら、このように2種類の表示装置を備えるの
では、構成が複雑になり、文書作成装置のコンパクト化
を図れない。
However, if the two types of display devices are provided in this way, the configuration becomes complicated and the document creation device cannot be made compact.

また、従来のレイアウト表示におけるレイアウトモード
は固定されており、1頁全体をレイアウト表示するため
の簡略化により、文書中の文字の大小や文字種などは判
別できないのが一般的であつた。
Further, the layout mode in the conventional layout display is fixed, and due to the simplification for displaying the layout of one page as a whole, it is generally impossible to discriminate the size and type of characters in a document.

また、表示装置にレイアウト表示する場合、その表示ス
ペース及び表示容量の制限が大きいため複数頁のレイア
ウトを一画面に表示することは困難であり、もしそのよ
うにすると各頁のレイアウトが小さくなり過ぎて、その
文字配列等をよく把握することができなくなるという問
題が生じる。
Further, when the layout is displayed on the display device, it is difficult to display the layout of a plurality of pages on one screen because the display space and the display capacity are large, and if so, the layout of each page becomes too small. Then, there arises a problem that the character arrangement and the like cannot be grasped well.

発明の目的 この発明は、作成中の文書の頁の一部分しか表示できな
い表示装置を備えた文書作成装置における上記のような
問題を解決するためににされたものであり、作成中ある
いは作成した文書の頁毎のレイアウトの把握を、必要に
応じたレイアウトモードで容易に行なうことができ、し
かもレイアウト表示専用の表示装置を備える必要もな
く、複数の頁のレイアウトを比較することも容易にでき
るようにすることを目的とする。
An object of the present invention is to solve the above problems in a document creating apparatus provided with a display device that can display only a part of a page of a document being created. The layout of each page can be easily grasped in a layout mode as required, and it is not necessary to provide a display device dedicated to the layout display, and the layouts of a plurality of pages can be easily compared. The purpose is to

発明の構成 この発明は、文書を作成するための文書作成手段と、該
手段によつて作成中の文書の頁の一部分を表示する表示
装置と、作成された文書を印刷する印刷装置とを備えた
文書作成装置において、上記の目的を達成するため、 文書のレイアウト出力を指示するレイアウト出力指示手
段と、 複数の異なるレイアウトモードのいずれかを選択するレ
イアウトモード選択手段と、 上記レイアウト出力指示手段の指示により、上記レイア
ウトモード選択手段によつて選択されたレイアウトモー
ドで、上記文書作成手段によつて作成された文書の頁毎
のレイアウトを用紙を示す枠線と共に上記印刷装置に印
刷させるレイアウト印刷制御手段とを設けたものであ
る。
Structure of the Invention The present invention comprises a document creating means for creating a document, a display device for displaying a part of a page of a document being created by the means, and a printing device for printing the created document. In order to achieve the above object, the document creating apparatus further includes a layout output instructing means for instructing layout output of the document, a layout mode selecting means for selecting one of a plurality of different layout modes, and a layout output instructing means for A layout print control for causing the printing device to print the layout of each page of the document created by the document creating unit along with the frame line indicating the paper in the layout mode selected by the layout mode selecting unit according to the instruction. And means are provided.

さらに、上記レイアウト印刷制御手段が、同一の用紙に
複数頁のレイアウトを印刷させる手段を備えるとよい。
Further, it is preferable that the layout print control unit includes a unit that prints a plurality of page layouts on the same sheet.

また、その各頁のレイアウトに対応する付加情報を該各
レイアウトの近傍の所定位置にそれぞれ印刷させる手段
を備えてもよい。
Further, there may be provided means for printing the additional information corresponding to the layout of each page at a predetermined position near each layout.

作 用 この発明による文書作成装置は上記の構成により、レイ
アウトモード選択手段によつてレイアウトモードが選択
され、レイアウト出力指示手段によって文書のレイアウ
ト出力が指示されると、レイアウト印刷制御手段が、文
書作成手段によつて作成された文書の頁毎のレイアウト
を選択されたレイアウトモードで用紙を示す枠線と共に
印刷装置に印刷させる。
With the above arrangement, the document creation apparatus according to the present invention, when the layout mode is selected by the layout mode selection means and the layout output of the document is instructed by the layout output instructing means, the layout print control means is operated by the layout printing control means. The page-by-page layout of the document created by the means is printed by the printing device in the selected layout mode together with the frame line indicating the paper.

したがつて、その印刷結果を見ることによつて作成中あ
るいは作成した文書の頁毎のレイアウトの把握を容易に
行なうことができ、必要に応じてそのレイアウトモード
を変えることにより、大まかなレイアウトを速く把握し
たり、多少時間を要しても文書中の文字の大きさや種類
まで把握できるレイアウトを確認したりすることもでき
る。また、レイアウトの記録が残るので各頁のレイアウ
トの比較も容易になる。
Therefore, it is possible to easily understand the layout of each page of the document being created or the created document by looking at the print result, and change the layout mode as necessary to make a rough layout. You can check the layout quickly or check the layout so that you can understand the size and type of characters in a document even if it takes some time. In addition, since the layout records are kept, it is easy to compare the layouts of the pages.

しかも、レイアウト表示専用の表示装置を備える必要が
ないので文書作成装置のコンパクト化を図れる。
Moreover, since it is not necessary to provide a display device dedicated to the layout display, the document creation device can be made compact.

さらに、印刷スペースは充分確保できるので、同一の用
紙に複数頁のレイアウトを印刷させることにより、複数
頁のレイアウトを速く把握でき、それらを比較すること
も一層容易にできる。
Furthermore, since a sufficient printing space can be secured, it is possible to quickly grasp the layouts of a plurality of pages by printing the layouts of a plurality of pages on the same sheet, and it is easier to compare them.

また、その各頁のレイアウトに対応する付加情報を各レ
イアウトの近傍の所定位置にそれぞれ印刷するようにす
ることにより、複数頁のレイアウトの把握が一層容易に
なる。
Further, by printing the additional information corresponding to the layout of each page at a predetermined position near each layout, it becomes easier to understand the layout of a plurality of pages.

実施例 以下、この発明の実施例を図面に基づいて具体的に説明
する。
Embodiments Embodiments of the present invention will be specifically described below with reference to the drawings.

第1図は、この発明を実施した文書作成装置の一例を示
す外観斜視図である。
FIG. 1 is an external perspective view showing an example of a document creating apparatus embodying the present invention.

この文書作成装置は、文書(テキスト)の作成編集等に
必要なデータを入力するキーボード1と、テキスト等を
表示する2行分の表示域を有する表示装置である液晶デ
イスプレイ(LCD)2と、テキスト及びレイアウト等
を印字する印刷装置であるサーマル転写プリンタ3とか
らなる。
This document creating apparatus includes a keyboard 1 for inputting data necessary for creating and editing a document (text), a liquid crystal display (LCD) 2 which is a display device having a display area for two lines for displaying text and the like, The thermal transfer printer 3 is a printing device that prints text, layout, and the like.

そのキーボード1は、グラフイツク・キヤラクタキー
と、用紙の印字幅を設定するレフトハンドマージンキー
及びライトハンドマージンキー,マージンを解除するマ
ージンリリースキー,タブのセツト及び解除をするタブ
セツトキー及びタブクリアキー等のフオーマツト設定キ
ーと、各キーの機能を選択するシフトキー及び機能選択
キーと、改行キーと、改頁キーと、かな漢字変換キー等
とを含むキー群11を備えている。
The keyboard 1 is a graphic / character key, left hand margin key and right hand margin key for setting the print width of the paper, margin release key for releasing the margin, tab set keys for releasing and setting tabs, and format setting keys such as tab clear key. And a key group 11 including a shift key and a function selection key for selecting the function of each key, a line feed key, a page break key, a kana-kanji conversion key, and the like.

また、このキーボード1は、テキストの印刷を指示する
テキストプリントキー12と、テキストのレイアウトの
出力(以下「レイアウト印刷」と称す)を指示するレイ
アウトプリントキー13と、挿入,削除,訂正等の編集
キー等とを含むキー群14も備えている。
The keyboard 1 also includes a text print key 12 for instructing printing of text, a layout print key 13 for instructing output of a text layout (hereinafter referred to as “layout printing”), and editing such as insertion, deletion, correction and the like. A key group 14 including keys and the like is also provided.

第2図は、プリンタ3の機構部を示す斜視図である。FIG. 2 is a perspective view showing a mechanical portion of the printer 3.

このプリンタ3の機構部は、フレームを構成する左右両
側板20,21の後部に、機構部内にカツト紙を供給す
るためのガイド板22を前方を下方向に向けて装着して
ある。
In the mechanical section of the printer 3, a guide plate 22 for feeding cut paper into the mechanical section is attached to the rear portions of the left and right side plates 20 and 21 that form a frame, with the front facing downward.

そして、このガイド板22の前方に、ガイド板22で案
内されて供給されるカツト紙を巻付けて給送するプラテ
ン23を、両側板20,21に回転自在に取付けてあ
る。
In front of the guide plate 22, a platen 23 for winding and feeding the cut paper which is guided and supplied by the guide plate 22 is rotatably attached to both side plates 20 and 21.

このプラテン23は、側板21に固着したステツピング
モータからなるラインフイードモータ24によつてギヤ
列25を介して回転駆動され、自動的に用紙を給送す
る。
The platen 23 is rotationally driven via a gear train 25 by a line feed motor 24, which is a stepping motor fixed to the side plate 21, and automatically feeds a sheet.

また、このプラテン23は、第1図に示すようにその一
端部に装着した表面にローレツトを形成したノブ26を
回すことによつて手動で回転できる。
Further, as shown in FIG. 1, the platen 23 can be manually rotated by turning a knob 26 having a knurled surface mounted on one end thereof.

さらに、このプラテン23の前方には、両側板20,2
1の外面に付設した用紙セツト機構27の操作レバー2
8に連動して前後に揺動可能なロツド29及びこのロツ
ド29に回転自在挿着したローラ30,31からなるペ
ーパベイル32を配設してある。
Further, in front of the platen 23, both side plates 20, 2
Operation lever 2 of paper set mechanism 27 attached to the outer surface of 1
A paper bail 32 is provided which includes a rod 29 which can be rocked back and forth in conjunction with 8 and rollers 30 and 31 which are rotatably inserted into the rod 29.

そして、このプラテン23の前方に、このプラテン23
と平行に両側板20,21に固着したガイドロツド34
及び前板35の一部であるレール部36上に、キヤリツ
ジ40をプラテン23に対して平行移動可能に載置して
ある。
Then, in front of the platen 23, the platen 23
Guide rod 34 fixed to both side plates 20, 21 in parallel with
The carriage 40 is mounted on the rail portion 36, which is a part of the front plate 35, so as to be movable in parallel with the platen 23.

このキヤリツジ40には、サーマルヘツド41及びこの
サーマルヘツド41とプラテン23との間に感熱リボン
を案内するリボンガイドローラ42,43等を備えてい
る。
The carriage 40 is provided with a thermal head 41 and ribbon guide rollers 42 and 43 for guiding the thermal ribbon between the thermal head 41 and the platen 23.

そして、このキヤリツジ40は、底板44に固着したモ
ータフレーム45に取付けたステツピングモータからな
るスペースモータ46によつて、このスペースモータ4
6でギヤ列47を介して回転駆動される右側板21に装
着したプーリ48及び左側板20に装着したプーリ49
との間に張装したタイミングベルト50を介して移動さ
れる。
The carriage 40 is moved by the space motor 46, which is a stepping motor mounted on a motor frame 45 fixed to the bottom plate 44, to form the space motor 4.
6, the pulley 48 mounted on the right side plate 21 and the pulley 49 mounted on the left side plate 20 which are rotationally driven via the gear train 47.
It is moved via a timing belt 50 that is stretched between the and.

一方、この機構部の上部には、リボンカセツト51が、
その両側板20,21に取付けられて装着される。
On the other hand, a ribbon cassette 51 is
The both side plates 20 and 21 are attached and mounted.

このリボンカセツト51は、カセツト本体52内に感熱
リボン53を収納してなる。
The ribbon cassette 51 comprises a cassette main body 52 and a heat sensitive ribbon 53 housed therein.

そして、このリボンカセツト51の感熱リボン53は、
底板44に固着したモータフレーム54に取付けたステ
ツピングモータからなるリボンフイードモータ55によ
つて、このリボンフイードモータ55でギヤ列56を介
して回転駆動されてリボンカセツト51内の巻取り用駆
動ローラに連結される駆動軸57を介して移動される。
And the thermal ribbon 53 of this ribbon cassette 51 is
A ribbon feed motor 55, which is a stepping motor attached to a motor frame 54 fixed to the bottom plate 44, is rotationally driven by the ribbon feed motor 55 through a gear train 56 to wind the ribbon cassette 51. It is moved via a drive shaft 57 connected to the drive roller.

また、機構部側には、このリボンカセツト51のリボン
53の終端を検出するための発光素子及び受光素子から
なるフオトセンサで構成したリボンエンドセンサ59を
設けてある。
Further, on the mechanism side, a ribbon end sensor 59 composed of a photo sensor composed of a light emitting element and a light receiving element for detecting the end of the ribbon 53 of the ribbon cassette 51 is provided.

なお、リボンカセツト51の交換は、第1図に示すカバ
ー60を開いて行なう。
The ribbon cassette 51 is replaced by opening the cover 60 shown in FIG.

第3図及び第4図は、この機構部のキヤリツジの詳細を
示す平面図及びその左側面図である。
FIG. 3 and FIG. 4 are a plan view and a left side view showing details of the carriage of this mechanism portion.

このキヤリツジ40は、まずガイドロツド34に摺動自
動に嵌挿したキヤリツジブロツク61の前面に形成した
ブラケツト62,63に、サーマルヘツド41を装着し
たヘツドホルダ64を支持軸65によつて回動可能に装
着してある。
The carriage 40 has a bracket 62 and 63 formed on the front surface of a carriage block 61 which is slidably inserted into the guide rod 34, and a head holder 64 having a thermal head 41 attached thereto, which is rotatable by a support shaft 65. It is installed.

このヘツドホルダ64には、その両端部にサーマルヘツ
ド41の抜出しを防止するヘツド押えばね66a,67a
を形成したヘツド押え66,67を取付けてある。
The Hetsudohoruda 64, head pressing spring 66 to prevent withdrawal of the thermal head 41 at its opposite ends a, 67 a
Head pressers 66 and 67 having the above are attached.

また、このヘツドホルダ64の下部には、舌片状の板ば
ね68を一体的に形成したヘツド付勢部材69を取付け
てある。
A head urging member 69 integrally formed with a tongue-shaped plate spring 68 is attached to the lower portion of the head holder 64.

一方、キヤリツジブロツク61の下部には、タイミング
ベルト50をキヤリツジブロツク61に固着する舌片7
aを一体的に形成したソレノイドホルダ71を取付
け、このソレノイドホルダ71にヘツドアツプ/ダウン
ソレノイド72を取付けてある。
On the other hand, a tongue piece 7 for fixing the timing belt 50 to the carriage block 61 is provided under the carriage block 61.
Mounting the solenoid holder 71 integrally formed 1 a, it is attached to Hetsudoatsupu / down solenoid 72 to the solenoid holder 71.

このヘツドアツプ/ダウンソレノイド72のプランジヤ
72aの前端部は、ヘツド付勢部材69の板ばね68の
基部を嵌通して、その先端部に牽引部材73を固着して
ある。
The front end of the plunger 72 a of the Hetsudoatsupu / down solenoid 72, through fitting the base of the leaf spring 68 of the head biasing member 69, are secured to the traction member 73 at its distal end.

このように構成したキヤリツジ40にあつては、用紙装
填時やリボン交換時にはヘツドアツプ/ダウンソレノイ
ド72を非作動状態にする。
In the carriage 40 having the above-described structure, the head up / down solenoid 72 is deactivated when the paper is loaded or the ribbon is replaced.

それによつて、板ばね68の復元力によつてヘツドホル
ダ64が図示の状態に保持され、サーマルヘツド41が
第4図実線図示のようにプラテン23から離れた位置に
保持される。
Accordingly, the head holder 64 is held in the illustrated state by the restoring force of the leaf spring 68, and the thermal head 41 is held at a position apart from the platen 23 as shown by the solid line in FIG.

そして、印字動作時にはこの状態からヘツドアツプ/ダ
ウンソレノイド72を動作状態にする。
Then, during the printing operation, the head-up / down solenoid 72 is brought into the operating state from this state.

それによつて、そのプランジヤ72aが第4図で板ばね
68の基部を伴つて矢示A方向に移動するので、ヘツド
ホルダ64が矢示B方向に回動してサーマルヘツド41
が同図仮想線図示のようにプラテン23側に回動し、印
字可能状態になるので、瞬間的にサーマルヘツド41を
加熱して印字する。
And I connexion, because the plunger 72 a moves the base of the leaf spring 68 to the accompanied connexion the direction of the arrow A in FIG. 4, the thermal head 41 rotates Hetsudohoruda 64 in the direction of arrow B
Is rotated to the platen 23 side as shown by the phantom line in the figure to enable printing, so that the thermal head 41 is heated instantaneously for printing.

また、このキヤリツジ40のキヤリツジブロツク61の
上面には、ねじ74,74によつて回動アーム75,7
6を夫々矢示D,E方向(第3図)に回動自在に装着し
てある。
Further, on the upper surface of the carriage block 61 of the carriage 40, there are rotating arms 75, 7 by screws 74, 74.
6 are rotatably mounted in the directions D and E (FIG. 3) shown by the arrows.

これ等の回動アーム75,76の前端部には、ペーパガ
イド77,78を取付けると共に、固定軸80,81に
よつてリボンガイドローラ42,43を回動自在に軸支
し、また略中間部には固定軸82,83によつて補助ロ
ーラ84,85を回動自在に軸支してある。
Paper guides 77 and 78 are attached to the front ends of the rotating arms 75 and 76, and the ribbon guide rollers 42 and 43 are rotatably supported by fixed shafts 80 and 81, respectively, and also substantially in the middle. Auxiliary rollers 84 and 85 are rotatably supported by fixed shafts 82 and 83 in the portion.

また、これ等の回動アーム75,76の下面に略半球状
のクリツクストツパ75a,76aを形成する一方、キヤ
リツジブロツク61の上面に略半球状の凹部61a,6
bを穿設して、これ等のクリツクストツパ75a,76
aと凹部61a,61b及びストツパ86によつて回動ア
ーム75,76の回動範囲を規制する。
Further, while forming a substantially hemispherical Kuritsukusutotsupa 75 a, 76 a on the lower surface of the pivot arm 75, 76 which like Kiyari Tsuji recesses 61 substantially hemispherical on the upper surface of the blow stick 61 a, 6
1 b is drilled and these click stoppers 75 a , 76
The turning range of the turning arms 75 and 76 is restricted by a , the recesses 61 a and 61 b, and the stopper 86.

第5図は、この文書作成装置の主制御部を示すブロツク
図である。
FIG. 5 is a block diagram showing the main control section of the document creating apparatus.

この主制御部90のマイクロコンピユータ(以下「マイ
コン」と略称する)91は、CPU(中央処理装置),
ROM,RAM,I/O(入出力装置)等で構成され、
レイアウト出力制御手段を兼ねており、文書作成編集、
テキスト印刷、レイアウト印刷等のこの装置全体にかか
わる制御を司る。
A microcomputer (hereinafter referred to as “microcomputer”) 91 of the main control unit 90 includes a CPU (central processing unit),
It consists of ROM, RAM, I / O (input / output device),
It also serves as a layout output control means, and creates and edits documents,
It is responsible for control of the entire device such as text printing and layout printing.

辞書メモリ92には、かな漢字変換用の辞書を格納して
あり、またテキストメモリ93には、キーボード1から
入力されるテキストデータを格納し、フオーマツトメモ
リ94には、テキスト作成,出力時のフオーマツトを規
制するフオーマツトデータを格納する。
A dictionary for kana-kanji conversion is stored in the dictionary memory 92, text data input from the keyboard 1 is stored in the text memory 93, and a format memory 94 is used for formatting and outputting text. It stores the format data that regulates.

キヤラクタジエネレータ(CG)95には、LCD2に
グラフイツク・キヤラクタを表示するための文字パター
ンデータを格納してあり、表示データに応じてこのCG
95をアドレツシングして表示文字パターンデータを発
生させる。
Character pattern data for displaying a graphic character on the LCD 2 is stored in the character generator (CG) 95. According to the display data, this character pattern data is stored.
95 is addressed to generate display character pattern data.

キーボードインタフエース96は、キーボード1からの
入力データの転送制御やキーに付設される図示しないL
EDの点灯制御データの転送等を司り、またLCDコン
トローラ97は、LCD2の表示制御を司り、さらに、
プリンタインタフエース98は、プリンタ3との間での
各種データの転送制御を司る。
The keyboard interface 96 controls transfer of input data from the keyboard 1 and L (not shown) attached to a key.
The ED lighting control data is transferred, and the LCD controller 97 controls the display of the LCD 2.
The printer interface 98 controls transfer of various data with the printer 3.

なお、この主制御部90は、フロツピデイスク装置を制
御するためのフロツピデイスク(FDD)コントローラ
99及びカセツトテープレコーダを制御するためのカセ
ツトコントローラ100をも備えており、テキストをフ
ロツピデイスク装置やカセツトテープレコーダに格納で
きるようにしている。
The main controller 90 also includes a floppy disk (FDD) controller 99 for controlling the floppy disk device and a cassette controller 100 for controlling the cassette tape recorder, and stores text in the floppy disk device or the cassette tape recorder. I am able to do it.

第6図は、プリンタ3の制御部を示すブロツク図であ
る。
FIG. 6 is a block diagram showing the control unit of the printer 3.

この制御部110のマスタマイコン111は、主に印字
制御等のこのプリンタ全体の制御を司るレイアウト出力
制御手段を兼ねた回路であり、スレーブマイコン112
は、主にモータ,ソレノイド類の制御を司る。
The master microcomputer 111 of the control unit 110 is a circuit that also serves as a layout output control unit that mainly controls the entire printer such as print control, and the slave microcomputer 112.
Mainly controls motors and solenoids.

プログラマブル・ペリフエラル・インタフエース(以下
「I/O」と称す)113は、プリンタインタフエース
98との間でのデータ転送を司り、またI/O114
は、サーマルヘツド41に対するデータ転送を司る。
A programmable peripheral interface (hereinafter referred to as “I / O”) 113 controls data transfer to and from the printer interface 98, and I / O 114.
Controls data transfer to the thermal head 41.

テキストROM115は、テキスト印刷に使用する文字
パターンを格納したテキストキヤラクタジエネレータ
(CG)と、文字間隔を格納したテキスト文字間メモリ
と、行間隔を格納したテキスト行間メモリとを構成す
る。
The text ROM 115 constitutes a text character generator (CG) that stores a character pattern used for text printing, a text character memory that stores a character spacing, and a text line memory that stores a line spacing.

レイアウトROM116は、レイアウト印刷に使用する
パターンを格納したレイアウトCGと、文字間隔を格納
したレイアウト文字間メモリと、行間隔を格納したレイ
アウト行間メモリとを構成している。
The layout ROM 116 includes a layout CG that stores patterns used for layout printing, a layout character space memory that stores character spacing, and a layout space memory that stores line spacing.

なお、レイアウト印刷モードには、テキストのレイアウ
トを文字の大きさ(半角,全角,倍角)に応じたパター
ンであるいは漢字,平仮名等でパターンの大きさを変え
て印刷するレイアウトフルモードと、すべての文字を点
又は線で印刷するレイアウトラフモードとがあり、レイ
アウトROM116には、各モードに必要なパターンデ
ータ,文字間隔,行間隔を格納してある。
The layout print mode includes a layout full mode in which a text layout is printed in a pattern according to the character size (half-width, full-width, double-width) or by changing the pattern size with kanji, hiragana, etc. There is a layout rough mode in which characters are printed by dots or lines, and the layout ROM 116 stores pattern data, character spacing, and line spacing required for each mode.

RAM117A,117B,117Cは、1ライン分の
印字パターンデータを格納する1ラインバツフアを構成
する。
The RAMs 117A, 117B and 117C form a 1-line buffer that stores print pattern data for 1 line.

各ドライブ回路121〜126は、各部のドライブを司
る。
The drive circuits 121 to 126 control the drive of each unit.

そして、マスタマイコン111は、第5図の主制御部9
0との間でプリンタインタフエース98及びI/O11
3を介してデータの送受をし、主制御部90からの印字
データ,キヤリツジ移動量データ(スペースデータ),
キヤリツジリターンデータ,ラインフイードデータ,フ
オーマツトデータ,レイアウトモード指定データ等の各
種のデータを入力し、またリボンエンドセンサ59から
のリボンエンド検出情報を入力する。
Then, the master microcomputer 111 is connected to the main control unit 9 of FIG.
0 to printer interface 98 and I / O 11
Data is sent and received via the control unit 3, print data from the main control unit 90, carriage movement amount data (space data),
Various data such as carriage return data, line feed data, format data and layout mode designation data are input, and ribbon end detection information from the ribbon end sensor 59 is input.

そして、このマスタマイコン111は、これ等の入力デ
ータを内部ROMに格納したプログラムに基づいて処理
し、この処理結果に応じて印字速度情報やキヤリツジ移
動,改行等の制御をするために必要なデータをスレーブ
マイコン112に転送する。
Then, the master microcomputer 111 processes these input data based on a program stored in the internal ROM, and data necessary for controlling printing speed information, carriage movement, line feed, etc. according to the processing result. To the slave microcomputer 112.

また、このマスタマイコン111は、主制御部90から
の印字文字データをテキスト印刷モードのときにはテキ
ストROM115によつてテキスト印刷用の文字パター
ンデータに変換し、またレイアウト印刷モードのときに
はレイアウトROM116によつてパターンデータに変
換して、これ等のパターンデータに応じてI/O114
及びドライブ回路126を介してサーマルヘツド41を
制御して必要な文字あるいはレイアウトパターンを印字
する制御をする。
Further, the master microcomputer 111 converts the print character data from the main control unit 90 into character pattern data for text printing by the text ROM 115 in the text print mode, and by the layout ROM 116 in the layout print mode. It is converted into pattern data and the I / O 114 is converted according to these pattern data.
Also, the thermal head 41 is controlled via the drive circuit 126 to print a required character or layout pattern.

さらに、このマスタマイコン111は、リボンエンドセ
ンサ59がリボンエンドを検出したときに、ドライブ回
路125を介して第1図では図示を省略したリボンエン
ド表示器131を点灯制御する。
Further, when the ribbon end sensor 59 detects the ribbon end, the master microcomputer 111 controls the lighting of the ribbon end indicator 131 (not shown in FIG. 1) via the drive circuit 125.

一方、スレーブマイコン112は、マスタマイコン11
1からのデータ及び図示しないレフトマージンセンサか
らの検出信号に基づいて、印字のために、ドライブ回路
121を介してスペースモータ46を駆動制御して、キ
ヤリツジ40(第2図)を移動制御する。
On the other hand, the slave microcomputer 112 is the master microcomputer 11
Based on the data from 1 and a detection signal from a left margin sensor (not shown), the space motor 46 is driven and controlled via the drive circuit 121 for printing, and the carriage 40 (FIG. 2) is controlled to move.

また、このスレーブマイコン112は、改行,フオーム
フイード等のために、ドライブ回路122を介してライ
ンフイードモータ24を駆動制御して、プラテン23を
回動する。
Further, the slave microcomputer 112 drives and controls the line feed motor 24 via the drive circuit 122 to rotate the platen 23 for line feed, form feed, and the like.

さらに、このスレーブマイコン112は、リボンカセツ
ト51のリボン53を巻取るために、ドライブ回路12
3を介してリボンフイードモード55を駆動制御して、
駆動軸57を回動するリボン53を送る。
Further, the slave microcomputer 112 uses the drive circuit 12 to wind the ribbon 53 of the ribbon cassette 51.
Drive control of the ribbon feed mode 55 via 3,
The ribbon 53 that rotates the drive shaft 57 is fed.

さらにまた、このスレーブマイコン112は、印字のた
めに、ドライブ回路124を介してヘツドアツプ/ダウ
ンソレノイド72(第4図)を駆動制御して、サーマル
ヘツド41を印字可能位置と退避位置とに移動する。
Furthermore, the slave microcomputer 112 drives and controls the head-up / down solenoid 72 (FIG. 4) via the drive circuit 124 to move the thermal head 41 between the printable position and the retreat position for printing. .

第7図は、このプリンタ制御部の要部を機能的に示すブ
ロツク図である。
FIG. 7 is a block diagram functionally showing the main part of the printer control section.

印刷データ生成部111Aは、レイアウトモードデータ
の入力の有無に応じて、文字コードデータをテキストR
OM115で構成されるテキストCG115A又はレイ
アウトROM116で構成されるレイアウトCG116
Aを使用してパターンデータに変換して印刷位置制御部
111Bに転送する。
The print data generation unit 111A converts the character code data into the text R according to whether or not the layout mode data is input.
A text CG 115A composed of the OM 115 or a layout CG 116 composed of a layout ROM 116.
It is converted to pattern data using A and transferred to the print position control unit 111B.

印刷位置制御部111Bは、レイアウトモードデータの
入力の有無に応じて、印刷データ生成部111Aからの
パターンデータと、行フオーマツトデータと、テキスト
文字間メモリ115Bに格納したテキスト文字間隔デー
タ又はレイアウト文字間メモリ116Bに格納したレイ
アウト文字間隔データとに基づいて、RAM117A,
117B,117Cで構成される1ラインバツフア11
7にパターンデータをセツトする。
The print position control unit 111B determines the pattern data from the print data generation unit 111A, the line format data, and the text character spacing data or the layout character stored in the text character memory 115B according to whether or not layout mode data is input. Based on the layout character spacing data stored in the inter-memory 116B, the RAM 117A,
1-line buffer 11 composed of 117B and 117C
Set pattern data to 7.

行送り制御部111Cは、レイアウトモードデータ,頁
フオーマツトデータ,制御コードデータと、テキスト行
間メモリ115Cに格納したテキスト行間隔データ又は
レイアウト行間メモリ116Cに格納したレイアウト行
間隔データに基づいて行送りを制御すると共に、1ライ
ンバツフア117へのデータの格納を制御する。
The line feed control unit 111C performs line feed based on the layout mode data, page format data, control code data, and the text line spacing data stored in the text line spacing memory 115C or the layout line spacing data stored in the layout line spacing memory 116C. At the same time, the storage of data in the 1-line buffer 117 is controlled.

レイアウト行送り制御部111Dは、レイアウトモード
データが入力されているときには、制御コードデータに
基づいて行送り制御部111Cを制御する。
The layout line feed control unit 111D controls the line feed control unit 111C based on the control code data when the layout mode data is input.

次に、このように構成したこの実施例の作用について第
8図以降をも参照して説明する。
Next, the operation of this embodiment thus configured will be described with reference to FIG. 8 and subsequent figures.

まず、主制御部90のマイコン91によるこの文書作成
装置の制御処理について第8図を参照して説明する。
First, the control process of the document creating apparatus by the microcomputer 91 of the main control unit 90 will be described with reference to FIG.

主制御部90のマイコン91は、電源が投入されると、
LCD2に作業メニユーを、例えば1.文書作成 2.
文書更新 3.文書印刷 4.レイアウト印刷というよ
うに表示して、オペレータのキー操作による作業の選択
を促して、キー操作で入力される選択データを受付ける
作業選択処理をする。
When the microcomputer 91 of the main control unit 90 is powered on,
A work menu is displayed on the LCD 2, for example, 1. Document preparation 2.
Document update 3. Document printing 4. Layout display is performed to prompt the operator to select a work by key operation, and work selection processing for accepting selection data input by key operation is performed.

このとき、オペレータは、例えば文書作成を選択すると
きには、テンキーの「1」を操作し、文書(テキスト)
印刷を選択するときには、テンキーの「3」を操作し、
レイアウト印刷を選択するときには、テンキーの「4」
を操作するというようにして、必要な作業を選択する。
つまり、このときにはテンキーの「4」がレイアウト出
力指示手段を構成している。
At this time, when selecting the document creation, for example, the operator operates the numeric keypad “1” to select the document (text).
To select printing, operate the numeric keypad "3",
Use the numeric keypad "4" to select layout printing.
Select the required work, etc.
That is, at this time, the ten key "4" constitutes the layout output instructing means.

そして、マイコン91は、例えば選択された作業が文書
作成(テキスト作成)であればテキスト作成編集処理を
実行し、テキスト印刷であればテキスト印刷処理を実行
し、レイアウト印刷であればレイアウト印刷処理をし、
それ以外であれば次の処理に移行する。
Then, the microcomputer 91 executes a text creation / editing process if the selected work is a document creation (text creation), a text printing process if it is text printing, and a layout printing process if it is layout printing. Then
Otherwise, the process moves to the next process.

次に、この第8図の文書(テキスト)作成編集処理につ
いて第9図及び第10図を参照して説明する。
Next, the document (text) creation / editing process of FIG. 8 will be described with reference to FIGS. 9 and 10.

このテキスト作成編集処理においては、まず、第9図に
示すように、テキストの頁のフオーマツト、例えば用紙
サイズ(B5,A4…),1行の文字数あるいは文字間
隔,1頁の行数あるいは行間隔、タブの有無、タブ有の
ときのタブ位置,レフトハンドマージン(左余白),ラ
イトハンドマージン(右余白),上余白,下余白等の頁
フオーマツト及び行フオーマツトを設定するテキストフ
オーマツト設定処理をして、設定されたテキストフオー
マツトをフオーマツトメモリ94に格納する。
In this text creation / editing process, first, as shown in FIG. 9, the format of the text page, for example, the paper size (B5, A4 ...), the number of characters or spacing between lines, the number of lines or spacing between pages, , Tab presence / absence, tab position when tab is present, left hand margin (left margin), right hand margin (right margin), top margin, bottom margin, etc. Page format and line format are set. Then, the set text format is stored in the format memory 94.

その後、レイアウト印刷を改頁毎に自動的に行なうレイ
アウト自動印刷モードの要否を選択するレイアウト自動
印刷モード選択処理をする。
After that, a layout automatic print mode selection process is performed to select whether or not a layout automatic print mode for automatically performing layout printing for each page break is selected.

このレイアウト自動印刷モード選択処理は、例えばLC
D2に、 レイアウト自動印刷モード 1.要 2.不要という表
示をして、キーボードのキー操作で入力される選択結果
をRAMに格納する。(例えばフラグを立てる)。な
お、レイアウト自動印刷モードを選択するための専用の
キーを設けてもよい。
This layout automatic print mode selection process is performed by, for example, LC
Layout automatic print mode 1. Essential 2. It is displayed as unnecessary and the selection result input by the key operation of the keyboard is stored in the RAM. (For example, set a flag). A dedicated key for selecting the layout automatic print mode may be provided.

そして、レイアウト自動印刷モードが選択された(レイ
アウト自動印刷要の)ときには、レイアウトのフオーマ
ツト、例えば用紙の向きを縦向き及び横向きのいずれに
するか等のフオーマツトを設定するレイアウトフオーマ
ツト設定処理をして、設定されたレイアウトフオーマツ
トをRAMに格納する。
When the layout automatic printing mode is selected (layout automatic printing is required), the layout format setting process is performed to set the format of the layout, for example, whether the orientation of the paper is portrait or landscape. Then, the set layout format is stored in the RAM.

なお、このレイアウトフオーマツト設定処理もLCD2
にメニユーを表示して、テンキーの操作結果を入力する
ことによつて、あるいは専用キーによつて行なう。
The layout format setting process is also performed by the LCD 2
The menu is displayed on the screen and the operation result of the ten-key pad is input, or the dedicated key is used.

また、レイアウトフオーマツトの設定処理は、例えばセ
ツトされる用紙の向きを自動的に検知して、この検知結
果に応じて自動的にフオーマツトを設定するようにした
ときには、省略することもできる。勿論併存してもよ
い。
Further, the layout format setting process can be omitted, for example, when the orientation of the sheet to be set is automatically detected and the format is automatically set according to the detection result. Of course you may coexist.

これに対して、レイアウト自動印刷モードが選択されな
いきには、テキストを1行作成する毎に印刷出力するテ
キスト1行印刷モードの要否を選択するテキスト1行印
刷モード選択処理をする。
On the other hand, when the layout automatic print mode is not selected, a text 1 line print mode selection process is performed to select whether or not the text 1 line print mode is printed out every time one line of text is created.

なお、このテキスト1行印刷モードの選択についてもメ
ニユー表示に対するテンキーの操作による選択,あるい
は専用のキーによる選択等によつて行なうことができ
る。
The selection of the one-line text printing mode can also be performed by operating the ten keys on the menu display or by using a dedicated key.

このようにして、テキスト作成の前処理が終了すると、
第10図に示すテキスト作成処理に移行する。
In this way, when the preprocessing of text creation is completed,
The process shifts to the text creating process shown in FIG.

ここでは、キー入力があると、まずそのデータがグラフ
イツク・キヤラクタデータ,改行データ,改頁データ,
挿入や削除等の編集データ(以下、これ等を「テキスト
データ」と称す)か否かを判別する。
Here, if there is a key input, the data will be the graphic / character data, line feed data, page break data,
It is determined whether or not the data is edit data such as insertion or deletion (hereinafter, these are referred to as “text data”).

そして、入力データがテキストデータであれば、そのテ
キストデータを辞書メモリ92によつてかな漢字変換し
てテキストメモリ93に格納し、あるいは挿入,削除等
に応じてテキストデータを入換える等のエデイテイング
(編集)処理をする。
If the input data is text data, the text data is converted into kana-kanji characters by the dictionary memory 92 and stored in the text memory 93, or the text data is replaced according to insertion, deletion, or the like. Edit) process.

このとき、テキストの2行分のデータはLCD2に表示
し、また図示しないがテキスト1行印刷モードが選択さ
れているときには1行分のテキストが作成される毎にプ
リンタ3で印刷させる等の処理も実行する。
At this time, data for two lines of text is displayed on the LCD 2, and although not shown, the printer 3 prints each time one line of text is created when the one-line text printing mode is selected. Also run.

その後、入力されたテキストデータが改頁データか及び
設定された頁フオーマツトにおける頁の最終行での改行
か否かをチエツクして、改頁か否かを判別する。
After that, it is checked whether the input text data is page break data and whether or not a line feed is at the last line of the page in the set page format, and it is determined whether or not the page breaks.

そして、改頁であれば、レイアウト自動印刷モードが選
択されているか否かを判別して、レイアウト自動印刷モ
ードが選択されていれば、作成が終了した頁のレイアウ
トを印刷するレイアウト自動印刷処理を実行する。
If the page is a page break, it is determined whether or not the layout automatic print mode is selected. If the layout automatic print mode is selected, the layout automatic print processing for printing the layout of the page for which the creation has been completed is executed. Run.

なお、これ等の処理は、テキスト1行印刷モードが選択
されているときにはジヤンプして実行しないようにする
こともできる。
It should be noted that these processes may be skipped by jumping when the one-line text printing mode is selected.

そして、レイアウト自動印刷モードが選択されていれば
その処理が終了した後、レイアウト自動印刷モードが選
択されていなければそのまま編集終了か否かを判別し
て、編集処理でなければキー入力を待つ処理に戻り、編
集処理であればこの文書作成編集処理を終了する。
Then, if the layout automatic print mode is selected, the process ends, and if the layout automatic print mode is not selected, it is determined whether or not the edit is finished as it is, and if it is not the edit process, the process waits for a key input. If it is the editing process, the document creating / editing process is terminated.

なお、レイアウト自動印刷処理は、文書作成編集処理と
並行処理で行なうようにすることもできる。
The layout automatic printing process may be performed in parallel with the document creation / editing process.

一方、キー入力データがテキストデータでなければ、そ
の入力データがテキストプリントキー12の操作による
テキスト印刷指示データか否かを判別して、テキスト印
刷指示データであればテキスト印刷処理を実行する。
On the other hand, if the key input data is not the text data, it is determined whether the input data is the text print instruction data by the operation of the text print key 12, and if it is the text print instruction data, the text print processing is executed.

また、入力データがテキスト印刷指示データでなけれ
ば、入力データがレイアウトプリントキー13の操作に
よるレイアウト印刷指示データか否かを判別して、レイ
アウト印刷指示データであればレイアウト印刷処理を
し、レイアウト印刷指示データでなければ次の処理に移
行する。つまり、レイアウトプリントキー13は、レイ
アウト出力指示手段を構成している。
If the input data is not the text print instruction data, it is determined whether or not the input data is the layout print instruction data by operating the layout print key 13, and if it is the layout print instruction data, the layout print processing is performed to perform the layout print. If it is not the instruction data, the process proceeds to the next process. That is, the layout print key 13 constitutes a layout output instruction means.

次に、第8図及び第10図のレイアウト印刷処理につい
て第11図及び第12図を参照して説明する。
Next, the layout printing process of FIGS. 8 and 10 will be described with reference to FIGS. 11 and 12.

まず第11図を参照して、マイコン91は、レイアウト
を印刷する頁数を設定する印刷範囲設定処理をして、設
定された印刷範囲をRAMに格納する。
First, referring to FIG. 11, the microcomputer 91 performs a print range setting process for setting the number of pages for printing the layout, and stores the set print range in the RAM.

この印刷範囲設定処理は、LCD2に、例えば 印刷範囲: 〜 頁 と表示して、テンキーで入力される頁数を取り込んでL
CD2に表示する。例えば5〜8頁が印刷範囲として指
定されたときには、LCD2の表示を、 印刷範囲: 5〜 8頁 にする。
In the print range setting process, the LCD 2 displays, for example, print range: to page, and the number of pages input with the ten keys is read and L
Display on CD2. For example, when pages 5 to 8 are designated as the print range, the display on the LCD 2 is changed to the print range: pages 5 to 8.

次に、レイアウト印刷の後か否かを判別して、レイアウ
ト印刷の後であれば、プリンタ3に所定量逆改行(バツ
クラインフイード)を指示する。
Then, it is determined whether or not the layout printing has been performed, and if the layout printing has been performed, the printer 3 is instructed to perform a reverse line feed (back line feed) by a predetermined amount.

これは、後述するようにレイアウト印刷が終了したとき
には、所定量改行(ラインフイード)するためである。
This is because, as will be described later, when the layout printing is completed, a predetermined amount of line feed (line feed) is performed.

そして、前述した第9図で説明したと同様に、レイアウ
トフオーマツト設定処理をして、設定されたレイアウト
フオーマツトをRAMに格納する。ここでも、用紙の自
動検知をするときには、この処理を省略することもでき
る。
Then, in the same manner as described with reference to FIG. 9 described above, the layout format setting process is performed, and the set layout format is stored in the RAM. Again, this process can be omitted when performing automatic paper detection.

その後、レイアウト印刷を前述したようにレイアウトを
文字の大きさに応じたパターンで印刷するフルモード
(以下これを「フルモードI」と称す)、漢字と平仮
名,片仮名とでパターンの大きさを変えて印刷するフル
モード(以下これを「フルモードII」と称す)、レイア
ウトを点で印刷するラフモード(以下これを「ラフモー
ドI」と称す),レイアウトを線で印刷するラフモード
(以下これを「ラフモードII」と称す)のいずれで行な
うかを選択する印刷モード選択処理をして、選択された
印刷モードをRAMに格納する。
After that, the layout printing is performed in the full mode (hereinafter referred to as "full mode I") in which the layout is printed in a pattern according to the character size as described above, and the pattern size is changed between kanji, hiragana, and katakana. Full mode (hereinafter referred to as "Full mode II") to print with a layout, rough mode to print the layout with dots (hereinafter referred to as "Rough mode I"), rough mode to print the layout with lines (hereinafter referred to as "Rough mode" The print mode selection process is performed to select which of the two is referred to as "II"), and the selected print mode is stored in the RAM.

この印刷モード選択処理は、LCD2に、まず例えば、 印刷モード:1.フルモード 2.ラフモードと表示し
て、テンキーによるメニユー選択の結果を取込む。
In the print mode selection process, the LCD 2 first displays, for example, the print mode: 1. Full mode 2. Display rough mode and capture the result of menu selection with the numeric keypad.

このとき、フルモードが選択されたときには、LCD2
に、 フルモード:1.フルモードI 2.フルモードIIと表
示して、テンキーによるメニユー選択の結果を取込む。
At this time, when the full mode is selected, the LCD 2
In full mode: 1. Full mode I 2. Display full mode II and capture the result of menu selection with the numeric keypad.

また、ラフモードが選択されたときにも同様の処理を行
なう。
The same process is performed when the rough mode is selected.

なお、印刷モードを選択する専用のキーを設けるように
してもよいことは云うまでもない。
Needless to say, a dedicated key for selecting the print mode may be provided.

このモード選択が終了した後、レイアウトに行数を印字
する行数印字の要否を選択する行数印字選択処理をし
て、行数印字の要否の選択結果をRAMに格納する。
After this mode selection is completed, a line number print selection process for selecting the necessity of line number printing for printing the number of lines in the layout is performed, and the selection result of the necessity of line number printing is stored in the RAM.

その後、レイアウトに頁数を印字する頁数印字の要否を
選択する頁数印字選択処理をして、頁数印字の要否の選
択結果をRAMに格納する。
After that, a page number print selection process for selecting the necessity of page number printing for printing the page number on the layout is performed, and the selection result of the page number printing necessity is stored in the RAM.

そして、次に、レイアウトにコメントを付けるか否か及
びコメントを付けるときにはそのコメントを受けるコメ
ント受付処理をして、コメントの有無及びコメント有の
ときにはそのコメントをRAMに格納する。
Then, next, a comment receiving process is performed to receive a comment whether or not to add a comment to the layout, and to store the comment in the RAM when there is a comment and when there is a comment.

このコメント受付処理は、前述したようにメニユー選択
によつてコメントの有無を選択し、コメント有のときに
はグラフイツク・キヤラクタキーの操作によつて入力さ
れるコメントを受付ける。
In the comment receiving process, as described above, the presence or absence of a comment is selected by the menu selection, and when the comment is present, the comment input by the operation of the graphic / character key is received.

このようにして、レイアウト印刷の前処理が終了したと
きには、第12図に示すレイアウト印刷制御処理に移行
する。
In this way, when the pre-processing for the layout printing is completed, the processing shifts to the layout printing control processing shown in FIG.

まず、マイコン91は、テキストメモリ93から印刷頁
のテキストデータを読出して、プリンタ用データバツフ
アにデータをセツトする。
First, the microcomputer 91 reads the text data of the printed page from the text memory 93 and sets the data in the printer data buffer.

このとき、同一の用紙の複数頁、例えば3頁分のレイア
ウトを印刷し、印刷頁数が複数頁、例えば3頁であれ
ば、印刷範囲の第1頁(テキストの第1頁と必ずしも一
致しない)の第1行,同第2頁の第1行,同第3頁の第
1行,同第1頁の第2行……の順でデータをセツトす
る。
At this time, a plurality of pages of the same paper, for example, layouts for three pages are printed, and if the number of pages to be printed is a plurality of pages, for example, three pages, the first page of the printing range (which does not always match the first page of the text) ), The first line of the second page, the first line of the third page, the second line of the first page, and so on.

また、用紙上で頁を示す縁取り線をも印刷するために、
その縁取り線を示す印字データを付加する。
Also, in order to print the border line showing the page on the paper,
Print data indicating the border line is added.

そして、プリンタ用ブツフアへのデータのセツトが終了
した後、そのデータをプリンタ3に転送してレイアウト
を印刷させる。
Then, after the setting of the data to the printer buffer is completed, the data is transferred to the printer 3 to print the layout.

この処理は、1段分のレイアウト印刷が終了するまで繰
返し実行して、1段分のレイアウトをすべて印刷する。
This process is repeatedly executed until the layout printing for one stage is completed, and the layout for one stage is completely printed.

そして、1段分のレイアウト印刷が終了した後、頁数の
印字(頁付け)が必要か否かを判別して、頁付けが必要
であれば、印刷が終了した頁の頁数のデータ及び所定量
のラインフイードデータをプリンタ3に転送して頁数を
印字させる。
Then, after the layout printing for one stage is completed, it is determined whether or not it is necessary to print the page number (pagination). A predetermined amount of line feed data is transferred to the printer 3 and the number of pages is printed.

その後、コメントの有無を判別して、コメント有であれ
ば、印刷が終了した頁のコメントのデータをプリンタ3
に転送してコメントを印字させる。
After that, the presence / absence of a comment is determined, and if the comment is present, the data of the comment of the page for which printing has been completed is printed by the printer 3
Transfer to and print the comment.

そして、印刷範囲として指定されたすべての頁のレイア
ウトの印刷が終了した(全レイアウト終了)か否かを判
別して、全レイアウト終了でなければ、印刷していない
頁のレイアウトを印刷するためにプリンタ用バツフアに
データをセツトする処理に戻り、上述した処理を繰返し
実行する。
Then, it is determined whether or not the printing of the layouts of all the pages specified as the print range is completed (all layouts are completed). The process returns to the process of setting data in the printer buffer, and the above process is repeated.

このようにして、全レイアウトの印刷が終了したときに
は、所定量改行させるラインフイードデータをプリンタ
に転送して所定量改行させる(用紙を所定量送る)。
In this way, when printing of all layouts is completed, the line feed data for line feed of a predetermined amount is transferred to the printer and line feed of a predetermined amount is performed (paper is fed by a predetermined amount).

これは、レイアウト(頁数,コメントを含む)の印刷が
終了した状態では、キヤリツジに邪魔されてレイアウト
を確認できないので、用紙を数行分進めてレイアウトの
確認を容易にするために行なう。このため、レイアウト
印刷が一旦終了した後更にレイアウト印刷を行なうとき
には、前述した第11図に示す逆改行を行なつて、進め
た行数分だけ用紙を戻してレイアウト印刷を行なう。
This is done in order to facilitate the confirmation of the layout by advancing the paper several lines because the layout cannot be confirmed because the carriage interferes with the layout (including the number of pages and comments) being printed. Therefore, when the layout printing is once finished and further layout printing is performed, the reverse line feed shown in FIG. 11 is performed, and the paper is returned by the advanced number of lines to perform the layout printing.

なお、この場合、逆改行を行なわなくてもよいが、逆改
行を行なうことによつて印刷可能な領域が広くなり、同
一用紙にレイアウトを印刷できる頁数が多くなる。
In this case, the reverse line feed does not have to be performed, but by performing the reverse line feed, the printable area becomes wider, and the number of pages in which the layout can be printed on the same sheet increases.

その後、キー入力を待つて、キー入力があると、その入
力データがレイアウト印刷を指示するデータ(レイアウ
ト印刷要求)か否かを判別して、レイアウト印刷要求で
あれば、第11図に示す前述した印刷範囲設定処理に戻
る。
After that, waiting for key input, if there is a key input, it is judged whether or not the input data is data for instructing layout printing (layout printing request). The process returns to the print range setting process.

これに対して、レイアウト印刷要求でなければ、編集終
了あるいはテキスト印刷のいずれかであるか否かを判別
して、編集終了あるいはテキスト印刷であれば、用紙を
排紙する。
On the other hand, if it is not the layout print request, it is judged whether the editing is completed or the text printing is done. If the editing is completed or the text printing is done, the paper is ejected.

なお、この判別処理及び排紙処理は、第10図の編集処
理の後及びテキスト印刷処理の開始時にも行なう。
The determination process and the paper discharge process are also performed after the editing process of FIG. 10 and at the start of the text printing process.

次に、プリンタ3の制御部のマスタマイコン111が実
行する処理について第13図を参照して説明する。
Next, the processing executed by the master microcomputer 111 of the control unit of the printer 3 will be described with reference to FIG.

プリンタ制御部110のマスタマイコン111は、電源
が投入されると、イニシヤルリセツト処理をした後、キ
ヤリツジ40をホーム位置に位置決めする等のリストア
処理を実行する。
When the power is turned on, the master microcomputer 111 of the printer controller 110 performs an initial reset process and then a restore process such as positioning the carriage 40 at the home position.

そして、主制御部から入力されるデータがFIFOに有
ると、そのデータを読出してレイアウト印刷モードを指
示するレイアウトモードデータか否かを判別する。
When the data input from the main control unit is in the FIFO, the data is read and it is determined whether or not the layout mode data is an instruction for the layout print mode.

このとき、入力データがレイアウトモードデータであれ
ば、レイアウトモード処理に移行し、レイアウトモード
データでなければ、テキスト(レイアウト印刷の頁数及
びコメントを含む)の印刷を指示するテキストモードデ
ータか否かを判別する。
At this time, if the input data is the layout mode data, the process proceeds to the layout mode processing. If the input data is not the layout mode data, it is determined whether the text mode data is for instructing the printing of the text (including the number of pages for layout printing and comments). To determine.

このとき、入力データがテキストモードデータであれば
テキストモード処理に移行し、テキストモードデータで
なければ、スペース,キヤリツジリターン,バツクスペ
ース,ラインフイード,バツクラインフイード等のモー
シヨンを指示するモーシヨンデータか否かを判別して、
モーシヨンデータであれば、そのデータに応じた動作を
するモーシヨン処理に移行する。
At this time, if the input data is the text mode data, the mode is shifted to the text mode processing. If the input data is not the text mode data, the motion data for instructing the motion such as space, carriage return, back space, line feed, back line feed, etc. Determine whether or not,
If it is motion data, the process shifts to motion processing that operates according to the data.

次に、この第13図におけるレイアウトモード処理につ
いて第14図を参照して説明する。
Next, the layout mode process in FIG. 13 will be described with reference to FIG.

このレイアウトモード処理では、入力データがいずれの
レイアウトモードを指示するデータかを判別する。
In this layout mode processing, it is determined which layout mode the input data indicates.

そして、ラフモードIを指示するデータであればレイア
ウトラフモードI処理に移行し、ラフモードIIを指示す
るデータであればレイアウトラフモードII処理に移行す
る。
Then, if the data indicates the rough mode I, the process proceeds to the layout rough mode I process, and if the data indicates the rough mode II, the process proceeds to the layout rough mode II process.

また、フルモードIを指示するデータであればレイアウ
トフルモードI処理に移行し、フルモードIIを指示する
データであればレイアウトフルモードII処理に移行す
る。
If the data indicates the full mode I, the process goes to the layout full mode I process. If the data indicates the full mode II, the process goes to the layout full mode II process.

次に、この第14図におけるレイアウトフルモードI処
理について第15図を参照して説明する。
Next, the layout full mode I process in FIG. 14 will be described with reference to FIG.

このレイアウトフルモードI処理においては、まず入力
データの有無を判別して、入力データがあれば、そのデ
ータが頁の行数等の頁フオーマツトあるいは1行の文字
数やタブ位置等の行フオーマツトを示すフオーマツトデ
ータか否かを判別して、フオーマツトデータであれば、
そのフオーマツトデータを内部RAMに格納する。
In this layout full mode I process, the presence / absence of input data is first discriminated, and if there is input data, the data indicates the page format such as the number of lines on a page or the line format such as the number of characters in one line or the tab position. Whether or not it is the format data, if it is the format data,
The format data is stored in the internal RAM.

なお、第7図の回路では、行フオーマツトデータは印刷
位置制御部111Bに保持され、頁フオーマツトデータ
は行送り制御部111C及びレイアウト行送り制御部1
11Dに保持される。
In the circuit of FIG. 7, the line format data is held in the print position control unit 111B, and the page format data is stored in the line feed control unit 111C and the layout line feed control unit 1.
It is held at 11D.

そして、このレイアウトフルモードI処理を終了するか
否かをチエツクして、モード終了であればメインルーチ
ンにリターンし、モード終了でなければ、入力データの
チエツク処理に戻る。
Then, it is checked whether or not the layout full mode I process is finished. If the mode is finished, the process returns to the main routine. If the mode is not finished, the process goes back to the check process of the input data.

これに対して、入力データがフオーマツトデータでなけ
れば、文字コードデータか否かを判別して、文字コード
データであれば、レイアウトROM116で構成される
ラフモードIのレイアウトパターンを格納したレイアウ
トラフモードCGIをアクセスして、文字コードデータ
をレイアウトパターンデータに変換する。
On the other hand, if the input data is not format data, it is determined whether or not it is character code data, and if it is character code data, a layout rough mode in which a layout pattern of rough mode I configured by the layout ROM 116 is stored. The CGI is accessed to convert the character code data into layout pattern data.

その後、レイアウトROMで構成されるラフモードIの
文字間隔を格納したレイアウトラフモードI文字間エリ
アから文字間隔データを読出す。
After that, the character spacing data is read from the layout rough mode I intercharacter area which stores the rough mode I character spacing configured by the layout ROM.

そして、レイアウトパターンデータに文字間隔データを
付加してRAM117A〜117Cで構成される1ライ
ンバツフアに格納する。
Then, the character spacing data is added to the layout pattern data and stored in the one-line buffer composed of the RAMs 117A to 117C.

その後、1ラインバツフアに1行分のデータ、すなわち
同一段に印刷するテキストの各頁の第1行のレイアウト
に対応するデータを格納したか否かを判別する。
Thereafter, it is determined whether or not one line of data has been stored in one line buffer, that is, data corresponding to the layout of the first line of each page of the text to be printed on the same level.

このとき、1行分のデータの格納が終了していなけれ
ば、モード終了か否かを判別処理をして入力データのチ
エツク処理に戻る。
At this time, if the storage of the data for one row is not completed, it is determined whether the mode is completed or not, and the process returns to the check process of the input data.

また、1ラインバツフアへのテキストの1行分のデータ
の格納が終了したときには、1ラインバツフアにテキス
トのMライン分のデータの格納が終了したか否かを判別
する。
When the storage of the data for one line of the text in the one-line buffer is completed, it is determined whether the storage of the data for the M lines of the text in the one-line buffer is completed.

つまり、レイアウト印刷においては、サーマルヘツド4
1による1回の印字によつてテキストの数行分(M行)
を印刷することができるので、テキストのM行分のレイ
アウトデータを格納するまで印字を開始しない。
In other words, in layout printing, the thermal head 4
Several lines of text (M lines) by printing once by 1
Can be printed, so printing is not started until the layout data for M lines of text is stored.

そして、1ラインバフアにM行分のデータを格納したと
きには、1ライン(テキストのM行分)のレイアウトを
印字する印字処理をして、その後モード終了判別処理を
し、モード終了でなければ入力データのチエツク処理に
戻る。
When M lines of data are stored in the 1 line buffer, a print process for printing a layout of 1 line (M lines of text) is performed, and then a mode end determination process is performed. Return to check processing.

これに対して、入力データが文字コードデータでなけれ
ば、ラインフイード(LF)コードデータか否かを判別
して、LFコードデータであればラインフイードカウン
タ(ソフトカウンタ)CNをインクリメント(+1)す
る。
On the other hand, if the input data is not character code data, it is determined whether it is line feed (LF) code data, and if it is LF code data, the line feed counter (soft counter) CN is incremented (+1). .

そして、そのラインフイードカウンタCNの値が前述し
たM行になつた(CN=M)か否かを判別する。
Then, it is determined whether or not the value of the line feed counter CN has reached the above-mentioned M rows (CN = M).

このとき、CN=Mでなければ、ラインフイード処理を
行なうことなく、モード終了のチエツク処理に移行し、
CN=Mになつたときには、ラインフイード処理を行な
つた後、モード終了のチエツク処理に移行する。
At this time, if CN = M is not satisfied, the line feed process is not performed, and the mode end check process is performed.
When CN = M, the line feed process is performed and then the mode end check process is performed.

次に、このレイアウトフルモードI処理について、第7
図の各部による動作として具体的に説明する。
Next, regarding the layout full mode I processing,
The operation of each unit in the figure will be specifically described.

まず、テキストCG115Aには、テキストモードにお
ける各文字の文字パターン(例えば24×24ドツトで
構成)を格納してある。
First, the text CG 115A stores the character pattern of each character in the text mode (for example, composed of 24 × 24 dots).

これに対して、レイアウトCG116Aには、各レイア
ウトモードにおけるレイアウトパターンを格納してあ
る。
On the other hand, the layout CG 116A stores the layout pattern in each layout mode.

そのレイアウトモードの内のフルモードIにおけるテキ
ストの1文字に相当する1レイアウトパターンは、例え
ば第16図に示すように文字の大きさに応じて設定して
いる。
One layout pattern corresponding to one character of the text in the full mode I of the layout modes is set according to the size of the character as shown in FIG. 16, for example.

つまり、全角文字は同図(ロ)に示すように3×3ドツ
ト、半角文字は同図(イ)に示すように1×3ドツト、
倍角文字は同図(ハ)に示すように6×3ドツトのパタ
ーンで印刷する。
That is, full-width characters are 3 × 3 dots as shown in FIG. 7B, half-width characters are 1 × 3 dots as shown in FIG.
Double-width characters are printed in a 6 × 3 dot pattern as shown in FIG.

また、カーソルについては、第17図に示すように白黒
反転で、つまり5×5ドツトパターンの内の周囲1ドツ
トを印刷する。なお、カーソルは、例えばアンダライン
で印刷するようにすることもできる。
The cursor is printed in black and white as shown in FIG. 17, that is, one dot around the 5 × 5 dot pattern is printed. The cursor may be printed with an underline, for example.

なお、レイアウトパターンとしては、頁の枠を印刷する
ための横線,縦線パターン、また行数を印字するための
例えば「1」,「5」,「10」,「15」,……(5
行おきに行数を印字する場合)の数字パターンがある。
この数字パターンの大きさは、例えば9×9ドツトであ
る。
As the layout pattern, horizontal and vertical line patterns for printing a frame of a page, and for example, “1”, “5”, “10”, “15”, ... (5) for printing the number of lines.
When printing the number of lines every other line) there is a number pattern.
The size of this numerical pattern is, for example, 9 × 9 dots.

次に、テキストが「ABC」(各文字とも全角文字)で
ある場合を例にして印刷動作を説明する。
Next, the printing operation will be described by taking the case where the text is “ABC” (each character is a double-byte character) as an example.

まず、図示を省略したテキストモード処理においては、
印刷データ生成部111Aは、文字コードデータ「A」
が入力されると、テキストCG115Aによつてこの文
字「A」の文字パターン(24×24ドツト)を発生さ
せ、この文字パターンデータを印刷位置制御部111B
に転送する。
First, in the text mode processing not shown,
The print data generation unit 111A uses the character code data “A”
Is input, the character pattern (24 × 24 dots) of this character “A” is generated by the text CG 115A, and this character pattern data is sent to the printing position control unit 111B.
Transfer to.

印刷位置制御部111Bは、この文字パターンデータに
行フオーマツトデータに応じたテキスト文字間隔(aド
ツト)のデータテキスト文字間メモリ115Bから読出
して、文字パターンデータに文字間隔データを付加し
て、1ラインバツフア117に格納する。
The printing position control unit 111B reads this character pattern data from the data text character memory 115B having a text character interval (a dot) corresponding to the line format data, adds the character interval data to the character pattern data, and It is stored in the line buffer 117.

同様にして、文字コードデータ「B」,「C」について
も文字パターンデータに文字間隔データを付加して1ラ
インバツフア117に格納する。
Similarly, with respect to the character code data “B” and “C”, the character interval data is added to the character pattern data and stored in the 1-line buffer 117.

それによつて、1ラインバツフア117には、例えば第
18図に示すように文字「A」,「B」,「C」のパタ
ーンデータが文字間隔aを付与されて格納される。
As a result, the pattern data of the characters "A", "B", "C" are stored in the one-line buffer 117 with the character spacing "a" as shown in FIG.

そして、1ラインバツフア117に1行のパターンデー
タの格納が終了すると、行送り制御部111Cが1ライ
ンバツフア117に格納されたデータを出力させ、その
1行のデータを印字する。
When the storage of one line of pattern data in the one line buffer 117 is completed, the line feed control unit 111C outputs the data stored in the one line buffer 117 and prints the one line of data.

その後、行送り制御部111Cは、頁フオーマツトで指
定される行間隔(bドツト)分だけの改行(ラインフイ
ード)を指示するLFデータを出力して、bドツト分改
行させる。
After that, the line feed control unit 111C outputs LF data instructing line feed (line feed) by the line interval (b dots) specified by the page format, and makes a line feed of b dots.

そして、次の行についても同様の処理を行なつて1行を
印字する。
Then, the same process is performed for the next line to print one line.

それによつて、このテキストモードにおいては、第19
図に示すように、各行がbドツト分だけ空けられて印字
される。
Therefore, in this text mode,
As shown in the figure, each line is printed with a space of b dots.

これに対して、レイアウトフルモードI処理において
は、印刷データ生成部111Aは、文字コードデータ
「A」が入力されると、この文字「A」は全角であるの
でレイアウトCG116Aによつて第16図(ロ)に示
すレイアウトパターンに変換して印刷位置制御部111
Bに転送する。
On the other hand, in the layout full mode I process, when the character code data “A” is input, the print data generation unit 111A indicates that the character “A” is a full-width character, so that the layout CG 116A indicates that the character is “A”. The print position controller 111 converts the layout pattern shown in FIG.
Transfer to B.

この印刷位置制御部111Bは、行フオーマツトに応じ
てレイアウト文字間メモリ116Bからレイアウト文字
間隔(a′=1ドツトとする)を読出して、レイアウト
パターンの第1ドツト行に文字間隔データを付加して1
ランイバツフア117に格納する。
The print position control unit 111B reads the layout character interval (a '= 1 dot) from the layout character memory 116B according to the line format and adds the character interval data to the first dot line of the layout pattern. 1
The data is stored in the run buffer 117.

同様に、文字「B」,「C」についてもそのレイアウト
パターンの第1ドツト行にレイアウト文字間隔を付加し
て1ラインバツフア117に格納する。
Similarly, for the characters "B" and "C", the layout character interval is added to the first dot line of the layout pattern and the result is stored in the 1-line buffer 117.

それによつて、1ラインバツフア117には、第20図
に示すように文字「A」,「B」,「C」のレイアウト
パターンの第1ドツト行に文字間隔として1ドツトが付
加されて格納される。なお、文字間隔は図中では説明上
「○」で示しているが、データとしてはスペースであ
り、この「○」が印字されるわけではない。
As a result, the 1-line buffer 117 is stored with 1 dot added as a character interval to the first dot line of the layout pattern of the characters "A", "B", "C" as shown in FIG. . Although the character spacing is indicated by “◯” in the drawing for the sake of explanation, the data is a space, and this “◯” is not printed.

このようにして、第1ドツト行のデータの格納が終了す
ると、行送り制御部111Cがレイアウト行送り制御部
111Dで制御されて、1ラインバツフア117の行ア
ドレスポインタをインクリメント(+1)する。
In this way, when the storage of the data of the first dot line is completed, the line feed control unit 111C is controlled by the layout line feed control unit 111D to increment (+1) the line address pointer of the 1-line buffer 117.

そこで、印刷位置制御部111Bは、レイアウトパター
ンの第2ドツト行のデータを同様にして1ラインバツフ
ア117に格納し、更に同様の処理が行なわれて第3ド
ツト行のデータが1ラインバツフア117に格納され
る。
Therefore, the print position control unit 111B stores the data of the second dot line of the layout pattern in the 1-line buffer 117 in the same manner, and further performs the same process to store the data of the third dot line in the 1-line buffer 117. It

そして、レイアウトパターンの第3ドツト行のデータの
格納が終了したときには、行送り制御部111Cが1ラ
インバツフア117の行アドレスポインタを「+2」す
る。
When the storage of the data of the third dot line of the layout pattern is completed, the line feed control unit 111C sets the line address pointer of the 1-line buffer 117 to "+2".

それによつて、テキストの第1行に対応するレイアウト
パターンの次のドツト行に、第21図に示すように行間
隔(b′=1ドツトとする)のデータが格納される。な
お、この行間隔についても説明上「○」で示している。
As a result, in the next dot line of the layout pattern corresponding to the first line of the text, the data of the line interval (b '= 1 dot) is stored as shown in FIG. Note that this line spacing is also indicated by “◯” in the description.

それによつて、1ラインバツフアには、第21図に示す
ように、文字「A」,「B」,「C」のレイアウトパタ
ーン及び文字間隔,行間隔のデータが格納される。
Accordingly, as shown in FIG. 21, the layout pattern of the characters "A", "B", "C" and the data of the character spacing and the line spacing are stored in the one-line buffer.

このような処理を繰返し実行することによつて、24×
24ドツトであれば、レイアウトパターンの列方向を3
ドツト、行間隔を1ドツトとしているので、(24/
4)=6、すなわちテキストの6行分(前述したM行に
相当する)のデータを格納する。
By repeatedly executing such processing, 24 ×
If it is 24 dots, the layout pattern is set to 3 in the column direction.
Dot and line spacing are 1 dot, so (24 /
4) = 6, that is, data for 6 lines of text (corresponding to M lines described above) is stored.

そして、その後、この1ラインバツフア117にデータ
を印刷することによつて、テキストの6行分のレイアウ
トが印刷される。
Then, after that, the layout of six lines of text is printed by printing the data on the one-line buffer 117.

この後、行送り制御部111Cが1行分のラインフイー
ドを指示するLFデータを出力して、1行分改行させ、
第22図に示すように行間隔を空けることなく、テキス
トの次の6行分のレイアウトを同様の処理をして第M′
行まで印刷する。
After that, the line feed control unit 111C outputs the LF data instructing the line feed for one line, and the line feed for one line is performed.
As shown in FIG. 22, the layout of the next 6 lines of text is processed in the same manner without leaving line spacing, and the M'th
Print up to a line.

そして、テキストの1頁分(第22図ではM′×6行
分)のレイアウト印刷が終了したときには、レイアウト
印刷処理を終了して、必要であれば頁数やコメントをテ
キストモードで印刷する。
When the layout printing of one page of text (M '× 6 lines in FIG. 22) is finished, the layout printing process is finished, and if necessary, the number of pages and comments are printed in the text mode.

なお、レイアウトモードの他のモードの処理の詳細につ
いては、使用するレイアウトパターンを変更するだけで
あるので、その説明を省略する。
It should be noted that the details of the processing of the other modes of the layout mode will be omitted because only the layout pattern to be used is changed.

このようにして、各種のレイアウトモードでレイアウト
印刷を行なつた場合の例を第23図乃至第26図に示し
てある。
Examples of cases where layout printing is performed in various layout modes in this way are shown in FIGS. 23 to 26.

第23図の例は、用紙を縦向きに使用して、2列3段で
6頁分のレイアウトを用紙を示す枠線と共に印刷したも
のであり、各頁には頁数(P1〜P6)が付加されて印
刷されている。なお、レイアウトパターンの詳細な図示
は省略している(以下同様)。
In the example of FIG. 23, the paper is used in portrait orientation, and a layout of 6 pages in 2 rows and 3 stages is printed together with a frame line showing the paper, and the number of pages (P1 to P6) is included in each page. Is added and printed. The detailed illustration of the layout pattern is omitted (the same applies hereinafter).

このように、複数の頁のレイアウトを同一用紙に印刷す
ることによつてレイアウトの比較が容易になり、また、
用紙を示す枠線をも印刷することによつてレイアウトの
把握が一層容易になる。
In this way, the layouts can be easily compared by printing the layouts of a plurality of pages on the same sheet.
By printing the frame line indicating the paper, it becomes easier to understand the layout.

第24図の例は、用紙を横向きに使用して、3列2段で
6頁分のレイアウトを用紙を示す枠線と共に印刷したも
のであり、各頁には頁数(−1−〜−6−)が付加され
ている。
In the example of FIG. 24, a paper is used in a horizontal direction and a layout of 6 pages is printed in 3 rows and 2 stages together with a frame line indicating the paper, and the number of pages (-1 to 6-) is added.

第25図の例は、第24図の例に行数を付加したもの、
第26図は、第25図の例にコメント(目的,構成等)
を付加したものである。
The example of FIG. 25 is obtained by adding the number of lines to the example of FIG.
FIG. 26 is a comment on the example of FIG. 25 (purpose, structure, etc.)
Is added.

なお、1枚の用紙に印刷する頁数や配置等をこれ等の例
に限るものではないことは勿論である。
Needless to say, the number of pages to be printed on one sheet, the layout, and the like are not limited to these examples.

このように、この文書作成装置においては、文書(テキ
スト)レイアウトを印刷することができるので、レイア
ウトの把握が容易になり、またレイアウトの記録が残る
ので、レイアウトの比較も容易になる。
As described above, in this document creating apparatus, since the document (text) layout can be printed, the layout can be easily grasped, and the layout can be recorded, so that the layout can be easily compared.

そして、レイアウト専用の表示装置を必要としないの
で、コンパクト化が図れると共に、コストも低減する。
Since a display device dedicated to the layout is not required, the size can be reduced and the cost can be reduced.

また、上記実施例のように、同一用紙に複数頁のレイア
ウトを印刷することによつて、各頁のレイアウトの比較
が容易になる。
Further, by printing the layouts of a plurality of pages on the same sheet as in the above embodiment, the layouts of the pages can be easily compared.

なお、上記実施例においては、レイアウト印刷の機能と
して次のように機能を備えている。
In the above embodiment, the layout printing function is provided as follows.

レイアウト自動印刷機能:操作性が向上する。Layout automatic printing function: Operability is improved.

レイアウト印刷モード選択機能:所望のレイアウトパ
ターンで印刷でき、レイアウト把握の容易性が向上す
る。
Layout print mode selection function: A desired layout pattern can be printed to improve the ease of grasping the layout.

ラフモード機能:レイアウト印刷の印刷速度が早くなる
と共に、1枚の用紙に印刷可能な頁数が多くなる。
Rough mode function: The printing speed of layout printing becomes faster and the number of pages that can be printed on one sheet increases.

フルモード機能:テキストに近いレイアウトが得られ
る。
Full mode function: A layout similar to text can be obtained.

印刷範囲指定機能:レイアウト印刷の操作性が向上す
る。
Print range specification function: The operability of layout printing is improved.

頁数印刷機能,行数印刷機能,コメント印刷機能:レ
イアウト把握の容易性が向上する。
Page number printing function, line number printing function, comment printing function: The ease of grasping the layout is improved.

このような機能をすべて備える必要はないが、レイアウ
ト印刷モード選択機能によつて、複数の異なるレイアウ
トモードのいずれかを選択できるようにすることによ
り、目的に応じて各頁のレイアウトを速く把握したり、
作成した文書中の文字の種類や大きさまで判別できる詳
細なレイアウトを確認したりすることができ、レイアウ
ト印刷の便利性が一層向上する。
Although it is not necessary to have all of these functions, the layout print mode selection function allows you to select one of a plurality of different layout modes to quickly grasp the layout of each page according to your purpose. Or
It is possible to check the detailed layout that can identify even the type and size of the characters in the created document, and further improve the convenience of layout printing.

また、レイアウト印刷の機能はこれ等に限られるもので
もなく、例えばレイアウトの大きさを指定あるいは自動
測定できる機能を付加したり、制御文字を他のレイアウ
トパターンと種類を変えて印刷する機能を付加すること
もできる。
Also, the layout printing function is not limited to these. For example, a function to specify the size of the layout or to automatically measure it, or a function to print the control characters by changing the type from other layout patterns is added. You can also do it.

さらに、文書作成装置は、和文文書,英文文書等どのよ
うな文書を作成するものであつてもよい。
Further, the document creating device may create any document such as a Japanese document or an English document.

また、プリンタは、サーマル転写プリンタに限らず、例
えばサーマルプリンタ,インクジエツトプリンタ,ワイ
ヤドツトインパクトプリンタ等のドツトプリンタ,ある
いは活字型プリンタであつても使用できる。
Further, the printer is not limited to the thermal transfer printer, and may be a dot printer such as a thermal printer, an ink jet printer, a wire dot impact printer, or a type printer.

さらにまた、上記実施例では文書の頁の一部分のみ表示
可能な表示装置を備えた文書作成装置について述べた
が、1頁全体あるいはそれ以上の範囲を表示可能な表示
装置を備えた文書作成装置にも同様に実施することがで
きる。
Furthermore, in the above-described embodiment, the document creating apparatus provided with the display device capable of displaying only a part of the page of the document has been described, but the document creating device provided with the display device capable of displaying the whole one page or more is described. Can be similarly implemented.

また、文書作成装置としては、文書作成機能のみで編集
機能を有しないものであつてもよい。
Further, the document creation device may be one that has only the document creation function and not the editing function.

発明の効果 以上説明してきたように、この発明による文書作成装置
は、レイアウト印刷の結果を見ることによつて作成中あ
るいは作成した文書の頁毎のレイアウトを容易に把握す
ることができ、必要に応じてそのレイアウトモードを変
えることにより、大まかなレイアウトを速く把握した
り、多少時間を要しても文書中の文字の大きさや種類ま
で把握できるレイアウトを確認したりすることもでき
る。
EFFECTS OF THE INVENTION As described above, the document creating apparatus according to the present invention can easily grasp the layout of each page of a document being created or created by observing the result of the layout printing. By changing the layout mode accordingly, it is possible to quickly grasp a rough layout, or to confirm a layout that can grasp the size and type of characters in a document even if it takes some time.

また、レイアウトの記録が残るので各頁のレイアウトの
比較も容易になる。
In addition, since the layout records are kept, it is easy to compare the layouts of the pages.

しかも、レイアウト表示専用の表示装置を備える必要が
ないので文書作成装置のコンパクト化を図れる。
Moreover, since it is not necessary to provide a display device dedicated to the layout display, the document creation device can be made compact.

さらに、印刷スペースは充分確保できるので、同一の用
紙に複数頁のレイアウトを印刷させることにより、複数
頁のレイアウトを速く把握でき、それらを比較すること
も一層容易にできる。
Furthermore, since a sufficient printing space can be secured, it is possible to quickly grasp the layouts of a plurality of pages by printing the layouts of a plurality of pages on the same sheet, and it is easier to compare them.

また、その各頁のレイアウトに対応する付加情報を各レ
イアウトの近傍の所定位置にそれぞれ印刷するようにす
ることにより、複数頁のレイアウトの把握が一層容易に
なる。
Further, by printing the additional information corresponding to the layout of each page at a predetermined position near each layout, it becomes easier to understand the layout of a plurality of pages.

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

第1図は、この発明を実施した文書作成装置の一例を示
す外観斜視図、 第2図は、同じくそのプリンタの機構部を示す斜視図、 第3図は及び第4図は、同じくキヤリツジの詳細を示す
平面図及び側面図、 第5図は、この文書作成装置の制御部を示すブロツク
図、 第6図は、同じくそのプリンタ制御部を示すブロツク
図、 第7図は、同じくそのプリンタ制御部の要部を機能化し
て示すブロツク図、 第8図は、この文書作成装置の制御部が実行する処理の
概要を示すフロー図、 第9図及び第10図は、第8図のテキスト作成編集処理
を示すフロー図、 第11図及び第12図は、第8図及び第10図のレイア
ウト印刷処理を示すフロー図、 第13図は、プリンタ制御部が実行する処理の概要を示
すフロー図、 第14図は、第13図のレイアウトモード処理を示すフ
ロー図、 第15図は、第14図のレイアウトフルモードII処理を
示すフロー図、 第16図及び第17図は、レイアウトフルモードIで使
用するレイアウトパターンの一例を示すパターン図、 第18図及び第19図は、第13図のテキストモード処
理の説明に供する説明図、 第20図,第21図及び第22図は、第14図のレイア
ウトフルモードI処理の説明に供する説明図、 第23図乃至第26図は、この文書作成装置におけるレ
イアウト印刷の印刷例を示す説明図である。 1……キーボード 2……LCD 3……プリンタ 13……レイアウトプリントキー 91,111,112……マイクロコンピユータ
FIG. 1 is an external perspective view showing an example of a document creating apparatus embodying the present invention, FIG. 2 is a perspective view showing a mechanical section of the printer, and FIGS. 3 and 4 are also drawings of a carriage. FIG. 5 is a block diagram showing a control unit of the document creating apparatus, FIG. 6 is a block diagram showing a printer control unit thereof, and FIG. 7 is a printer control unit showing the same. FIG. 8 is a block diagram functionalizing the main parts of the document, FIG. 8 is a flow diagram showing an outline of processing executed by the control unit of the document creating apparatus, and FIGS. 9 and 10 are text creating of FIG. FIG. 11 and FIG. 12 are flow charts showing the layout printing processing of FIGS. 8 and 10, and FIG. 13 is a flow chart showing an outline of processing executed by the printer control unit. , FIG. 14 shows the layout of FIG. 15 is a flow chart showing the layout mode processing, FIG. 15 is a flow chart showing the layout full mode II processing of FIG. 14, and FIGS. 16 and 17 are pattern diagrams showing an example of a layout pattern used in the layout full mode I. 18 and 19 are explanatory diagrams for explaining the text mode processing of FIG. 13, and FIGS. 20, 21 and 22 are for explaining the layout full mode I processing of FIG. FIG. 23 and FIG. 23 to FIG. 26 are explanatory views showing a printing example of layout printing in this document creating apparatus. 1 ... Keyboard 2 ... LCD 3 ... Printer 13 ... Layout print key 91,111,112 ... Microcomputer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田所 照洋 東京都大田区馬込1丁目3番6号 株式会 社リコー内 (56)参考文献 特開 昭57−67986(JP,A) 特開 昭56−114992(JP,A) 特開 昭59−186028(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (72) Teruhiro Tadokoro 1-3-6 Mamagome, Ota-ku, Tokyo Inside Ricoh Co., Ltd. (56) References JP-A-57-67986 (JP, A) JP-A-SHO 56-114992 (JP, A) JP-A-59-186028 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文書を作成するための文書作成手段と、該
手段によつて作成中の文書の頁の一部分を表示する表示
装置と、作成された文書を印刷する印刷装置とを備えた
文書作成装置において、 文書のレイアウト出力を指示するレイアウト出力指示手
段と、 複数の異なるレイアウトモードのいずれかを選択するレ
イアウトモード選択手段と、 前記レイアウト出力指示手段の指示により、前記レイア
ウトモード選択手段によつて選択されたレイアウトモー
ドで、前記文書作成手段によつて作成された文書の頁毎
のレイアウトを用紙を示す枠線と共に前記印刷装置に印
刷させるレイアウト印刷制御手段とを設けたことを特徴
とする文書作成装置。
1. A document comprising: a document creating means for creating a document; a display device for displaying a part of a page of a document being created by the device; and a printing device for printing the created document. In the creating apparatus, a layout output instructing means for instructing a layout output of a document, a layout mode selecting means for selecting one of a plurality of different layout modes, and a layout mode selecting means for instructing the layout output selecting means. And a layout print control means for causing the printing apparatus to print the layout of each page of the document created by the document creating means together with the frame line indicating the paper in the selected layout mode. Document creation device.
【請求項2】レイアウト印刷制御手段が、同一の用紙に
複数頁のレイアウトを印刷させる手段を備えている特許
請求の範囲第1項記載の文書作成装置。
2. The document creation apparatus according to claim 1, wherein the layout print control means includes means for printing a layout of a plurality of pages on the same sheet.
【請求項3】レイアウト印刷制御手段が、各頁のレイア
ウトに対応する付加情報を該各レイアウトの近傍の所定
位置にそれぞれ印刷させる手段を備えている特許請求の
範囲第2項記載の文書作成装置。
3. The document creation apparatus according to claim 2, wherein the layout print control means includes means for printing additional information corresponding to the layout of each page at a predetermined position near each layout. .
JP59081970A 1984-04-25 1984-04-25 Document creation device Expired - Lifetime JPH061471B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59081970A JPH061471B2 (en) 1984-04-25 1984-04-25 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59081970A JPH061471B2 (en) 1984-04-25 1984-04-25 Document creation device

Publications (2)

Publication Number Publication Date
JPS60225971A JPS60225971A (en) 1985-11-11
JPH061471B2 true JPH061471B2 (en) 1994-01-05

Family

ID=13761349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59081970A Expired - Lifetime JPH061471B2 (en) 1984-04-25 1984-04-25 Document creation device

Country Status (1)

Country Link
JP (1) JPH061471B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0524996Y2 (en) * 1986-03-28 1993-06-24

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5567986A (en) * 1978-11-17 1980-05-22 Nec Corp Memory unit
JPS55150065A (en) * 1979-05-12 1980-11-21 Fujitsu Ltd Hard copy control system
JPS56114992A (en) * 1980-02-15 1981-09-09 Ricoh Kk Layout display method of word processor

Also Published As

Publication number Publication date
JPS60225971A (en) 1985-11-11

Similar Documents

Publication Publication Date Title
US5538352A (en) Tape printing system
US5447378A (en) Tape printing apparatus
KR930002478B1 (en) Multifunctional Personal Word Processor
JPH061471B2 (en) Document creation device
JPS6322333B2 (en)
JP2621726B2 (en) Tape printer
JP2560958B2 (en) Tape printer
JP2678282B2 (en) Printing device
JP2556231B2 (en) Tape printer
JP3139514B2 (en) Tape printer
JP2560419B2 (en) Printer
JPH078219Y2 (en) Small printing device
JPH074923Y2 (en) Small printing device
JP2556027B2 (en) Character printer
KR0140999B1 (en) Processing system with printer using exchangeable ink ribbon
JP2703146B2 (en) Label printing device
JPH06297776A (en) Printing apparatus
JP2588288Y2 (en) Word processor
JP2991339B2 (en) Document processing device
JP3481827B2 (en) Tape cartridge
JPH0726115Y2 (en) Printer
JPS6237735A (en) Electronic typewriter
JPS63205266A (en) small printing device
JP2501654Y2 (en) Electronic device with printing function
JP2590874B2 (en) Character data processing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term