JPS63723A - Text print processing system - Google Patents
Text print processing systemInfo
- Publication number
- JPS63723A JPS63723A JP61145843A JP14584386A JPS63723A JP S63723 A JPS63723 A JP S63723A JP 61145843 A JP61145843 A JP 61145843A JP 14584386 A JP14584386 A JP 14584386A JP S63723 A JPS63723 A JP S63723A
- Authority
- JP
- Japan
- Prior art keywords
- data
- line
- buffer
- 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.)
- Pending
Links
- 239000000872 buffer Substances 0.000 claims abstract description 44
- 238000000034 method Methods 0.000 claims description 10
- 238000003672 processing method Methods 0.000 claims description 5
- 238000007781 pre-processing Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 15
- 239000002699 waste material Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔概 要〕
テキストを頁ごとに処理して印刷装置に出力する場合の
バッファを縮小する処理方式である。[Detailed Description of the Invention] [Overview] This is a processing method that reduces the buffer size when text is processed page by page and output to a printing device.
テキストの行の後半に生しる空白部分等を詰めて、デー
タを連続してハ゛ソファに保持し、行の区切りを、バッ
ファ上の行間に置く特定符号、又は各行の開始位置とデ
ータ長さを示すテーブル等の手段で示す。この区切り情
報を参照して、バ。Fill in the blank space that occurs at the end of a line of text, hold the data continuously in the buffer, and use a specific code to separate the lines between the lines on the buffer, or specify the starting position and data length of each line. Indicate by means such as a table shown in the table. Please refer to this delimiter information.
ファから行データを逐次出力する。Output row data sequentially from the file.
この方式により、印刷結果の頁に対応した2次元形式の
バッファで生じる無駄を除く。This method eliminates waste caused by two-dimensional buffers corresponding to pages of printed results.
本発明は、テキストを頁ごとに処理して印刷装置に出力
するシステムのテキスト印刷処理方式に関する。The present invention relates to a text print processing method for a system that processes text page by page and outputs it to a printing device.
テキストの印刷において、処理装置で各1頁のデータを
読み出して、頁内のレイアウトを整える等の処理をした
後、印刷装置に出力する場合がある。When printing text, there are cases in which a processing device reads data for each page, performs processing such as arranging the layout within the page, and then outputs the data to a printing device.
第4図は、印刷システムの一構成例を示すブロック図で
ある。FIG. 4 is a block diagram showing an example of the configuration of a printing system.
処理装置1は、主記憶装置2にロードされた適当なプロ
グラムを実行することにより、例えば予め別に作成して
外部記憶装置3に格納されている印刷すべきテキストを
読み出して、印刷のための所要の前処理をし、逐次例え
ば1行ごとに印刷装置4に出力する。By executing an appropriate program loaded into the main storage device 2, the processing device 1 reads the text to be printed, which has been separately created in advance and stored in the external storage device 3, for example, and executes the text required for printing. The data is pre-processed and output to the printing device 4 sequentially, for example, line by line.
印刷装置4は順次送られるデータを受は取って所要行数
のデータをバッファに保持し、バッファ上のデータにつ
いて、制御記号を解釈しながら、印刷文字を例えば1文
字づつ印字する。The printing device 4 receives the sequentially sent data, holds the required number of lines of data in a buffer, and prints print characters, for example, one character at a time, while interpreting control symbols for the data on the buffer.
比較的高度の印刷制御機能を持つ印刷システムにおいて
は、いわゆる禁則処理等の処理を行い、その結果によっ
て頁配分を考慮し、只見出しが頁の最下行に来ないよう
に繰り下げる等のために、印刷の前処理において1頁の
データを主記憶装置2の頁バツファ5に展開して処理す
る。In a printing system with a relatively advanced print control function, processing such as so-called prohibition processing is performed, and page allocation is considered based on the result, and in order to move the heading so that it does not fall on the bottom line of the page, etc. In pre-printing processing, one page of data is expanded into the page buffer 5 of the main storage device 2 and processed.
第5図は、頁バツファ5に1頁のテキストのデータが配
置された例を示す図である。FIG. 5 is a diagram showing an example in which one page of text data is arranged in the page buffer 5. As shown in FIG.
図に概念的に示すように、頁バツファ5は実際に印刷さ
れる頁の行構成に対応して、−Cに一定長の領域を各行
に割り当てた、いわゆる2次元構成のバッファ領域とし
て構成され、図の例のようにテキストのデータが配置さ
れる。As conceptually shown in the figure, the page buffer 5 is configured as a so-called two-dimensional buffer area in which a fixed length area is allocated to each line in accordance with the line structure of the page to be actually printed. , text data is arranged as shown in the example in the figure.
前記のように頁バツファがとられるので、図の例からも
明らかなように、テキスト中にしばしば生じる、各行の
後部の空き、或いは全部空白の行等の部分(図に=で示
す)では、不必要に記憶領域を使用する状態になり、記
憶領域の利用効率が悪いという問題があった。Since the page buffer is taken as described above, as is clear from the example in the figure, in the spaces at the end of each line or completely blank lines that often occur in the text (indicated by = in the figure), There is a problem in that the storage area is used unnecessarily and the storage area is used inefficiently.
第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.
処理装置1はテキストの1頁のデータの印刷の前処理に
おいて、各行の先頭から、後部の空白等を除くを効デー
クの末尾までの印刷データを、各行を連続して印刷バッ
ファ10に格納する。In pre-processing for printing data for one page of text, the processing device 1 sequentially stores print data from the beginning of each line to the end of the print data, excluding trailing blanks, in the print buffer 10 for each line. .
又、印刷データの格納と並行して、区切り表示手段II
には、印刷バッファ10上における、各行のデータ間の
区切りを示す所定形式の情報を設定する。In addition, in parallel with storing the print data, the delimiter display means II
In the print buffer 10, information in a predetermined format indicating the delimiter between each line of data is set.
このようにして、前処理され印刷バッファ10に保持さ
れるテキストを印刷する場合に、処理装置lは行データ
出力部12を実行する。In this way, when printing the preprocessed text held in the print buffer 10, the processing device 1 executes the line data output unit 12.
データ出力部I2は、区切り表示手段110区切り情報
を参照することによって、印刷バッファ10から1行づ
つの印刷データを化成して、印、t11データを順次印
刷装置4へ出力して印刷させる。The data output unit I2 converts the print data line by line from the print buffer 10 by referring to the delimiter information of the delimiter display means 110, and sequentially outputs the mark and t11 data to the printing device 4 for printing.
以上の方式により、1頁の印刷データを保持するために
必要な記tα領域が減少される。With the above method, the recording tα area required to hold one page of print data is reduced.
C実施例)
第2図は、一実施例における印刷バッファ1o及び区切
り表示手段11の構成を説明する図である。C Embodiment) FIG. 2 is a diagram illustrating the configuration of the print buffer 1o and the delimiter display means 11 in one embodiment.
第2図において、印刷バッファ2oには第5図の例と同
じテキストのデータが、各行の後半の無効部分、及び空
白行を除いて詰めて配置される。In FIG. 2, the same text data as in the example in FIG. 5 is arranged in the print buffer 2o, excluding the invalid portions in the latter half of each line and blank lines.
この実施例の方式では、各行のデータの末尾に特定の区
切り符号(図においてくにより示す)を挿入することに
より区切り表示手段とする。In the method of this embodiment, a specific delimiter code (shown particularly in the figure) is inserted at the end of each line of data to serve as a delimiter display means.
即ち、行データ出力部12は、印刷バッファ20の先頭
から順次文字データを取り出して、それが区切り符号く
か検査し、くでなければ印刷装置4に出力し、取り出し
た文字かくであれば、1行の終わりとして処理する。That is, the line data output unit 12 sequentially extracts character data from the beginning of the print buffer 20, checks whether it is a delimiter, and if not, outputs it to the printing device 4, and if the extracted character is written, Treated as the end of one line.
第3図は、他の一実施例を説明する図であり、印刷バッ
ファ21と管理テーブル22からなる。FIG. 3 is a diagram illustrating another embodiment, which includes a print buffer 21 and a management table 22.
印刷バ・ソファ21には、図のようにテキスト各行の先
頭から有効データの末尾までのデータが、連続して格納
される。In the print bar 21, data from the beginning of each line of text to the end of valid data is continuously stored as shown in the figure.
管理テーブル22は、印刷される頁の各行に対応する項
からなり、各項は印刷バッファ21上の各行データの先
頭の文字位置を示す先頭アドレス欄23と、その行のデ
ータの長さを示すデータ長欄24からなる。The management table 22 consists of entries corresponding to each line of the page to be printed, and each entry includes a start address field 23 that indicates the first character position of each line of data on the print buffer 21, and a length of the data for that line. It consists of a data length column 24.
この場合行データ出力部12は、印刷装置4へ出力する
行データの印刷バッファ21上の位置を、管理テーブル
22の該当行の先頭アドレス欄23によって知り、その
位置からデータ長欄24で指定される文字数のデータを
印刷バッファ21から読み出して出力する。In this case, the line data output unit 12 learns the position on the print buffer 21 of the line data to be output to the printing device 4 from the start address field 23 of the corresponding line in the management table 22, and from that position is specified in the data length field 24. The data for the number of characters is read from the print buffer 21 and output.
この際、例えばデータ長欄の内容が0か検査し、0の場
合には印刷バッファ21を読むこと無(、この行を全空
白の行として処理する。At this time, for example, it is checked whether the content of the data length column is 0, and if it is 0, the print buffer 21 is not read (and this line is treated as a completely blank line).
第2図の方式では、印刷バッファ20の先頭から順番に
読まないと、特定の行にアクセスすることができないが
、第3図の方式では、管理テーブル22を参照すること
により、印刷へソファ21の必要な行データに直接アク
セスできるという利点があるが、バッファとは別にテー
ブルのだめの記憶領域を要するという点は不利である。In the method shown in FIG. 2, a specific line cannot be accessed unless the print buffer 20 is read sequentially from the beginning, but in the method shown in FIG. This method has the advantage of directly accessing the required row data, but has the disadvantage of requiring additional storage space for the table in addition to the buffer.
なお、必要がある場合には、両方式を併用しても差支え
無い。Note that, if necessary, both methods may be used together.
以上説明した方式により、印刷頁の前処理のためのバッ
ファの所要量が、第5図と第2図の例において約62%
に減少し、−般に記憶領域の利用効率の改善が期待でき
る。With the method explained above, the amount of buffer required for preprocessing the print page is reduced by approximately 62% in the examples of Figures 5 and 2.
In general, it can be expected that the storage area usage efficiency will be improved.
以上の説明から明らかなように、大発明によれば、印刷
システムにおける、印す11処理のための頁データを保
持するバッファに無駄が無くなるので、記憶領域の利用
効率が改善されるという著しい工業的効果がある。As is clear from the above explanation, according to the great invention, there is no waste in the buffer that holds page data for printing 11 processing in the printing system, so it is a remarkable invention that the efficiency of storage area usage is improved. It has a positive effect.
第1図は本発明の構成を示すブロック図、第2図は本発
明の一実施例を説明する図、第3図は本発明の他の実施
例を説明する図、第4図は従来の一構成例ブロック図、
第5図は従来の頁バツファの説明図である。
図において、
1は処理装置、 2は王記憶装置、4は印刷装
置、 5は頁バツファ、10.20.21は印
刷バッファ、
11は区切り表示手段、 12は行データ出力部、22
は管理テーブル、 23は先頭アドレス欄、24はデ
ータ長欄を示す。 、41似\本発明の構成
を示すブロック図
第1図
本発明の一実施例を説明する図
第2図
+6 1? Ill 19 20 H
22!3 24 25 26 2フ !fi
!? 3031 31 23 :1
4 35 36 37 38 ff9
40 41 42 43 44 −4%本発
明の他の実施例を説明する図
第3図
従来の一構成例プロック図
第4図
従来の頁バツファの説明図FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a diagram explaining one embodiment of the present invention, FIG. 3 is a diagram explaining another embodiment of the present invention, and FIG. 4 is a diagram explaining the conventional FIG. 5 is an explanatory diagram of a conventional page buffer. In the figure, 1 is a processing device, 2 is a storage device, 4 is a printing device, 5 is a page buffer, 10, 20, 21 is a print buffer, 11 is a delimiter display means, 12 is a line data output unit, 22
23 indicates a management table, 23 indicates a start address column, and 24 indicates a data length column. , 41 similar\Figure 1 is a block diagram showing the configuration of the present invention.Figure 2 is a diagram explaining an embodiment of the present invention.+6 1? Ill 19 20 H
22!3 24 25 26 2f! fi
! ? 3031 31 23 :1
4 35 36 37 38 ff9
40 41 42 43 44 -4% Diagram explaining another embodiment of the present invention FIG. 3 A block diagram of a conventional configuration example FIG. 4 An explanatory diagram of a conventional page buffer
Claims (3)
べきテキストのデータを該頁ごとに処理して、該印刷装
置に出力するシステムにおいて、 連続領域からなるバッファであって、該テキストの各行
に、各行ごとの先頭から有効データの末尾までのデータ
を保持する長さの領域を割り当てて保持するバッファ手
段(10)と、 該バッファ手段に保持されるデータについて、前記各行
の間の区切りを示す区切り表示手段(11)とを設け、 該区切り表示手段を参照して、該バッファ手段のデータ
を各行ごとに、逐次前記印刷装置に出力する(12)よ
うに構成されていることを特徴とするテキスト印刷処理
方式。(1) In a system that processes text data to be printed on a page consisting of a plurality of lines by a printing device for each page and outputs it to the printing device, a buffer consisting of a continuous area that contains the text Buffer means (10) that allocates and holds an area long enough to hold data from the beginning of each line to the end of valid data for each line, and a delimiter between each line for the data held in the buffer means. and a delimiter display means (11) indicating the delimiter, and the data in the buffer means is sequentially outputted to the printing device line by line by referring to the delimiter display means (12). Text printing processing method.
される各行のデータの末尾ごとに、特定の符号を挿入配
置して構成される特許請求の範囲第1項記載のテキスト
印刷処理方式。(2) The text printing processing method according to claim 1, wherein said delimiter display means is constructed by inserting and arranging a specific code at each end of each line of data held in said buffer means.
される各行のデータについて、該各行ごとの該バッファ
手段上の開始位置及びデータの長さを示すテーブルを有
する特許請求の範囲第1項又は第2項記載のテキスト印
刷処理方式。(3) The delimiter display means includes a table indicating the starting position and data length on the buffer means for each row of data held in the buffer means, or The text printing processing method described in Section 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61145843A JPS63723A (en) | 1986-06-20 | 1986-06-20 | Text print processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61145843A JPS63723A (en) | 1986-06-20 | 1986-06-20 | Text print processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63723A true JPS63723A (en) | 1988-01-05 |
Family
ID=15394385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61145843A Pending JPS63723A (en) | 1986-06-20 | 1986-06-20 | Text print processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63723A (en) |
-
1986
- 1986-06-20 JP JP61145843A patent/JPS63723A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS60141076A (en) | Control system of printer | |
JPS63723A (en) | Text print processing system | |
JP2584973B2 (en) | Recognition result output method in character recognition device | |
JPS60118878A (en) | Character pattern processing system | |
JPS5845732B2 (en) | Printing control device | |
JPS61100472A (en) | Printer-controlling system | |
JP2674887B2 (en) | Word processor | |
JPS5931752B2 (en) | printing device | |
JP2872144B2 (en) | Printing equipment | |
JPS6168631A (en) | Document print processing system | |
JP2745349B2 (en) | Printing device | |
JPH0373913B2 (en) | ||
JPH0213631B2 (en) | ||
JPH0325667A (en) | Japanese word processing system | |
JPS6364086A (en) | Output unit | |
JPH0729449B2 (en) | Printer controller | |
JPS63138417A (en) | Printer | |
JPH04305694A (en) | Device and method for dot pattern storage | |
JPH07108578B2 (en) | Output device | |
JPS63216772A (en) | Printing-controlling system | |
KR940018229A (en) | High speed printing method of laser beam printer | |
JPH02130167A (en) | Printing control apparatus | |
KR970029169A (en) | Printer blank data processing method | |
JPH0560793B2 (en) | ||
JPS61149362A (en) | Data controlling device |