JPH01109423A - Editing and outputting system for printing list - Google Patents

Editing and outputting system for printing list

Info

Publication number
JPH01109423A
JPH01109423A JP62266997A JP26699787A JPH01109423A JP H01109423 A JPH01109423 A JP H01109423A JP 62266997 A JP62266997 A JP 62266997A JP 26699787 A JP26699787 A JP 26699787A JP H01109423 A JPH01109423 A JP H01109423A
Authority
JP
Japan
Prior art keywords
editing
printing
output
list
record
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
Application number
JP62266997A
Other languages
Japanese (ja)
Inventor
Yasuhide Takechi
武知 保秀
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62266997A priority Critical patent/JPH01109423A/en
Publication of JPH01109423A publication Critical patent/JPH01109423A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the correct editing output to respective types of a printer by providing an editing instructing signal to instruct beforehand by how many columns printing is executed to a printing list paper and a printing line number acquiring means to obtain the number of the lines which can be printed to one printing list paper. CONSTITUTION:An editing instructing means 1 prepares an editing instruction record and outputs it to a list output file 7 in accordance with the number of the columns of printing specified by a program 5 beforehand. An editing instructing record identifying means 2 identifies the editing instruction record of the record inputted from the list output file 7, obtains the number of the columns edited from the number of the columns of the editing instructing record, and a printing row number acquiring means 3 uses the number of the rows of printing specified by the type of the printer beforehand and obtains the number of the rows of the printing of the printer to be outputted. An editing output means 4 receives the supply of the number of the columns of the printing and the number of the rows of the printing and prepares the table of the row number X the column number. Thus, it is sufficient that a user is not conscious of the printer to output and even when the output is executed to respective types of the printer, the editing and outputting can be correctly executed to the list paper unit.

Description

【発明の詳細な説明】 技術分野 本発明は印字リスト編集出力システムに関し、特にプロ
グラムが出力する実行結果の印字リスト用紙への複数列
編集リストの出力方式に関する。
TECHNICAL FIELD The present invention relates to a print list editing and output system, and more particularly to a method for outputting a multi-column edit list to a print list sheet of execution results output by a program.

監】u【ム 従来、この種の複数列編集リストの出力方式では、リス
ト用紙1枚に印字可能な行数を、プログラムで予め定め
た値およびプログラムを起動するときの起動パラメータ
により利用者が指定した値だから決定し、編集する列数
の実行結果をブOグラム内の記憶域に一時保存しておき
、リスト用紙1枚分の実行結果がたまった時点で保存さ
れている実行結果を各列に並べてリスト用紙の先頭し]
−ドから順に出力し、システムの出力プログラムにより
そのレコードを順次印字装置へ出力するようになってい
る。
[Supervision] U [Mu] Traditionally, in this type of multi-column editing list output method, the number of lines that can be printed on one list sheet can be determined by the user using a predetermined value in the program and a startup parameter when starting the program. Since it is the specified value, the execution results for the number of columns to be edited are temporarily saved in the memory area of the program, and when the execution results for one list sheet have been accumulated, the saved execution results are saved for each column. Arrange them in columns and place them at the beginning of the list sheet]
- The records are output sequentially starting from the - code, and the system's output program outputs the records sequentially to the printing device.

このように、従来の複数列編集リスト出力方式では、リ
スト用紙1枚に印字可能な行数をプログラムで予め定め
た値およびプログラムを起動するときの起動パラメータ
により利用者が指定した値を使用して複数列のリストを
編集するようになっており、またシステムの出力プログ
ラムは各種の印字装置に出力できるようになっている。
In this way, in the conventional multi-column edit list output method, the number of lines that can be printed on one sheet of list paper is determined in advance by the program, and the value specified by the user using the startup parameter when starting the program is used. The system's output program can output to a variety of printing devices.

従って、利用者は出力する印字装置を意識していないと
、出力する印字装置を誤認した場合に、リストの用紙単
位で正しく編集されていないリストを出力してしまうと
いう欠点がある。
Therefore, if the user is not aware of the printing device that outputs, there is a drawback that if the user misidentifies the printing device that outputs, a list that is not correctly edited for each paper of the list will be output.

また、同様な複数列編集を行うプログラムを作成する場
合には、そのプログラムにも複数列編集を行う処理を作
成してなければならないとい欠点がある。
Furthermore, when creating a program that performs similar multi-column editing, there is a drawback in that the program must also create a process for performing multi-column editing.

発明の目的 本発明の目的は、利用者が出力する印字装置の種類を意
識しなくとも、各種の印字装置に対して正しい編集出力
が可能な印字リスト編集出力システムを提供することに
ある。
OBJECTS OF THE INVENTION It is an object of the present invention to provide a print list editing/output system that allows correct editing and output for various printing devices without the user being aware of the type of printing device for outputting.

発明の構成 本発明によれば、印字リスト用紙にプログラム実行結果
を複数列に編集して出力する印字リスト編集出力システ
ムであって、前記リースト用紙に何列で印字するかを予
め指示する編集指示手段と、印字すべき印字装置の印字
リスト用紙1枚に印字可能な行数を求める印字行数取得
手段と、この印字行数と前記指示された印字列数に従っ
て以降入力された印字用のレコードを編集し前記印字装
置へ出力する編集手段とを含むことを特徴とする印字リ
スト編集出力システムが得られる。
Structure of the Invention According to the present invention, there is provided a print list editing/output system for editing and outputting program execution results in a plurality of columns on a print list sheet, the editing instruction for instructing in advance how many columns to print on the list sheet. means for obtaining the number of lines that can be printed on one printing list sheet of the printing device to be printed; and a record for printing that is input thereafter according to the number of lines to be printed and the number of print columns specified above. There is obtained a print list editing/output system characterized by comprising: editing means for editing and outputting the edited text to the printing device.

次に本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例は編集指示手段
と、編集指示レコード識別手段2と、印字行数取得手段
3と、編集出力手段4と、プログラム5と、出力プログ
ラム6と、リスト出力ファイル7と、印字装M8から構
成される。
Referring to FIG. 1, one embodiment of the present invention includes an edit instruction means, an edit instruction record identification means 2, a print line number acquisition means 3, an edit output means 4, a program 5, an output program 6, It consists of a list output file 7 and a printing device M8.

編集指示手段1はプログラム5の機能に含まれるもので
あり、プログラム5により予め定められた印字列数に従
って編集指示レコードを作成してリスト出力ファイル7
へ出力する機能を有する。
The editing instruction means 1 is included in the function of the program 5, and creates an editing instruction record according to the number of print strings predetermined by the program 5, and outputs the list output file 7.
It has a function to output to.

第4図はプログラム5により出力されかつ出力プログラ
ム6へ入力されるレコード形式を示すものである。図に
示す如く、印字すべき内容のレコード実体部分と、この
レコード実体部分の先頭に予め設定されているレコード
ヘッダ部分とから印字用レコードは構成されている。そ
して、編集指示レコードが存在しており、レコード長、
レコード識別子の他に、編集出力リストの印字列数が予
め指示される部分が存在する。この列数指定部分に、編
集指示手段1から印字列数の指定が行われるのである。
FIG. 4 shows the record format output by the program 5 and input to the output program 6. As shown in the figure, a print record is composed of a record body part containing the content to be printed and a record header part set in advance at the beginning of this record body part. Then, an edit instruction record exists, and the record length is
In addition to the record identifier, there is a part where the number of print strings in the edit output list is specified in advance. In this column number specification section, the number of print columns is specified from the editing instruction means 1.

リスト出力ファイル7はプログラム5によってプログラ
ム実行結果が逐次印字用レコードに変換されたものを格
納するファイルである。
The list output file 7 is a file that stores program execution results converted by the program 5 into records for sequential printing.

出力プログラム6はシステムよりいかなる種類の印字装
置に対して出力するかの情報をもらって起動されるもの
であり、編集指示レコード識別手段2、印字行数取得手
段3および編集出力手段4の各機能を含んでいる。
The output program 6 is started upon receiving information from the system about what kind of printing device the output is to be made to, and performs the functions of the editing instruction record identification means 2, the print line number acquisition means 3, and the editing output means 4. Contains.

編集指示レコード識別手段2はリスト出力ファイル7か
ら入力されたレコードの編集指示レコードを識別し、こ
の編集指示レコードの列数から編集する列数を求めるも
のである。
The editing instruction record identifying means 2 identifies the editing instruction record of the record input from the list output file 7, and determines the number of columns to be edited from the number of columns of this editing instruction record.

印字行数取得手段3は印字iiHの種類により予め定め
られた印字行数を使用して出力する印字装置の印字行数
を求める機能を有する。
The number of printed lines obtaining means 3 has a function of obtaining the number of printed lines of the printing device that outputs using a predetermined number of printed lines depending on the type of printing iiH.

編集出力手段4は印字列数および印字行数との供給を受
けて第3図に示した行数x列数のテーブルを生成するも
のである。
The editing output means 4 receives the number of print columns and the number of print lines and generates a table of the number of lines x the number of columns shown in FIG.

第2図は第1因の編集指示レコード識別手段2の動作を
示すフローチャートである。第2図において、編集指示
レコード識別手段2は、ステップ^1でリスト出力ファ
イル7からレコードを入力し、ステップ^2で入力した
レコードのレコードヘッダ部にあるレコード識別子を調
べ編集指示レコードかを判定する。ステップ^3で、編
集指示レコードの実体部より列数を求める。ステップA
4で印字行数取得手段3を起動し行数を求める。ステッ
プA5で編集出力手段4を起動しリスト出力ファイル7
のレコードを編集出力する。ステップ八〇とステップA
7とステップ八8とスイップA9とにおいては、リスト
出力ファイル7のレコードをすべて印字する。
FIG. 2 is a flowchart showing the operation of the editing instruction record identifying means 2 which is the first cause. In FIG. 2, the edit instruction record identification means 2 inputs a record from the list output file 7 in step ^1, and checks the record identifier in the record header of the input record in step ^2 to determine whether it is an edit instruction record. do. In step ^3, the number of columns is determined from the entity part of the edit instruction record. Step A
4, the print line number obtaining means 3 is activated to obtain the number of lines. In step A5, start the editing output means 4 and output the list output file 7.
Edit and output the record. Step 80 and Step A
7, step 88, and switch A9, all records in the list output file 7 are printed.

次に本実施例の全体的な動作を具体的に説明する。プロ
グラム5がシステムにより起動されると、編集指示手段
1はプログラム5で予め定めた列数を使用して編集指示
レコードを作成し、リスト出力ファイル7に出力する。
Next, the overall operation of this embodiment will be specifically explained. When the program 5 is activated by the system, the edit instruction means 1 creates an edit instruction record using the number of columns predetermined by the program 5, and outputs it to the list output file 7.

その後、プログラム5は実行結果を逐次、印字用のレコ
ードに変換してリスト出力ファイル7に出力し、リスト
出力ファイル7を完成させてプログラム5の実行を終了
する。
Thereafter, the program 5 sequentially converts the execution results into records for printing and outputs them to the list output file 7, completes the list output file 7, and ends the execution of the program 5.

次に、リスト出カフアル7の内容を印字装置に出力する
時点で、出力プログラム6がシステムによりどの印字装
置に出力するかの情報をもらって起動される。出力プロ
グラム6はリスト出力ファイル7よりレコードを取込み
、編集指示レコード識別手段2により編集指示レコード
かを判定し、編集指示レコードでなければそのレコード
を指定された印字装置8に出力し、以降リスト出力ファ
イルの全レコードを印字装置8に出力して実行を終了す
る。
Next, when the contents of the list output file 7 are to be output to a printing device, the output program 6 is activated by the system after receiving information about which printing device to output the contents to. The output program 6 takes in a record from the list output file 7, determines whether it is an editing instruction record using the editing instruction record identification means 2, outputs the record to a designated printing device 8 if it is not an editing instruction record, and thereafter outputs the list. All records of the file are output to the printer 8 and the execution is terminated.

編集指示レコードであれば、レコードより編集する列数
を求める。次に行数取得手段3を起動し印字装置の種類
により予め定められた印字行数を使用して出力する印字
装置の印字行数を求める。
If it is an edit instruction record, find the number of columns to be edited from the record. Next, the line number obtaining means 3 is activated, and the number of lines to be printed by the printing device to be output is obtained using the number of lines to be printed that is predetermined depending on the type of printing device.

次に、求めた列数と行数を編集出力手段4に渡して編集
出力手段4を起動する。起動された編集出力手段4は、
内部の記憶域に第3図で示す行数X列数のテーブルを作
成しリスト出力ファイル7より順にレコードを入力し、
レコードの印字内容をテーブルに行の方向に順に設定し
て行く。そしてテーブルが一杯になった場合やリスト出
力ファイル7のレコードがなくなった場合に、テーブル
の各行の内容を印字装置8に出力する。
Next, the determined number of columns and rows are passed to the editing output means 4 and the editing output means 4 is activated. The activated editing output means 4 is
Create a table with the number of rows x number of columns shown in Figure 3 in the internal storage area, input records in order from list output file 7,
The print contents of the record are set in the table in order in the row direction. Then, when the table becomes full or when there are no more records in the list output file 7, the contents of each row of the table are output to the printer 8.

以上の操作をリスト出力ファイル7のレコードがなくな
るまで繰返し、レコードがなくなれば編集出力手段4の
処理を終了し出力プログラムの実行を終了するのである
The above operations are repeated until there are no more records in the list output file 7, and when there are no more records, the processing of the editing output means 4 is terminated and the execution of the output program is terminated.

発明の詳細 な説明したように、本発明によれば、プログラムが実行
結果のレコードを出力する前にリストに何列で印字する
かを指示するための編集指示レコードを出力し、またプ
ログラムが出力したレコードを入力し、印字装置に出力
するシステムの出力プログラムでは入力したレコードに
存在する編集指示レコードを識別し、出力する印字装置
のリスト用紙1枚に印字可能な行数を求め、求めた行数
と編集指示レコードで指示された列数とにより以降の入
力されたレコードを編集して印字装置に出力するように
構成することにより、利用考が出力する印字装置を意識
しないですみ、各種の印字装置に出力してもリスト用紙
単位に正しく編集して出力でき、また同様の複数列編集
を行うプログラムを作成する場合にも、編集指示手段1
の処理を作成するだけで良いという効果がある。
As described in detail, according to the present invention, before a program outputs an execution result record, an editing instruction record for instructing how many columns to print in a list is output, and the program outputs The output program of the system that inputs the recorded record and outputs it to the printing device identifies the editing instruction record that exists in the input record, calculates the number of lines that can be printed on one list sheet of the printing device to be output, and prints the determined line. By configuring the subsequent input records to be edited and output to the printing device using the number and the number of columns specified in the editing instruction record, the user need not be aware of the printing device to be outputted, and various types of Even when outputting to a printing device, it is possible to correctly edit and output each list paper, and when creating a program that performs similar multi-column editing, the editing instruction means 1
This has the effect that all you need to do is create a process for this.

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

第1図は本発明の実施例のブロック図、第2図は編集指
示レコード識別手段の動作を示す処理フロー図、第3図
は編集出力手段により生成されるテーブル構成図、第4
図はリスト出力ファイルのレコードフォーマット図であ
る。 主要部分の符号の説明 1・・・・・・編集指示手段 2・・・・・・編集指示レコード識別手段3・・・・・
・印字行数取得手段 4・・・・・・編集出力手段 8・・・・・・印字装置
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a processing flow diagram showing the operation of the editing instruction record identification means, FIG. 3 is a diagram of the table configuration generated by the editing output means, and FIG.
The figure is a record format diagram of the list output file. Explanation of symbols of main parts 1...Editing instruction means 2...Editing instruction record identification means 3...
・Print line number acquisition means 4...Editing output means 8...Printing device

Claims (1)

【特許請求の範囲】[Claims]  印字リスト用紙にプログラム実行結果を複数列に編集
して出力する印字リスト編集出力システムであって、前
記リスト用紙に何列で印字するかを予め指示する編集指
示手段と、印字すべき印字装置の印字リスト用紙1枚に
印字可能な行数を求める印字行数取得手段と、この印字
行数と前記指示された印字列数に従って以降入力された
印字用のレコードを編集し前記印字装置へ出力する編集
手段とを含むことを特徴とする印字リスト編集出力シス
テム。
A print list editing/output system that edits and outputs program execution results in a plurality of columns on a print list sheet, the system comprising: an editing instruction means for instructing in advance how many columns to print on the list sheet; and a printing device for printing. A printing line number acquisition means for determining the number of lines that can be printed on one printing list sheet, and editing records for printing subsequently input according to this number of printing lines and the specified number of printing columns, and outputting the edited record to the printing device. A print list editing/output system comprising: editing means.
JP62266997A 1987-10-22 1987-10-22 Editing and outputting system for printing list Pending JPH01109423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62266997A JPH01109423A (en) 1987-10-22 1987-10-22 Editing and outputting system for printing list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62266997A JPH01109423A (en) 1987-10-22 1987-10-22 Editing and outputting system for printing list

Publications (1)

Publication Number Publication Date
JPH01109423A true JPH01109423A (en) 1989-04-26

Family

ID=17438627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62266997A Pending JPH01109423A (en) 1987-10-22 1987-10-22 Editing and outputting system for printing list

Country Status (1)

Country Link
JP (1) JPH01109423A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225349A (en) * 1988-07-14 1990-01-26 Casio Comput Co Ltd Input processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225349A (en) * 1988-07-14 1990-01-26 Casio Comput Co Ltd Input processing device

Similar Documents

Publication Publication Date Title
JPH01109423A (en) Editing and outputting system for printing list
JPS6411971B2 (en)
JP2670276B2 (en) Character reader
JPS6113616B2 (en)
JPS63724A (en) Editing and printing system
JPH03142561A (en) Method and device for arranging characters of name written in kanji
JPH04220378A (en) Apparatus for distribution processing of general-purpose slip to terminal printer
JPH04241611A (en) System for outputting data to plural output devices
JPH0612248A (en) Automatic programming system
JPH01208170A (en) Printing format storing system of printer
JPH05265673A (en) Outputting device for japanese business form
JPS63166574A (en) Record conversion system in impact printer
JPH05150963A (en) Method for preparing program specifications
JPS63244258A (en) Document processor
JPH01279364A (en) Business form editing output system
JPS63219029A (en) Table processing method for printing format
JPS63288321A (en) Format control system
JPH03186960A (en) Automatic retrieval/output system for patch information
JPH0516484A (en) Printing control system
JPH0749228B2 (en) Form output device
JPH0286484A (en) Printing output form record-generating system
JPH0358266A (en) Character string edition processor
JPH05307549A (en) Document file additional history preparing system
JPH02250150A (en) Document preparing device
JPH05165625A (en) Enforcement patch summary management output system classified by every module