JPH0766370B2 - Document processor - Google Patents
Document processorInfo
- Publication number
- JPH0766370B2 JPH0766370B2 JP61057414A JP5741486A JPH0766370B2 JP H0766370 B2 JPH0766370 B2 JP H0766370B2 JP 61057414 A JP61057414 A JP 61057414A JP 5741486 A JP5741486 A JP 5741486A JP H0766370 B2 JPH0766370 B2 JP H0766370B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- print start
- pitch
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Digital Computer Display Output (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 〔概要〕 本発明は、文書の枠組み情報をテーブルに記憶してなる
日本語文書処理装置に演算部を設け、枠組みの最大数と
行当たりの文字数の標準数を演算によって設定し、文書
の枠組み情報の格納域の減少を計り、プログラム操作を
簡易化する。DETAILED DESCRIPTION OF THE INVENTION [Outline] According to the present invention, an arithmetic unit is provided in a Japanese document processing apparatus that stores document framework information in a table, and a maximum number of frameworks and a standard number of characters per line are calculated. Set by, reduce the storage area of document framework information, and simplify the program operation.
近年、文書を作成するのに日本語文書処理システムが広
く用いられている。この日本語文書処理を行う場合、文
書を作成する用紙を決定し、この用紙の1行に何文字入
力し、1頁に何行収納するかの枠組みを決定することが
先決となる。In recent years, Japanese document processing systems have been widely used to create documents. In the case of performing this Japanese document processing, it is first decided to decide a paper on which a document is to be created, and how many characters should be input on one line of this paper and how many lines should be stored on one page.
枠組みを設定する場合に、どのような値を決定すれば良
いかの知識がユーザには無いため、設定可能な値の範囲
を越えた設定を行おうとしたり、許された範囲内であっ
ても、実用上使用不可能な設定になりがちであるため、
標準的な数および許される最大の数を提示する必要があ
る。When setting the framework, the user does not have knowledge of what value to decide, so if the user tries to set the value outside the range of values that can be set, or if it is within the allowed range, However, since the settings tend to be unusable in practice,
It is necessary to provide the standard number and the maximum number allowed.
従来、上記した文書の枠組みを行う場合は日本語文書処
理装置に、この装置に適用できる総ての用紙及び枠組み
情報に基づいて作成された枠組みに記入される最大文字
数と、用紙と枠組み情報から得られる1行当たりの文字
数の標準数の総てのテーブルをもっており、指示される
用紙種類と枠組み情報によってテーブルを検索して最大
文字数及び標準数を設定指定していた。Conventionally, when performing the above-mentioned document framework, the Japanese document processing device is required to use the maximum number of characters that can be entered in the framework created based on all the paper and framework information applicable to this device, and the paper and framework information. It has all the tables of the standard number of characters per line obtained, and searches the table according to the instructed paper type and framework information to set and specify the maximum number of characters and standard number.
上記した従来の最大文字数及び標準数は、用紙及び枠組
み情報に基づいて予め準備して、テーブルに記憶して装
置に収納されていた。従って、枠組みの設定を行うため
の記憶域は、厖大になるとともに、これを取り扱うプロ
グラムが複雑であると云う問題があった。The above-described conventional maximum number of characters and standard number have been prepared in advance based on paper and framework information, stored in a table, and stored in the device. Therefore, there is a problem that the storage area for setting the framework becomes enormous and that the program for handling this is complicated.
本発明は、以上のような従来の状況から、運用プログラ
ムが少なくと、構造の容易である文書の枠組み設定方式
の提供を目的とするものである。SUMMARY OF THE INVENTION In view of the conventional situation as described above, the present invention aims to provide a document framework setting method having a small number of operation programs and a simple structure.
本発明は、第1図の原理図に示すように、文書の枠組み
情報を記憶するテーブル1と演算部2と制御処理部3と
で構成する。As shown in the principle diagram of FIG. 1, the present invention comprises a table 1 for storing document framework information, an arithmetic unit 2, and a control processing unit 3.
テーブル1に、複数の用紙種別に応じた用紙の縦横の寸
法を記憶する用紙サイズ記憶部と、文字サイズに応じた
文字ピッチを記憶する文字ピッチ記憶部と、改行ピッチ
に応じた印刷開始行を記憶する印刷開始行記憶部と、文
字サイズ及び文字ピッチに応じた印刷開始位置を記憶す
る印刷開始位置記憶部と、文字サイズ及び文字ピッチに
応じた印刷終了位置を記憶する印刷終了位置記憶部とを
備え、 制御処理部3が、入力された用紙種別情報、文字サイズ
情報、改行ピッチ情報に応じて、テーブル(1)より用
紙の縦横の寸法、文字ピッチ、印刷開始行、印刷開始位
置、印刷終了位置のそれぞれの値を求め、 演算部2が、制御処理部3がテーブル1より求めた用紙
の縦横の寸法、文字ピッチ、印刷開始行、印刷開始位
置、印刷終了位置のそれぞれの値を入力して処理対象の
文書に対する1行当たりの文字数と1頁当たりの行数の
最大数と標準数とを演算により求める。The table 1 includes a paper size storage unit that stores vertical and horizontal dimensions of paper according to a plurality of paper types, a character pitch storage unit that stores a character pitch according to a character size, and a print start line according to a line feed pitch. A print start line storage unit to store, a print start position storage unit to store a print start position according to a character size and a character pitch, and a print end position storage unit to store a print end position according to a character size and a character pitch. According to the input paper type information, character size information, and line feed pitch information, the control processing unit 3 uses the table (1) to determine vertical and horizontal dimensions of the paper, character pitch, print start line, print start position, print Each value of the end position is calculated, and the calculation unit 2 determines the vertical and horizontal dimensions of the paper, the character pitch, the print start line, the print start position, and the print end position, which are obtained by the control processing unit 3 from the table 1. Enter values of les are obtained by calculation with the maximum number and the standard number of lines number of characters and per page per line for a document to be processed.
第2図は、本発明を適用した実施例のブロック図であ
り、枠組み情報を記憶するテーブル1は、用紙の種類及
び印刷状態に基づく用紙寸法(吋表示)を記憶する用紙
テーブル1−1と、文字サイズに基づく文字ピッチを記
憶した文字テーブル1−2と、行ピッチを記憶した行ピ
ッチテーブル1−3と、改行ピッチに基づく印刷開始行
を記憶した印刷開始行テーブル1−4と、文字サイズに
基づく印刷開始位置を記憶した印刷開始位置テーブル1
−5と、印刷終了位置を記憶した印刷終了位置テーブル
1−6とで構成されている。各テーブルの状態は、それ
ぞれ第3図(a)〜(g)に示す。FIG. 2 is a block diagram of an embodiment to which the present invention is applied. A table 1 for storing framework information is a paper table 1-1 for storing paper dimensions (inch display) based on paper type and printing state. , A character table 1-2 storing the character pitch based on the character size, a line pitch table 1-3 storing the line pitch, a print start line table 1-4 storing the print start line based on the line feed pitch, and a character Print start position table 1 that stores print start positions based on size
-5 and a print end position table 1-6 that stores print end positions. The state of each table is shown in FIGS. 3 (a) to 3 (g).
制御処理部3は、印刷種類及び印刷方向と、文字サイズ
と行ピッチに基づいて、演算部2を作動して演算を行い
最大文字数と標準数とを設定する。The control processing unit 3 operates the arithmetic unit 2 to perform arithmetic operation based on the printing type and printing direction, the character size and the line pitch, and sets the maximum number of characters and the standard number.
以下、第4図を用いて最大文字数を設定する制御処理部
3の動作を説明する。制御処理部3は、用紙種類とその
仕様方向を入力されると、用紙テーブル1−1を検索し
て用紙の縦,横の寸法を決定する(1)。一方、制御処
理部3は、入力される文字サイズと行ピッチとで文字テ
ーブル1−2とピッチテーブル1−3とをそれぞれ検索
し、文字ピッチと行ピッチとを決定する(2)。The operation of the control processing unit 3 for setting the maximum number of characters will be described below with reference to FIG. When the paper type and its specification direction are input, the control processing unit 3 searches the paper table 1-1 to determine the vertical and horizontal dimensions of the paper (1). On the other hand, the control processing unit 3 searches the character table 1-2 and the pitch table 1-3 by the input character size and line pitch, respectively, and determines the character pitch and the line pitch (2).
印刷が袋とじで行われるか否かのチェックを行い
(3)、袋とじで無いと、用紙縦/行ピッチの演算と、
(用紙横−2)/文字ピッチの演算とを行う(4)。結
果、用紙縦/行ピッチ即ち、1行の文字数が88より大き
いと88とし、88以下の場合は演算結果を出力する
(5)。この出力値が最大数である。It is checked whether or not printing is done with bag binding (3). If it is not bag binding, paper length / line pitch calculation and
(Paper width-2) / Character pitch is calculated (4). As a result, the paper length / line pitch, that is, 88 if the number of characters in one line is greater than 88, is output if the number of characters is 88 or less (5). This output value is the maximum number.
袋とじであると(3)、演算部2は、用紙縦/行ピッチ
の演算と、(用紙横−3)/(1/2文字ピッチ)の演算
を行う(6)。1行の文字数が44以上であると、44を、
44以下であるとそのまま出力し最大数を得る(7)。If it is bag binding (3), the calculation unit 2 calculates the paper length / line pitch and (paper width-3) / (1/2 character pitch) (6). If the number of characters in one line is 44 or more, 44 is
If it is 44 or less, it is directly output and the maximum number is obtained (7).
第5図を用いて、行当たりの文字数の標準数の設定を説
明する。制御処理部3は、改行ピッチを入力されると、
印刷開始行テーブル1−4を検索して開始行位置を決定
する(1)。演算部2は、〔用紙縦−(開始行位置−
1)×2〕/改行ピッチの演算を行い(2)、行数を決
定する(3)。The setting of the standard number of characters per line will be described with reference to FIG. When the line feed pitch is input, the control processing unit 3
The print start line table 1-4 is searched to determine the start line position (1). The calculation unit 2 displays [paper length- (start line position-
1) × 2] / line feed pitch is calculated (2) and the number of lines is determined (3).
制御処理部3は、用紙が単票縦A4,B4,横B4、連帳縦A4指
定であるや否やを調べ(4)、否であると、第3図
(1)の印刷開始位置テーブル1−5(a)を検索して
印刷開始桁を決定し、用紙が単票A4,B4,横B4、連帳縦A4
であると、第3図(f)の印刷開始位置テーブル1−5
(b)を検索して、印刷開始桁の決定をする(5)。The control processing unit 3 checks whether or not the paper is designated as a single-cut sheet length A4, B4, width B4, continuous form length A4 (4), and if not, the print start position table 1 of FIG. 3 (1). -5 (a) is searched to determine the print start digit, and the paper is A4, B4, horizontal B4, continuous form vertical A4
Then, the print start position table 1-5 in FIG.
By searching (b), the print start digit is determined (5).
制御処理部3は、文字サイズ,文字ピッチ,用紙種類,
袋とじの有無によって、第3図(g)の印刷終了位置テ
ーブルによって印刷終了位置を摘出する(6)。前記演
算部2は、用紙横と印刷開始桁と印刷終了位置とから
(用紙横−印刷開始桁×文字ピッチ−印刷終了位置)/
文字ピッチの演算を行って枠組みの標準数を求める
(7)により、枠組みに対する全最大文字数と標準数を
記憶させたファイルを不要にする。The control processing unit 3 includes a character size, a character pitch, a paper type,
The print end position is extracted from the print end position table of FIG. 3 (g) depending on whether or not the bag is bound (6). The calculation unit 2 calculates (paper width−print start digit × character pitch−print end position) / from the paper width, print start digit, and print end position.
By performing the character pitch calculation to obtain the standard number of the framework (7), a file storing the maximum number of characters and the standard number for the framework is unnecessary.
以上の説明から明らかなように、本発明によれば、用紙
サイズ毎の行当たりの文字数と頁当たりの行数の最大数
と標準数とをテーブルとして記憶する必要が無いため、
記憶域の領域を減少するとともに、運用プログラムが簡
素化し、日本語文書処理システムに適用してきわめて有
効な効果を奏する。As is clear from the above description, according to the present invention, it is not necessary to store the number of characters per line for each paper size, the maximum number of lines per page, and the standard number as a table.
It reduces the storage area, simplifies the operation program, and is extremely effective when applied to a Japanese document processing system.
第1図は本発明の原理ブロック図である。 第2図は本発明を適用した実施例のブロック図である。 第3図は本発明の各テーブルの状態図である。 第4図は本発明の最大文字数設定のフローチャートであ
る。 第5図は本発明の標準数設定のフローチャートである。 各図において、1はテーブル、2は演算部、3は制御処
理部、1−1は用紙テープル、1−2は文字テーブル、
1−3は行ピッチテーブル、1−4は印刷開始行テーブ
ル、1−5は印刷開始位置テーブル、1−6は印刷終了
位置テーブルを示す。FIG. 1 is a block diagram of the principle of the present invention. FIG. 2 is a block diagram of an embodiment to which the present invention is applied. FIG. 3 is a state diagram of each table of the present invention. FIG. 4 is a flowchart for setting the maximum number of characters according to the present invention. FIG. 5 is a flowchart for setting the standard number according to the present invention. In each figure, 1 is a table, 2 is a calculation unit, 3 is a control processing unit, 1-1 is a paper table, 1-2 is a character table,
Reference numeral 1-3 is a row pitch table, 1-4 is a print start row table, 1-5 is a print start position table, and 1-6 is a print end position table.
Claims (1)
処理部(3)とを有する文書処理装置であって、 テーブル(1)は、複数の用紙種別に応じた用紙の縦横
の寸法を記憶する用紙サイズ記憶部と、文字サイズに応
じた文字ピッチを記憶する文字ピッチ記憶部と、改行ピ
ッチに応じた印刷開始行を記憶する印刷開始行記憶部
と、文字サイズ及び文字ピッチに応じた印刷開始位置を
記憶する印刷開始位置記憶部と、文字サイズ及び文字ピ
ッチに応じた印刷終了位置を記憶する印刷終了位置記憶
部とを有し、 制御処理部(3)は、入力された用紙種別情報、文字サ
イズ情報、改行ピッチ情報に応じて、テーブル(1)よ
り用紙の縦横の寸法、文字ピッチ、印刷開始行、印刷開
始位置、印刷終了位置のそれぞれの値を求め、 演算部(2)は、制御処理部(3)がテーブル(1)よ
り求めた用紙の縦横の寸法、文字ピッチ、印刷開始行、
印刷開始位置、印刷終了位置のそれぞれの値を入力して
処理対象の文書に対する1行当たりの文字数と1頁当た
りの行数の最大数と標準数とを演算により求める 文書処理装置。1. A document processing apparatus comprising a table (1), a calculation section (2), and a control processing section (3), wherein the table (1) has vertical and horizontal directions of sheets corresponding to a plurality of sheet types. Paper size storage unit that stores the size of the character, a character pitch storage unit that stores the character pitch according to the character size, a print start line storage unit that stores the print start line according to the line feed pitch, and the character size and character pitch. The control processing unit (3) has a print start position storage unit that stores a print start position corresponding to the print start position and a print end position storage unit that stores a print end position corresponding to the character size and the character pitch. Calculate the vertical and horizontal dimensions of the paper, character pitch, print start line, print start position, print end position from table (1) according to the paper type information, character size information, and line feed pitch information. (2) is the control Vertical and horizontal dimensions of a sheet processing unit (3) is determined from the table (1), character pitch, the print start line,
A document processing apparatus which inputs respective values of a print start position and a print end position and calculates the number of characters per line, the maximum number of lines per page and a standard number for a document to be processed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61057414A JPH0766370B2 (en) | 1986-03-14 | 1986-03-14 | Document processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61057414A JPH0766370B2 (en) | 1986-03-14 | 1986-03-14 | Document processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62216065A JPS62216065A (en) | 1987-09-22 |
| JPH0766370B2 true JPH0766370B2 (en) | 1995-07-19 |
Family
ID=13054988
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61057414A Expired - Fee Related JPH0766370B2 (en) | 1986-03-14 | 1986-03-14 | Document processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0766370B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2907859B2 (en) * | 1989-03-20 | 1999-06-21 | 富士通株式会社 | Document processing system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5969837A (en) * | 1982-10-14 | 1984-04-20 | Casio Comput Co Ltd | Word processor |
| JPS60263987A (en) * | 1984-06-13 | 1985-12-27 | 株式会社日立製作所 | Document display method |
-
1986
- 1986-03-14 JP JP61057414A patent/JPH0766370B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62216065A (en) | 1987-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0766370B2 (en) | Document processor | |
| JPS56164472A (en) | Issuing machine of fixed form document by kanji (chinese character) | |
| JPH01184156A (en) | Printing automatic contracting/magnifying system of printer | |
| JPS6292877A (en) | printing device | |
| JPH0790656B2 (en) | Document processing method | |
| JP3366771B2 (en) | Printing equipment | |
| JPH06251014A (en) | Document printing method | |
| JPH0485619A (en) | Document printing system | |
| JPH03100760A (en) | Document processing device | |
| JPS6347181A (en) | Print control system | |
| JPS60178530A (en) | Printer | |
| JPH0447362A (en) | Designated slip issuing device | |
| JPH0573562A (en) | Document editing device | |
| JPS582619Y2 (en) | printing device | |
| JPH02248273A (en) | Continuous printing system of information processor | |
| JPH04367928A (en) | Business form printer | |
| JPS6158079A (en) | Method for processing rule line moving | |
| JPH0711799B2 (en) | Typesetting system | |
| JPS63217464A (en) | Document preparing device | |
| JPS6337421A (en) | Sentence processor | |
| JPS63100739U (en) | ||
| JPH03102515A (en) | Document preparing device | |
| JPH01113260A (en) | printing device | |
| JPS63286377A (en) | Printer | |
| JPH04184560A (en) | document processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |