JPH04326465A - character processing device - Google Patents
character processing deviceInfo
- Publication number
- JPH04326465A JPH04326465A JP3096991A JP9699191A JPH04326465A JP H04326465 A JPH04326465 A JP H04326465A JP 3096991 A JP3096991 A JP 3096991A JP 9699191 A JP9699191 A JP 9699191A JP H04326465 A JPH04326465 A JP H04326465A
- Authority
- JP
- Japan
- Prior art keywords
- document
- left margin
- distance
- paper
- beta
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】この発明は文字処理装置に関し、
特に、自機種と異なる機種の書式で作成された文書を呼
び出しても、用紙と文書の位置関係の互換性が保てるよ
う自動的に左余白を調整することのできる文字処理装置
に関する。[Industrial Field of Application] This invention relates to a character processing device.
In particular, the present invention relates to a character processing device that can automatically adjust the left margin to maintain compatibility in the positional relationship between paper and the document even when a document created in a format of a model different from the own model is called up.
【0002】0002
【従来の技術】従来、例えばパーソナルタイプのワード
プロセッサでは図5の(a)に示すように、左余白を用
紙左端からの指定で行い、またビジネスタイプのワード
プロセッサでは図5の(b)に示すように、左余白を印
刷可能な境界からの指定で行うというように、左余白の
設定が機種によって異なっているものがある。2. Description of the Related Art Conventionally, for example, in personal type word processors, the left margin is specified from the left edge of the paper, as shown in FIG. 5(a), and in business type word processors, as shown in FIG. 5(b), In some cases, the left margin setting differs depending on the model, such as specifying the left margin from the printable boundary.
【0003】0003
【発明が解決しようとする課題】上記したような従来の
ワードプロセッサでは、パーソナルタイプのワードプロ
セッサで作成した文書をビジネスタイプのワードプロセ
ッサで呼び出した場合、当然のこととして左余白の設定
が異なっているため、印刷結果としての文書レイアウト
が変わってしまうという欠点があった。したがって、オ
ペレータはそのような場合、左余白を設定し直さなけれ
ばならず、また、設定値を正確に決めることができない
という問題があった。[Problems to be Solved by the Invention] With the conventional word processors as described above, when a document created with a personal type word processor is called up with a business type word processor, the left margin settings are naturally different, so it is difficult to print the document. This has the disadvantage that the resulting document layout changes. Therefore, in such a case, the operator has to reset the left margin, and there is also the problem that the set value cannot be determined accurately.
【0004】この発明は以上の事情を考慮してなされた
もので、書式設定の異なる別の機種で作成された文書を
自機種で呼び出しても、用紙と文書の位置関係の互換性
が保てるよう、左余白の設定を自動調整することのでき
る文字処理装置を提供する。[0004] The present invention was made in consideration of the above circumstances, and it is possible to maintain compatibility in the positional relationship between the paper and the document even if a document created with a different model with different format settings is called up on the own model. To provide a character processing device that can automatically adjust the left margin setting.
【0005】[0005]
【課題を解決するための手段】この発明は、用紙におけ
る印刷可能な境界を基準として、印刷開始位置を表す左
余白を設定し、印刷を行う文字処理装置であって、作成
済みの文書を呼び出した際に、用紙左端から前記印刷開
始位置までの距離を計算し、第1の長さとして記憶する
第1記憶手段と、用紙左端から前記境界までの距離を、
第2の長さとして記憶している第2記憶手段と、前記第
1の長さと前記第2の長さとを比較し、その比較結果に
応じて呼び出した文書の左余白を調整する左余白調整手
段とを含むことを特徴とする文字処理装置である。この
発明において、第1および第2の長さとは数値、具体的
にはミリ,センチにて処理することが好ましいが、文字
の桁数、具体的には全角文字の桁数あるいは半角文字の
桁数で処理することもできる。[Means for Solving the Problems] The present invention is a character processing device that sets a left margin indicating a printing start position based on the printable boundary of paper, and performs printing, and calls a created document. a first storage means for calculating the distance from the left edge of the paper to the printing start position and storing it as a first length; and a distance from the left edge of the paper to the boundary;
A left margin adjustment that compares the first length and the second length stored as a second length, and adjusts the left margin of the retrieved document according to the comparison result. A character processing device characterized in that it includes means. In this invention, the first and second lengths are preferably processed in numerical values, specifically millimeters and centimeters, but the number of digits of a character, specifically the number of digits of a full-width character or the number of digits of a half-width character. It can also be processed numerically.
【0006】[0006]
【作用】この発明に従えば、別機種で作成された文書を
呼び出すと、その文書に設定されている書式から、まず
用紙左端から印刷開始位置までの距離(αとする)が計
算され、この値αと、用紙左端から印刷可能な範囲の境
界(用紙左側)までの距離(βとする)とが比較され、
αがβより大の場合は左余白をα−βの値に設定し、α
がβ以下の場合は左余白をゼロに設定するよう書式を調
整する。[Operation] According to this invention, when a document created with a different model is called up, the distance from the left edge of the paper to the print start position (referred to as α) is first calculated based on the format set for that document. The value α is compared with the distance (denoted as β) from the left edge of the paper to the border of the printable range (left side of the paper).
If α is greater than β, set the left margin to the value of α − β, and
If is less than β, adjust the format to set the left margin to zero.
【0007】[0007]
【実施例】以下図に示す実施例に基づいてこの発明を詳
述する。なお、これによってこの発明は限定されるもの
ではない。図1はこの発明の一実施例であるワードプロ
セッサのシステム構成図である。同図において、1は第
1記憶手段、第2記憶手段および左余白調整手段として
機能する制御装置であり、マイクロプロセッサから構成
され、このシステムを稼働させるための制御を行う。具
体的には制御装置1は、作成済みの文書を文書データメ
モリ(後述する)から呼び出し、その文書について用紙
左端から印刷開始位置までの距離αを計算し、また自機
種に設定されている用紙左端から前記境界までの距離β
を呼び出し、αの値とβの値とを比較し、その比較結果
に応じて呼び出した文書の左余白を調整する制御を行う
。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on embodiments shown in the drawings. Note that this invention is not limited by this. FIG. 1 is a system configuration diagram of a word processor that is an embodiment of the present invention. In the figure, reference numeral 1 denotes a control device which functions as a first storage means, a second storage means, and a left margin adjustment means, and is composed of a microprocessor and performs control for operating this system. Specifically, the control device 1 reads a created document from the document data memory (described later), calculates the distance α from the left edge of the paper to the print start position for the document, and calculates the distance α from the left edge of the paper to the print start position, and also calculates the distance α from the left edge of the paper to the print start position, and Distance β from the left edge to the boundary
is called, the value of α and the value of β are compared, and the left margin of the called document is controlled according to the comparison result.
【0008】2はキーボードであり、文字を入力するた
めの文字入力キー、かな漢字変換を行うための変換キー
、各種編集を行うための編集キー、印刷モードを選択す
るための印刷キーなどを備えている。[0008] Reference numeral 2 denotes a keyboard, which includes character input keys for inputting characters, conversion keys for performing kana-kanji conversion, edit keys for performing various edits, print keys for selecting print modes, etc. There is.
【0009】3は表示装置であり、この実施例ではCR
Tから構成され、キーボード2から入力された文字列を
表示するとともに、変換キーの操作に応じて変換候補を
その画面上に表示する。4は印刷装置であり、この実施
例ではドットマトリクスタイプのプリンタから構成され
、編集結果を出力する。5はプログラムメモリであって
ROMから構成され、制御装置1を制御するためのプロ
グラムを格納している。3 is a display device, and in this embodiment CR
T, displays the character string input from the keyboard 2, and displays conversion candidates on the screen in response to the operation of the conversion key. Reference numeral 4 denotes a printing device, which in this embodiment is comprised of a dot matrix type printer, and outputs the editing results. A program memory 5 is composed of a ROM, and stores a program for controlling the control device 1.
【0010】6は文書データメモリでありRAMから構
成され、文書データを蓄えておくためのものである。こ
の文書データメモリには別機種で作成された文書が格納
される。文書データメモリ6の構成は、フロッピーディ
スクなどの外部記憶装置であってもよい。7は印刷用メ
モリでありRAMから構成され、文書データを実際の印
刷用データに展開するためのものである。Reference numeral 6 denotes a document data memory, which is composed of a RAM and is used to store document data. This document data memory stores documents created with different models. The document data memory 6 may be configured as an external storage device such as a floppy disk. Reference numeral 7 denotes a print memory, which is composed of a RAM, and is used to develop document data into actual print data.
【0011】図2は上記の文書データメモリ6の構造を
示したものである。文書データメモリ6の内容は、書式
情報60,データ61,罫線情報62,その他の情報6
3から主として構成される。書式情報とは、具体的には
用紙サイズ,縦/横入れ,左余白,縦書き/横書き情報
と、1行字数情報と、改行ピッチ情報と、イタリック体
,下線,網掛け種情報と、両端揃え印刷,文字ドット種
情報と、文字高さ印刷(文字高さ分だけ改行),ポイン
ト種情報と、字間ドット種情報と、モード,飾り文字情
報である。FIG. 2 shows the structure of the document data memory 6 mentioned above. The contents of the document data memory 6 include format information 60, data 61, ruled line information 62, and other information 6.
It is mainly composed of 3. Format information specifically includes paper size, vertical/horizontal input, left margin, vertical/horizontal writing information, number of characters per line, line break pitch information, italics, underline, shading type information, and both ends. These are alignment printing, character dot type information, character height printing (line feed for the character height), point type information, character spacing dot type information, mode, and decorative character information.
【0012】図3は上記の制御装置1の処理内容を示し
たフローチャートである。なお、前提として文書データ
メモリ6には別機種にて作成された文書データが格納さ
れているものとする。また、説明に際しては図4に示す
印刷結果対応図を交えて説明する。FIG. 3 is a flowchart showing the processing contents of the control device 1 described above. Note that it is assumed that the document data memory 6 stores document data created with a different model. Further, the explanation will be made with reference to the print result correspondence diagram shown in FIG. 4.
【0013】まず図3において、別機種で作成された文
書を文書データメモリ6から呼び出すと(ステップ10
)、その文書に設定されている書式情報から、まず用紙
左端から印刷開始位置までの距離αmmが計算され、こ
の値αと、用紙左端から印刷可能な範囲の境界(用紙左
側)までの距離βmmとが比較される(ステップ11)
。比較の結果、αがβより大の場合は左余白xmmの値
をα−βmmの値に設定し(ステップ12)、αがβ以
下の場合は左余白をゼロmmに設定する(ステップ13
)。このようにして設定された左余白は文書データメモ
リ6に再度格納される。First, in FIG. 3, when a document created with a different model is called from the document data memory 6 (step 10
), the distance αmm from the left edge of the paper to the print start position is calculated from the format information set for the document, and this value α and the distance βmm from the left edge of the paper to the boundary of the printable range (left side of the paper) are calculated. are compared (step 11)
. As a result of the comparison, if α is greater than β, the value of left margin xmm is set to the value α - βmm (step 12), and if α is less than β, the left margin is set to zero mm (step 13).
). The left margin set in this way is stored again in the document data memory 6.
【0014】図4は上記処理によって得られた印刷結果
を示すものである。図中(a)はパーソナルタイプのワ
ードプロセッサによって作成した文書の印刷例である。
図中(b)はその文書をこの実施例のビジネスタイプの
ワードプロセッサによって呼び出し、印刷した結果であ
る。
印刷例から確認できるように、用紙と文書の位置関係は
同じレイアウトで印刷されることになる。FIG. 4 shows the printing results obtained by the above processing. (a) in the figure is an example of printing a document created by a personal type word processor. (b) in the figure shows the result of calling and printing the document using the business type word processor of this embodiment. As can be confirmed from the print example, the paper and document will be printed in the same positional relationship.
【0015】なお、上記の実施例では、用紙左端から印
刷開始位置までの距離α、用紙左端から印刷可能な範囲
の境界までの距離βを、それぞれ数値ミリを用いて説明
したが、これらの距離は、文字の桁数、具体的には全角
文字の桁数あるいは半角文字の桁数を用いて処理するこ
ともできる。In the above embodiment, the distance α from the left edge of the paper to the print start position and the distance β from the left edge of the paper to the boundary of the printable range were explained using numerical values in millimeters, but these distances can also be processed using the number of digits of characters, specifically the number of digits of full-width characters or the number of digits of half-width characters.
【0016】[0016]
【発明の効果】この発明によれば、自機種のワードプロ
セッサと他機種のワードプロセッサとの間で文書交換を
行っても、用紙と文書の位置関係の互換性が保たれるの
で、文書を呼び出した際に左余白を設定し直す必要がな
い。したがって左余白を間違えて印刷してしまうミスを
解消することができ、編集作業の効率を向上させること
ができる。[Effects of the Invention] According to the present invention, even when documents are exchanged between the word processor of one's own model and a word processor of another model, compatibility in the positional relationship between the paper and the document is maintained, so the document can be recalled easily. There is no need to reset the left margin. Therefore, it is possible to eliminate the mistake of printing the left margin incorrectly, and it is possible to improve the efficiency of editing work.
【図1】この発明の一実施例の構成を示すブロック図で
ある。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【図2】実施例による文書データメモリの構成図である
。FIG. 2 is a configuration diagram of a document data memory according to an embodiment.
【図3】実施例の動作を説明するフローチャートである
。FIG. 3 is a flowchart illustrating the operation of the embodiment.
【図4】実施例による印刷結果を示す説明図。FIG. 4 is an explanatory diagram showing printing results according to the example.
【図5】従来例による印刷結果を示す説明図。FIG. 5 is an explanatory diagram showing printing results according to a conventional example.
1 制御装置 2 キーボード 3 表示装置 4 印刷装置 5 プログラムメモリ 6 文書データメモリ 7 印刷メモリ 1 Control device 2 Keyboard 3 Display device 4 Printing device 5 Program memory 6 Document data memory 7 Print memory
Claims (1)
して、印刷開始位置を表す左余白を設定し、印刷を行う
文字処理装置であって、作成済みの文書を呼び出した際
に、用紙左端から前記印刷開始位置までの距離を計算し
、第1の長さとして記憶する第1記憶手段と、用紙左端
から前記境界までの距離を、第2の長さとして記憶して
いる第2記憶手段と、前記第1の長さと前記第2の長さ
とを比較し、その比較結果に応じて呼び出した文書の左
余白を調整する左余白調整手段とを含むことを特徴とす
る文字処理装置。1. A character processing device that sets a left margin representing a print start position based on the printable boundary of paper and performs printing, and when a created document is called up, the left margin from the left edge of the paper is a first storage means that calculates the distance to the printing start position and stores it as a first length; a second storage means that stores the distance from the left edge of the paper to the boundary as a second length; A character processing device comprising: a left margin adjustment unit that compares the first length and the second length and adjusts the left margin of the called document according to the comparison result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3096991A JPH04326465A (en) | 1991-04-26 | 1991-04-26 | character processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3096991A JPH04326465A (en) | 1991-04-26 | 1991-04-26 | character processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04326465A true JPH04326465A (en) | 1992-11-16 |
Family
ID=14179673
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3096991A Pending JPH04326465A (en) | 1991-04-26 | 1991-04-26 | character processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04326465A (en) |
-
1991
- 1991-04-26 JP JP3096991A patent/JPH04326465A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0616280B2 (en) | Document processor | |
| JPH04326465A (en) | character processing device | |
| JPH01229673A (en) | English and european writing printing control system | |
| JPH03156668A (en) | Document preparing device | |
| JPH04326460A (en) | Character processor | |
| JPH02297127A (en) | Information processor | |
| JP2811461B2 (en) | Information processing device | |
| JP2674983B2 (en) | Information processing method | |
| JP2721339B2 (en) | Document processing device | |
| JPH08132684A (en) | Braille plate output system and Braille plate output method | |
| JP2670469B2 (en) | Document processing method | |
| JPH10207878A (en) | Document editing and printing device | |
| JPH03102515A (en) | Document preparing device | |
| JPS62272746A (en) | Document editing device | |
| JPS605470B2 (en) | typesetting system | |
| JPH01216873A (en) | Printing controlling device | |
| JPH08123801A (en) | Document creating apparatus and frame editing method | |
| JPH06199020A (en) | Method and apparatus for controlling label printing | |
| JPH05151216A (en) | Document processing device with frame editing function | |
| JPS61860A (en) | Format setting system for electronic typewriter of japanese word | |
| JPH0340022A (en) | Document processor | |
| JPH0764977A (en) | Document creating apparatus and format changing method | |
| JPH04336372A (en) | Document preparing device | |
| JPS61286156A (en) | Document former | |
| JPH01229648A (en) | Control method in alphabetic outline font printing |