JPH01237175A - Document processor - Google Patents

Document processor

Info

Publication number
JPH01237175A
JPH01237175A JP63063498A JP6349888A JPH01237175A JP H01237175 A JPH01237175 A JP H01237175A JP 63063498 A JP63063498 A JP 63063498A JP 6349888 A JP6349888 A JP 6349888A JP H01237175 A JPH01237175 A JP H01237175A
Authority
JP
Japan
Prior art keywords
printing
document
format
pitch width
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63063498A
Other languages
Japanese (ja)
Inventor
Masaru Makita
巻田 勝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP63063498A priority Critical patent/JPH01237175A/en
Publication of JPH01237175A publication Critical patent/JPH01237175A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines
    • B41J21/08Mechanisms for initiating, effecting, skipping, or stopping tabulation movement; Means for centralising short lines

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To allow document data which corresponds to a displayed form to be output again regardless of a change of printing media by updating a buffered document format in accordance with current printing pitch width information. CONSTITUTION:Data is input by an action indicator key and if printing is requested, a document format which is written in the format area FORMAT of RAM 3 is copied into a printing format storage RAM 8. Right and left margin position data are read from RAM 3, the left margin position data is subtracted from the right margin position data, and the difference is divided by a printing pitch width. After this, it is determined in which position in a display section 6 the right margin corresponds, and the printing pitch width is multiplied by the quotient. At the same time, the left margin position data is added to the product to update the position of a right margin mark. A value obtained by subtracting the left margin position data from each tabulation position value by the number of tabulation settings in the printing format storage RAM 8, is divided by printing pitch width. Then the printing pitch width is multiplied by the quotient and the left margin position data is added to the product to update each tabulation position. Printing data of a single line is transferred to a line buffer LB and document data is printed by a printing section 4.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、作成された文書フォーマット情報に基づい
て入力された文書データを編集し、編集された文書デー
タを印字フォーマットに従って印字出力する文書処理装
置に関するものである。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to document processing that edits input document data based on created document format information and prints out the edited document data according to a print format. It is related to the device.

〔従来の技術〕[Conventional technology]

従来、この種の装置においては、文書用フォーマットデ
ータ、例えばその文書特有に設定されたマージン、タブ
等の情報を位置データとして記憶し、印字を行う際に印
字媒体の位置との対比により正確に記憶文書を再生印字
できるように構成されていた。
Conventionally, in this type of device, document format data, such as information such as margins and tabs set unique to the document, is stored as position data, and when printing, it is accurately compared with the position of the print medium. It was configured so that stored documents could be reproduced and printed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、文書データを恒久的に記憶する今日の文
書処理装置においては印字用紙の縮小。
However, in today's document processing devices that permanently store document data, printing paper is reduced.

拡大等の理由により印字ピッチを変更して再生印字を実
行したり、文書のメインティナンスのため再編集を行っ
た後、これを印字する場合が多い。
In many cases, the print pitch is changed for reasons such as enlargement and reprinting is performed, or the document is re-edited for maintenance and then printed.

ところが、登録文書時に印字ピッチ幅変更を確認するこ
となく印字を開始してしまうため、登録時と異なる印字
媒体、例えばデージ−ホイール等を文書登録時と異なる
もので印字させると、文書登録時の印字体裁とは僅かに
異なる文書が出力され、印字品位を大幅に損ねてしまう
重大な問題点があった。
However, since printing starts without confirming the print pitch width change when registering the document, if printing is performed using a different printing medium, such as a daisy wheel, than when registering the document, the There was a serious problem in that a document with a slightly different print style was output, which significantly degraded the print quality.

この発明は、上記の問題点を解決するためになされたも
ので、登録文書の文書フォーマットを印字用に一旦バッ
ファリングし、印字の際に、バッファリングした印字ピ
ッチ幅情報と現在の印字ピッチ幅とを比較参照して、バ
ッファリングした文書フォーマットを現在の印字ピッチ
幅情報に応じて更新することにより、−旦登録された文
書データへのwA集がなされても、表示された形態に一
致する文書データを印字媒体の変更に関係なく常に再出
力できる文書処理装置を得ることを目的とする。
This invention was made in order to solve the above problems, and the document format of a registered document is temporarily buffered for printing, and when printing, the buffered printing pitch width information and the current printing pitch width are By updating the buffered document format according to the current print pitch width information by comparing and referencing the It is an object of the present invention to provide a document processing device that can always re-output document data regardless of changes in print media.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に文書処理装置は、文書情報記憶手段に記憶さ
れた文書フォーマットを読み出して印字のために一時的
に記憶する印字用のフォーマットメモリと、印字手段固
有の文字ピッチ幅を変更指示入力するピッチ幅変更手段
と、このピッチ幅変更手段から新規入力された新規文字
ピッチ幅とフォーマットメモリに記憶された印字ピッチ
幅とを比較して、フォーマットメモリに記憶された文書
フォーマットを新規文字ピッチ幅の整数倍に更新するフ
ォーマット更新手段とを設けたものである。
The document processing device according to the present invention includes a printing format memory for reading out a document format stored in a document information storage means and temporarily storing it for printing, and a pitch for inputting an instruction to change a character pitch width specific to the printing means. The width changing means compares the new character pitch width input from the pitch width changing means with the printing pitch width stored in the format memory, and changes the document format stored in the format memory to an integer of the new character pitch width. A format update means for updating the format twice as much is provided.

〔作用〕[Effect]

この発明においては、ピッチ幅変更手段により印字手段
の印字ピッチ幅変更指示が入力されると、フォーマット
更新手段が新規文字ピッチ幅とフォーマットメモリに記
憶されている印字ピッチ幅とを比較して、フォーマット
メモリに記憶された文書フォーマットを新規文字ピッチ
幅の整数倍に更新し、印字手段が更新された文書フォー
マットに従って編集した文書データを印字する。
In this invention, when the pitch width changing means inputs an instruction to change the printing pitch width of the printing means, the format updating means compares the new character pitch width with the printing pitch width stored in the format memory, and formats the The document format stored in the memory is updated to an integral multiple of the new character pitch width, and the printing means prints the edited document data according to the updated document format.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す文書処理装置の構成
を説明するブロック図であり、1はCPUで、ROM2
に記憶された文書処理プログラムに従ってキーボード7
より入力される文書データを処理し、RAM3のテキス
トバッファTBに設定された文書フォーマット情報(タ
ブ、デシマルタブ等)に従って登録するとともに、RA
M3のテキストバッファTBの先頭エリアに設けられる
登録フォーマットエリアFORMATに設定された登録
時の文書フォーマット情報を記憶させる。
FIG. 1 is a block diagram illustrating the configuration of a document processing device showing an embodiment of the present invention, in which 1 is a CPU, ROM 2 is a
keyboard 7 according to the word processing program stored in
The document data input from the RAM 3 is processed and registered according to the document format information (tab, decimal tab, etc.) set in the text buffer TB of the RAM 3.
The document format information at the time of registration set in the registration format area FORMAT provided at the head area of the text buffer TB of M3 is stored.

4はプリンタ部で、この発明のピッチ幅変更手段となる
ピッチ検出部5を有し、交換可能な印字部材、例えば各
デージ−ホイール等のピッチ幅を検出し、割り込みライ
ンINT2を介してCPU1に通知する。なお、キーボ
ード7は各種フォーマット設定キー、文字キー、印字制
御キー、カーソル制御キー等から構成され、例えばピッ
チ幅変更要求が指令された場合に、そのピッチ幅情報を
割り込みラインlNTlを介してこの発明のフォーマッ
ト表示制御手段を兼ねるCPUIに通知する。そして、
CPUIは新規入力された新規印字ピッチ幅と文書情報
記憶手段となるRAM3の登録フォーマットエリアFO
RMATに格納された文書作成時の印字ピッチ幅とを比
較して、表示部6に表示された文書フォーマットのうち
、新規印字ピッチ幅の整数倍とならない文書フォーマッ
トのみを他の文書フォーマットと識別可能に表示させる
Reference numeral 4 denotes a printer section, which has a pitch detection section 5 serving as a pitch width changing means of the present invention, detects the pitch width of a replaceable printing member such as each daisy wheel, and outputs the information to the CPU 1 via an interrupt line INT2. Notice. The keyboard 7 is composed of various format setting keys, character keys, print control keys, cursor control keys, etc. For example, when a pitch width change request is issued, the pitch width information is transmitted via the interrupt line lNTl. This notification is sent to the CPUI, which also serves as a format display control means. and,
The CPUI stores the newly input new printing pitch width and the registered format area FO in RAM3, which serves as a document information storage means.
By comparing the printing pitch width at the time of document creation stored in RMAT, among the document formats displayed on the display unit 6, only those document formats that are not an integral multiple of the new printing pitch width can be distinguished from other document formats. to be displayed.

なお、RAM3には、プリンタ部5に出力する文書デー
タを一時蓄えるラインバッファLBおよび新規入力され
た更新された文書フォーマット、すなわち印字の際の文
書フォーマット情報(タブ位置、デシマルタブ位置、左
マージン、右マージン等)を記憶するフォーマット記憶
エリアFORM、キーボード7またはピッチ検出部5か
ら出力される印字ピッチ幅を記憶するピッチエリアPT
(印字行処理に必要なピッチ情報格納エリア)等を有し
ている。
Note that the RAM 3 includes a line buffer LB that temporarily stores document data to be output to the printer unit 5, and a newly input updated document format, that is, document format information (tab position, decimal tab position, left margin, right a format storage area FORM for storing margins, etc.), a pitch area PT for storing the printing pitch width output from the keyboard 7 or the pitch detection section 5;
(pitch information storage area necessary for print line processing), etc.

6は表示部で、キーボード7から入力された文書データ
を後述するフォーマット画面で設定された文書フォーマ
ットとともに表示する。
A display section 6 displays document data input from the keyboard 7 together with a document format set on a format screen to be described later.

8はこの発明のフォーマットメモリとなる印字フォーマ
ット格納RAMで、RAM3のフォーマット記憶エリア
FORMに記憶された文書フォーマット情報を印字開始
前に印字用の文書フォーマット情報として記憶し、印字
の際にこの発明のフォーマット更新手段となるCPU1
がピッチ検出部5またはキーボード7から出力される印
字媒体の印字ピッチ幅情報とRAM3に展開された印字
ピッチ幅情報とを比較し、両者が異なる場合に現在印字
可能な印字媒体の印字ピッチ幅情報に基づいて印字フォ
ーマット格納RAM8に記憶された文書フォーマット情
報が更新される。
8 is a print format storage RAM serving as a format memory of the present invention, which stores the document format information stored in the format storage area FORM of RAM 3 as document format information for printing before starting printing, and stores the document format information stored in the format storage area FORM of RAM 3 as document format information for printing during printing. CPU1 serving as a format update means
compares the printing pitch width information of the printing medium outputted from the pitch detection unit 5 or the keyboard 7 with the printing pitch width information developed in the RAM 3, and if the two are different, the printing pitch width information of the printing medium that can currently be printed is determined. Based on this, the document format information stored in the print format storage RAM 8 is updated.

9は表示フォーマット格納RAMで、RAM3のフォー
マット記憶エリアFORMに記憶された文書フォーマッ
ト情報を表示開始前に表示用の文書フォーマット情報と
して記憶し、表示の際にこの発明のフォーマット更新手
段となるCPUIがピッチ検出部5またはキーボード7
から出力される印字媒体の印字ピッチ幅情報とRAM3
に展開された印字ピッチ幅情報とを比較し、両者が異な
る場合に現在表示可能な表示部6の表示ピッチ幅情報に
基づいて表示フォーマット格納RAM9に記憶された文
書フォーマット情報が更新される。
9 is a display format storage RAM that stores the document format information stored in the format storage area FORM of RAM 3 as document format information for display before the start of display, and when displaying, the CPU, which is the format update means of the present invention, Pitch detection section 5 or keyboard 7
Print pitch width information of the print medium output from RAM3
The document format information stored in the display format storage RAM 9 is updated based on the display pitch width information of the display unit 6 that can currently be displayed.

これにより、印字中に他のテキストの登録/編集を並行
して実行できるが、並行処理を必要としないシステムに
おいては、上記表示フォーマット格納RAM8および表
示フォーマット格納RAM9を設けなくても良い。
This allows registration/editing of other texts to be executed in parallel during printing, but in systems that do not require parallel processing, the display format storage RAM 8 and display format storage RAM 9 may not be provided.

第2図はこの発明を適用する文書処理装置となる電子タ
イプライタシステムの外観を示す斜視図であり、第1図
と同一のものには同じ符合を付しである。
FIG. 2 is a perspective view showing the external appearance of an electronic typewriter system which is a document processing apparatus to which the present invention is applied, and the same parts as in FIG. 1 are given the same reference numerals.

この図において、11はプラテンノブで、用紙を手動で
装填する際、あるいは印字位置の縦方向の送りを微調整
する際に回動する。なお、プラテンノブ11は内側方向
に押すと内部の駆動パルスモータとの係合が外れて、プ
ラテンノブ11の手動による回転が可能となる。
In this figure, reference numeral 11 denotes a platen knob, which is rotated when manually loading paper or finely adjusting the vertical feed of the printing position. Note that when the platen knob 11 is pushed inward, it is disengaged from the internal drive pulse motor, allowing manual rotation of the platen knob 11.

12はペーパサポートで、用紙の案内板として機能し、
薄い用紙がフィードロにセットされた際に印字面が操作
者に対向させる。13はページエンドインジケータで、
用紙終了行までの長さを示すスケーラ−として機能し、
用紙の縦の長さに合わせてあらかじめ操作者がページエ
ンドインジケータ13を矢印方向(上下方向)に調整し
て置き、プラテンを通過してきた用紙の上辺がページエ
ンドインジケータ13の目盛り位置到達した時点で用紙
の終了行までの長さを知ることができる。
12 is a paper support, which functions as a guide plate for paper;
When thin paper is set in the feeder, the printed surface faces the operator. 13 is the page end indicator,
Functions as a scaler that indicates the length to the end line of the paper.
The operator adjusts the page end indicator 13 in advance in the direction of the arrow (vertical direction) according to the vertical length of the paper, and places the page end indicator 13 in advance. You can find out the length of the paper to the end line.

14はリリースレバーで、プラテンの下部に配置されて
いるピンチローラ(図示しない)をプラテンから離し、
用紙の傾きをマニュアルで修正できるように構成されて
いる。
14 is a release lever that releases the pinch roller (not shown) located at the bottom of the platen from the platen.
It is configured so that the skew of the paper can be corrected manually.

15は例えば透明アクリル材で成型される防音カバーで
、プリンタ部5のプリンタヘッド駆動時に発生するイン
パクトノイズレベルを抑制する。
Reference numeral 15 denotes a soundproof cover made of, for example, transparent acrylic material, which suppresses the impact noise level generated when the printer head of the printer unit 5 is driven.

16は上カバーで、書体の変更あるいはリボンカセット
の交換時に図中の後方に回動されながら全面を開口し、
図示しないキャリッジ部にセットされているデージ−ホ
ールの交換またはリボンカセットを容易に交換出来るよ
うに構成され、通常は図示される状態に印字面を覆い、
印字動作を妨げるような埃や障害物が挿入されないよう
に保護している。
16 is the upper cover, which is rotated backward in the figure to open the entire surface when changing the font or replacing the ribbon cassette;
It is configured so that the daisy hole set in the carriage part (not shown) or the ribbon cassette can be easily replaced.
This protects the printer from inserting dust or obstacles that would interfere with printing operations.

17はファンクションパッドで、キーボード7で補えな
い編集用ファンクションを指定入力する。
Reference numeral 17 denotes a function pad for specifying and inputting editing functions that cannot be performed using the keyboard 7.

第3図は、第2図に示したキーボード7の構成を説明す
る平面図であり、第2図と同一のものには同じ符合を付
しである。
FIG. 3 is a plan view illustrating the structure of the keyboard 7 shown in FIG. 2, and the same parts as in FIG. 2 are given the same reference numerals.

この図において、21はピッチキーで、例えば1インチ
当たりの印字文字数(文字数/ i n ch)を指定
入力する際に押下し、このピッチキー21が順次押下さ
れる毎に、1インチ当たりの印字文字数10.12,1
5.PSを示tLED表示器L1が順次サイクリックに
点灯する。ただし、文字数psが点灯した場合には印字
される文字により1インチ当たりの文字数が異なる。
In this figure, 21 is a pitch key, which is pressed to specify and input the number of characters to be printed per inch (number of characters/inch), for example. Each time this pitch key 21 is pressed in sequence, the number of characters to be printed per inch is 10. .12,1
5. The LED indicator L1 indicating PS lights up cyclically in sequence. However, when the number of characters ps is lit, the number of characters per inch differs depending on the characters to be printed.

22はカーソルフォーワードキーで、表示部6に表示さ
れるカーソルの位置を矢印方向にフォーワード移動させ
る場合に押下する。23はカーソルバックキーで、表示
部6に表示されるカーソルの位置を矢印方向にバック移
動させる場合に押下する。24はスペースキーで、文書
データにスペースを入力する際に押下する。25はレフ
トマージンセットキーで、印字行の左リミット位置をセ
ットする場合に押下する。
Reference numeral 22 denotes a cursor forward key, which is pressed to move the cursor displayed on the display section 6 forward in the direction of the arrow. Reference numeral 23 denotes a cursor back key, which is pressed to move the cursor displayed on the display section 6 back in the direction of the arrow. 24 is a space key, which is pressed when entering a space in document data. 25 is a left margin set key, which is pressed to set the left limit position of the print line.

26はライトマージンセットキーで、印字行の右リミッ
ト位置をセットする場合に押下する。
26 is a right margin set key, which is pressed to set the right limit position of the print line.

27はタブセットキーで、印字行の任意の桁目に設定す
るタブ(カーソル移動制御位置情報)位置を指定する場
合に押下する。
Reference numeral 27 denotes a tab set key, which is pressed to specify the tab (cursor movement control position information) position to be set in an arbitrary column of a print line.

28はタブクリアキーで、タブセットキー27の押下に
より設定されたタブ位置をクリアする場合に押下する。
Reference numeral 28 denotes a tab clear key, which is pressed to clear the tab position set by pressing the tab set key 27.

29はバックスペースキーで、カーソル位置を1文字ま
たは指定された文字幅で後退させる際に押下する。30
はテキストキーで、文書データ入力開始を指示する際に
押下する。31は印字開始キーで、テキストバッファT
Bに格納された文書データの印字開始を指示する際に押
下する。32はフォーマットキーで、このフォーマット
キー32の押下により、文書フォーマット設定モードが
設定され、第4図に示すような文書フォーマット設定画
面が表示部6に表示される。
29 is a backspace key, which is pressed to move the cursor position back by one character or a specified character width. 30
is a text key, which is pressed to instruct to start inputting document data. 31 is the print start key, and the text buffer T
Press this button to instruct to start printing the document data stored in B. Reference numeral 32 denotes a format key. By pressing the format key 32, a document format setting mode is set, and a document format setting screen as shown in FIG. 4 is displayed on the display section 6.

第4図はこの発明による文書フォーマット設定画面の一
例を説明する模式図であり、第1図と同一のものには同
じ符合を付しである。
FIG. 4 is a schematic diagram illustrating an example of a document format setting screen according to the present invention, and the same parts as in FIG. 1 are given the same reference numerals.

41はレフトマージンマークで、レフトマージンセット
キー25の押下により、カーソル47が指示する位置に
セットされる。42はライトマージンマークで、ライト
マージンセットキー26の押下により、カーソル47が
指示する位置にセットされる。この画面は、フォーマッ
トキー32が押下された場合に表示される。
Reference numeral 41 denotes a left margin mark, which is set at the position indicated by the cursor 47 when the left margin set key 25 is pressed. 42 is a light margin mark, which is set at the position indicated by the cursor 47 when the light margin set key 26 is pressed. This screen is displayed when the format key 32 is pressed.

43はタブマークで、タブセットキー27の押下により
、カーソル47が指示する位置にセットされる。
43 is a tab mark, which is set at the position indicated by the cursor 47 when the tab set key 27 is pressed.

44はトップマージン設定メツセージで、このトップマ
ージン設定メツセージ44を見ながら、例えば先頭ライ
ンから6ライン目にトップマージンを設定するため、キ
ーボード7より「6」を入力して設定した状態に対応す
る。
Reference numeral 44 denotes a top margin setting message, which corresponds to a state in which, while looking at this top margin setting message 44, inputting "6" from the keyboard 7 in order to set the top margin at, for example, the sixth line from the first line.

45はページエンド設定メツセージで、1ペ一ジ総印字
行数を設定するため、このページエンド設定メツセージ
45を見ながら、キーボード7より「55」を入力して
設定した状態に対応する。
Reference numeral 45 indicates a page end setting message, which corresponds to a state in which "55" is entered from the keyboard 7 while looking at this page end setting message 45 in order to set the total number of lines to be printed per page.

46は系ットゾーン設定メツセージで、ホットゾーン設
定メツセージ46を見ながら、キーボード7より「5」
を入力して設定した状態に対応する。
46 is the hot zone setting message. While looking at the hot zone setting message 46, press "5" from the keyboard 7.
corresponds to the state set by inputting.

第5図は、第1図に示したRAM3の構成を説明する模
式図であり、第1図と同一のものには同じ符合を付しで
ある。
FIG. 5 is a schematic diagram illustrating the configuration of the RAM 3 shown in FIG. 1, and the same components as in FIG. 1 are given the same reference numerals.

この図において、APFはオートベーパフィードエリア
で、このオートベーパフィードエリアAPHにオートベ
ーパフィードフラグが格納される。
In this figure, APF is an auto vapor feed area, and an auto vapor feed flag is stored in this auto vapor feed area APH.

APEはオートベージエンドエリアで、このオートペー
ジエンドエリアAPEにオートベージエンド数が格納さ
れる。
APE is an autopage end area, and the number of autopage ends is stored in this autopage end area APE.

H2Nはホットゾーンエリアで、このホットゾーンエリ
アH2Nに、第4図に示した文書フォーマット設定画面
のホットゾーン設定メツセージ46を見ながら、キーボ
ード7より入力された、例えば「5」が格納される。
H2N is a hot zone area, and in this hot zone area H2N, for example, "5", which is inputted from the keyboard 7 while looking at the hot zone setting message 46 on the document format setting screen shown in FIG. 4, is stored.

LMGはレフトマージンエリアで、このレフトマージン
エリアLMGに第4図に示した文書フォーマット設定画
面上で設定されたレフトマージンマーク41が設定さへ
たカラムデータが格納される。
LMG is a left margin area, and the column data set with the left margin mark 41 set on the document format setting screen shown in FIG. 4 is stored in this left margin area LMG.

RMGはライトマージンエリアで、このライトマージン
エリアRMGに第4図に示した文書フォーマット設定画
面上で設定されたライトマージンマーク42が設定され
たカラムデータが格納される。
RMG is a right margin area, and column data set with the right margin mark 42 set on the document format setting screen shown in FIG. 4 is stored in this right margin area RMG.

TCNTはタブカウントエリアで、このタブカウントエ
リアTCNTに第4図に示した文書フォーマット設定画
面上で設定されたタブマーク43の総数が格納される。
TCNT is a tab count area, and the total number of tab marks 43 set on the document format setting screen shown in FIG. 4 is stored in this tab count area TCNT.

TBI〜TBNはタブエリアで、各タブエリアTBI〜
TBNに第4図に示した文書フォーマット設定画面上で
設定されたタブマーク43の各カラム位置データが格納
される。
TBI~TBN are tab areas, and each tab area TBI~
Each column position data of the tab mark 43 set on the document format setting screen shown in FIG. 4 is stored in the TBN.

なお、オートペーパフィードエリアAPE、オートベー
ジエンドエリアAPE、 ホットゾーンエリアH2N、
  レフトマージンエリアLMG、 ライトマージンエ
リアRMG、タブカウントエリアTCNT、タブエリア
TBI〜TBN等から第1図に示した登録フォーマット
エリアFORMATが構成され、これに続いてビギンオ
ブテキストBOTからエンドオブテキストEOTまでテ
キストバッファTBが確保される。
In addition, auto paper feed area APE, auto page end area APE, hot zone area H2N,
The registered format area FORMAT shown in Fig. 1 is constructed from the left margin area LMG, right margin area RMG, tab count area TCNT, tab areas TBI to TBN, etc., and then the text is written from the beginning of text BOT to the end of text EOT. Buffer TB is secured.

次に第6図を参照しながらこの発明による文書フォーマ
ット更新処理動作について説明する。
Next, the document format update processing operation according to the present invention will be explained with reference to FIG.

第6図はこの発明による文書フォーマット更新処理手順
の一例を説明するフローチャートである。なお、(1)
〜(15)は各ステップを示す。
FIG. 6 is a flowchart illustrating an example of the document format update processing procedure according to the present invention. Furthermore, (1)
~(15) shows each step.

先ず、動作指示キー、例えばテキストキー30またはプ
リントキー31を入力する(1)。
First, an operation instruction key, for example, the text key 30 or the print key 31 is input (1).

次いで、指示動作は何かをチエツクしく2)、登録なら
ばキーボード7から設定された文書フォーマットをRA
M3の表示用文書フォーマットエリアに展開する(3)
Next, check what the instruction action is 2), and if it is registration, input the set document format from the keyboard 7.
Expand to M3 display document format area (3)
.

次いで、テキスト文書文字をキーボード7より入力する
(4)。そして、再度テキストキー3Qが押下されたか
どうか、すなわちテキスト編集終了が指示されたかどう
かを判断しく5)、Noならばユーザメモリに入力した
キーを登録しく6)、さらにカーソル47が指示する位
置にキーボード7より入力されたテキスト文書文字を表
示しく7)、ステップ(4)に戻る。
Next, text document characters are input from the keyboard 7 (4). Then, it is determined whether the text key 3Q has been pressed again, that is, whether the end of text editing has been instructed 5), and if No, the input key is registered in the user memory 6), and the cursor 47 is moved to the specified position. The text document characters inputted from the keyboard 7 are displayed (7), and the process returns to step (4).

一方、ステップ(5)の判断でYESの場合は、他のキ
ー入力処理に移行する。
On the other hand, if the determination in step (5) is YES, the process moves to other key input processing.

また、ステップ(2)の判断で、編集要求であつた場合
には、第4図に示した文書フォーマット画面で設定され
た文書フォーマット(レフトマージン、ライトマージン
、タブ、デシマルタブ等)をRAM3の登録フォーマッ
トエリアFORMATに書き込み(8)、ステップ(4
)に戻る。
In addition, if the judgment in step (2) is that it is an editing request, the document format (left margin, right margin, tab, decimal tab, etc.) set on the document format screen shown in Figure 4 will be registered in RAM3. Write in format area FORMAT (8), step (4)
).

一方、ステップ(2)の判断で印字要求であった場合は
、RAM3の登録フォーマットエリアFORMATに書
き込まれた文書フォーマットを第1図に示した印字フォ
ーマット格納RAM8にコピーする(9)。
On the other hand, if the determination in step (2) is a print request, the document format written in the registered format area FORMAT of the RAM 3 is copied to the print format storage RAM 8 shown in FIG. 1 (9).

次いで、右マージン位置データおよび左マージン位置デ
ータをRAM3より読み出し、右マージン位置データか
ら左マージン位置データを差し引き、さらにその減算値
を上記印字ピッチ幅で割ることにより、表示部6上の何
桁目に右マージンが相当するかを求め、さらにその商た
るNに印字ピッチ幅(印字状態の)を乗算し、さらにそ
の乗算値に左マージン位置データを加算して、印字用フ
ォーマット領域中のライトマージンマーク位置を更新す
る(lO)。
Next, the right margin position data and the left margin position data are read from the RAM 3, the left margin position data is subtracted from the right margin position data, and the subtracted value is divided by the printing pitch width to determine which digit on the display unit 6. Find out whether the right margin corresponds to , then multiply the quotient N by the printing pitch width (printing state), and then add the left margin position data to the multiplied value to find the right margin in the printing format area. Update the mark position (lO).

次いで、タブ位置のチエツクが終了したかどうかを判断
しく11)、YESならばステップ(13)以降に進み
、Noならば印字フォーマット格納RAM8に設定され
たタブの個数分、各タブ位置からレフトマージン位置デ
ータを減算した値を上記印字ピッチ幅で割り、さらにこ
の各面たるNに印字ピッチ幅(印字状態の)を乗算し、
さらにその乗算値に左マージン位置データを加算して、
印字用フォーマット領域中の各タブ位置を更新しく12
)、ステップ(11)に戻る。
Next, it is determined whether or not checking of the tab positions has been completed (11). If YES, proceed to step (13) and later; if NO, the left margin is calculated from each tab position by the number of tabs set in the print format storage RAM 8. Divide the value obtained by subtracting the position data by the above printing pitch width, and further multiply this N for each side by the printing pitch width (in printing state),
Furthermore, add the left margin position data to the multiplied value,
Update each tab position in the print format area12
), return to step (11).

次いで、印字開始キー31を押下して、RAM3のテキ
ストバッファTBに格納された文書データの印字を開始
し印字が終了かどうかを判断しく13)。YESならば
他のキー入力処理に移行し、Noならば1行分の印字デ
ータをラインバッファLB(印字バッファ)に転送しく
14)、プリント部4をコールしてラインバッフアLB
内の文書データを印字しく15)、ステップ(13)に
戻り、印字データがなくなるまで印字を続行する。
Next, the print start key 31 is pressed to start printing the document data stored in the text buffer TB of the RAM 3, and it is determined whether the printing is finished (13). If YES, move to other key input processing; if No, transfer one line of print data to line buffer LB (print buffer) 14), call print unit 4 and transfer to line buffer LB
15), return to step (13), and continue printing until there is no more print data.

これにより、印字媒体の印字ピッチ幅が文書登録時と異
なっても、表示部6に表示されたテキストの表示形態と
印字体裁が一致した印字が可能となる。
As a result, even if the print pitch width of the print medium is different from that at the time of document registration, it is possible to perform printing in which the display format of the text displayed on the display section 6 matches the print style.

なお、上記実施例ではピッチ検出部5がプリンタ部4に
設定されるデージ−ホイール等の印字ヘッドの印字ピッ
チ幅を検出して、その設定中の印字ピッチを更新する場
合について説明したが、プリント部4の構成としては、
上記のようなプリンタヘッドを有するプリンタ装置のほ
かにサマールヘッドプリンタ、レーザビームプリンタ、
インクジェットプリンタ等のようにフォントピッチを処
理するプリンタにおける印字部のフォントピッチが異な
る場合に、印字の際にプリンタ種別を検知してそのフォ
ントピッチ誤差を補正する場合にこの発明を適用するれ
ば、プリンタ種別を選択できる文書処理装置にもこの発
明を適用できることは言うまでもない。
In the above embodiment, a case has been described in which the pitch detection section 5 detects the printing pitch width of a print head such as a daisy wheel set in the printer section 4 and updates the currently set printing pitch. The structure of part 4 is as follows:
In addition to printer devices having printer heads such as those mentioned above, Samar head printers, laser beam printers,
If the font pitch of the printing part of a printer that processes font pitch, such as an inkjet printer, is different, the present invention can be applied to detect the printer type during printing and correct the font pitch error. It goes without saying that the present invention can also be applied to document processing apparatuses that allow selection of printer types.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明は文書情報記憶手段に記
憶された文書フォーマットを読み出して印字のために一
時的に記憶する印字用のフォーマットメモリと、印字手
段固有の文字ピッチ幅を変更指示入力するピッチ幅変更
手段と、このピッチ幅変更手段から新規入力された新規
文字ピッチ幅とフォーマットメモリに記憶された印字ピ
ッチ幅とを比較して、フォーマットメモリに記憶された
文書フォーマットを新規文字ピッチ幅の整数倍に更新す
るフォーマット更新手段とを設けたので、−旦登録され
た文書データの文書フォーマットを変更するような文書
編集処理を実行し、かつ印字手段の印字ピッチ幅が変更
されても、現在表示されている表示形態に添った印字出
力を得ることができる。また、新規登録時の文書フォー
マットは常に書き換えられることなく保存できるので、
印字媒体の変更がない場合には、常に登録時の文書フォ
ーマットに添う文書データの印字を実行できる等の優れ
た効果を奏する。
As explained above, the present invention includes a printing format memory that reads out the document format stored in the document information storage means and temporarily stores it for printing, and inputs an instruction to change the character pitch width specific to the printing means. The pitch width changing means compares the new character pitch width input from the pitch width changing means with the printing pitch width stored in the format memory, and changes the document format stored in the format memory to the new character pitch width. Since a format update means for updating the format by an integral multiple is provided, even if document editing processing such as changing the document format of registered document data is executed and the printing pitch width of the printing means is changed, the current It is possible to obtain a printed output that matches the displayed display format. In addition, the document format when newly registered can be saved without being rewritten.
If there is no change in the print medium, excellent effects such as being able to always print document data in accordance with the document format at the time of registration are achieved.

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

第1図はこの発明の一実施例を示す文書処理装置の構成
を説明するブロック図、第2図はこの発明を適用する文
書処理装置となる電子タイプライタシステムの外観を示
す斜視図、第3図は、第2図に示したキーボードの構成
を説明する平面図、第4図はこの発明による文書フォー
マット設定画面の一例を説明する模式図、第5図は、第
1図に示したRAMの構成を説明する模式図、第6図は
この発明による文書フォーマット更新処理手順の一例を
説明するフローチャートである。 図中、1はcptr、2はROM、3はRAM。 4はプリンタ部、5はピッチ検出部、6は表示部、7は
キーボードである。 第1図
FIG. 1 is a block diagram illustrating the configuration of a document processing device showing an embodiment of the present invention, FIG. 2 is a perspective view showing the external appearance of an electronic typewriter system which is a document processing device to which the present invention is applied, 2 is a plan view illustrating the configuration of the keyboard shown in FIG. 2, FIG. 4 is a schematic diagram illustrating an example of a document format setting screen according to the present invention, and FIG. FIG. 6 is a schematic diagram illustrating the configuration and a flowchart illustrating an example of the document format update processing procedure according to the present invention. In the figure, 1 is cptr, 2 is ROM, and 3 is RAM. 4 is a printer section, 5 is a pitch detection section, 6 is a display section, and 7 is a keyboard. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)文書データを入力する文書入力手段と、この文書
入力手段から入力された文書データおよびこの文書デー
タに対する印字手段の印字ピッチ幅および文書フォーマ
ットを記憶する文書情報記憶手段と、この文書情報記憶
手段に記憶された文書データを文書フォーマットに従っ
て印字する印字手段とを有する文書処理装置において、
前記文書情報記憶手段に記憶された前記文書フォーマッ
トを読み出して印字のために一時的に記憶する印字用の
フォーマットメモリと、前記印字手段固有の文字ピッチ
幅を変更指示入力するピッチ幅変更手段と、このピッチ
幅変更手段から新規入力された新規文字ピッチ幅と前記
フォーマットメモリに記憶された前記印字ピッチ幅とを
比較して、前記フォーマットメモリに記憶された前記文
書フォーマットを前記新規文字ピッチ幅の整数倍に更新
するフォーマット更新手段とを具備したことを特徴とす
る文書処理装置。
(1) A document input means for inputting document data, a document information storage means for storing the document data input from the document input means, the printing pitch width of the printing means and the document format for this document data, and this document information storage. A document processing device comprising a printing means for printing document data stored in the means according to a document format,
a printing format memory for reading out the document format stored in the document information storage means and temporarily storing it for printing; and a pitch width changing means for inputting an instruction to change a character pitch width specific to the printing means; A new character pitch width newly input from this pitch width changing means is compared with the printing pitch width stored in the format memory, and the document format stored in the format memory is changed to an integer of the new character pitch width. 1. A document processing device comprising: format updating means for updating the format twice.
(2)印字手段は、フォーマットメモリに更新記憶され
た文書フォーマットに基づいて編集済文書データを印字
することを特徴とする請求項(1)記載の文書処理装置
(2) The document processing apparatus according to claim 1, wherein the printing means prints the edited document data based on the document format updated and stored in the format memory.
JP63063498A 1988-03-18 1988-03-18 Document processor Pending JPH01237175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63063498A JPH01237175A (en) 1988-03-18 1988-03-18 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63063498A JPH01237175A (en) 1988-03-18 1988-03-18 Document processor

Publications (1)

Publication Number Publication Date
JPH01237175A true JPH01237175A (en) 1989-09-21

Family

ID=13230967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63063498A Pending JPH01237175A (en) 1988-03-18 1988-03-18 Document processor

Country Status (1)

Country Link
JP (1) JPH01237175A (en)

Similar Documents

Publication Publication Date Title
JP3094658B2 (en) Tape printer
JPS62197821A (en) Word processor
US4607966A (en) Electronic typewriter equipped with text memory which saves format data while deleting a line
JPH07319868A (en) Text editing processor
JPH01237175A (en) Document processor
JP2672963B2 (en) Document processing apparatus and document processing method
JPH0830600A (en) Document processor
JPH08230266A (en) Printer
JPH01237176A (en) Document processor
JPS59159382A (en) Electronic typewriter
JP3050469B2 (en) Tape printer
JP3142548B2 (en) Document processing method and apparatus
JP2667090B2 (en) Label printing device and label information registration system in this device
JPS61197271A (en) Output device
JP2798854B2 (en) Label printing device
JP3445661B2 (en) Tape-shaped label making device
JP3438435B2 (en) Tape printer
JPH05324641A (en) Tape printer
JP3123577B2 (en) Tape printer
JP2861567B2 (en) Tape printer
JP3045021B2 (en) Tape printer
JP3506190B2 (en) Tape-shaped label making device
JPH1178129A (en) Tape printer
JPH0631987A (en) Label printer
JPS62272746A (en) Document editing device