JPS6042489B2 - Data output method - Google Patents

Data output method

Info

Publication number
JPS6042489B2
JPS6042489B2 JP55167524A JP16752480A JPS6042489B2 JP S6042489 B2 JPS6042489 B2 JP S6042489B2 JP 55167524 A JP55167524 A JP 55167524A JP 16752480 A JP16752480 A JP 16752480A JP S6042489 B2 JPS6042489 B2 JP S6042489B2
Authority
JP
Japan
Prior art keywords
data
print
online
line
output
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
JP55167524A
Other languages
Japanese (ja)
Other versions
JPS5790746A (en
Inventor
大挙 伊藤
浩一 岩崎
邦彦 溝口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP55167524A priority Critical patent/JPS6042489B2/en
Publication of JPS5790746A publication Critical patent/JPS5790746A/en
Publication of JPS6042489B2 publication Critical patent/JPS6042489B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)

Description

【発明の詳細な説明】 本発明はオンラインシステムにおけるオンラインデー
タをセンタ側にも出力しうるデータ出力方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data output method capable of outputting online data in an online system to a center side.

オンラインシステムにおいては、オンラインデータを
端末等のプリンタに帳票形式で出力するが、一方、バッ
チ処理のデータもセンタ側のラインプリンタにも出力す
る。
In an online system, online data is output in the form of a form to a printer such as a terminal, but on the other hand, batch processing data is also output to a line printer on the center side.

通常オンラインデータは帳票形式を予めシステムに登録
しておくため、 印刷フォーマットは固定である。これ
に対しバッチデータをラインプリンタから出力する場合
は、印刷行と所要文字桁数とを指示する印刷方式が一般
に採用されているので、印刷フォーマットに制限を受け
ない。このようにオンラインとバッチとの印刷方式が異
なつているので当然その印刷制御方式も異なる。 以上
のオンラインデータとバッチデータとの出力方式を図に
よつて説明する。
Normally, with online data, the form format is registered in the system in advance, so the print format is fixed. On the other hand, when batch data is output from a line printer, a printing method is generally adopted in which the print line and the required number of character digits are specified, so there are no restrictions on the print format. Since the online and batch printing methods are different in this way, the print control methods are also different. The method of outputting the above online data and batch data will be explained with reference to the drawings.

第1図はオンラインデータ出力方式の説明図、第2図は
バッチデータ出力方式の説明図、1は編集レコード領域
、2は編集定義領域、3、7はプリント出力、4は印刷
レコード領域、5は行指定部、6はデータ部、A、Bは
アドレス記号、d、dl、d2はデータである。オンラ
インデータを出力するときは、第1図aにおいて、まず
編集レコード領域1と編集定義領域2とに、図示のよう
に印刷データと定義データを格納する。第1図aの例は
アドレスAにデータd、、またはアドレスBにデータd
2が格納されて・おり、編集定義領域2において印刷形
式を指定している。すなわちアドレスAのデータd、を
3行目の5字目から印刷し、またアドレスBのデータd
。をm行目の7字目から印字出力することを指定してい
る。この状態で、例えばCOBOL言語で・ MOVE
命令を発すると、第1図をに示すプリント出力には、3
行目にデータd、、またm行目にデータ山が出力される
。これに対し、バッチデータの出力方式は、第2図aに
示すように、印刷レコード領域4の行指定部5(1バイ
ト)に印刷すべき行位置を、またデータ部6(136/
<イト)にデータdを格納したのちプリンタ命令を発す
れば、第2図bに示すように、行指定部5により指定さ
れた行位置に、データ部6のデータdが、印字出力され
る。
Figure 1 is an explanatory diagram of the online data output method, Figure 2 is an explanatory diagram of the batch data output method, 1 is an edit record area, 2 is an edit definition area, 3 and 7 are print outputs, 4 is a print record area, 5 is a row designation part, 6 is a data part, A and B are address symbols, and d, dl, and d2 are data. When outputting online data, print data and definition data are first stored in the edit record area 1 and edit definition area 2 as shown in FIG. 1a. The example in Figure 1a is data d at address A, or data d at address B.
2 is stored, and the print format is specified in the edit definition area 2. In other words, data d of address A is printed from the 5th character of the 3rd line, and data d of address B is printed.
. This specifies that the following is to be printed starting from the 7th character of the mth line. In this state, for example, in COBOL language, ・MOVE
When you issue the command, the printout shown in Figure 1 will be 3.
Data d is output in the row, and a data pile is output in the m-th row. On the other hand, in the batch data output method, as shown in FIG.
If a printer command is issued after storing the data d in the data section 6, the data d in the data section 6 will be printed out at the line position specified by the line specifying section 5, as shown in FIG. 2b. .

以上のように、オンラインとバッチとでは、データ出力
方式が異なるため、オンラインデータをセンタ側のライ
ンプリンタに出力しようとしても、出力できない欠点が
あつた。本発明は上記の欠点を解決するためになされた
もので、オンラインデータのセンタ側における出力を可
能とするデータ出力方式の提供を目的としている。
As described above, since the data output methods are different between online and batch, there is a drawback that even if you try to output online data to a line printer on the center side, it cannot be output. The present invention has been made to solve the above-mentioned drawbacks, and aims to provide a data output method that allows online data to be output at a center.

本発明は、編集出力されるべきデータの格納されるレコ
ード領域と該データの出力されるべき位置を定義する定
義領域とを有する第1の記憶手段にデータを出力するデ
ータ処理部と、各印字行毎に印字データの行位置を指定
する行指定部と印字データを格納するデータ部とで構成
される印字レコード領域を有する第2の記憶手段を有し
、該行指定部で指定される行にデータ部のデータを印字
せしめる印字制御部と、プリンタとを有するデータ出力
処理システムであつて、前記第1の記憶手段に格納され
るデータを該定義領域の定義に基き前記第2の記憶手段
に転送し、定義状態を変換せしめる変換手段とを備え、
前記第1の記憶手段に記憶したオンラインデータを、前
記変換手段により、前記第2の記憶手段に格納したのち
、前記プ,リンタにオンラインデータを出力せしめるこ
とを特徴とするデータ出力方式である。
The present invention provides a data processing section that outputs data to a first storage means having a record area where data to be edited and output is stored and a definition area that defines a position where the data is to be output; It has a second storage means having a print record area consisting of a line specifying section that specifies the line position of print data for each line and a data section that stores the print data, and the line specified by the line specifying section. A data output processing system comprising: a print control section for printing data in a data section; and a printer; and a conversion means for converting the defined state,
This data output method is characterized in that the online data stored in the first storage means is stored in the second storage means by the conversion means, and then the online data is outputted to the printer.

以下、本発明を図面によつて説明する。Hereinafter, the present invention will be explained with reference to the drawings.

第3図は本発明の一実施例を説明するブロック図、また
第4図は本発明の一実施例を説明するフローチヤ!ート
であり、8はオンライン処理部、9はオンライン制御部
、10は変換部、11,15は印字制御部、12はファ
イル装置、13はプリンタ、14はバッチ制御部、16
はバッチ処理部、dはデータである。第3図における変
換部10が本発明4のために付加された変換制御手段で
ある。第3図において、処理プログラム(図示していな
い)がデータdをプリンタ13に出力せしめるときは印
字行位置とデータ領域を明示したのち、プリント命令(
図示していない)をバッチ制御部14へ発する。このた
めバッチ制御部14により起動された印字制御部15は
、第2図に示した印刷レコード領域4のデータ部6にフ
ァイル装置12内のデータdの1行分(136桁)を取
出す。然るのち、第2図の印刷レコード領域4(行指定
部5及びデータ部6)をプリンタ13へ送出する。プリ
ンタ13は行指定部5の行指定データにより指定される
行位置に、データ6内のデータを印字して出力Bする。
第3図のオンライン処理部8において、オンライン処理
プログラム(図示していない)がデータをプリンタ13
に出力するときは、プリント命令(図示していない)を
オンライン制御部9に発する。オンライン制御部9によ
り起動された印字制御部11は変換部10へ所要のデー
タ、例えば第1図aに示すデータを渡す。第4図は変換
部10の制御手段を示すフローチャートであり、以下、
このフローチャートを用いて変換部10の動作を説明す
る。まず変換部10は、印字制御部11から受信した定
義データ(第1図aの2に相当)を変換して作成すべき
印字フォーマットを定義する(ステップ1)。
FIG. 3 is a block diagram explaining one embodiment of the present invention, and FIG. 4 is a flowchart explaining one embodiment of the present invention! 8 is an online processing unit, 9 is an online control unit, 10 is a conversion unit, 11 and 15 are print control units, 12 is a file device, 13 is a printer, 14 is a batch control unit, and 16
is a batch processing unit, and d is data. The conversion unit 10 in FIG. 3 is conversion control means added for the fourth invention. In FIG. 3, when a processing program (not shown) outputs data d to the printer 13, it specifies the print line position and data area, and then prints the command (
(not shown) is issued to the batch control unit 14. Therefore, the print control section 15 activated by the batch control section 14 takes out one line (136 columns) of data d in the file device 12 into the data section 6 of the print record area 4 shown in FIG. Thereafter, the print record area 4 (line designation section 5 and data section 6) shown in FIG. 2 is sent to the printer 13. The printer 13 prints and outputs the data in the data 6 at the line position specified by the line specifying data of the line specifying section 5.
In the online processing section 8 of FIG. 3, an online processing program (not shown) transfers data to the printer 13.
When outputting to the online control section 9, a print command (not shown) is issued to the online control section 9. The print control section 11 activated by the online control section 9 passes required data, for example, the data shown in FIG. 1a, to the conversion section 10. FIG. 4 is a flowchart showing the control means of the converting section 10.
The operation of the converter 10 will be explained using this flowchart. First, the converter 10 converts the definition data (corresponding to 2 in FIG. 1a) received from the print controller 11 to define a print format to be created (step 1).

即ち変換部10は、第2図aに示す印字フォーマットを
定義し、定義したフォーマットの格納領域を図示しない
メモリ等に設定する。次に変換部10は、印字行指定デ
ータを上記印字フォーマット定義領域の行指定部(第2
図aの5に相当)に格納する(ステップ2)。印字行指
定データの受渡しが終了すると、変換部10は当該印字
行指定データの指定する行に印字すべきデータをファイ
ル装置12より検索する(ステップ3)。
That is, the converter 10 defines the print format shown in FIG. 2a, and sets a storage area for the defined format in a memory (not shown) or the like. Next, the conversion unit 10 converts the print line specification data into the line specification section (second
(corresponding to 5 in Figure a) (step 2). When the transfer of the print line designation data is completed, the conversion unit 10 searches the file device 12 for data to be printed on the line specified by the print line designation data (step 3).

即ち印字制御部11から受信した定義データによつて定
義されている印刷データの格納アドレス(第1図aのア
ドレスA,Bに相当)に基いて、印刷データを検索する
。印刷データの検索を行なつた後、変換部10は、検索
した印刷データを上記印字行指定データを格納した印字
フォーマット定義領域のデータ領域(第2図aのデータ
部6に相当)に移す(ステップ4)。
That is, print data is searched based on the print data storage address (corresponding to addresses A and B in FIG. 1a) defined by the definition data received from the print control section 11. After searching for print data, the conversion unit 10 transfers the searched print data to the data area (corresponding to the data section 6 in FIG. 2a) of the print format definition area that stores the print line designation data ( Step 4).

複数行にわたる印刷データがある場合変換部10は、上
記ステップ2〜4を繰返し、行毎の印刷データを定義し
た印字フォーマットに変換して行く。
If there is print data spanning multiple lines, the conversion unit 10 repeats steps 2 to 4 above to convert the print data for each line into the defined print format.

印字制御部11から受信した定義データ中の特殊コード
等により、変換部10は、最終行のデータを検出する(
ステップ5)。
Based on the special code in the definition data received from the print control unit 11, the conversion unit 10 detects the last line of data (
Step 5).

最終行データの検出により、変換部10はオンライン制
御部9へWRITE命令(図示していない)を送出する
(ステップ6)。
Upon detection of the last row data, the conversion unit 10 sends a WRITE command (not shown) to the online control unit 9 (step 6).

変換部10からのWRITE命令により、オンライン制
御部9は、変換部10の作成した上記印字フォーマット
定義領域中のデータをバッチ処理部16のバッチ制御部
14へ送出する。
In response to the WRITE command from the converter 10, the online controller 9 sends the data in the print format definition area created by the converter 10 to the batch controller 14 of the batch processor 16.

この結果、印字制御部15は既述のバッチデータの場合
と同様に動作し、オンラインデータをプリンタ13に印
字して出力する。第3図の実施例はオンラインデータを
バッチ処理部16側で出力せしめる例であるが、オンラ
イン処理部8側にプリンタを設けて、このプリンタに直
接出力せしめることも可能である。以上のように本発明
は、帳票形式のオンラインデータを、バッチ処理のセン
タ側においても出力せしめることが可能であり、また1
種の帳票形式をシステムに登録するだけでよく、さらに
帳票出力用の制御手段としては、オンラインとバッチと
も、同一仕様で作成できるなどの利点を有する。
As a result, the print control unit 15 operates in the same manner as in the case of batch data described above, and prints and outputs the online data to the printer 13. Although the embodiment shown in FIG. 3 is an example in which online data is output on the batch processing section 16 side, it is also possible to provide a printer on the online processing section 8 side and have the online data output directly to this printer. As described above, the present invention makes it possible to output online data in the form of a form even at a batch processing center, and also enables
This method has the advantage that it is only necessary to register the various form formats in the system, and that the form output control means can be created with the same specifications both online and batch.

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

第1図はオンラインデータ出力方式の説明図、第2図は
バッチデータ出力方式の説明図、第3図は本発明の一実
施例を説明するブロック図、第4図は本発明の一実施例
を説明するフローチャートであり、図中に用いた符号は
次の通りである。 1は編集レコード領域、2は編集定義領域、3,7はプ
リント出力、4は印刷レコード領域、5は行指定部、6
はデータ部、8はオンライン処理部、9はオンライン制
御部、10は変換部、11,15は印字制御部、12は
ファイル装置、13はプリンタ、14はバッチ制御部、
16はバッチ処理部、dはデータである。
Fig. 1 is an explanatory diagram of an online data output method, Fig. 2 is an explanatory diagram of a batch data output method, Fig. 3 is a block diagram illustrating an embodiment of the present invention, and Fig. 4 is an explanatory diagram of an embodiment of the present invention. This is a flowchart for explaining, and the symbols used in the figure are as follows. 1 is an edit record area, 2 is an edit definition area, 3 and 7 are print outputs, 4 is a print record area, 5 is a line specification section, 6
is a data section, 8 is an online processing section, 9 is an online control section, 10 is a conversion section, 11 and 15 are print control sections, 12 is a file device, 13 is a printer, 14 is a batch control section,
16 is a batch processing unit, and d is data.

Claims (1)

【特許請求の範囲】[Claims] 1 編集出力されるべきデータの格納されるレコード領
域と該データの出力されるべき位置を定義する定義領域
とを有する第1の記憶手段にデータを出力するデータ処
理部と、各印字行毎に印字データの行位置を指定する指
定部と印字データを格納するデータ部とで構成される印
字レコード領域を有する第2の記憶手段を有し、該行指
定部で指定される行にデータ部のデータを印字せしめる
印字制御部と、プリンタとを有するデータ出力処理シス
テムであつて、前記第1の記憶手段に格納されるデータ
を、該定義領域の定義に基き前記第2の記憶手段に転送
し、定義状態を変換せしめる変換手段とを備え、前記第
1の記憶手段に記憶したオンラインデータを、前記変換
手段により、前記第2の記憶手段に格納したのち、前記
プリンタにオンラインデータを出力せしめることを特徴
とするデータ出力方式。
1. A data processing unit that outputs data to a first storage means having a record area where data to be edited and output is stored and a definition area that defines the position where the data is to be output; It has a second storage means having a print record area consisting of a designation part for designating the line position of the print data and a data part for storing the print data, and the data part is stored in the line designated by the line designation part. A data output processing system comprising a print control section for printing data and a printer, the data output processing system transferring data stored in the first storage means to the second storage means based on the definition of the definition area. , a conversion means for converting a definition state, and after the online data stored in the first storage means is stored in the second storage means by the conversion means, the online data is outputted to the printer. A data output method featuring
JP55167524A 1980-11-28 1980-11-28 Data output method Expired JPS6042489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55167524A JPS6042489B2 (en) 1980-11-28 1980-11-28 Data output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55167524A JPS6042489B2 (en) 1980-11-28 1980-11-28 Data output method

Publications (2)

Publication Number Publication Date
JPS5790746A JPS5790746A (en) 1982-06-05
JPS6042489B2 true JPS6042489B2 (en) 1985-09-24

Family

ID=15851287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55167524A Expired JPS6042489B2 (en) 1980-11-28 1980-11-28 Data output method

Country Status (1)

Country Link
JP (1) JPS6042489B2 (en)

Also Published As

Publication number Publication date
JPS5790746A (en) 1982-06-05

Similar Documents

Publication Publication Date Title
JP2755308B2 (en) Output method and device
JPS6042489B2 (en) Data output method
JP3179466B2 (en) Printing equipment
JPS6321158A (en) Printer output device
JPS59231686A (en) Control method of printing mode of covered binding printing
JPH0474740B2 (en)
JP3061066B2 (en) Character data linking device
JP3012988B2 (en) Image memory controller
JPS61187034A (en) Document output device
JP2739481B2 (en) Page printer
JPS61148065A (en) Control of input and output of recording information
JPH0731644Y2 (en) Image data filing controller in online system
JP2643903B2 (en) File device
JP3451289B2 (en) Table output device
JP3245401B2 (en) Document output control device and document output control method
JPH07106649B2 (en) output method
JPS5942875B2 (en) Pattern data transfer output method
JP2762878B2 (en) Image data registration device
JP2614251B2 (en) Printer print control method
JPH01171960A (en) Printer apparatus
JPS63203354A (en) Character pattern editing control system
JPS6125164B2 (en)
JPH054407A (en) Printer
JPS62164548A (en) Access control system for dot memory
JP2002207577A (en) Printing system and control method thereof