JPS6325364B2 - - Google Patents

Info

Publication number
JPS6325364B2
JPS6325364B2 JP57098585A JP9858582A JPS6325364B2 JP S6325364 B2 JPS6325364 B2 JP S6325364B2 JP 57098585 A JP57098585 A JP 57098585A JP 9858582 A JP9858582 A JP 9858582A JP S6325364 B2 JPS6325364 B2 JP S6325364B2
Authority
JP
Japan
Prior art keywords
page
character
data stream
code
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
Application number
JP57098585A
Other languages
Japanese (ja)
Other versions
JPS57212590A (en
Inventor
Ruisu Gaudetsuto Jeemuzu
Edowaado Chukuran Ridorufu
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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of JPS57212590A publication Critical patent/JPS57212590A/en
Publication of JPS6325364B2 publication Critical patent/JPS6325364B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 発明の背景 発明の技術的分野 本発明はワード処理、特にテキスト・データ・
ストリームの自動丁付(ページ付)に係る。
DETAILED DESCRIPTION OF THE INVENTION BACKGROUND OF THE INVENTION Technical Field of the Invention The present invention relates to word processing, particularly text data processing.
Relates to automatic tabulation (with pages) of streams.

先行技術の特徴 現在使用されている大部分のワード処理システ
ムで、操作員は印刷、磁気カード記録または通信
のようなバツチ/バツクグラウンド出力機能を事
前のページ調整なしに実行することはできない。
IBMオフイス・システム6のようなシステムは
用紙終端センサを使用して一定様式のページを印
刷するけれども、前記システムは文書の境界に追
随しない。更に、前記オフイス・システム6は、
磁気カード記録または通信のような他のバツチ/
バツクグラウンド処理に対し一定様式のページを
作成しない。従つて、バツチ/バツクグラウンド
出力プロセスに対してデータ・ストリームを自動
的に丁付する方法が必要である。
Features of the Prior Art Most word processing systems currently in use do not allow an operator to perform batch/background output functions such as printing, magnetic card recording, or correspondence without prior page preparation.
Although systems such as the IBM Office System 6 use end-of-paper sensors to print formatted pages, the systems do not follow document boundaries. Furthermore, the office system 6 includes:
Other badges such as magnetic card recording or communications
Do not create fixed-format pages for background processing. Therefore, there is a need for a method to automatically collate a data stream to a batch/background output process.

データ・ストリームを自動的に丁符する場合、
作成したハード・コピーの1ページの全部、また
は冒頭部が空白になることを防止する、すなわ
ち、無駄なハード・コピーの作成を防止すること
を考慮しなければならない。
If you want to automatically cite the data stream,
Consideration must be given to preventing the entire page or the beginning of a created hard copy from being blank, that is, to prevent the creation of useless hard copies.

発明の要約 本発明は、ワード処理システムのメモリに記憶
された一連の行からなる論理的ページの少なくと
も1ページにフオーマツトされたデータ・ストリ
ームをハード・コピー作成のために丁符する方法
であつて、 (a) 前記論理的ページの最初の行に遭遇すると、
ハード・コピーの上下方向に関する印刷位置を
検出するための前記システムに備えたレジスタ
を初期設定し、 (b) 前記データ・ストリームで行終了コードに遭
遇する度に、 (b1) 前記ハード・コピーの上下方向に関する印
刷位置の間隔を表わす値だけ前記レジスタを増
用させるとともに、 (b2) 前記レジスタが前記ハード・コピーの最下
行に対応する所定値に達するとページ・オーバ
フロー状態を表示するページ・オーバフロー・
ラツチを質問して、ページ・オーバフロー状態
が生じているかどうかを決定し、 (c) 前記ページ・オーバフロー状態が生じている
ことが決定された場合、前記データ・ストリー
ムで前記行終了コードに続く文字を質問して該
文字が所定の制御文字であるかどうかを決定す
ることを前記データ・ストリームで前記所定の
制御文字以外の文字が見つかるまで繰り返し、 (d) 前記所定の制御文字以外の文字が見つかれ
ば、該文字よりも先にページ終了コードを出力
バツフアの中へコピーすること、前記ページ・
オーバフロー・ラツチをリセツトすること、前
記レジスタを初期設定することを行う 文書自動丁符方法である。
SUMMARY OF THE INVENTION The present invention is a method of collating for hard copy production a data stream formatted into at least one logical page of a series of lines stored in the memory of a word processing system. , (a) When the first line of said logical page is encountered,
(b) initializing registers in the system for detecting the vertical print position of a hard copy; (b) each time an end-of-line code is encountered in the data stream; (b2) a page overflow that increases the register by a value representing the interval between printing positions in the vertical direction; and (b2) displays a page overflow condition when the register reaches a predetermined value corresponding to the bottom line of the hard copy.・
(c) if it is determined that said page overflow condition has occurred, the character following said line termination code in said data stream; (d) determining whether the character is a predetermined control character until a character other than the predetermined control character is found in the data stream; If found, copy the page end code into the output buffer before the character;
A method for automatically ticking documents that resets the overflow latch and initializes the registers.

詳細な説明 本発明は磁気カード記録、印刷およびロード・
プロセツサ間の通信のようなバツチ・バツクグラ
ウンド・プロセスに対するデータ・ストリームの
自動丁付の前処理プログラムを与える。その主要
な目的は丁付されていない、すなわちページ終了
コードを与えられていないデータ・ストリームを
印刷する能力をワード・プロセツサに与えること
である。自動丁付はテキストを用紙の物理的境界
または操作員が指定した最終タイプ行を超過して
印刷することなく操作員が任意の長さの論理的ペ
ージをキー入力することを可能にする。本発明
は、自動丁符を行う際に、作成したハード・コピ
ーの1ページの全部、または冒頭部が空白になる
ことを防止する。
DETAILED DESCRIPTION The present invention provides magnetic card recording, printing and loading.
Provides a preprocessing program for automatic collation of data streams for batch background processes such as interprocessor communication. Its primary purpose is to give word processors the ability to print data streams that are uncollated, ie, have not been given an end-of-page code. Automatic binding allows the operator to key in logical pages of arbitrary length without printing text beyond the physical boundaries of the paper or beyond the final type line specified by the operator. The present invention prevents the entire page or the beginning of a page of a produced hard copy from being blank when performing auto-ticion.

本発明の自動丁付方法はページ終了コードの挿
入によつて丁付されたテキストのほか、3種類の
丁付されていないテキストを識別し処理する。第
1の種類のテキストは論理的ページ終了が用紙上
の最後のタイプ行の前に生じるテキストを含む。
論理的ページは操作員がデイスケツト上に記憶し
たテキスト行の連続で、ページ終了コージによつ
て終了する。論理的ページは物理的な用紙の行数
に相当することもあり、または行数が多かつたり
あるいは少なかつたりすることもある。論理的ペ
ージ終了が最終タイプ行前に生じたとき、全部の
文書は用紙の物理的境界を超過することなしに印
刷可能である。よつて、自動丁付は必要としな
い。
The automatic tabulation method of the present invention identifies and processes three types of unpaged text in addition to text that is tabulated by inserting end-of-page codes. The first type of text includes text where the logical end of the page occurs before the last type line on the paper.
A logical page is a series of lines of text that the operator has stored on a diskette, terminated by an end-of-page code. A logical page may correspond to the number of lines on a physical sheet of paper, or may have more or fewer lines. When the logical end of page occurs before the last type line, the entire document can be printed without exceeding the physical boundaries of the paper. Therefore, automatic pagination is not required.

第2および第3の種類のテキストは論理的ペー
ジを構成するデータ・ストリームが印刷された場
合に最終タイプ行を超過する文書を含む。これに
よつてページ・オーバフロー状態を生じる。第2
の種類のテキストでは、論理的ページは最終タイ
プ行を超過するか、データ・ストリーム中の次の
文字は空白スペースを生じる制御コードである。
前記制御コードは“白文字”として知られ、例え
ば、行終了コード、ページ終了コード、パラグラ
フ境界、タブ、およびキヤリヤ復帰を含む。前記
の場合には、新しいページはデータ・ストリーム
で最初の非白(図形)文字に出会うまで作成され
ない。
The second and third types of text include documents that exceed the final type line when the data stream that makes up the logical page is printed. This causes a page overflow condition. Second
For type of text, the logical page exceeds the final type line, or the next character in the data stream is a control code that creates a blank space.
The control codes are known as "white characters" and include, for example, end-of-line codes, end-of-page codes, paragraph boundaries, tabs, and carrier returns. In the above case, a new page is not created until the first non-white (graphic) character is encountered in the data stream.

第3の種類のテキストでは、論理的ページは最
終タイプ行を超過し、データ・ストリーム中の次
の文字は非白か、または図形文字である。これに
よつてエラー状態を生じる。その理由はデータ・
ストリーム中の次の文字の印刷によつてテキスト
は最終タイプ行の下に印刷されるからである。前
記の場合、プログラムが最終に、最終タイプ行を
越えたと決定したデータ・ストリーム中の場所で
ページは終了し、新しいページが印刷可能な図形
を含む最初の行によつて開始される。前記のオー
バフローによるエラー状態が生じたとき、プログ
ラムは最終行を越えた場合に戻つて、その後にペ
ージ終了コードを挿入する。それによつて修正さ
れたデータ・ストリームを丁付し、続いて前記デ
ータ・ストリームは処理される。
In the third type of text, the logical page exceeds the final type line and the next character in the data stream is non-white or a graphic character. This creates an error condition. The reason is data
This is because printing the next character in the stream causes the text to be printed below the last type line. In the above case, the page ends at the point in the data stream where the program finally determines that it has exceeded the last typed line, and a new page begins with the first line containing printable graphics. When the overflow error condition described above occurs, the program returns if the last line is exceeded and inserts an end-of-page code afterward. The data stream modified thereby is collated, and said data stream is subsequently processed.

第1図は自動丁付の機能を有するワード処理シ
ステムの個々の機能素子を示す。単線の矢印はデ
ータの流れ、2重線の矢印は制御の流れを表わ
す。前記素子はランダム・アクセス・メモリ1
0、共通変換プログラム/前処理プログラム(以
下共通変換プログラムという)12、記憶アクセ
ス方法14、キーボード・アクセス方法16、お
よび印刷アクセス方法18を含むほか、データ・
デイスケツト記憶装置20、キーボード装置2
2、および印刷装置24のような各種の周辺装置
を含む。更に、ランダム・アクセス・メモリ1
0、共通変換プログラム12、および印刷アクセ
ス方法18とインターフエースする印刷コントロ
ーラ26が本システムに含まれている。
FIG. 1 shows the individual functional elements of a word processing system with automatic pagination functionality. Single-line arrows represent data flow, and double-line arrows represent control flow. The element is a random access memory 1
0, a common conversion program/preprocessing program (hereinafter referred to as the common conversion program) 12, a storage access method 14, a keyboard access method 16, and a print access method 18.
Diskette storage device 20, keyboard device 2
2, and various peripheral devices such as a printing device 24. Furthermore, random access memory 1
0, a common conversion program 12, and a print controller 26 that interfaces with the print access method 18.

ランダム・アクセス・メモリ10は入力バツフ
ア30、出力バツフア32、およびページ・オー
バフロー・ラツチ34を含む(第2図)。第1図
に示すように、ランダム・アクセス・メモリ10
は共通変換プログラム12、記憶アクセス方法1
4、キーボード・アクセス方法16、印刷アクセ
ス方法18、および印刷コントローラ26とイン
ターフエースする。
Random access memory 10 includes an input buffer 30, an output buffer 32, and a page overflow latch 34 (FIG. 2). As shown in FIG.
is common conversion program 12, memory access method 1
4. interfaces with keyboard access method 16, print access method 18, and print controller 26;

共通変換プログラム12は内部デイスケツト・
コードおよび外部プリンタで用いるコード、磁気
カード記録および通信アクセス方法の間のインタ
ーフエースである。共通変換プログラム12の主
要機能は内部デイスケツト・コードを印刷可能デ
ータ・ストリームに変換することである。この前
処理プログラム機能は内部EBCDICコード・セツ
トを取出し、EBCDICの簡単なサブセツトを生成
する。前記サブセツトは特定のアクセス方法によ
つて使用および/または翻訳が可能である。第1
図および詳細には第2図に示すように、共通変換
プログラム12はランダム・アクセス・メモリ1
0の入力バツフア30からデータを取出し、前記
データを操作して出力バツフア32に修正された
データ・ストリームを与える。修正されたデー
タ・ストリームは本発明によつて与えられたペー
ジ終了コードを含み、印刷アクセス方法18によ
つて出力バツフア32からアクセスされる。第2
図に示す共通変換プログラム12に従属する関連
機能の詳細を次に記述する。
The common conversion program 12 is an internal diskette.
It is an interface between the code and the code used in external printers, magnetic card recording and communication access methods. The primary function of the common conversion program 12 is to convert internal diskette code into a printable data stream. This preprocessor function takes the internal EBCDIC code set and generates a simple subset of EBCDIC. Said subsets can be used and/or translated by specific access methods. 1st
As shown in the diagram and in detail in FIG.
0 from input buffer 30 and manipulates the data to provide a modified data stream at output buffer 32. The modified data stream includes an end-of-page code provided by the present invention and is accessed from output buffer 32 by print access method 18. Second
Details of related functions subordinate to the common conversion program 12 shown in the figure will be described next.

第1図で、記憶アクセス方法14は本システム
のそれぞれの構成要素をデータ・デイスケツト記
憶装置20にインターフエースするのに用いられ
るプログラムの集りである。入力データ・ストリ
ームを得るプロセスで共通変換プログラム12が
データを要求するたびに、記憶アクセス方法14
はデイスケツトのデータを要求し、入力バツフア
30(第2図)のメモリに入り、共通変換プログ
ラム12によつてアクセスし、前処理することが
可能となる。
In FIG. 1, storage access method 14 is a collection of programs used to interface each component of the system to data diskette storage 20. Each time the common conversion program 12 requests data in the process of obtaining an input data stream, the storage access method 14
requests the data from the diskette and enters the memory of the input buffer 30 (FIG. 2) where it can be accessed and preprocessed by the common conversion program 12.

キーボード・アクセス方法16は操作員が原始
入力をキー入力するキーボード装置22とインタ
ーフエースするプログラムの集りである。キーボ
ード装置22はランダム・アクセス・メモリ10
によつて印刷プロセスを間接的に制御する。操作
員がキーボード装置22によつて動作を開始した
後は、前記動作は印刷コントローラ26の制御の
下に完了し、操作員との対話をそれ以上必要とし
ない。
Keyboard access method 16 is a collection of programs that interface with keyboard device 22 through which an operator keys in primitive inputs. Keyboard device 22 has random access memory 10
indirectly controls the printing process. Once the operator initiates an action via the keyboard device 22, the action is completed under the control of the print controller 26 and requires no further interaction with the operator.

印刷アクセス方法18は印刷装置24にインタ
ーフエースするプログラムの集りである。印刷ア
クセス方法18は共通変換プログラム12によつ
て変換されたデータを取出してランダム・アクセ
ス・メモリ10に返し、そのデータを印刷コント
ローラ26の制御の下に印刷装置24に送る。
Print access method 18 is a collection of programs that interface with printing device 24. Print access method 18 retrieves the data transformed by common conversion program 12 and returns it to random access memory 10 and sends the data to printing device 24 under the control of print controller 26 .

第2図は本発明に関係ある共通変換プログラム
12の従属機能を示す。前記機能はシングル・バ
イト・デコーダ40、ページ終了コード・エクゼ
キユータ41、行終了コード・エクゼキユータ4
2、次文字検査サブルーチン48、ページ終了サ
ブルーチン54、および入力文字を出力バツフア
32に移動するサブルーチンの機能を含む。第3
図−第8図に示す前記機能の詳細について次に記
述する。
FIG. 2 shows the dependent functions of the common conversion program 12 that are relevant to the present invention. The functions include a single byte decoder 40, a page end code executor 41, and a row end code executor 4.
2, includes the functions of a next character check subroutine 48, an end of page subroutine 54, and a subroutine that moves input characters to output buffer 32. Third
Details of the functions shown in FIG. 8 will be described next.

第2図に示すシングル・バイト・デコーダ40
は制御の流れという面では階層構造の最上部にあ
る。シングル・バイト・デコーダ40はシング
ル・バイト制御コードのすべてをデコードする
が、ここでは行終了コードおよびページ終了コー
ドについてのみ記述する。第2図と第3図に示す
ように、データ・ストリームで適当なページまた
は行終了コードに出会つたとき、シングル・バイ
ト・デコーダ40はページ終了コード・エクゼキ
ユータ41または行終了コード・エクゼキユータ
42のいずれかに制御を渡す。第3図に示すよう
に、図形文字コードを含む他の非行終了コードも
またシングル・バイト・デコーダ40によつてデ
コードされるが、それらのコードは本発明に直接
の関係はない。従つて、前記データを修正された
データ・ストリームの中にデコードする論理を表
示または記述しない。シングル・バイト・デコー
ダ40は第3図に示されない他の従属機能に制御
を転送すると、前記従属機能は入力バツフア30
から通常の非行終了コードを取得して処理し、出
力バツフア32の中にコピーする。
Single-byte decoder 40 shown in FIG.
is at the top of the hierarchy in terms of flow of control. Although single-byte decoder 40 decodes all single-byte control codes, only the line end code and page end code will be described here. As shown in FIGS. 2 and 3, when the appropriate page or row end code is encountered in the data stream, single-byte decoder 40 decodes either page end code executor 41 or row end code executor 42. Transfer control to one. As shown in FIG. 3, other delinquent exit codes, including graphic character codes, are also decoded by single-byte decoder 40, but these codes are not directly relevant to the present invention. Therefore, the logic for decoding said data into a modified data stream is not shown or described. Single-byte decoder 40 transfers control to other slave functions not shown in FIG.
The normal delinquency exit code is obtained from the ``delinquency termination code'', processed, and copied into the output buffer 32.

ページ調整ルーチンは丁付されたテキストとそ
うでないテキストを見分けないから、ページ終了
コードに出会うテキストを処理する能力がなけれ
ばならない。シングル・バイト・デコーダ40が
ページ終了コードをデコードするとき、自動丁付
は不要であり、自動丁付ルーチンはバイパスされ
る。ページ終了コードがデコードされると、シン
グル・バイト・デコーダ40は制御をページ終了
コード・エクゼキユータ41に渡す。ページ終了
コード・エクゼキユータ41の論理を第4図に示
す。ステツプ43で、ページ終了コードが既に存在
しているとき、ページ・オーバフロー・ラツチ3
4はリセツトされ、ページ・オーバフロー状態が
生じる可能性を除去する。次に、ステツプ44で制
御はより高いレベルのプログラム(図示せず)に
リターンする。
Since the page alignment routines do not distinguish between tabulated and uncopied text, they must be able to handle text that encounters end-of-page codes. When single-byte decoder 40 decodes the end-of-page code, auto-page is not required and the auto-page routine is bypassed. Once the page end code is decoded, single byte decoder 40 passes control to page end code executor 41. The logic of the page end code executor 41 is shown in FIG. In step 43, if the page exit code already exists, the page overflow latch 3
4 is reset to eliminate the possibility of a page overflow condition. Control then returns to the higher level program (not shown) at step 44.

データ・ストリームで行終了コードに出会つた
とき、シングル・バイト・デコーダ40は第5図
に示す自動丁付ルーチン45のサブルーチン、行
終了コード・エクゼキユータ42に制御を渡す。
行終了コードが前記エクゼキユータ42によつて
実行されるたびに、ページ上に印刷位置の垂直変
位を生じる。例えば、文書が2.54cm当り6行の普
通の行密度でシングル・スペースの場合、行終了
コードの実行によつて印刷位置に2.54cmの6分の
1の垂直変位を生じる。現在のタイプ行は垂直ト
ラツキング・レジスタ(図示せず)によつて追跡
される。このように、垂直トラツキング・レジス
タの値はステツプ46で2.54cmの6分の1だけ増加
し、常に垂直印刷位置(ハード・コピーの上下方
向に関する印刷位置)を保持する。一般に、垂直
トラツキング・レジスタは操作員が指定した行密
度によつて増加する値が決まる。
When an end-of-line code is encountered in the data stream, single-byte decoder 40 passes control to end-of-line code executor 42, a subroutine of automatic tabulation routine 45 shown in FIG.
Each time an end-of-line code is executed by the executor 42, it causes a vertical displacement of the print position on the page. For example, if a document is single-spaced with a normal line density of 6 lines per 2.54 cm, then execution of the line termination code will cause a vertical displacement of 1/6 of a 2.54 cm in the print position. The current type line is tracked by a vertical tracking register (not shown). Thus, the value in the vertical tracking register is incremented by one-sixth of 2.54 cm in step 46 to always maintain the vertical print position (print position relative to the top and bottom of the hard copy). Generally, the increment value of the vertical tracking register is determined by the row density specified by the operator.

ステツプ46で、垂直トラツキング・レジスタの
値が増加した後、制御は次文字検査サブルーチン
48に渡される。第6図は次文字検査サブルーチ
ン48の論理を示す。前記サブルーチンは本質的
にページ・オーバフロー・ラツチ34を検査す
る。前記ラツチは前の行終了コードに出会つたと
きにセツトされているかもしれない。第6図のス
テツプ50で、次文字検査サブルーチン48はペー
ジ・オーバフロー・ラツチ34を質問することに
よつてページ・オーバフローを検査する。前記ラ
ツチ34がセツトされていない場合、ページ・オ
ーバフロー状態は存在しない。そして制御はステ
ツプ52で自動丁付ルーチン45(第5図)にリタ
ーンする。ページ・オーバフロー状態が存在して
いる場合、判断ステツプ53で入力バツフア30に
記憶されている次の文字を調べることによつて、
オーバフローが非白または図形文字の存在を特徴
とするエラー状態であるかを決定する。白文字が
存在する場合、エラー状態が検出されることはな
く、データ・ストリーム中のこの時点で丁付の必
要はない。制御はステツプ52で自動丁付ルーチン
45にリターンする。次の文字が図形文字の場
合、前記エラー状態が検出され、ページ終了サブ
ルーチン54で適当な動作が行われる。
After the vertical tracking register value is incremented at step 46, control is passed to the next character check subroutine 48. FIG. 6 shows the logic of the next character check subroutine 48. The subroutine essentially tests the page overflow latch 34. The latch may have been set when the previous line termination code was encountered. At step 50 of FIG. 6, the next character check subroutine 48 checks for page overflow by interrogating the page overflow latch 34. If latch 34 is not set, a page overflow condition does not exist. Control then returns to the automatic tabling routine 45 (FIG. 5) at step 52. If a page overflow condition exists, decision step 53 determines by examining the next character stored in input buffer 30.
Determine if the overflow is an error condition characterized by the presence of non-white or graphic characters. If white characters are present, no error condition will be detected and there is no need for tabulation at this point in the data stream. Control returns to the automatic tabulation routine 45 at step 52. If the next character is a graphic character, the error condition is detected and appropriate action is taken in the end-of-page subroutine 54.

第7図はページ終了サブルーチン54の論理を
示す。ステツプ56で、ページ・オーバフロー・ラ
ツチ34をリセツトする。ステツプ58で、垂直ト
ラツキング・レジスタは新しいページが印刷され
る最初の行の垂直変位に相当する値に初期設定さ
れる。前記の最初の行の値は操作員が指定する。
ステツプ60で、ページ・オーバフローおよびエラ
ー状態を生じた最後の文字に続いて、ページ終了
コードが出力バツフア32の中にコピーされる。
ステツプ62で、制御は自動丁付ルーチン45(第
5図)にリターンする。
FIG. 7 shows the logic of the page end subroutine 54. At step 56, page overflow latch 34 is reset. At step 58, the vertical tracking register is initialized to a value corresponding to the vertical displacement of the first line on which a new page is printed. The values in the first row are specified by the operator.
At step 60, an end-of-page code is copied into the output buffer 32 following the last character that caused the page overflow and error condition.
At step 62, control returns to the automatic tabulation routine 45 (FIG. 5).

第5図のステツプ64で、垂直トラツキング・レ
ジスタの値が操作員によつて指定された最終タイ
プ行の値を越えているかどうかを決定する。最終
タイプ行の値を越えない場合は、入力文字を出力
バツフアに移動するサブルーチン66を実行す
る。前記レジスタの値が最終タイプ行の値を超過
する場合には、オーバフロー状態は存在し、ステ
ツプ65でページ・オーバフロー・ラツチ34を
セツトして表示する。前記ラツチ34がセツトさ
れた後、入力文字を出力バツフアに移動するサブ
ルーチン66が実行される。
Step 64 of FIG. 5 determines whether the value in the vertical tracking register exceeds the final type line value specified by the operator. If the value of the final type line is not exceeded, a subroutine 66 is executed which moves the input characters to the output buffer. If the value of the register exceeds the value of the last type line, an overflow condition exists and step 65 sets and indicates page overflow latch 34. After the latch 34 is set, a subroutine 66 is executed which moves the input character to the output buffer.

第8図は前記サブルーチン66の論理を示す。
オーバフロー状態が存在しない場合、前記サブル
ーチンは本質的に入力文字を出力バツフア32に
転送することが可能である(ステツプ69)。判断
ステツプ68で、ページ・オーバフロー・ラツチ3
4を調査することによつてページ・オーバフロー
状態が存在するかどうかを決定する。オーバフロ
ーが生じていた場合は、ステツプ70で制御は自動
丁付ルーチン(第5図)にリターンする。オーバ
フロー状態では、白文字の入力は、単に入力文字
を出力バツフア32の中にコピーする機能を与え
ないことによつて捨てられる。オーバフローによ
るエラー状態では、新しいページの最初の文字を
表わす図形文字入力は最後には出力バツフア32
の中にコピーされるが、それは前記ラツチ34が
リセツトされてオーバフロー状態が終了し、ペー
ジ終了コードが図形文字よりも先に出力バツフア
32の中にコピーされた後に行われる。このよう
に、処理の間、図形文字はページ終了コードに出
会つた後に新しいページに印刷される。
FIG. 8 shows the logic of the subroutine 66.
If no overflow condition exists, the subroutine can essentially transfer the input characters to the output buffer 32 (step 69). At decision step 68, page overflow latch 3
Determine whether a page overflow condition exists by examining 4. If overflow has occurred, control returns to the automatic tabulation routine (FIG. 5) at step 70. In an overflow condition, input white characters are discarded by simply not providing the ability to copy the input characters into the output buffer 32. In an error condition due to overflow, the graphic character input representing the first character of a new page ends up in the output buffer 32.
This is done after the latch 34 is reset to end the overflow condition and the end-of-page code is copied into the output buffer 32 before the graphic characters. Thus, during processing, graphic characters are printed on a new page after the end-of-page code is encountered.

こうして、本発明はワード処理システムに自動
丁付を与える。自動丁付ルーチンはページ終了コ
ードを持たないデータ・ストリームのほか、丁付
されたデータ・ストリームを処理する能力を有す
る。出力バツフアに入る修正(丁付)されたデー
タ・ストリーム出力に対して、先行技術によるシ
ステムでは不可能であつた印刷、磁気カード記
録、および通信アクセス方法による処理が行われ
る。
Thus, the present invention provides automatic pagination for word processing systems. The automatic tabulation routine has the ability to process data streams that do not have an end-of-page code, as well as tabulated data streams. The modified data stream output that enters the output buffer is processed by printing, magnetic card recording, and communication access methods not possible with prior art systems.

なお、上記実施例に修正を加えることにより、
制御文字のうち、字下げ(indentation)コード
のような後続の非制御文字との結び付きが強いも
のは、上記次文字検査ルーチンにおいて上記非白
文字(非制御文字)と同様に扱うようにしてもよ
い。すなわち、次文字検査ルーチンでそのような
文字が検出されると、制御がページ終了サブルー
チンに渡されるようにしても差し支えない。
Note that by making modifications to the above example,
Among control characters, those that have a strong connection with the following non-control characters, such as indentation codes, are treated in the same way as the non-white characters (non-control characters) mentioned above in the next character inspection routine. good. That is, when such a character is detected in the check next character routine, control may be passed to the end-of-page subroutine.

以上述べたように、本発明によれば、単なるペ
ージ付が行われるだけでなく、作成したハード・
コピーの1ページの全部、または冒頭部が空白に
なることを防止する。すなわち、無駄なハードコ
ピーの作成を防止することができる。
As described above, according to the present invention, not only is pagination performed, but the created hardware
To prevent the entire page or the beginning of one page of a copy from being blank. In other words, it is possible to prevent unnecessary creation of hard copies.

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

第1図は本発明に係るワード処理システムの機
能単位のブロツク図、第2図は第1図に示す共通
変換プログラム/前処理プログラム、リモート・
アクセス・メモリおよびプリンタ・アクセス方法
の機能単位を示すブロツク図、第3図はシング
ル・バイト・デコーダからページ終了コード・エ
クゼキユータおよび行終了コード・エクゼキユー
タへの制御のフローを示す流れ図、第4図はペー
ジ終了コード・エクゼキユータ・サブルーチンの
論理の流れ図、第5図は自動丁付ルーチンの論理
の流れ図、第6図は次文字検査サブルーチンの論
理の流れ図、第7図はページ終了サブルーチンの
論理の流れ図、第8図は入力文字を出力バツフア
に移動するサブルーチンの論理の流れ図である。 10……ランダム・アクセス・メモリ、12…
…共通変換プログラム/前処理プログラム、14
……記憶アクセス方法、16……キーボード・ア
クセス方法、18……印刷アクセス方法、20…
…データ・デイスケツト記憶装置、22……キー
ボード装置、24……印刷装置、26……印刷コ
ントローラ、30……入力バツフア、32……出
力バツフア、34……ページ・オーバフロー・ラ
ツチ、40……シングル・バイト・デコーダ、4
1……ページ終了コード・エクゼキユータ、42
……行終了コード・エクゼキユータ、45……自
動丁付ルーチン、48……次文字検査サブルーチ
ン、54……ページ終了サブルーチン、66……
入力文字を出力バツフアに移動するサブルーチ
ン。
FIG. 1 is a block diagram of the functional units of the word processing system according to the present invention, and FIG. 2 shows the common conversion program/preprocessing program shown in FIG.
3 is a block diagram showing the functional units of the access memory and printer access method; FIG. 3 is a flow diagram showing the flow of control from the single byte decoder to the page end code executor and line end code executor; FIG. FIG. 5 is a logic flowchart of the automatic tabulation routine; FIG. 6 is a logic flowchart of the next character check subroutine; FIG. 7 is a logic flowchart of the page end subroutine; FIG. 8 is a logic flow diagram of a subroutine that moves input characters to an output buffer. 10...Random access memory, 12...
...Common conversion program/preprocessing program, 14
...Memory access method, 16...Keyboard access method, 18...Print access method, 20...
...Data diskette storage device, 22...Keyboard device, 24...Printing device, 26...Print controller, 30...Input buffer, 32...Output buffer, 34...Page overflow latch, 40...Single・Byte decoder, 4
1...Page end code executor, 42
...Line end code executor, 45...Automatic tabulation routine, 48...Next character inspection subroutine, 54...End of page subroutine, 66...
A subroutine that moves input characters to the output buffer.

Claims (1)

【特許請求の範囲】 1 ワード処理システムのメモリに記憶された一
連の行からなる論理的ページの少なくとも1ペー
ジにフオーマツトされたデータ・ストリームをハ
ード・コピー作成のために丁符する方法であつ
て、 (a) 前記論理的ページの最初の行に遭遇すると、
ハード・コピーの上下方向に関する印刷位置を
検出するための前記システムに備えたレジスタ
を初期設定し、 (b) 前記データ・ストリームで行終了コードに遭
遇する度に、 (b1) 前記ハード・コピーの上下方向に関する印
刷位置の間隔を表わす値だけ前記レジスタを増
分させるとともに、 (b2) 前記レジスタが前記ハード・コピーの最下
行に対応する所定値に達するとページ・オーバ
フロー状態を表示するページ・オーバフロー・
ラツチを質問して、ページ・オーバフロー状態
が生じているかどうかを決定し、 (c) 前記ページ・オーバフロー状態が生じている
ことが決定された場合、前記データ・ストリー
ムで前記行終了コードに続く文字を質問して該
文字が所定の制御文字であるかどうかを決定す
ることを前記データ・ストリームで前記所定の
制御文字以外の文字が見つかるまで繰り返し、 (d) 前記所定の制御文字以外の文字が見つかれ
ば、該文字よりも先にページ終了コードを出力
バツフアの中へコピーすること、前記ページ・
オーバフロー・ラツチをリセツトすること、前
記レジスタを初期設定することを行う 文書自動丁符方法。
Claims: 1. A method for collating for hard copy production a data stream formatted into at least one logical page of a series of lines stored in the memory of a word processing system, comprising: , (a) When the first line of said logical page is encountered,
(b) initializing registers in the system for detecting the vertical print position of a hard copy; (b) each time an end-of-line code is encountered in the data stream; (b2) a page overflow controller for incrementing said register by a value representing the spacing between print positions in the vertical direction; and (b2) indicating a page overflow condition when said register reaches a predetermined value corresponding to the bottom line of said hard copy.
(c) if it is determined that said page overflow condition has occurred, the character following said line termination code in said data stream; (d) determining whether the character is a predetermined control character until a character other than the predetermined control character is found in the data stream; If found, copy the page end code into the output buffer before the character;
A document automatic ticking method for resetting the overflow latch and initializing the registers.
JP57098585A 1981-06-16 1982-06-10 Automatic even number application of document Granted JPS57212590A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US27436481A 1981-06-16 1981-06-16

Publications (2)

Publication Number Publication Date
JPS57212590A JPS57212590A (en) 1982-12-27
JPS6325364B2 true JPS6325364B2 (en) 1988-05-25

Family

ID=23047875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57098585A Granted JPS57212590A (en) 1981-06-16 1982-06-10 Automatic even number application of document

Country Status (2)

Country Link
JP (1) JPS57212590A (en)
CA (1) CA1166755A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS553751A (en) * 1978-06-23 1980-01-11 Kibun Kk Preparation of dessert food
JPS5543629A (en) * 1978-09-22 1980-03-27 Toshiba Corp Printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS553751A (en) * 1978-06-23 1980-01-11 Kibun Kk Preparation of dessert food
JPS5543629A (en) * 1978-09-22 1980-03-27 Toshiba Corp Printer

Also Published As

Publication number Publication date
JPS57212590A (en) 1982-12-27
CA1166755A (en) 1984-05-01

Similar Documents

Publication Publication Date Title
US6608693B1 (en) Apparatus and method for generating a print job from a command stream describing multiple copies of a document
US5993088A (en) Method for improving print performance and quality by accumulating, storing and using resource accounting information with a print job
US7721203B2 (en) Method and system for character sequence checking according to a selected language
US4498150A (en) Document automatic pagination
DE69631720T2 (en) Method and apparatus for printing multiple copies
US4381553A (en) Programmable printer controller with multiline buffering and overstrike feature
US6476938B1 (en) Print control system and method
JP2568344B2 (en) Text information playback system
CA1172384A (en) Method of controlling a printer in an interactive text processing system to print records from stored files of spatially related data
JPS647595B2 (en)
CA1175934A (en) Facsimile system
US4463444A (en) Word processing system having a formatting bidirectional printer
EP0023821A3 (en) Apparatus and method for checking a memory and a computer system including a memory and apparatus for checking the memory
JPS6325364B2 (en)
CA1169570A (en) Method for confirming requested transactions between source and destination files of spatially related data stored in an interactive text processing system
US20020181779A1 (en) Character and style recognition of scanned text
JPH0418332B2 (en)
Borden et al. A computerized language analysis system
US8446611B2 (en) Image forming apparatus, computer readable recording medium, and method for improving the detection of input image data formats
US6671062B1 (en) Journaling technique for reverse order printing
JP3118826B2 (en) Printing control device
US10275605B2 (en) System and method for supporting secure document tags for use in traditionally unsupported workflows
Neal et al. Error correction during text entry with word-processing systems
Travis OmniMark at Work: Getting started
Marcus et al. Laser-printing clinic: twelve cures for what ails your printer