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
JPH0113127B2 - - Google Patents
[go: Go Back, main page]

JPH0113127B2 - - Google Patents

Info

Publication number
JPH0113127B2
JPH0113127B2 JP57098889A JP9888982A JPH0113127B2 JP H0113127 B2 JPH0113127 B2 JP H0113127B2 JP 57098889 A JP57098889 A JP 57098889A JP 9888982 A JP9888982 A JP 9888982A JP H0113127 B2 JPH0113127 B2 JP H0113127B2
Authority
JP
Japan
Prior art keywords
text
size
length
text information
paper
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
Application number
JP57098889A
Other languages
Japanese (ja)
Other versions
JPS58214980A (en
Inventor
Sachiko Takahashi
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP57098889A priority Critical patent/JPS58214980A/en
Publication of JPS58214980A publication Critical patent/JPS58214980A/en
Publication of JPH0113127B2 publication Critical patent/JPH0113127B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明は文章編集装置の文書作成(印字)の際
に経済的な用紙サイズを自動的に決定し、報知す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention automatically determines and notifies an economical paper size when creating (printing) a document using a text editing device.

一般に文章編集装置は作成しようとする文章を
入力して編集し、印字装置でこの文章を印字する
ように成している。
Generally, a text editing device is configured to input and edit a text to be created, and print this text using a printing device.

この場合、文書入力に際し文章サイズを予め設
定し、このサイズに応じた文章編集を行うもので
ある。また、一度ある文書サイズで文章編集を行
なつた後、他の文書サイズに変更することもでき
るが、この他のサイズに変更すると当初の文章フ
オーマツトが崩れてまた編集のやりなおしをせね
ばならなかつた。
In this case, the text size is set in advance when inputting a document, and the text is edited according to this size. Also, once you have edited text in one document size, you can change to another document size, but if you change to another size, the original text format will be destroyed and you will have to edit again. Ta.

本発明はオペレータが所望する任意に文章編集
を行ない、ここで得られた文書フオーマツトに最
適な用紙サイズを自動的にオペレータに指示させ
るようになして最適な文章作成ができるようにし
たものである。
The present invention allows an operator to edit texts as desired, and automatically instructs the operator to select the optimal paper size for the document format obtained, thereby allowing the operator to create optimal texts. .

以下本発明の文章編集装置について図の一実施
例と共に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The text editing device of the present invention will be described below with reference to an embodiment shown in the drawings.

1は文字入力キー、フアンクシヨンキーを有す
るキーボード装置であり、対応するキーのコード
化信号が出力され、編集制御部2へ供給する。
Reference numeral 1 denotes a keyboard device having character input keys and function keys, from which encoded signals of the corresponding keys are output and supplied to the editing control section 2.

編集制御部2は一般にワードプロセツサとして
知られる文章編集を行い、入力した文章を文章メ
モリ5に記憶し、更にCRT表示装置3に供給し
て表示させると共に印字装置4に供給して文書作
成を行う。
The editing control section 2 performs text editing generally known as a word processor, stores the input text in a text memory 5, supplies it to a CRT display device 3 for display, and supplies it to a printing device 4 to create a document. conduct.

文章メモリ5には複数頁分の記憶エリア51,
52,53〜5nを有し、各エリアにはその頁の
最大行長を記憶するエリアM1と、行数(縦方向
の印字長)を記憶するエリアM2とを各々設けて
いる。
The text memory 5 includes a storage area 51 for multiple pages,
52, 53 to 5n, and each area is provided with an area M1 for storing the maximum line length of the page, and an area M2 for storing the number of lines (vertical print length).

6は最適用紙決定制御部であり、1行字数に相
当する長さをカウントするカウンタXと1頁の行
数(印字紙送り量)に相当する長さをカウントす
るYと、上記カウンタXの最大値を記憶するバツ
フアBufとを有している。
Reference numeral 6 denotes an optimum paper determination control unit, which includes a counter It has a buffer Buf that stores the maximum value.

7は各規定用紙のサイズデータを予め記憶する
テーブルであり、B5,A4,B4サイズのデータを
記憶している。
Reference numeral 7 denotes a table in which size data of each standard paper is stored in advance, and data of B5, A4, and B4 sizes are stored.

ここで規定用紙について説明すると、第4図に
は各用紙を縦に並べている。B5版は257(縦)mm
×182(横)mmであり、A4版は297×210であり、
B4は364mm×257mmとなつている。これらの長さ
は文書の周辺余白約10mmを減じてテーブル7に記
憶している。
Here, the prescribed sheets will be explained. In FIG. 4, each sheet is arranged vertically. B5 version is 257 (vertical) mm
×182 (horizontal) mm, A4 version is 297 × 210,
B4 is 364mm x 257mm. These lengths are stored in table 7 after subtracting about 10 mm from the peripheral margin of the document.

又、カウンタX,Yは1文字の画素が約6mm
(縦)×4mm(横)として、それぞれ入力ごとに画
素サイズ分カウントする。又、文字によつて大き
さが異なる場合は、その大きさに応じてカウント
する。
Also, for counters X and Y, the pixels of one character are approximately 6 mm.
(vertical) x 4 mm (horizontal), and count the pixel size for each input. In addition, if the size differs depending on the character, the number is counted according to the size.

次に第2図,第3図の動作フローに従つて上記
第1図の構成の作用を説明する。
Next, the operation of the configuration shown in FIG. 1 will be explained according to the operational flows shown in FIGS. 2 and 3.

先ず第2図の動作フローにおいて、文字を入力
するごとに文章メモリ5に導入記憶された文章或
は印字時に印字しようとする文章がメモリ5から
読出される(ステツプ100)。ここでは入力時を示
す。
First, in the operation flow shown in FIG. 2, each time a character is input, a sentence introduced and stored in the sentence memory 5 or a sentence to be printed at the time of printing is read out from the memory 5 (step 100). The time of input is shown here.

改行コードあるいは改頁コードが読出されるま
で各文字の大きさに応じて字数カウンタXでカウ
ントする(101〜103)。改行コードが読出される
と一行終了であり、行の送り量分(例えば6mm)
を行数カウンタYでカウントする(110)。更に、
字数カウンタXの値とバツフアBufの値(初期は
“0”状態)と比較し、字数カウンタX値とバツ
フアBufの値の大小関係を判断する(111)。そし
て字数カウンタXの値の方が大きければ、バツフ
アBufの値を字数カウンタXの値に書き換えた
後、字数カウンタXの値をリセツトする(113)。
またバツフアBufの値の方が大きければ字数カウ
ンタXをリセツトする(112)。このように動作さ
せることによつてバツフアBufには行数のうちの
最大値のみが記憶される。
The character count counter X counts each character according to its size until the line break code or page break code is read out (101 to 103). When the line feed code is read, one line ends, and the line feed amount (for example, 6 mm) is completed.
is counted by line number counter Y (110). Furthermore,
The value of the character number counter X is compared with the value of the buffer Buf (initially "0" state), and the magnitude relationship between the value of the character number counter X and the value of the buffer Buf is determined (111). If the value of the character number counter X is larger, the value of the buffer Buf is rewritten to the value of the character number counter X, and then the value of the character number counter X is reset (113).
If the value of the buffer Buf is larger, the character number counter X is reset (112). By operating in this way, only the maximum value of the number of rows is stored in the buffer Buf.

以上の動作を繰返し、バツフアBufにはその頁
の最文行長が記憶され、カウンタYには一頁の印
字に要する送り量が記憶される。
By repeating the above operations, the buffer Buf stores the longest line length of the page, and the counter Y stores the feed amount required to print one page.

改頁コードが読出されると、1頁が終了し対応
する文章メモリのエリア51〜5nのM1に最大
行長を記憶するバツフアBufのデータが記憶さ
れ、M2にYに記憶する送り量が記憶される。
When the page break code is read, one page ends and the buffer Buf data for storing the maximum line length is stored in M1 of the corresponding text memory areas 51 to 5n, and the feed amount to be stored in Y is stored in M2. is memorized.

続いて第3図のフローへ進行し、用紙サイズデ
ータテーブル7のB5データ71より、サイズデ
ータが読出され(120)、B5横データ(第4図幅
データ)と上記M1の比較と、B5縦データ(第4
図長さ方向)とM2の比較が行なわれる。
Next, the flow advances to the flow shown in Fig. 3, and the size data is read from the B5 data 71 of the paper size data table 7 (120), and the B5 horizontal data (width data in Fig. 4) is compared with the above M1 , and the B5 Vertical data (4th
(figure length direction) and M 2 are compared.

このM1,M2のデータが各々サイズデータより
小さければステツプ122へ進行して“B5縦”
と表示すべく、表示装置へガイダンス用の文字コ
ードを送出し表示する。
If the data of M 1 and M 2 are each smaller than the size data, the process advances to step 122 and the "B5 vertical"
In order to display this message, a character code for guidance is sent to the display device and displayed.

操作者はこの表示によつて編集した文章がB5
版用紙の縦方向の用紙内に納まることが確認され
る。従つて、印字装置にB5版用紙を縦方向に設
置して印字する。
This display allows the operator to view the edited text as B5.
It is confirmed that it fits within the vertical direction of the printing paper. Therefore, the B5 size paper is placed vertically in the printing device and printed.

又、上記サイズより大きいければ、ステツプ1
23へ進行してB5縦データとM1,B5の横データ
とM2と比較され、M1M2が小さければステツプ
124へ進行し“B5横”と表示すべく表示装置
へガイダンスの文字コードを送出する。ここで
B5版用紙の横方向の用紙内に納まることが確認
される。このため、第4図のB5版を横にして印
字装置へ設置し印字することができる。
Also, if the size is larger than the above, please proceed to step 1.
Proceeding to step 23, the B5 vertical data is compared with M 1 and the B5 horizontal data and M 2 are compared. If M 1 M 2 is smaller, the process proceeds to step 124 and a guidance character code is sent to the display device to display "B5 horizontal". Send out. here
It is confirmed that the image fits within the horizontal direction of B5 paper. Therefore, the B5 plate shown in FIG. 4 can be placed horizontally on the printing device and printed.

以下同様に順次大きいサイズと比較される(ス
テツプ125〜135)。なお、B4サイズにも納
まらなければ、文章行長を優先してこの行長が納
まるB4の横又は縦を出力する。従つて1頁分の
下位行は2頁目にまたがることになる。この時、
このサイズ表示すると共に、サイズオーバーなる
表示させる。
Thereafter, the size is compared with the larger size in the same way (steps 125 to 135). If the text does not fit within B4 size, priority is given to the line length of the text, and the B4 width or height that fits this line length is output. Therefore, the lower rows of one page span the second page. At this time,
In addition to displaying this size, it is also displayed that the size is over.

以上の様に本発明の文章編集装置にあつては文
字を入力し編集した文章フオーマツトより、この
文章フオーマツトに最適な用紙サイズ例えばB5
縦、B5横等を自動的に求めてオペレータにその
旨報知するものであるから、文書作成が容易であ
りまたためし印字するといつた不経済なこともな
く極めて便利である。
As described above, the text editing device of the present invention selects the optimal paper size for this text format, such as B5, based on the text format in which characters are input and edited.
Since it automatically determines the height, B5 width, etc. and notifies the operator of this, it is easy to create documents and is extremely convenient without the waste of having to print out a sample.

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

第1図は本発明装置の構成を示す回路ブロツク
図、第2図及び第3図は第1図の構成の動作を示
すフローチヤート、第4図は各種用紙サイズを示
す図である。 1:キーボード装置、2:編集制御部、3:
CRT表示装置、4:印字装置、5::文章メモ
リ、6:最適用紙決定制御部、7:各種用紙のサ
イズデータテーブル(記憶装置)。
FIG. 1 is a circuit block diagram showing the structure of the apparatus of the present invention, FIGS. 2 and 3 are flowcharts showing the operation of the structure of FIG. 1, and FIG. 4 is a diagram showing various paper sizes. 1: Keyboard device, 2: Editing control unit, 3:
CRT display device, 4: Printing device, 5: Text memory, 6: Optimum paper determining control unit, 7: Size data table for various papers (storage device).

Claims (1)

【特許請求の範囲】 1 文字入力部より入力された文章情報を編集処
理し、この編集処理した文章情報を印字装置へ出
力させるようになした文章編集装置において、 文字情報を入力する手段と、 前記入力手段により入力された文章情報の編集
制御部と、 編集処理された文章情報を記憶する文章メモリ
と、 編集処理された1頁分の文章の最大行長(横方
向の長さ)を検出する手段及びこの1頁分の文章
の行数に相当する長さ(縦方向の長さ)を検出す
る手段と、 予め定められた規定の用紙の縦、横のサイズデ
ータを保持する手段と、 前記検出手段により検出された1頁分の縦、横
の長さデータと前記保持された規定用紙のサイズ
データとを比較して編集処理された文章情報に適
合する用紙サイズを選択する選択手段と、 前記選択手段で選択された用紙サイズ情報を外
部報知するための手段、 とを備えた文章編集装置。
[Scope of Claims] 1. A text editing device configured to edit text information input from a character input section and output the edited text information to a printing device, comprising: means for inputting text information; an editing control unit for text information input by the input means; a text memory for storing edited text information; and detecting the maximum line length (horizontal length) of one page of edited text. means for detecting the length (length in the vertical direction) corresponding to the number of lines of text for one page; and means for holding predetermined vertical and horizontal size data of the paper; selection means for selecting a paper size suitable for edited text information by comparing the length and width data of one page detected by the detection means with the size data of the stored standard paper; A text editing device comprising: means for externally notifying paper size information selected by the selection means.
JP57098889A 1982-06-08 1982-06-08 Sentence editing device Granted JPS58214980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57098889A JPS58214980A (en) 1982-06-08 1982-06-08 Sentence editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57098889A JPS58214980A (en) 1982-06-08 1982-06-08 Sentence editing device

Publications (2)

Publication Number Publication Date
JPS58214980A JPS58214980A (en) 1983-12-14
JPH0113127B2 true JPH0113127B2 (en) 1989-03-03

Family

ID=14231701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57098889A Granted JPS58214980A (en) 1982-06-08 1982-06-08 Sentence editing device

Country Status (1)

Country Link
JP (1) JPS58214980A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160772A (en) * 1984-01-31 1985-08-22 Fuji Xerox Co Ltd Facsimile equipment having font function
JPS61107559U (en) * 1984-12-19 1986-07-08
JPH0747329B2 (en) * 1987-09-28 1995-05-24 株式会社日立製作所 Document creation device
JPH01214463A (en) * 1988-02-20 1989-08-28 Ricoh Co Ltd Data processor
JPH02128873A (en) * 1988-11-09 1990-05-17 Nec Corp Printer device

Also Published As

Publication number Publication date
JPS58214980A (en) 1983-12-14

Similar Documents

Publication Publication Date Title
TW490396B (en) Character information printing apparatus
JPH026072B2 (en)
JPH0113127B2 (en)
JPS5887564A (en) Copying machine
US5333253A (en) Apparatus for writing a document under two-document display condition
JP3366771B2 (en) Printing equipment
KR0146901B1 (en) Logo insert printer
JP3343280B2 (en) Image forming storage device
JP3161744B2 (en) Information processing device
JPH09109478A (en) Label printing, document creation device and recording medium
JPS63250687A (en) Document data editing apparatus
JPH0573562A (en) Document editing device
JP2553809B2 (en) Document processing device
JPH0540466A (en) Information processing equipment
JPH09109505A (en) Method of printing register marks, document forming apparatus and recording medium
JPH08147292A (en) Output processor for corrected document
JPH0785173A (en) Form printing device
JPH0651925A (en) Image forming device
JPH07319441A (en) Sentence display device
JPH05330141A (en) Printer
JPH05225190A (en) Data processor
JPH05169758A (en) Print setting system
JPS63125352A (en) Printing data control system
KR20060127442A (en) Method and device for printing page information
JPH0535734A (en) Information processing equipment