JPH0830443A - Method and device for program generation and method and device for print image data generation - Google Patents

Method and device for program generation and method and device for print image data generation

Info

Publication number
JPH0830443A
JPH0830443A JP6189004A JP18900494A JPH0830443A JP H0830443 A JPH0830443 A JP H0830443A JP 6189004 A JP6189004 A JP 6189004A JP 18900494 A JP18900494 A JP 18900494A JP H0830443 A JPH0830443 A JP H0830443A
Authority
JP
Japan
Prior art keywords
data
image data
print image
print
program
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
JP6189004A
Other languages
Japanese (ja)
Inventor
Koyo Ueno
幸洋 上野
Satoshi Kinoshita
聡 木下
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP6189004A priority Critical patent/JPH0830443A/en
Publication of JPH0830443A publication Critical patent/JPH0830443A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To eliminate the need to manually generate programs by different data by converting transaction data into print image data on the basis of the transaction data, character patterns, print positions, etc., which are specified and edited on a drawing interaction basis. CONSTITUTION:This device consists of the control unit 1 composed of an arithmetic processing unit and a peripheral circuit, an input device 2, a display device 3, a floppy disk storage device 4, a magnetic tape storage device 5, a large-capacity storage device 6, a printer 7, and a network 8. On the basis of information obtained by a specifying and editing process, coordinate position data on print output are extracted. Skip data for skipping over space lines are generated from the coordinate position data. The skip data are added to print image data to generate data in compressed format which have the data of the space lines compressed as print image data converted by a print image data conversion program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、帳票等の出力紙に印字
されるべきデータ列を編集し、ラインプリンタに入力し
所定の形式で出力紙に印字出力できるデータであるプリ
ントイメージデータを得る方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention edits a data string to be printed on an output paper such as a form and inputs it to a line printer to obtain print image data which is data which can be printed out on the output paper in a predetermined format. A method and apparatus.

【0002】[0002]

【従来の技術】所定のフォームを有するプレ印刷物や白
紙等の出力紙に所定のデータを印字して請求書や月次報
告書等を作成する場合には、まず顧客名簿、売上金額等
の個別のデータファイルであるマスターファイルから出
力紙に印字すべきデータを抽出して一単位のデータの組
み(一枚の請求書の記載データに当たる)であるレコー
ドにまとめ、そのレコードを所定の数だけ集めて通称ト
ランザクションファイルと呼ばれるファイルを作成す
る。
2. Description of the Related Art When printing a predetermined data on a pre-printed product having a predetermined form or an output paper such as a blank sheet to prepare an invoice or a monthly report, first, an individual customer list, sales amount, etc. The data to be printed on the output paper is extracted from the master file, which is a data file of, and collected into a record that is a unit of data (corresponding to the data described in one invoice), and the specified number of records are collected. Create a file called a transaction file.

【0003】次に、このトランザクションファイルに書
き込まれたレコードの各データについて、出力紙へ印字
するフォーマットに合わせてそれぞれの印字位置を定
め、使用するプリンタに合わせて改行、空白等を付加し
てプリントイメージデータを作成する。プリントイメー
ジデータ(PID)は、通常は記録媒体として磁気テー
プが使用されるためプリントイメージテープ(PIT)
とも呼ばれる。そして、このPIDと出力する出力紙を
プリンタにセットして印字処理を行うのが一般的であ
る。
Next, for each data of the record written in this transaction file, the respective print positions are determined according to the format to be printed on the output paper, and line feeds, blanks, etc. are added according to the printer used and printed. Create image data. Print image data (PID) is used for print image data (PID) because a magnetic tape is usually used as a recording medium.
Also called. Then, the PID and the output paper to be output are generally set in a printer to perform a printing process.

【0004】例えば、請求書を所定のフォームの出力紙
で作成する場合を例にとって説明する。図30は請求書
を所定のフォームの出力紙で作成する場合の処理過程を
示す図である。図30においてまず、請求書を送付すべ
き顧客の住所、名称等が記録されている顧客データベー
スと、取引内容や請求金額が記録されている取引データ
ベースから、個々の顧客ごとに所定のデータを抽出して
レコードにまとめ、所定の全ての顧客に対応したレコー
ドを集めるトランザクション作成処理を行い、トランザ
クションファイルを作成する(STEP1)。
For example, a case where an invoice is created on an output sheet of a predetermined form will be described as an example. FIG. 30 is a diagram showing the processing steps in the case of creating an invoice on the output paper of a predetermined form. In FIG. 30, first, predetermined data is extracted for each customer from the customer database in which the address, name, etc. of the customer to whom the invoice should be sent are recorded, and the transaction database in which the transaction details and the billing amount are recorded. Then, a transaction file is created by collecting the records into records and collecting records corresponding to all predetermined customers (STEP 1).

【0005】次に、印字出力する出力紙に合わせてレコ
ードを構成する各データの印字位置を決定し、改行コー
ドや、空白コード等を付加し、プリント出力イメージに
合致するPIDを作成する(STEP2)。そして、こ
のPIDと印字出力する出力紙をプリンタにセットし、
プリンタ出力処理を行うと所定の位置に所定のデータが
印字された請求書を作成することができる(STEP
3)。
Next, the print position of each data forming a record is determined according to the output paper to be printed out, a line feed code, a blank code, etc. are added, and a PID matching the print output image is created (STEP 2). ). Then, set the PID and the output paper to be printed out in the printer,
By performing the printer output process, it is possible to create an invoice in which predetermined data is printed at a predetermined position (STEP
3).

【0006】ここでPID作成処理を説明する。図29
はトランザクションファイルに書き込まれている1レコ
ードを示す図である。1レコードは1枚の出力紙に印字
されるデータで構成され、この例では図29に示すよう
に3個のフィールドで構成されている。また、フィール
ドはデータが書き込まれる領域を示すものであり、一つ
のフィールドには一つのデータが書き込まれる。そし
て、トランザクションファイルには図29に示す構成の
レコードが出力処理件数分だけ書き込まれている。な
お、レコードを構成するフィールドの順番は出力紙のフ
ォームとは無関係に並べられていてもよい。
Here, the PID creating process will be described. FIG. 29
FIG. 4 is a diagram showing one record written in a transaction file. One record is composed of data printed on one sheet of output paper, and in this example, it is composed of three fields as shown in FIG. The field indicates an area in which data is written, and one data is written in one field. Then, records of the configuration shown in FIG. 29 are written in the transaction file for the number of output processing cases. The order of the fields forming the record may be arranged independently of the form of the output paper.

【0007】また、図30は出力紙に印字する場合の印
字位置等に関する仕様を示す図である。トランザクショ
ンデータは、所定のフォームの出力紙に図30に示すよ
うに印字されるべきものとする。即ち、フィールド1に
記録されているデータ「氏名」は第5行の第11〜20
桁に印字され、フィールド2に記録されているデータ
「住所」は第2行の第11〜40桁に印字され、フィー
ルド3に記録されているデータ「請求金額」は第5行の
第31〜35桁に印字されるべきものとする。なお、図
30は印字位置を示すもので出力紙のプレ印刷部分等は
省略されている。また、桁数は英数字等の1バイトデー
タが表現する場合の値であり、従って日本語等の2バイ
トデータは1文字は2桁で表現される。
Further, FIG. 30 is a diagram showing specifications regarding a printing position and the like when printing is performed on an output sheet. The transaction data is to be printed on the output paper of a predetermined form as shown in FIG. That is, the data “name” recorded in the field 1 is the 11th to 20th lines in the fifth line.
The data "address" printed in the digit and recorded in the field 2 is printed in the 11th to 40th digits of the second line, and the data "billing amount" recorded in the field 3 is written in the 5th line 31st to 31st. It should be printed in 35 digits. Note that FIG. 30 shows the printing position, and the preprinted portion of the output paper and the like are omitted. The number of digits is a value in the case where 1-byte data such as alphanumeric characters is expressed. Therefore, in 2-byte data such as Japanese, one character is expressed by 2 digits.

【0008】このような場合、単にトランザクションデ
ータと出力紙をプリンタにセットしたのでは各データは
印字されるべき正しい位置に印字されないことは明らか
であり、各データを出力紙の印字されるべき位置に正し
く印字するためには、トランザクションデータのレコー
ドを図31に示すようなデータ形式に形式変更する必要
がある。
In such a case, it is clear that if the transaction data and the output paper are simply set in the printer, the respective data will not be printed at the correct positions where they should be printed. In order to correctly print the data, it is necessary to change the record of the transaction data into the data format as shown in FIG.

【0009】この図31はPIDの一例である。図31
に示すデータ形式によれば、プリンタは、1レコードを
読込み、まず改頁して次の出力紙を取込み、第1行目は
改行、第2行目は最初の10桁を空白にし、11桁目〜
40桁目にフィールド2の内容「住所」を印刷して改行
し、続いて第3行目、第4行目を改行後、第5行目は最
初の10桁を空白にし、11〜20桁目にフィールド1
の内容「氏名」を印字し、続く10桁を空白にし、31
〜35桁目にフィールド3の内容「請求金額」を印字し
て改行する。この一連のデータ列が出力処理件数分並ん
でいる。図31中漢字INコードは、以下のデータは1
文字2バイトのデータであることを示すコードであり、
漢字OUTコードは1文字2バイトのデータの終了を示
すコードである。
FIG. 31 shows an example of PID. Figure 31
According to the data format shown in, the printer reads one record, first page breaks, and then takes in the next output paper. The first line is a line feed, the second line is the first 10 digits, and the 11th digit is blank. Eye~
Print the contents of the field 2 "address" at the 40th column and start a line feed. Then, after the line feed at the 3rd and 4th lines, leave the first 10 columns blank for the 5th line, and set 11-20 columns. Eye field 1
Print the content of "Name", blank the next 10 digits, and enter 31
The content "charge amount" of the field 3 is printed in the ~ 35th digit and a line feed is performed. This series of data strings is lined up for the number of output processing cases. The following data for the Kanji IN code in Fig. 31 is 1
It is a code that indicates that it is a 2-byte character data,
The Kanji OUT code is a code indicating the end of data of 2 bytes per character.

【0010】このように図29に示すようなトランザク
ションデータを、例えば図30に示す出力仕様に基づい
て、図31に示すような形式に形式変更して、プリンタ
が解読でき各データが印字されるべき位置に印字できる
ようにするのがPID作成処理であり、この処理により
PIDが作成される。
As described above, the transaction data shown in FIG. 29 is converted into the format shown in FIG. 31 based on the output specifications shown in FIG. 30, for example, and the data can be printed by the printer. A PID creating process is performed so that printing can be performed at an appropriate position, and a PID is created by this process.

【0011】[0011]

【発明が解決しようとする課題】しかしながらPID作
成処理は、C言語、COBOL等のプログラミング言語
のプログラムを、出力物の印字フォーマット及び使用す
るプリンタ毎に仕様を考慮してその都度作成しなければ
ならず、このプログラム開発には非常に手間とコストを
要するものであった。また、これらの作成したPID作
成プログラムは各機種内で固有にしか使用できないもの
であったため、処理件数が少ない場合でも別機種、低位
機種での運用は事実上不可能であった。
However, in the PID creation process, a program in a programming language such as C language or COBOL must be created each time considering the print format of the output product and the specifications for each printer to be used. However, this program development was extremely time-consuming and costly. Further, since these created PID creation programs can only be used uniquely within each model, even if the number of processing cases is small, it is virtually impossible to operate on another model or a lower model.

【0012】また、PIDはデータ圧縮した形式ではな
く、スペースを含む全てのデータ行を持つSYSOUT
形式という形式のデータである。SYSOUT形式で
は、データ量が多くなるために、一巻のMT(磁気テー
プ)に格納できる件数(ページ数)が少なくなり、また
出力速度もスペースデータを有する分遅くなっていた。
そのため、プリント出力業務において、MTの掛け替え
作業等の煩雑さ、及び出力時間の浪費が問題となってい
た。スペース行を持たないデータ圧縮した形式でPID
を作成する場合煩雑な設定作業が必要であり、設定ミス
により所定の位置に出力されないという事故も起こりや
すかった。また、そのような設定は各プリンタ機種によ
って制限があり、効率よく設定しないと、SYSOUT
形式と同様に余分なスペース行のデータを持たなければ
ならなかった。
The PID is not in a data-compressed format, but SYSOUT having all data lines including spaces.
It is the data of the format. In the SYSOUT format, since the amount of data is large, the number of pages (number of pages) that can be stored in one roll of MT (magnetic tape) is small, and the output speed is also slow due to the space data.
Therefore, in the print output work, there have been problems such as complexity of MT replacement work and waste of output time. PID in data compressed format with no space lines
When creating a file, complicated setting work is required, and an accident in which the data is not output to a predetermined position due to a setting error is likely to occur. In addition, such settings are limited depending on each printer model.
As well as the format had to have an extra space line of data.

【0013】更に、受託処理において得意先から提示さ
れるトランザクションデータは仕様どうりのデータ属性
を持つコードが格納されておらず不良データが存在する
場合がある。そのようなトランザクションデータに対し
て前述のPID変換処理を行うとPID中に不良データ
が存在するために、コード不良によるプリント出力エラ
ーが生じる。そのためコード不良箇所を追求するのに手
間を要するとともに、出力効率が低下する原因となって
いた。
Further, in the contract processing, the transaction data presented by the customer may not have a code having a data attribute according to the specifications stored therein but may have defective data. If the above PID conversion processing is performed on such transaction data, defective data exists in the PID, and a print output error occurs due to a defective code. Therefore, it takes a lot of time to find the defective part of the cord, and the output efficiency is lowered.

【0014】本発明は上記の課題を解決するものであっ
て、プログラムの作成という煩雑な作業を行うことな
く、しかも、データ圧縮形式のPIDを生成する際にシ
ステム側で効率よくデータを格納できるように最適な設
定を行い、その設定に基づいてPID変換処理を行うこ
とにより、これまで起こっていた出力位置のミスを無く
し、効率良くデータを格納することもでき、誰でもが簡
単に、出力紙に対して印字位置、印字内容等が確実で誤
りのないプリントイメージを作成できる方法及び装置の
提供を目的とするものである。
The present invention solves the above-mentioned problems, and the data can be efficiently stored on the system side when the PID in the data compression format is generated without performing the complicated work of creating the program. By making the optimum settings like this and performing the PID conversion process based on the settings, it is possible to eliminate the mistake of the output position that has occurred so far and efficiently store the data, and anyone can easily output the data. It is an object of the present invention to provide a method and an apparatus capable of creating a print image in which a print position, print content, etc. are surely made on a paper without error.

【0015】[0015]

【課題を解決するための手段】上記目的は下記の本発明
によって達成される。即ち、本発明は、トランザクショ
ンデータの文字絵柄、印刷位置を画面対話方式に指定す
る指定編集処理と、トランザクションデータをその指定
編集処理で得られた情報に基づき出力紙に印字出力する
ラインプリンタ用のプリントイメージデータに変換する
プリントイメージデータ変換プログラムを自動的に生成
するプリントイメージデータ変換プログラム自動生成処
理を行うプログラム作成方法であって、その指定編集処
理で得られた情報に基づき前記印字出力の座標位置デー
タを抽出し、その座標位置データからスペース行をとば
すスキップデータを生成し、そのスキップデータを前記
プリントイメージデータに付加することによって、その
プリントイメージデータ変換プログラムによって変換さ
れるプリントイメージデータをスペース行のデータを圧
縮した圧縮形式のデータとするデータ圧縮処理を含むプ
ログラム作成方法、である。また本発明は、プリントイ
メージデータ変換プログラム自動生成処理により生成さ
れたプリントイメージデータ変換プログラムによって、
トランザクションデータをプリントイメージデータに変
換するプリントイメージデータ変換処理を含むプリント
イメージデータ作成方法、である。
The above object can be achieved by the present invention described below. That is, the present invention is directed to a line printer for a designated edit process for designating a character pattern and a print position of transaction data in a screen interactive mode, and for printing out transaction data on an output paper based on information obtained by the designated edit process. A print image data conversion program for automatically generating a print image data conversion program for converting into print image data. A program creating method for performing automatic generation processing, wherein the coordinates of the print output based on the information obtained by the designated editing processing. By extracting position data, generating skip data for skipping space lines from the coordinate position data, and adding the skip data to the print image data, the print image data converted by the print image data conversion program is converted into a space. Programming methods including data compression processing to the compression format of data that the data obtained by compressing the a. Further, the present invention provides a print image data conversion program generated by a print image data conversion program automatic generation process,
A print image data creation method including print image data conversion processing for converting transaction data into print image data.

【0016】また本発明は、トランザクションデータの
文字絵柄、印刷位置を画面対話方式に指定する指定編集
処理と、トランザクションデータをその指定編集処理で
得られた情報に基づき出力紙に印字出力するラインプリ
ンタ用のプリントイメージデータに変換するプリントイ
メージデータ変換処理とを含むプリントイメージデータ
作成方法であって、その指定編集処理で得られた情報に
基づき前記印字出力の座標位置データを抽出し、その座
標位置データからスペース行をとばすスキップデータを
生成し、そのスキップデータを前記プリントイメージデ
ータに付加することによって、前記プリントイメージデ
ータ変換プログラムによって変換される前記プリントイ
メージデータをスペース行のデータを圧縮した圧縮形式
のデータとするデータ圧縮処理を含むプリントイメージ
データ作成方法、である。
Further, the present invention is a line printer for designating a character image and a printing position of transaction data in a screen interactive mode, and for printing out transaction data on an output paper based on information obtained by the designated editing process. A print image data creation method including a print image data conversion process for converting into print image data for use, wherein the coordinate position data of the printout is extracted based on the information obtained by the designated editing process, and the coordinate position is obtained. A compression format in which space data is compressed from the print image data converted by the print image data conversion program by generating skip data for skipping space lines from the data and adding the skip data to the print image data. Data as Print image data creation method comprising the data compression process is.

【0017】また本発明は、トランザクションデータの
文字絵柄、印刷位置を画面対話方式に指定される指定編
集手段と、その指定編集手段で得られた情報に基づき出
力紙に印字出力するラインプリンタ用のプリントイメー
ジデータに変換するプリントイメージデータ変換プログ
ラムを自動的に生成するプリントイメージデータ変換プ
ログラム自動生成手段とを有するプログラム作成装置で
あって、その指定編集手段で得られた情報に基づきその
印字出力の座標位置データを抽出し、その座標位置デー
タからスペース行をとばすスキップデータを生成し、そ
のスキップデータをプリントイメージデータに付加する
ことによって、そのプリントイメージデータ変換プログ
ラムによって変換されるプリントイメージデータをスペ
ース行のデータを圧縮した圧縮形式のデータとするデー
タ圧縮手段を含むプログラム作成装置、である。また本
発明は、プログラム作成装置により生成されたプリント
イメージデータ変換プログラムによって、トランザクシ
ョンデータをプリントイメージデータに変換するプリン
トイメージデータ変換手段を含むプリントイメージデー
タ作成装置、である。
Further, the present invention is directed to a designated editing means for designating a character pattern and a printing position of transaction data in a screen interactive system, and a line printer for printing out on an output paper based on the information obtained by the designated editing means. A program creation device having a print image data conversion program automatic generation means for automatically generating a print image data conversion program for converting into print image data, the print output of the print output based on the information obtained by the designated editing means. By extracting the coordinate position data, generating skip data that skips space lines from the coordinate position data, and adding the skip data to the print image data, the print image data converted by the print image data conversion program is converted into a space. Row of data Program creating device comprising data compression means for the reduced compression format data is. The present invention also provides a print image data creating apparatus including print image data converting means for converting transaction data into print image data by a print image data converting program created by the program creating apparatus.

【0018】また本発明は、トランザクションデータの
文字絵柄、印刷位置を画面対話方式に指定される指定編
集手段と、トランザクションデータを前記指定編集手段
で得られた情報に基づき出力紙に印字出力するラインプ
リンタ用のプリントイメージデータに変換するプリント
イメージデータ変換手段からなるプリントイメージデー
タ作成装置であって、前記指定編集手段で得られた情報
に基づき前記印字出力の座標位置データを抽出し、その
座標位置データからスペース行をとばすスキップデータ
を生成し、そのスキップデータを前記プリントイメージ
データに付加することによって、前記プリントイメージ
データ変換プログラムによって変換される前記プリント
イメージデータをスペース行のデータを圧縮した圧縮形
式のデータとするデータ圧縮手段を含むプリントイメー
ジデータ作成装置、である。
According to the present invention, the character and pattern of the transaction data and the print position are designated by a screen interactive method, and a line for printing the transaction data on an output sheet based on the information obtained by the designated edit means. A print image data creating device comprising print image data converting means for converting into print image data for a printer, wherein coordinate position data of the print output is extracted based on the information obtained by the designated editing means, and the coordinate position thereof is extracted. A compression format in which space data is compressed from the print image data converted by the print image data conversion program by generating skip data for skipping space lines from the data and adding the skip data to the print image data. Data of Print image data generating apparatus comprising over data compression means, a.

【0019】[0019]

【作用】画面対話方式で指定編集されたトランザクショ
ンデータ、文字絵柄、印刷位置、印刷形式に基づいて、
トランザクションデータをプリントイメージデータに自
動変換するため、異なるトランザクションデータごとに
人手によりプログラムを作成する必要がない。
[Operation] Based on the transaction data specified by the screen interactive method, the character pattern, the print position, and the print format,
Since transaction data is automatically converted into print image data, it is not necessary to manually create a program for each different transaction data.

【0020】また、トランザクションデータをプリント
イメージデータに変換するプログラムを自動的に生成す
るため、指定編集処理を行う装置やチェックプログラム
を自動生成する装置とは異なる所望の装置において、時
間のかかるデータの変換をすることができる。更に、デ
ータ圧縮手段により、指定編集手段で得られた情報に基
づき印字出力の座標位置データが抽出され、その座標位
置データからスペース行をとばすスキップデータが生成
され、そのスキップデータがプリントイメージデータに
付加されることによって、プリントイメージデータ変換
プログラムによって変換されるプリントイメージデータ
はスペース行のデータを圧縮した圧縮形式のデータとな
る。
Further, since the program for converting the transaction data into the print image data is automatically generated, the time-consuming data can be stored in a desired device different from the device for performing the designated editing process or the device for automatically generating the check program. Can be converted. Further, the data compression means extracts the coordinate position data of the printout based on the information obtained by the designated editing means, generates the skip data for skipping the space line from the coordinate position data, and the skip data becomes the print image data. By being added, the print image data converted by the print image data conversion program becomes data in a compressed format in which the data of the space line is compressed.

【0021】[0021]

【実施例】以下好適な実施例に基づいて本発明を説明す
る。図1は、本発明のPIDの作成方法及び装置を実施
するためのシステム構成の一例を示す図である。図1に
おいて、1はマイクロプロセッサ等の演算処理ユニット
と周辺回路で構成された制御装置、即ちパーソナルコン
ピュータ、エンジニアリングワークステイション等の本
体、2はキーボード、マウス等の入力装置、3はカラー
CRTディスプレイ装置等の表示装置、4はフロッピー
ディスク記憶装置(FD装置と呼ぶ)、5は磁気テープ
記憶装置(MT装置と呼ぶ)、6はハードディスク等の
大容量のデータ記憶が可能な記憶装置、7はプリンタ、
8はネットワークであって、イーサーネット等のローカ
ルエリアネットワーク(LANと呼ぶ)を使用すること
ができる。本発明における方法及び装置は、上記のハー
ドウェアとそのハードウェアに組み込まれたソフトウェ
アによって実行及び構成される。
The present invention will be described below based on the preferred embodiments. FIG. 1 is a diagram showing an example of a system configuration for implementing a PID creating method and apparatus according to the present invention. In FIG. 1, reference numeral 1 is a control device including an arithmetic processing unit such as a microprocessor and peripheral circuits, that is, a main body such as a personal computer or an engineering workstation, 2 is an input device such as a keyboard or mouse, and 3 is a color CRT display device. Such as a display device, 4 a floppy disk storage device (referred to as an FD device), 5 a magnetic tape storage device (referred to as an MT device), 6 a storage device capable of storing a large amount of data such as a hard disk, and 7 a printer. ,
Reference numeral 8 denotes a network, and a local area network (referred to as LAN) such as Ethernet can be used. The method and apparatus in the present invention are executed and configured by the above hardware and software embedded in the hardware.

【0022】図2はトランザクションデータのレコード
を例示する図であり、図3はプリントレイアウトを例示
する図である。また、図4は比較例であり、SYSOU
T形式で記述されたPIDの1サイクル分のデータを各
フィールド毎に示す図である。また、図5は実施例であ
り、データ圧縮形式で記述されたPIDの1サイクル分
のデータを各フィールド毎に示す図である。また、図6
は同じくデータ圧縮形式で記述されたPIDの1サイク
ル分のデータを模式的に示す図である。次に、図2のト
ランザクションデータから、図3のプリントレイアウト
で、図5、図6のPIDを作成する場合を一例として本
発明のPID作成方法及び装置の概要を説明する。
FIG. 2 is a diagram illustrating a record of transaction data, and FIG. 3 is a diagram illustrating a print layout. In addition, FIG. 4 is a comparative example.
It is a figure which shows the data for 1 cycle of PID described in T format for every field. Further, FIG. 5 is an embodiment and is a diagram showing, for each field, data for one cycle of the PID described in the data compression format. In addition, FIG.
FIG. 3 is a diagram schematically showing data for one cycle of PID described in the data compression format. Next, an outline of the PID creating method and apparatus of the present invention will be described by taking the case of creating the PIDs of FIGS. 5 and 6 from the transaction data of FIG. 2 in the print layout of FIG. 3 as an example.

【0023】図7は制御装置1が実行する処理の全体を
示すフロー図である。図7において、電源投入後のメイ
ンプログラムの立ち上げ処理が終了すると、制御装置1
は表示装置3にメインメニューを表示する(S1)。メ
インメニューとしては「指定編集処理」、「業務処
理」、「終了」の3メニューである。ここに、指定編集
処理メニューは、プリントアウト業務に関連する管理情
報、トランザクションデータMTの仕様内容の入力、新
規外字作成、プリントアウト位置等の、編集処理を行う
メニューである。即ち図2、図3に例示するデータの仕
様等を入力してPID変換プログラムの自動生成に必要
なデータファイルを作成するためのメニューである。そ
して、業務処理メニューはトランザクションデータのチ
ェック及びコード変換プログラムの自動生成を行い、指
定編集処理メニューで定められた仕様に基づいて図4に
例示するようなPIDの作成を、主として、行うメニュ
ーである。また終了メニューはメインプログラムを終了
させるためのメニューである。
FIG. 7 is a flowchart showing the overall processing executed by the control device 1. In FIG. 7, when the startup process of the main program after the power is turned on is completed, the control device 1
Displays the main menu on the display device 3 (S1). The main menus are three menus of "designated editing process", "business process", and "end". Here, the designated edit processing menu is a menu for performing edit processing such as management information related to printout work, input of specifications of the transaction data MT, creation of a new external character, printout position, and the like. That is, this is a menu for inputting the data specifications and the like illustrated in FIGS. 2 and 3 and creating a data file necessary for automatically generating the PID conversion program. Then, the business processing menu is a menu mainly for performing transaction data checking and automatic generation of a code conversion program, and for creating a PID as illustrated in FIG. 4 based on the specifications defined in the designated editing processing menu. . The end menu is a menu for ending the main program.

【0024】上記メインメニューの表示された状態で、
指示ポイントをメニュー上に置いて、キーボードのキ
ー、マウス等のボタンを押すことによってメインメニュ
ーの一つを選択すると(S2)、選択されたサブプログ
ラムが立ち上がる(S3〜S5)。例として業務処理メ
ニューを選択すると(S2)業務処理が立ち上がり(S
4)、サブメニューが表示装置3に表示される。サブメ
ニューとしては、「PID形成」、「バックアップ/登
録」、「業務ID(identity)確認」の3メニ
ューである。
With the main menu displayed,
When one of the main menus is selected by placing a pointing point on the menu and pressing a key on the keyboard, a button of a mouse or the like (S2), the selected subprogram is launched (S3 to S5). As an example, when the business process menu is selected (S2), the business process starts (S2).
4), the sub menu is displayed on the display device 3. The submenus are three menus of "PID formation", "backup / registration", and "business ID (identity) confirmation".

【0025】ここにPID形成メニューは前述したよう
に、指定編集処理メニューで作成したデータファイルに
基づきチェック及びコード変換プログラム、PID変換
プログラムを生成して、PIDを作成するメニューであ
る。またバックアップ/登録メニューは、本発明のPI
D作成方法及び装置で使用するか作成された各種データ
ファイルに対して、MT装置4を使用してMTに吸い上
げを行う時、または、MTに吸い上げられたデータをハ
ードディスク記憶装置6に取込むときに使用するメニュ
ーである。また業務ID確認メニューは該当するIDが
存在するか否かを確認する時に使用するメニューであ
る。これらのメニューの一つを選択すると(S7)その
メニューのサブプログラムが立ち上がり(S8〜S1
0)処理が行われる。次に、以上の本発明のPID作成
方法及び装置について詳細を「指定編集処理」、「PI
D形成」、「バックアップ/登録」の順に後述の§1〜
§3において説明する。
As described above, the PID formation menu is a menu for creating a PID by generating a check and code conversion program and a PID conversion program based on the data file created by the designated edit processing menu. The backup / registration menu is the PI of the present invention.
D When the MT device 4 is used to download various data files that are used or created by the creating method and device to the MT, or when the data downloaded to the MT is taken into the hard disk storage device 6. It is a menu used for. The business ID confirmation menu is a menu used when confirming whether or not a corresponding ID exists. When one of these menus is selected (S7), the subprogram of that menu is launched (S8-S1).
0) Processing is performed. Next, the details of the PID creation method and apparatus of the present invention described above will be described in "designated editing process"
D formation ”,“ backup / registration ”in this order in §1 to
This will be explained in §3.

【0026】§1.指定編集処理 図8は図7の指定編集処理(S3)における指定編集処
理過程を示すフロー図である。まず、オペレータは業務
IDを入力する(S21)。すると該当するIDが登録
されているか否かがシステムにより判定される(S2
2)。ここにシステムとは図1に例示したシステムのハ
ードウェア構成と、図7に例示したシステムのソフトウ
ェア構成と、図示しない周辺の関連システムを含むもの
である。図8は該当するIDが登録されていない場合の
指定編集処理過程を示すフロー図であり、IDの登録さ
れている場合については図9を用いて後述する。
§1. Designated Editing Process FIG. 8 is a flowchart showing the designated editing process in the designated editing process (S3) of FIG. First, the operator inputs a work ID (S21). Then, the system determines whether or not the corresponding ID is registered (S2).
2). Here, the system includes the hardware configuration of the system illustrated in FIG. 1, the software configuration of the system illustrated in FIG. 7, and peripheral related systems (not shown). FIG. 8 is a flow chart showing the designated editing process when the corresponding ID is not registered, and the case where the ID is registered will be described later with reference to FIG.

【0027】図8において該当するIDが登録されてい
ない場合は、管理情報の入力が行われる(S23)。図
10は表示装置3に表示された管理情報の入力画面を示
す図である。図10において、「登録日」は受託処理業
務において、PIDを作成した日である。「受注番号」
はこの番号をもとに、帳票版下作成CADのプレ印刷デ
ータを画面表示させるためのものである。「業務ID」
は、システムのデータファイルを管理する番号である。
「作成者」はシステムでPIDを作成した人である。
「プレ印刷データ」は有の場合は、帳票版下作成CAD
のデータをもとに、Xウィンドウ上に罫線(文字)を描
画させ、無の場合はプレ印刷部の画面表示は行わず画面
上にはスペーシングチャートを表示する。ただし、有無
のいずれの場合においても、帳票サイズ、及び1インチ
当たりのピッチ数は入力する。「プリンタ機種」はシス
テムにて作成するPIDに該当するプリンタ機種を設定
する。また、作成者、登録者等に変更が生じた場合には
変更履歴が付加される。以上の管理情報のデータがオペ
レータによって図10の画面を見ながらキーボード、マ
ウス等から入力される。
If the corresponding ID is not registered in FIG. 8, the management information is input (S23). FIG. 10 is a diagram showing a management information input screen displayed on the display device 3. In FIG. 10, the “registration date” is the date when the PID was created in the consignment processing business. "Order number"
Is for displaying the pre-print data of the form block making CAD on the screen based on this number. "Business ID"
Is a number that manages the system data file.
The "creator" is the person who created the PID in the system.
If "pre-print data" is available, form block copy CAD
A ruled line (character) is drawn on the X window on the basis of the data of 1., and if nothing is displayed, the screen of the pre-printing unit is not displayed and the spacing chart is displayed on the screen. However, in either case, the form size and the number of pitches per inch are input. The "printer model" sets the printer model corresponding to the PID created by the system. Further, when the creator, the registrant, etc. are changed, the change history is added. The above management information data is input by the operator from the keyboard, mouse, etc. while looking at the screen of FIG.

【0028】図8において管理情報の入力(S23)を
終えると次にトランザクションデータMT仕様入力が行
われる(S24)。図11は表示装置3に表示されたト
ランザクションデータMT仕様の入力画面を示す図であ
る。図11において、「ラベル指定」はNL又はSLを
選択することによって行う。NLはノンラベルを意味
し、SLはスタンダードラベルを意味している。「ボリ
ュウム構成」はシングル又はマルチを選択する。シング
ルはMTが一巻であることを意味し、マルチはMTが複
数巻であることを意味している。従ってマルチを選択し
た場合は「巻数」を入力する。
When the management information is input (S23) in FIG. 8, transaction data MT specifications are input (S24). FIG. 11 is a diagram showing an input screen for the transaction data MT specifications displayed on the display device 3. In FIG. 11, "label designation" is performed by selecting NL or SL. NL means non-label and SL means standard label. Select "single" or "multi" for "volume configuration". Single means that MT has one volume, and multi means that MT has multiple volumes. Therefore, if you select multi, enter the "number of turns".

【0029】「1バイトコード」はASCII、EBC
DIC、無のいずれかを選択する。ASCII、EBC
DICは1バイトで特定される文字のコードがそれぞれ
ASCIIコード、EBCDICコードであることを意
味している。無は1バイトコードの文字が無いことを意
味している。「2バイトコード」はJEF、IBM、J
IPS−E、JIPS−J、シフトJIS、無のいずれ
かを選択する。これらは2バイトで特定される文字のコ
ードがそれぞれのコードであることを意味している。
"1 byte code" means ASCII, EBC
Select either DIC or nothing. ASCII, EBC
DIC means that the character codes specified by 1 byte are ASCII code and EBCDIC code, respectively. No means that there is no 1-byte code character. "2-byte code" is JEF, IBM, J
Select one of IPS-E, JIPS-J, shift JIS, and nothing. These mean that the code of the character specified by 2 bytes is each code.

【0030】「外字コード」は外字コードの有無によっ
て有又は無を選択する。そして外字コードが有る場合
は、外字コード対応表をエディタによって作成する。図
12は表示装置3に表示されたエディタの入力画面であ
る。また、「行ピッチ設定」は1ページの改行幅(行ピ
ッチ)を入力する。入力された行ピッチデータに基づい
てフォームコントロールテーブル仕様ファイルが生成さ
れる。以上のトランザクションデータMT仕様のデータ
がオペレータによって図11、図12の画面を見ながら
キーボード、マウス等から入力される。
The "external character code" is selected to be present or absent depending on the presence or absence of the external character code. If there is an external character code, create an external character code correspondence table with an editor. FIG. 12 is an input screen of the editor displayed on the display device 3. For "line pitch setting", enter the line feed width (line pitch) of one page. A form control table specification file is generated based on the input row pitch data. The above transaction data MT specification data is input by the operator from the keyboard, mouse, etc. while viewing the screens of FIGS.

【0031】図8においてトランザクションデータMT
仕様入力(S24)を終えると次に外字フォントの有無
が判定され(S25)、外字フォントが有る場合は外字
フォント新規作成(S26)を行ってからレコードフィ
ールドのデータ仕様入力(S27)に進み、外字フォン
トが無い場合は直接S27に進む。図13はディスプレ
イ3に表示された外字フォント新規作成(S26)の入
力画面を示す図である。図13において、大きな枠内の
塗りつぶされた部分は外字フォントの形状を表してお
り、形状は図13の画面を見ながらキーボード、マウス
等から入力できる。また、現存するフォントデータ、帳
票版下作成CADの外字データ等から、所望の外字フォ
ントを検索使用したり、それをもとに修正して所望の外
字フォントとすることができる。
In FIG. 8, transaction data MT
After the specification input (S24) is completed, the presence / absence of the external character font is next determined (S25). If the external character font is present, a new external character font is created (S26) and then the record field data specification input (S27) is performed. If there is no external character font, the process directly proceeds to S27. FIG. 13 is a diagram showing an input screen for new external character font creation (S26) displayed on the display 3. In FIG. 13, the filled portion in the large frame represents the shape of the external character font, and the shape can be input from the keyboard, mouse or the like while looking at the screen of FIG. Further, it is possible to search and use a desired external character font from existing font data, external character data of CAD for creating a form block, or to modify it to obtain a desired external character font.

【0032】図8において外字フォント新規作成(S2
6)を終えると次に図2に例示したレコードフィールド
のデータ仕様入力が行われる(S27)。図14は表示
装置3に表示されたレコードフィールドのデータ仕様の
入力画面を示す図である。図14において「カラム位置
始点」は各フィールドの開始位置がトランザクションデ
ータのレコードの何バイト目であるかを示す数値データ
であって、「属性」はデータの属性のことであって、日
本語、ANK(英数カタカナ)、「P」は数値データの
型であってパック・アンパック型(数字)、サイン付
(数字の場合はプラスマイナス)等でありいずれかを選
択する。
In FIG. 8, a new external character font is created (S2
When 6) is completed, the data specification of the record field illustrated in FIG. 2 is input (S27). FIG. 14 is a diagram showing an input screen for data specifications of record fields displayed on the display device 3. In FIG. 14, the “column position start point” is numerical data indicating the byte number of the transaction data record at which the start position of each field is, and the “attribute” is the attribute of the data. ANK (alphanumeric katakana) and "P" are types of numerical data, such as packed / unpacked type (numerical) and signed (plus / minus in the case of numerical value), and any one is selected.

【0033】図14において9はフィールドデータが数
字であることを示し、Nは日本語文字(2バイト文
字)、Xはアルファベットと数字から構成されているこ
とを示している。「桁数」は数字、アルファベット、日
本語文字がフィールドにいくつ有るかを示している。
「フィールド名」はフィールドの名前であり、チェック
プログラムの変数名、PID変換プログラムの変数名に
代用できる。また、図14には図示されていないが各フ
ィールドについて解説する「コメント」を付け加えるこ
とができる。このコメントは生成されるプログラム等を
他に利用する場合等のデバッグ、メンテナンスをやり易
くする。
In FIG. 14, 9 indicates that the field data is a numeral, N indicates a Japanese character (2-byte character), and X indicates that it is composed of an alphabet and a numeral. "Number of digits" indicates how many numbers, alphabets and Japanese characters are present in the field.
The “field name” is the name of the field, and can be substituted for the variable name of the check program and the variable name of the PID conversion program. Although not shown in FIG. 14, “comments” for explaining each field can be added. This comment facilitates debugging and maintenance when the generated program is used for other purposes.

【0034】以上のレコードフィールド仕様のデータが
オペレータによって図14の画面を見ながらキーボー
ド、マウス等から入力される。入力が終了したところ
で、図14の「保存」が選択されると、入力されたレコ
ードフィールド仕様のデータがトランザクションデータ
MT仕様ファイルに保存される。
The above record field specification data is input by the operator from the keyboard, mouse or the like while looking at the screen of FIG. When "Save" in FIG. 14 is selected when the input is completed, the input record field specification data is saved in the transaction data MT specification file.

【0035】図8においてレコードフィールドのデータ
仕様入力(S27)を終えると次にスペーシングチャー
トの表示が行われる(S28)。図15は表示装置3に
表示されたスペーシングチャートの表示画面を示す図で
ある。図15において帳票版下作成CADのデータがあ
る場合は、そのデータ中のチャート区分に従って所定の
スペーシングチャートの画面表示を行う。帳票版下作成
CADのデータが無い場合は、デフォルトとして与えら
れた所定のスペーシングチャートの画面表示を行う。デ
フォルトが適切でないと判断された場合には変更が行わ
れる。帳票版下作成CADのデータがある場合、所定の
スペーシングチャートの画面表示を行った後、帳票版下
作成CADで作成された罫線枠を表示する。図16は表
示装置3に表示された罫線枠の表示画面を示す図であ
る。更に帳票版下作成CADで作成されたプレ印刷部文
字の表示を行うか否かの判定を入力する。Yを入力する
と文字を表示する、Nを入力すると文字は表示しない。
In FIG. 8, when the data specification of the record field (S27) is completed, the spacing chart is displayed next (S28). FIG. 15 is a diagram showing a display screen of the spacing chart displayed on the display device 3. In FIG. 15, when there is data of the form block making CAD, a predetermined spacing chart is displayed on the screen according to the chart classification in the data. When there is no CAD data for creating a form copy, a predetermined spacing chart given as a default is displayed on the screen. Changes are made if the defaults are determined to be inappropriate. If there is data for the form copy preparation CAD, a predetermined spacing chart is displayed on the screen, and then the ruled line frame created by the form copy preparation CAD is displayed. FIG. 16 is a diagram showing a display screen of the ruled line frame displayed on the display device 3. Further, a judgment is made as to whether or not to display the pre-printed portion characters created by the form copy making CAD. Enter Y to display characters, enter N to not display characters.

【0036】図8においてスペーシングチャートの表示
(S28)を終えると次にプリントアウト仕様の入力が
行われる(S29)。図17は表示装置3に表示された
プリントアウト仕様の入力画面を示す図である。図17
において、左上には前述のスペーシングチャート、罫線
枠、プレ印刷部文字が表示されている。また中央には、
フィールドレイアウトが表示されている。そして、右辺
と下辺には、このプリントアウト仕様の入力画面におい
て行われる操作のメニューが複数表示されている。
When the display of the spacing chart (S28) is finished in FIG. 8, the printout specification is next input (S29). FIG. 17 is a diagram showing a printout specification input screen displayed on the display device 3. FIG. 17
In the upper left, the spacing chart, ruled line frame, and pre-printed portion characters are displayed in the upper left. Also in the center,
The field layout is displayed. On the right side and the lower side, a plurality of menus of operations performed on the printout specification input screen are displayed.

【0037】上記メニューについて説明する。「文字」
はマウスの指示ポイントをこの上に置いてマウスのボタ
ンを押すこと(ヒット又は選択と呼ぶ)によって、フィ
ールドレイアウトが表示画面のウィンドウに表示されて
いない時には表示され、表示されている時には消去され
る。「貼込」はプリントアウト仕様に基づいて、フィー
ルド番号をヒットして指定文字列を選択し、座標位置決
定、編集処理後、これをヒットすることによって貼込位
置を決定する。「ポイント数変更」は貼込文字の大きさ
を変更する場合に仕様するメニューである。1バイト文
字の場合デフォルトは10cpi(character per inc
h)、2バイト文字の場合デフォルトは9ポ(ポイン
ト)で設定されており、それ以外のポイント数で貼り込
む場合には、これをヒットして、所定の文字サイズを選
択する。
The above menu will be described. "letter"
Is displayed when the field layout is not displayed in the window of the display screen and is erased when the field layout is displayed in the window of the display screen by placing the mouse pointing point on this and pressing the mouse button (called hit or select) . “Paste” hits the field number to select the designated character string based on the printout specifications, determines the coordinate position, and after editing processing, hits this to determine the paste position. "Change number of points" is a menu to be specified when changing the size of pasted characters. For single-byte characters, the default is 10 cpi (character per inc
h) In the case of 2-byte characters, the default is set to 9 points (points), and when pasting at other points, hit this and select a prescribed character size.

【0038】「ハイフン編集」は郵便番号、シーケンス
番号出力時に“−”を付加する必要がある場合、このメ
ニューをヒットする。例えば9999−99、X−99
99999等である。「△様」は例えば氏名と様、氏名
と殿、名称と御中等の間にスペース“ ”を付加する場
合、このメニューをヒットする。「1B→2B」は1バ
イトコードで設定されている文字を2バイトコードに変
換して出力する場合、このメニューをヒットする。「演
算」は利用金額の合計etcの演算を行う場合、このメ
ニューをヒットし、演算式、桁数を指定する。「左ぞろ
え」は住所、メッセージ文を改行させたい場合、このメ
ニューを選択し、1行当たりの文字数を設定する。「フ
ラグ判定」はトランザクションデータ内にフラグが含ま
れており、フラグ値によって判定し、同一位置に異なる
内容を出力したい場合にこのメニューをヒットする。フ
ラグ値と、フィールド番号またはメッセージ文の対応表
を作成する。
"Hyphen edit" hits this menu when it is necessary to add "-" when outputting a zip code or sequence number. For example, 9999-99, X-99
999999 etc. For example, "△ -sama" hits this menu when a space "" is added between the name and the name, the name and the name, and the name and the name. "1B → 2B" hits this menu when converting a character set with a 1-byte code into a 2-byte code and outputting it. “Calculation” hits this menu to specify the calculation formula and the number of digits when calculating the total etc of the usage amount. "Left Alignment" selects this menu and sets the number of characters per line when you want to break the address and message text. "Flag determination" includes a flag in the transaction data, and it is determined by the flag value, and when it is desired to output different contents to the same position, this menu is hit. Create a correspondence table between flag values and field numbers or message texts.

【0039】「固定文字列」はトランザクションデータ
内にデータは無いが、固定情報として印字出力する場
合、このメニューを選択し、必要な文字列を登録する。
例えば〒、様、メッセージ文等である。「終了」はプリ
ントアウト仕様の入力が終了した場合、その内容に関す
る情報を保存する。「ピック」は一度決定した文字列に
関し、変更を行いたい時にこのメニューを選択し修正を
行う。「カーソル指定」は貼込位置を座標値で入力した
い場合、このメニューを選択する。「行間変更」は表示
しているスペーシングチャートの1インチ当たりのピッ
チ数(行間)を変更したい場合このメニューを選択す
る。「拡大」は各ウィンドウの画面表示を拡大する場
合、このメニューを選択しエリアを指定する。「標準」
は各ウィンドウの画面表示を拡大表示から標準表示状態
に戻したい場合、このメニューを選択する。「クリア」
はピックで指定された文字列をクリア(全く消去され
る)したい場合このメニューを選択する。
The "fixed character string" has no data in the transaction data, but when printing out as fixed information, select this menu and register the necessary character string.
For example, 〒, Mr., message text, etc. "End" saves information about the contents of the printout specification when it is completed. “Pick” is for the character string once decided, and when you want to change it, select this menu and correct it. For "Cursor designation", select this menu if you want to enter the paste position using coordinate values. "Change line spacing" is selected when you want to change the number of pitches (line spacing) per inch of the displayed spacing chart. "Enlarge" selects this menu and specifies the area when enlarging the screen display of each window. "standard"
When you want to return the screen display of each window from the enlarged display to the standard display state, select this menu. "clear"
Select this menu if you want to clear (delete at all) the character string specified by the pick.

【0040】1つの帳票に対して、プリントアウト仕様
を入力し終わった時点でフレーム記述ファイルが生成さ
れる。「面付け」はフレーム記述ファイルのデータをも
とに多面付け処理(コピー&ペースト)を行い、一面で
設計されたものを多面付けする場合、このメニューを選
択する。コピーエリアを指定後、読取レコード位置情報
を決定するために順番を指定する。多面付けを行うとペ
ージ仕様ファイルが作成される。「暗号化」は貼込位置
を決定した文字列に対し、暗号処理をかけたい場合、こ
のメニューをヒットする。「シーケンスNo.」はシー
ケンス番号パターンを選択し、貼込を行う。
A frame description file is generated at the time when the printout specifications have been input for one form. For “imposition”, multi-sided processing (copy & paste) is performed based on the data of the frame description file, and when multi-sided designing on one side is selected, this menu is selected. After designating the copy area, the sequence is designated to determine the read record position information. A page specification file is created when performing multiple imposition. "Encryption" hits this menu when you want to apply encryption processing to the character string whose paste position has been determined. “Sequence No.” selects a sequence number pattern and pastes it.

【0041】「カウント」は出力紙に出力する所定のデ
ータについて同一データが連続し計数を行いたい場合選
択する。「西暦」は西暦年月日データを和暦年月日デー
タに変換し各和暦に応じた文字列を出力したい場合に選
択する。「和暦」は西暦年月日データを和暦年月日デー
タに変換し元号を付加したい場合に選択する。「連番」
は所定の連続番号データ等に対してチェックディジット
を付加したい場合に選択する。「空欄」はトランザクシ
ョンデータの優先度が高いフィールドのデータが空欄の
場合優先度が次のフィールドのデータを出力したい場合
に選択する。上記のS29までの処理が終了すると、そ
の指定された編集処理データのファイルであるプリント
アウト仕様ファイルが生成される。
"Count" is selected when the same data is continuously output for the predetermined data to be output on the output paper and it is desired to perform counting. "Western calendar" is selected when converting the Western calendar date data into Japanese calendar date data and outputting a character string according to each Japanese calendar. “Japanese calendar” is selected when you want to add the era by converting the Western calendar date data to the Japanese calendar date data. "Serial number"
Is selected when it is desired to add a check digit to predetermined serial number data or the like. "Blank" is selected when the data of the field having the high priority of the transaction data is blank and it is desired to output the data of the field having the next priority. When the processes up to S29 described above are completed, a printout specification file that is a file of the specified edit process data is generated.

【0042】以上の指定編集処理の最後に、「チャネル
位置自動設定処理」(S30)が行われ、得られるPI
Dはデータ圧縮形式となる。チャネル位置自動設定処理
は前述の指定編集処理で得られたプリントアウト仕様フ
ァイルの情報に基づき、印字出力の座標位置データを抽
出し、その座標位置データからスペース行をとばすスキ
ップデータを生成し、フォームコントロールテーブル仕
様ファイルに格納する処理である(後述する)。次にE
XIT?(S31)においてnoが選択されると業務I
D入力(S21)に戻る。またyesを選択すると図7
のメインプログラムのメインメニュー表示(S1)に戻
る。
At the end of the above specified editing process, the "channel position automatic setting process" (S30) is performed and the obtained PI is obtained.
D is a data compression format. The channel position automatic setting process extracts the coordinate position data of the printout based on the information of the printout specification file obtained by the above-mentioned specified editing process, generates the skip data that skips the space line from the coordinate position data, and forms it. This is the process of storing in the control table specification file (described later). Then E
XIT? If no is selected in (S31), the task I
Return to D input (S21). Also, if you select yes,
Return to the main menu display of the main program (S1).

【0043】図9は図8の業務IDが登録されているか
否かの判定(S22)において該当する業務IDが存在
する場合の処理過程を示すフロー図である。この場合は
指定編集処理は一応済んでいるはずであるから、その仕
様の修正あるいは未入力箇所の指定編集処理が主たる目
的である。図9と図8はこの点において異なっており、
作業無しの項目はスキップしてとばすことや、必要な作
業項目は直接的に選択でき、直ちにその作業が行える。
図9において業務ID入力(S21)と業務IDの有無
判定(S21)は図8と変わりないが判定結果は該当す
る業務IDがシステムに存在する。従って、仕様内容修
正メニューが表示装置3に表示される(S32)。この
メニューは「管理情報」、「トランザクションデータM
T仕様」、「外字フォント新規作成」、「レコードフィ
ールド仕様」、「プリントアウト仕様」、「チャネル位
置自動設定処理」の6つである。
FIG. 9 is a flow chart showing the processing steps when there is a corresponding business ID in the determination (S22) of whether the business ID of FIG. 8 is registered. In this case, the designated editing process should have been completed for the time being, so the main purpose is to correct the specification or to designate the unedited portion. 9 and 8 differ in this respect,
Items without work can be skipped and skipped, and necessary work items can be selected directly, and the work can be performed immediately.
In FIG. 9, the business ID input (S21) and the presence / absence determination (S21) of the business ID are the same as those in FIG. 8, but the determination result is that the corresponding business ID exists in the system. Therefore, the specification content correction menu is displayed on the display device 3 (S32). This menu is "Management Information", "Transaction Data M
6 are "T specification", "new character font creation", "record field specification", "printout specification", and "channel position automatic setting process".

【0044】仕様内容修正メニューが表示装置3に表示
された状態で「管理情報」が選択されると(S33)、
図8における管理情報入力(S23)から作業を始める
ことができる(S34)。「トランザクションデータM
T仕様」が選択されると(S33)、図8におけるトラ
ンザクションデータMT仕様入力(S24)から作業を
始めることができる(S35)。「外字フォント新規作
成」が選択されると(S33)、図8における外字フォ
ント新規作成(S26)から作業を始めることができる
(S36)。「レコードフィールド仕様」が選択される
と(S33)、図8におけるレコードフィールド仕様の
データ仕様入力(S27)から作業を始めることができ
る(S37)。「プリントアウト仕様」が選択されると
(S33)、図8におけるプリントアウト仕様入力(S
29)から作業を始めることができる(S38)。
When "management information" is selected with the specification correction menu displayed on the display device 3 (S33),
The operation can be started from the management information input (S23) in FIG. 8 (S34). "Transaction data M
When "T specification" is selected (S33), the operation can be started from the transaction data MT specification input (S24) in FIG. 8 (S35). When "New character font new creation" is selected (S33), the operation can be started from new character font new creation (S26) in FIG. 8 (S36). When "Record field specification" is selected (S33), the operation can be started from the data specification input of the record field specification (S27) in FIG. 8 (S37). When "printout specification" is selected (S33), the printout specification input (S
The work can be started from 29) (S38).

【0045】「チャネル位置自動設定処理」が選択され
ると(S33)、図8におけるチャネル位置自動設定処
理(S30)を「自動」で行うか「マニュアル」で行う
かの設定メニューが表示される。「自動」が設定された
場合、プリントアウト仕様入力(S29)を終了した時
点で自動的にチャネル位置自動設定処理(S30)が行
われる。また、上記5つのメニュー(S34,S35,
S36,S37,S38)の1つの作業を行った場合は
必ずチャネル位置自動設定処理(S30)が自動的に行
われ、必ずチャネルが再設定される。一方「マニュア
ル」が設定された場合、プリントアウト仕様入力(S2
9)を終了した時点でチャネル位置自動設定処理(S3
0)を行うか否かを選択するメッセージが表示装置3に
表示される。「行う」を選択するとチャネル位置自動設
定処理(S30)が行われ得られるPIDはデータ圧縮
形式となり、「否」を選択するとSYSOUT形式とな
る。また、上記5つのメニュー(S34,S35,S3
6,S37,S38)の1つの作業を行った場合もチャ
ネル位置自動設定処理(S30)を行うか否かを選択す
るメッセージが表示装置3に表示され、選択により同様
の処理が行われる(S39)。
When "Channel position automatic setting process" is selected (S33), a setting menu is displayed as to whether the channel position automatic setting process (S30) in FIG. 8 is to be "automatic" or "manual". . When "automatic" is set, the channel position automatic setting process (S30) is automatically performed when the printout specification input (S29) is completed. In addition, the above five menus (S34, S35,
When one operation of S36, S37, S38) is performed, the channel position automatic setting process (S30) is always automatically performed, and the channel is always reset. On the other hand, if "manual" is set, printout specification input (S2
9) is completed, the channel position automatic setting process (S3
A message for selecting whether to perform 0) is displayed on the display device 3. If "Yes" is selected, the PID obtained by performing the channel position automatic setting process (S30) is in the data compression format, and if "No" is selected, it is in the SYSOUT format. In addition, the above five menus (S34, S35, S3
6, S37, S38), the message for selecting whether to perform the channel position automatic setting process (S30) is displayed on the display device 3, and the same process is performed by the selection (S39). ).

【0046】次にEXIT?(S38)においてnoが
選択されると業務ID入力(S21)に戻る。またye
sを選択すると図7のメインプログラムのメインメニュ
ー表示(S1)に戻る。以上で図9、図8による指定編
集処理の説明を終える。次に、PID形成について説明
する。
EXIT? When no is selected in (S38), the process returns to the task ID input (S21). See yes
When s is selected, the display returns to the main menu display (S1) of the main program of FIG. This is the end of the description of the designated editing process shown in FIGS. Next, PID formation will be described.

【0047】§2.PID形成 図19は図7の業務処理(S4)のサブメニューである
PID形成(S8)における変換処理方法を示すフロー
図である。まず、オペレータは業務IDを入力する(S
41)。するとそのIDに該当する管理ファイル、トラ
ンザクションデータMT仕様ファイル、レコードフィー
ルド仕様ファイル、固定情報ファイル、プリントアウト
仕様ファイル等が存在するか否かがシステムにより判定
される(S42)。ここに、管理ファイルは図8の管理
情報入力(S23)で作成され、トランザクションデー
タMT仕様ファイルは図8のトランザクションデータM
T仕様入力(S24)で作成され、レコードフィールド
仕様ファイルは図8のレコードフィールドのデータ仕様
入力(S27)で作成され、固定情報ファイル及びプリ
ントアウト仕様ファイルは図8のプリントアウト仕様入
力(S29)で作成されるファイルである。
§2. PID Formation FIG. 19 is a flowchart showing a conversion processing method in PID formation (S8) which is a submenu of the job processing (S4) in FIG. First, the operator inputs the business ID (S
41). Then, the system determines whether the management file, the transaction data MT specification file, the record field specification file, the fixed information file, the printout specification file, and the like corresponding to the ID exist (S42). Here, the management file is created by the management information input (S23) of FIG. 8, and the transaction data MT specification file is the transaction data M of FIG.
Created by T specification input (S24), record field specification file is created by record field data specification input (S27) in FIG. 8, and fixed information file and printout specification file are printout specification input (S29) in FIG. It is a file created by.

【0048】例えば、図21はレコードフィールド仕様
ファイルの例である。図21において、.start.:header
から.end.:headerまでの間のnumberに全フィールド数を
記録し、それ以下の.start.:bodyから.end.:bodyの間に
それぞれ入力した情報が記録される。label はフィール
ド名であり、プログラムを生成する上での変数名に相当
する。comment はフィールドに対する単なるコメントで
あり、訂正時にフィールドの内容が明確になりやすいよ
うに入力項目を設けている。この例では『名前』、『メ
ッセージA』、『メッセージB』がそれに当たる。kind
はフィールドデータに関する属性を示しており、この属
性項目によってフィールド内のデータコードが正確であ
るかどうかの判断基準となる。start は各レコードにお
けるフィールドの先頭開始位置のバイト数を記録し、チ
ェック時のチェック開始バイト数と一致する。lengthは
各フィールドのデータ長を示すものである。これもstar
t と同様にチェック時のチェックを行うデータ長と一致
している。
For example, FIG. 21 is an example of a record field specification file. In Figure 21, .start.: Header
The total number of fields is recorded in the number from to .end.: Header, and the information entered respectively between the following .start.: Body to .end.: Body is recorded. label is a field name, which corresponds to a variable name in generating a program. comment is just a comment for the field, and input items are provided so that the contents of the field can be easily clarified when correcting. In this example, "name", "message A", and "message B" correspond to them. kind
Indicates an attribute related to field data, and this attribute item serves as a criterion for determining whether the data code in the field is correct. start records the number of bytes at the start position of the field in each record, and matches the number of bytes to start checking at the time of checking. length indicates the data length of each field. This is also a star
Similar to t, it matches the data length to be checked at the time of checking.

【0049】また図22は固定情報ファイルの例であっ
て、図8のプリントアウト仕様入力(S30)でメニュ
ー「固定文字」を選択実行した場合に生成されるファイ
ルである。図22の固定情報ファイルは、.start.:head
erから.end.:headerまでの間のnumberに全フィールド数
を記録し、それ以下の.start.:bodyから.end.:bodyの間
にそれぞれ入力した情報が記録される。constantは、固
定情報として設定する文字列を示す。この例では「今月
の特集は『華道』です。」がそれに当たる。ここで設定
される文字コードはプリンタで対応している文字コード
にて記録を行う。従って、制御装置1で用いている文字
コードとプリンタで対応している文字コードが異なる場
合はコード変換を行う。
FIG. 22 shows an example of a fixed information file, which is generated when the menu "fixed character" is selected and executed in the printout specification input (S30) of FIG. The fixed information file in Fig. 22 is .start.: Head.
The number of all fields is recorded in number between er and .end.: header, and the information entered respectively between .start.: body and .end.: body below that is recorded. constant indicates a character string set as fixed information. In this example, "This month's special issue is" Flowers "." The character code set here is recorded with the character code supported by the printer. Therefore, when the character code used in the control device 1 and the character code supported by the printer are different, code conversion is performed.

【0050】kindは、constantで設定された文字列の属
性を示し、label はプログラムを生成する上での変数名
となる。kindとlabel はconstantで設定された内容から
自動的に生成されるため、メニュー的にANKと日本語
の2つに分けて処理を行っても良いし、constantで設定
されている文字コードから判断して生成してもよい。la
bel については変数名を一意にしなければならないた
め、 constant で登録された件数をシーケンシャルな番
号と組み合わせて生成する。
Kind indicates an attribute of a character string set by constant, and label is a variable name for generating a program. Kind and label are automatically generated from the contents set in constant, so you can process them by dividing them into ANK and Japanese in a menu, or you can judge from the character code set in constant. You may generate it. la
Since variable name must be unique for bel, it is generated by combining the number of cases registered with constant with a sequential number.

【0051】また図23はプリントアウト仕様が図3の
場合のプリントアウト仕様ファイルの例である。図23
において、.start.:headerから.end.:headerまでの間の
numberに全レイアウト数を記録し、それ以下の.start.:
bodyから.end.:bodyの間にそれぞれ入力した情報が記録
される。unitは出力位置を設定する座標系の単位を表し
ており、天地左右方向に関して、カラム、インチ、ドッ
トの単位系を有している。x 、y はunitの単位に基づい
た数値を記録する。lengthは、出力時の文字列長を桁数
で記録する。kindは、出力を行うのに必要な元データの
存在場所を示しているものであり、PID生成時にはこ
の値による識別で、元データがトランザクションデータ
ファイルか、固定情報ファイルか、その他ファイルであ
るか、どこからデータを読込むかが判る。
FIG. 23 shows an example of the printout specification file when the printout specification is that of FIG. FIG. 23
At, between .start.: Header and .end.: Header
Record the total number of layouts in number, and .start .:
The information entered between body and .end.: body is recorded. unit represents the unit of the coordinate system that sets the output position, and has a unit system of columns, inches, and dots in the horizontal direction. x and y record numerical values based on the unit of unit. For length, record the character string length at the time of output with the number of digits. The kind indicates the existence location of the original data necessary for output. Whether the original data is a transaction data file, a fixed information file, or another file is identified by this value when the PID is generated. I know where to read the data from.

【0052】label はプリントアウト仕様入力時に選択
したデータに対するlabel であり、これは先に指定した
レコードフィールド仕様ファイル、及び固定情報ファイ
ルにて決定されたlabel と同じ内容である。連続番号の
場合は、これらのデータが存在しなくても良いため、
「*logical*」という項目名で格納を行う。isspace
は、空欄判定編集が行われているか否かを判断する識別
子である。本編集は行われる場合は設定値は1となる。
isspace _label は、空欄判定編集において優先度が高
いフィールドのlabelが記録される。ここで優先度が高
いlabel とは、出力処理においてフィールドの中身が空
欄でない時に印字処理を行う方のフィールドをいう。is
space _caseは、優先度の高い方は0を記録し、低い方
は1を記録する。これはlabel とisspace _label の比
較を行う時に用いるためのものである。sizeは出力時に
設定した文字サイズを示す。
The label is a label for the data selected at the time of inputting the printout specifications, and has the same content as the label determined in the previously specified record field specification file and the fixed information file. In case of consecutive numbers, these data do not need to exist,
It is stored with the item name "* logical *". isspace
Is an identifier for determining whether or not blank column determination editing is performed. When this editing is performed, the set value is 1.
In isspace_label, the label of a field having a high priority in blank judgment editing is recorded. Here, the label having high priority means a field to be printed when the content of the field is not blank in the output process. is
For space_case, 0 is recorded for the higher priority and 1 is recorded for the lower priority. This is for use when comparing label and isspace_label. size indicates the character size set at the time of output.

【0053】ここでファイルの説明を終え、再び図19
のS41に戻り、PID形成について説明を続ける。こ
れらのファイルが存在しない場合はエラーメッセージが
表示装置3に画面表示される。エラーメッセージとして
は存在しないファイル名等である。エラーメッセージ画
面には、更にPID形成を続行するか否かを選択する表
示が示され、続行を選択すると、EXIT?(S54)
においてnoが選択されたこととなり業務ID入力(S
41)に戻る。また否を選択するとEXIT?(S5
4)においてyesが選択されたこととなり図7のメイ
ンプログラムのメインメニュー表示(S1)に戻る。
Now that the description of the file has been completed, FIG.
Returning to S41, the description of PID formation is continued. If these files do not exist, an error message is displayed on the screen of the display device 3. The file name or the like that does not exist as an error message. On the error message screen, a display for selecting whether or not to continue the PID formation is displayed. When selecting to continue, EXIT? (S54)
Since no was selected in, enter the business ID (S
Return to 41). If you select NO, EXIT? (S5
In step 4), yes is selected, and the process returns to the main menu display (S1) of the main program in FIG.

【0054】これらのファイルが存在する場合はトラン
ザクションデータを読込む(S44)。そして、トラン
ザクションデータMT仕様ファイル中の「ラベル」、
「ボリューム」、「レコード長」、「記録密度」、及び
「ブロック長」項目を参照して、読込みを行う。マルチ
ボリュームの場合は、ファイルを1つに連結し、チェッ
ク及びコード変換処理のワークファイルを作成する。ま
た、PID作成を行う装置名、及び出力を行うプリンタ
名を選択入力する。この選択によって以下の処理内容が
異なる。
If these files exist, the transaction data is read (S44). Then, the "label" in the transaction data MT specification file,
Reading is performed with reference to the items "volume", "record length", "recording density", and "block length". In the case of multi-volume, the files are linked together to create a work file for checking and code conversion processing. Also, the device name for creating the PID and the printer name for outputting are selected and input. The following processing contents differ depending on this selection.

【0055】次にチェック及びコード変換プログラムを
自動生成する(S45)。この自動生成はトランザクシ
ョンデータMT仕様ファイル、レコードフィールド仕様
ファイルから、コードジェネレータを使用してプログラ
ムコードを生成することによって行われる。この時生成
されるプログラムは例えばC言語、COBOL等のソー
スプログラムであって、プログラムを実行する場合に、
処理装置に応じてコンパイル、リンクしてロードモジュ
ールを作成することができ、装置を選ばない。トランザ
クションデータのデータコードがコード変換は不要なコ
ードである場合、チェックプログラムのみを自動生成す
る。
Next, a check and code conversion program is automatically generated (S45). This automatic generation is performed by using the code generator to generate a program code from the transaction data MT specification file and the record field specification file. The program generated at this time is a source program such as C language or COBOL, and when the program is executed,
Load modules can be created by compiling and linking depending on the processing device, and any device can be selected. If the data code of transaction data does not require code conversion, only the check program is automatically generated.

【0056】チェック及び変換プログラムが生成された
後、先に選択したPID作成装置名からこの制御装置1
で行うか、または、他の機種を用いてPID作成を行う
か判断を行う。他機種で行う場合は、ネットワークにて
チェック及び変換プログラムを転送するか、もしくは、
FD装置、MT装置等の記録装置に出力を行うことが可
能である。また、このチェック及びコード変換プログラ
ムの自動生成(S45)は、チェック又はコードの変換
を他機種で行う場合など、必要に応じてプログラムの自
動生成を行えばよく、プログラムを自動生成しない場合
は、後述する(チェック処理)によりチェックすること
ができる。
After the check and conversion program is generated, the control device 1 is selected from the PID creation device name previously selected.
Or the PID creation is performed by using another model. If you use another model, transfer the check and conversion program over the network, or
It is possible to output to a recording device such as an FD device or an MT device. Further, in the automatic generation of the check and code conversion program (S45), the program may be automatically generated as necessary, for example, when the check or the code conversion is performed by another model. When the program is not automatically generated, It can be checked by (check processing) described later.

【0057】次にチェック及びコード変換処理を行う
(S46)。S44で取込んだトランザクションデータ
ファイルをワークファイルとし、S45で自動生成した
プログラムを起動させて、上記処理(S46)を行う。
チェックにおいてエラーが有るか否かの判定がなされ
(S47)、エラーがある場合はコードエラーファイル
が作成される(S48)。このコードエラーファイルの
中身を検証し、トランザクションデータの修正が行われ
(S49)、再度トランザクションデータの読込み(S
44)に戻ってやり直される。チェックにおいてエラー
が有るか否かの判定がなされ(S47)、エラーがない
場合はコード変換済のマスターデータファイルが作成さ
れる(S50)。出力するPIDの1ページ当たりの印
字データの総バイト数をプリントアウト仕様ファイルか
ら算出し、PIDデータ格納時にハードディスク記憶装
置6がオーバーフローを起こさないようにコード変換済
のマスターデータファイルを分割する。PID変換時に
は分割マスターデータファイルを使用する。
Next, check and code conversion processing is performed (S46). The transaction data file fetched in S44 is used as a work file, the program automatically generated in S45 is activated, and the above process (S46) is performed.
It is determined whether or not there is an error in the check (S47), and if there is an error, a code error file is created (S48). The contents of this code error file are verified, the transaction data is corrected (S49), and the transaction data is read again (S49).
Go back to 44) and try again. In the check, it is determined whether or not there is an error (S47), and if there is no error, a code-converted master data file is created (S50). The total number of bytes of print data per page of PID to be output is calculated from the printout specification file, and the code-converted master data file is divided so that the hard disk storage device 6 does not overflow when the PID data is stored. A divided master data file is used during PID conversion.

【0058】次にPID変換プログラムを自動生成する
(S52)。この自動生成は、トランザクションデータ
MT仕様ファイル、レコードフィールド仕様ファイル、
プリントアウト仕様ファイル、プリント情報データ、外
字フォントデータから、コードジェネレータを使用して
プログラムコードを生成することによって行われる。こ
の時生成されるプログラムは例えばC言語、COBOL
等のソースプログラムであって、プログラムを実行する
場合に、処理装置に応じてコンパイル、リンクしてロー
ドモジュールを作成することができ、装置を選ばない。
また、出力するPIDの文字コードは、プリンタ機種に
応じて例えばEBCDIC、JEFコード等で統一化さ
れている。
Next, a PID conversion program is automatically generated (S52). This automatic generation is based on transaction data MT specification file, record field specification file,
This is performed by generating a program code from a printout specification file, print information data, and external character font data using a code generator. The program generated at this time is, for example, C language, COBOL
When a program is executed, the load module can be compiled and linked according to the processing device to create a load module, and the device can be selected.
The character code of the PID to be output is unified according to the printer model, such as EBCDIC or JEF code.

【0059】PID変換プログラムを自動生成した後、
先に選択したPID作成装置名からこの制御装置1でP
ID変換処理を行うのか、又は、他の機種を用いて行う
のかの判断を行う。他機種で出力を行う場合は、ネット
ワークにてPID変換プログラムを転送するか、もしく
は、FD装置、MT装置等の記録装置に出力を行うこと
が可能である。また、このPID変換プログラムの自動
生成(S52)は、PIDへの変換を他機種で行う場合
など、必要に応じてプログラムの自動生成を行えばよ
く、プログラムを自動生成しない場合は、後述する(P
ID変換処理)により変換することができる。
After automatically generating the PID conversion program,
From the PID creation device name selected earlier, P on this control device 1
It is determined whether the ID conversion process is performed or another model is used. When outputting with another model, it is possible to transfer the PID conversion program through the network or output to a recording device such as an FD device or MT device. In the automatic generation of the PID conversion program (S52), the program may be automatically generated as necessary, such as when the PID conversion is performed by another model. If the program is not automatically generated, it will be described later. P
ID conversion processing).

【0060】次にS52で自動生成されたPID変換プ
ログラムを起動し、PIDを作成する(S53)。この
制御装置1にて、PID変換処理を行う場合は、先に生
成されたPID変換プログラムを自動的にコンパイル、
リンクして実行モジュールを作成後、実行すれば出力プ
リンタ装置に合わせたPIDを作成することができる。
出力されるMTは、各巻毎にページ連番範囲をメッセー
ジで表示する。次にEXIT?(S54)においてno
が選択されると業務ID入力(S41)に戻る。また否
を選択すると図7のメインプログラムのメインメニュー
表示(S1)に戻る。以上でPID形成の説明を終え
る。次にバックアップ/登録の説明を行う。
Next, the PID conversion program automatically generated in S52 is activated to create a PID (S53). When the control device 1 performs the PID conversion processing, the PID conversion program previously generated is automatically compiled,
If the execution module is linked and created, and then executed, a PID suitable for the output printer device can be created.
The output MT displays a page serial number range as a message for each volume. EXIT? In (S54), no
When is selected, the process returns to the business ID input (S41). If no is selected, the screen returns to the main menu display (S1) of the main program shown in FIG. This is the end of the description of PID formation. Next, backup / registration will be described.

【0061】§3.バックアップ/登録 図20は図7の業務処理(S4)のサブメニューである
バックアップ/登録(S9)における処理過程を示すフ
ロー図である。図20においてバックアップ及び登録の
メニューが表示され(S61)何れかが選択される(S
62)。このシステムで生成されたデータファイルを保
存する場合にはバックアップを、またこのシステムでバ
ックアップしたデータファイルを再び利用したい時には
登録を選択する。
§3. Backup / Registration FIG. 20 is a flowchart showing the processing steps in the backup / registration (S9) which is a submenu of the job processing (S4) in FIG. In FIG. 20, a menu for backup and registration is displayed (S61) and one is selected (S61).
62). Select Backup if you want to save the data files generated by this system, and select Register if you want to reuse the data files backed up by this system.

【0062】バックアップが選択されると(S63)図
7のメインプログラム処理によって現在保存されている
業務ID及びデータファイル名が表示される(S6
4)。業務IDを選択するとMTにデータファイルが保
存され(S65)、更にどのデータがどのMTに保存さ
れているかの情報がMT保存状況ファイルに保存される
(S66)。次にEXIT?(S67)においてnoが
選択されるとメニュー表示(S61)に戻る。またye
sを選択すると図7のメインプログラムのメインメニュ
ー表示(S1)に戻る。
When backup is selected (S63), the job ID and data file name currently saved by the main program processing of FIG. 7 are displayed (S6).
4). When the business ID is selected, a data file is stored in the MT (S65), and further information on which data is stored in which MT is stored in the MT storage status file (S66). EXIT? When no is selected in (S67), the display returns to the menu display (S61). See yes
When s is selected, the display returns to the main menu display (S1) of the main program of FIG.

【0063】また、登録が選択されると(S68)、登
録したい業務IDを入力する(S69)。MT保存状況
ファイルが検索され(S70)、入力された業務IDに
関するデータファイルはどのMTに格納されているかが
表示される(S71)。該当するMTを磁気テープ装置
にセットし(S72)、そのデータファイルをシステム
側に登録する(S73)。次にEXIT?(S67)に
おいてnoが選択されるとメニュー表示(S61)に戻
る。またyesを選択すると図7のメインプログラムの
メインメニュー表示(S1)に戻る。以上でバックアッ
プ/登録の説明を終える。次に本発明の特徴部分である
「チェック処理」、「チェックプログラム生成」、「P
ID変換処理」、「PID変換プログラム生成」、及び
「データ圧縮処理」について更に詳細な説明を、この順
に後述の§4〜§8において説明する。
When registration is selected (S68), the business ID to be registered is input (S69). The MT storage status file is searched (S70), and the MT in which the data file relating to the input business ID is stored is displayed (S71). The corresponding MT is set in the magnetic tape device (S72), and the data file is registered in the system side (S73). EXIT? When no is selected in (S67), the display returns to the menu display (S61). If yes is selected, the screen returns to the main menu display (S1) of the main program shown in FIG. This completes the description of backup / registration. Next, "check processing", "check program generation", and "P" which are characteristic parts of the present invention
A more detailed description of "ID conversion processing", "PID conversion program generation", and "data compression processing" will be given in this order in Sections 4 to 8 below.

【0064】§4.チェック処理 図24はトランザクションデータのチェック処理につい
て説明するためのフロー図である。図24において、ま
ず入力データであるトランザクションデータのコード名
(JIS、ASCII、JEF、IBM等)を1バイト
系、2バイト系とも読込む(S81)。次に、トランザ
クションデータ内に設定されている外字コード値を読込
む。外字コードについては別のファイルに登録されてい
る等で正規のコードエリア外に存在していても正常に読
込むため、上記コードとは別処理とする(S82)。そ
して、先に入力したトランザクションデータの1レコー
ド分のレコードレイアウトをレコードフィールド仕様フ
ァイルから読込む。チェックプログラムの生成を行わな
い場合は、フィールド名、及びコメント内容は読込む必
要はない(フィールド数分繰返し)。この時に、トラン
ザクションデータのトータル処理件数とレコード長を読
込む(S83)。
§4. Check Process FIG. 24 is a flowchart for explaining the check process of transaction data. In FIG. 24, first, the code name (JIS, ASCII, JEF, IBM, etc.) of the transaction data which is the input data is read in both the 1-byte system and the 2-byte system (S81). Next, the external character code value set in the transaction data is read. The external character code is normally read even if it exists outside the regular code area because it is registered in a different file, etc., and therefore is processed differently from the above code (S82). Then, the record layout for one record of the transaction data input earlier is read from the record field specification file. When the check program is not generated, it is not necessary to read the field name and comment contents (repeated by the number of fields). At this time, the total number of transactions processed and the record length are read (S83).

【0065】レコードレイアウト読込み後、各フィール
ドのデータの型に基づいて判別処理を行う(S84)。
X項目とは1バイト系の文字全体を指し、9項目とは数
値データを表し、N項目とは2バイト系の日本語文字全
体を指す。次に、チェック(S85)を行うが、X項目
を例として処理過程を説明する。先に読込んだ各フィー
ルドの先頭位置から桁数分のトランザクションデータを
読込み(S86)、入力コード名からX項目のコード表
の正規範囲内に存在しているか否かが判定される(S8
7)。この際、読込んだ外字のコード値はチェック対象
とは見なさない。入力コードがコード表の正規範囲内と
判断された場合は、次のコード値ついて処理を行い、桁
数分繰り返す。入力コードがコード表の正規範囲外と判
断された場合は、エラー内容を記録する(S88)。例
えば、入力したトランザクションデータがASCIIコ
ードで00(H)の場合、文字は定義されていないため
エラーと判断する。この時、エラーが生じているトラン
ザクションデータ中のバイト位置、コード値00(H)
をエラーファイル内に記録する。その他のデータ項目に
ついても同様にチェック処理を行う。
After reading the record layout, discrimination processing is performed based on the data type of each field (S84).
The X item indicates the entire 1-byte character, the 9 item indicates numerical data, and the N item indicates the entire 2-byte Japanese character. Next, a check (S85) is performed, and the processing process will be described by taking the X item as an example. The transaction data for the number of digits is read from the leading position of each field that has been read previously (S86), and it is determined from the input code name whether it is within the normal range of the code table for the X item (S8).
7). At this time, the code value of the read external character is not considered as a check target. When it is determined that the input code is within the normal range of the code table, the next code value is processed and repeated for the number of digits. If the input code is determined to be outside the normal range of the code table, the error content is recorded (S88). For example, if the input transaction data is ASCII code 00 (H), it is determined that an error occurs because the character is not defined. At this time, the byte position in the transaction data where the error occurred, the code value 00 (H)
In the error file. Check processing is similarly performed for other data items.

【0066】§5.チェックプログラム自動生成 図25はトランザクションデータのチェックプログラム
自動生成について説明するためのフロー図である。図2
5において、まずトランザクションデータのコード名を
読込み、チェックライブラリを取込む為の判断材料とす
る。また、トランザクションデータのトータル処理件数
とレコード長を読込む(S91)。次に、トランザクシ
ョンデータに設定されている外字コード値を読込む(S
92)。次に、1番目のフィールドに関するレコードレ
イアウト情報を読込む。この場合は、プログラムを生成
するためのフィールド名(変数名)の読込みは必ず行
う。
§5. Automatic Check Program Generation FIG. 25 is a flowchart for explaining automatic check program generation of transaction data. Figure 2
In 5, the code name of the transaction data is first read and used as the judgment material for incorporating the check library. Further, the total number of transactions processed and the record length are read (S91). Next, read the external character code value set in the transaction data (S
92). Next, the record layout information regarding the first field is read. In this case, the field name (variable name) for generating the program must be read.

【0067】コメント(デバック、メンテナンス等に利
用)については、ソースプログラムの見栄えに関係する
ため読込んでもよいし、必要なければ読込まなくてもよ
い(S93、S94)。そして、読込んだフィールド
名、先頭位置、桁数に従って、1番目のフィールドデー
タを読込むプログラムを作成する(S95)。その後デ
ータの属性、入力コード名を判断し、あらかじめチェッ
ク範囲を記述しているそれぞれのライブラリ名をプログ
ラム記述する(S96)。これらをフィールド数分繰り
返し処理し、メイン関数部分を作成する(S93)。最
後に、チェックライブラリに対して、外字コード値を利
用してこの値をチェック外とするプログラム制御文を作
成する。
The comment (used for debugging, maintenance, etc.) may be read because it relates to the appearance of the source program, or may not be read if it is not necessary (S93, S94). Then, a program for reading the first field data is created according to the read field name, start position, and number of digits (S95). After that, the attribute of the data and the input code name are determined, and each library name describing the check range in advance is described in a program (S96). These are repeatedly processed for the number of fields to create a main function part (S93). Finally, for the check library, create a program control statement that uses the external character code value and excludes this value from the check.

【0068】§6.PID変換処理 図26はPID変換処理過程を示すフロー図である。図
26において、まず、出力プリンタの名前を読込み、P
IDの出力フォーマットをどのように変換するかを決定
する(S101)。次にプリントアウト仕様ファイルの
1番目のフィールドに関して設定されているパラメータ
を読込む。ここで読込むパラメータとしては、出力開始
座標の単位、天地左右方向の座標値、出力桁数、文字サ
イズ、入力データ(トランザクションデータ、固定文字
列データ等)の存在ファイル識別子、入力データのフィ
ールド名が存在する(S102、S103)。出力プリ
ンタの名前から、ラインプリンタの場合は出力開始位置
座標から行に関する制御コードを設定する。改行コード
は、フォームコントロールテーブル仕様ファイルを参照
しながら行う。もしラインプリンタではなく全点アドレ
ス指定ができるプリンタである場合は行制御コードの設
定を行う必要はない(S104、S105)。
§6. PID Conversion Process FIG. 26 is a flow chart showing the PID conversion process. In FIG. 26, first, the name of the output printer is read, and P
It is determined how to convert the ID output format (S101). Next, the parameters set for the first field of the printout specification file are read. The parameters to be read here are the unit of output start coordinates, the coordinate value in the horizontal direction, the number of output digits, the character size, the file identifier of the input data (transaction data, fixed character string data, etc.), the field name of the input data. Exists (S102, S103). The control code for the line is set from the name of the output printer, and from the output start position coordinates in the case of the line printer. The line feed code is performed with reference to the form control table specification file. If it is not a line printer but a printer capable of addressing all points, it is not necessary to set the line control code (S104, S105).

【0069】次に、文字サイズに関して設定を行う(S
106)。プリントアウト仕様ファイルのパラメータと
して、isspace 識別子が存在するか判別する(空欄判定
処理)。存在すれば、isspace _label とisspace _ca
seに設定されている内容から、空欄判定処理を行う優先
順位を決定し、入力データをセットする。そして、プリ
ントアウト仕様ファイルの入力データに関する識別子か
ら、入力データがトランザクションデータであるか、固
定文字列データであるか判別する(S107)。判別
後、レコードフィールド仕様ファイルのフィールド名を
利用して、入力データの読込みを行う。この際、レコー
ドフィールド仕様ファイル、もしくは 固定文字列デー
タの属性を読込み(S108)、その属性を利用して、
入力データがX、9項目であるかN項目であるかの判別
を行う(S109)。この判別によって、PIDに変換
する時に、ANK読込みの場合はシフトコードをデータ
に付加せず(S110)、日本語読込み(S111)の
場合はシフトコードをデータに付加する(S112)。
以上の処理をプリントアウト仕様ファイル中の各フィー
ルドについて処理を行い(S102、S114)、随時
PIDとして出力を行う(S113)。
Next, the character size is set (S
106). It is determined whether the isspace identifier is present as a parameter of the printout specification file (blank determination process). If it exists, isspace_label and isspace_ca
From the contents set in se, the priority order for performing the blank determination process is determined, and the input data is set. Then, it is determined whether the input data is transaction data or fixed character string data from the identifier related to the input data of the printout specification file (S107). After the discrimination, the input data is read using the field name of the record field specification file. At this time, the attribute of the record field specification file or the fixed character string data is read (S108), and the attribute is used to
It is determined whether the input data is X, 9 items or N items (S109). According to this determination, when converting to PID, the shift code is not added to the data in the case of ANK reading (S110), and the shift code is added to the data in the case of Japanese reading (S111) (S112).
The above process is performed for each field in the printout specification file (S102, S114), and output as a PID at any time (S113).

【0070】§7.PID変換プログラム自動生成 図27はPID変換プログラム自動生成過程を示すフロ
ー図である。図27において、まず、プリントアウト仕
様ファイル中に定義されている入力データ(トランザク
ションデータ、固定文字列データ等)のフィールド名
(変数名)及び、入力データのファイル存在識別子を読
込み、PID変換プログラムにおける入力データの変数
名、データ読込み部の生成を行う(S121、S12
2、S123)。プリントアウト仕様ファイル中のi番
目のパラメータ(座標単位、出力開始座標値、入力デー
タのフィールド名、入力データのファイル存在識別子、
出力桁数、文字サイズ)を読込む(S124、S12
5)。ラインプリンタであれば、天地方向の座標値より
行制御コードを生成する必要があるので、行制御ライブ
ラリを組込む、とともにデータ圧縮処理を行うためフォ
ームコントロールテーブル仕様ファイルを組み込む(S
126、S127)。
§7. PID Conversion Program Automatic Generation FIG. 27 is a flowchart showing the PID conversion program automatic generation process. In FIG. 27, first, the field name (variable name) of the input data (transaction data, fixed character string data, etc.) defined in the printout specification file and the file existence identifier of the input data are read in the PID conversion program. The variable name of the input data and the data reading part are generated (S121, S12).
2, S123). I-th parameter in the printout specification file (coordinate unit, output start coordinate value, input data field name, input data file existence identifier,
Read the number of output digits and character size (S124, S12)
5). In the case of a line printer, it is necessary to generate a line control code from coordinate values in the vertical direction, so a line control library is incorporated and a form control table specification file is incorporated for performing data compression processing (S
126, S127).

【0071】次に、出力文字サイズに関して制御を行う
データを生成するために、文字サイズから文字サイズコ
ードへ変換を行うライブラリを組込む(S128)。ま
た、先に読込んだプリントアウト仕様ファイル中のi番
目のパラメータに、isspace が存在すれば、isspace _
label とisspace _caseに設定されている内容を元に、
優先順位を決定して空欄判定処理を行うライブラリを組
込む。入力データのファイル存在識別子、入力データの
属性を判定して(S129)、入力データを設定するラ
イブラリを組込む(S130)。この時、出力するデー
タの属性が日本語の場合は、シフトコードを付加するラ
イブラリも同時に組込む(S131)。最後に上記処理
で生成されるPIDを出力する部分を作成する。この一
連の処理をプリントアウト仕様ファイル中各フィールド
に対して行い、全体のプログラムを作成する(S13
2)。ここでPID変換プログラム自動生成の説明を終
え、次にデータ圧縮について説明する。
Next, in order to generate data for controlling the output character size, a library for converting the character size into a character size code is incorporated (S128). Also, if isspace exists in the i-th parameter in the printout specification file read previously, isspace_
Based on the contents set in label and isspace_case,
Incorporate a library that determines the priority order and performs blank determination processing. The file existence identifier of the input data and the attribute of the input data are determined (S129), and a library for setting the input data is incorporated (S130). At this time, if the attribute of the data to be output is Japanese, a library to which a shift code is added is also incorporated (S131). Finally, a part for outputting the PID generated by the above process is created. This series of processing is performed for each field in the printout specification file to create the entire program (S13).
2). The description of the automatic generation of the PID conversion program is finished here, and then the data compression will be described.

【0072】§8.データ圧縮処理 まず、比較例としてデータ圧縮処理を行わない場合のS
YSOUT形式のPIDについて説明する。図3に示す
出力物(1ページ)のPIDをSYSOUT形式のデー
タとして持つ場合、1行目、2行目のように出力データ
の入っていない行でもスペースのデータを持つ必要があ
った。図4は図3に示す出力物(1ページ)のSYSO
UT形式のPIDを説明する図である。1行目から50
行目までスペース行(空白行)を含めて各行40桁の図
3に示す出力物に対応する、同じ数の図4に示すような
フィールドから構成されたデータを持つ必要があった。
§8. Data compression processing First, as a comparative example, S when data compression processing is not performed
The YSOUT format PID will be described. When the PID of the output product (one page) shown in FIG. 3 is stored as the data in the SYSOUT format, it is necessary to have the space data even in the lines that do not contain the output data, such as the first line and the second line. FIG. 4 shows the output product (one page) shown in FIG.
It is a figure explaining PID of UT format. 50 from the first line
It was necessary to have data composed of the same number of fields as shown in FIG. 4 corresponding to the output product shown in FIG. 3 having 40 columns in each line including the space line (blank line) up to the line.

【0073】次に、上記比較例と同じ内容であって、本
発明のデータ圧縮処理を行った実施例について説明す
る。図5は図3に示す出力物(1ページ)の本発明のデ
ータ圧縮処理を行って得たPIDを説明する図である。
データ圧縮処理は、大別して2つの過程からなってい
る。一つは、プリントアウト仕様ファイルに基づきチャ
ネル位置を自動で(システムで)決定し、そのデータを
フォームコントロールテーブル仕様ファイルへ格納する
チャネル位置自動設定処理(図8のS30参照)、もう
一つは、そのフォームコントロールテーブル仕様ファイ
ルを使用してトランザクションデータをPIDに変換す
るPID変換処理(図18のS53参照)である。
Next, an embodiment having the same contents as the above-mentioned comparative example and having been subjected to the data compression processing of the present invention will be described. FIG. 5 is a diagram for explaining the PID obtained by performing the data compression processing of the present invention on the output material (one page) shown in FIG.
The data compression process is roughly divided into two processes. One is the channel position automatic setting process (see S30 in FIG. 8) that automatically determines the channel position based on the printout specification file (by the system) and stores the data in the form control table specification file. , PID conversion processing for converting transaction data into PID using the form control table specification file (see S53 in FIG. 18).

【0074】チャネル位置自動設定処理は、図3の例に
おいては改行ピッチや、改行マークであるチャンネル位
置を指示するフィールドにおいて1行目にチャンネル1
(改ページマーク)、3行目にチャンネル2(改行マー
ク)、20行目にチャンネル3(改行マーク)、40行
目にチャンネル4(改行マーク)を設定する、と言うよ
うに行われ、そのデータはフォームコントロールテーブ
ル仕様ファイルに納められる。そしてPID変換処理に
より、そのファイルを使用してトランザクションデータ
カラPIDが得られる。
In the channel position automatic setting processing, in the example of FIG. 3, the channel 1 is set on the first line in the field indicating the line feed pitch and the channel position which is the line feed mark.
(Page break mark) Set channel 2 (line feed mark) on the third line, channel 3 (line feed mark) on the 20th line, and channel 4 (line feed mark) on the 40th line. The data is stored in the form control table specification file. Then, by the PID conversion processing, the transaction data color PID is obtained using the file.

【0075】PIDを用いて実際にラインプリンタで印
字が行われる場合は、図5において第1のフィールドで
改ページを行い、第2のフィールドで印字後チャンネル
2(3行目)へスキップする指示をする。第3のフィー
ルドでは改行コードに印字後チャンネル3(20行目)
へスキップを使用し、3行目に出力するデータをセット
する。第4のフィールドでは改行コードに印字後チャン
ネル4(40行目)にスキップするを使用し、20行目
に出力するデータをセットする。第5のフィールドでは
改行コードに印字後1行改行を使用し、40行目に出力
するデータをセットする。
When printing is actually performed by the line printer using the PID, a page break is performed in the first field in FIG. 5, and an instruction to skip to channel 2 (third line) after printing is performed in the second field. do. Channel 3 (20th line) after printing the line feed code in the third field
Use skip to set the data to be output on the third line. In the fourth field, the line feed code is used to skip after printing on channel 4 (40th line), and the data to be output to the 20th line is set. In the fifth field, the line feed after printing is used for the line feed code, and the data to be output on the 40th line is set.

【0076】即ち、出力するプリンタには改行コードと
して、印字後1行改行〜15行改行(印字後N行改行)
及び印字後チャネル1へスキップ〜チャネル12へスキ
ップまで27コードあるとする。15行までの改行はチ
ャネルを使用しなくても印字後N行改行を使用すること
ができる。一方16行以上改行する場合はチャネルを設
定しない場合は余分なスペース行を使用しなければなら
ない。
That is, as a line feed code for the printer to output, one line to 15 lines after printing (N lines after printing)
Also, it is assumed that there are 27 codes from the skip to channel 1 to the skip to channel 12 after printing. For line feed up to 15 lines, N line feed can be used after printing without using a channel. On the other hand, if there are 16 or more line breaks, an extra space line must be used if no channel is set.

【0077】そこで、本発明では指定編集処理によって
画面対話式に印字出力位置を入力しているため、印字出
力するデータは必ず出力座標を有しており、その座標は
プリントアウト仕様ファイルに編集内容とともに格納さ
れている。その印字出力座標を利用することにより、余
分なスペース行のデータを持つこと無く、効率よくデー
タを格納することができる。すなわち、出力位置の行方
向にソートされた座標位置のデータを利用し、データを
サーチし16行以上改行する場合は、その行にチャネル
を設定する。16行以上改行しない場合は、チャネルを
使用せず、印字後N行改行を使用する方法をとる。この
ような、チャネル位置自動設定処理によりフォームコン
トロールテーブル仕様ファイルを作成する。
Therefore, in the present invention, since the print output position is input on the screen interactively by the designated edit processing, the data to be printed out always has the output coordinates, and the coordinates are the contents of the edit in the printout specification file. It is stored with. By using the print output coordinates, the data can be efficiently stored without having the data of the extra space line. That is, when the data of the coordinate position sorted in the row direction of the output position is used to search the data and a line feed is made for 16 lines or more, a channel is set to that line. If there is no line break for 16 lines or more, the channel is not used and N lines are used after printing. The form control table specification file is created by such channel position automatic setting processing.

【0078】図19は本発明のデータ圧縮処理における
チャネル位置自動設定処理を示すフロー図である。図1
9において、まず1行目には、改ページを行わせるため
にチャンネル1を設定する(S55)。次にN番目(N
=1)のデータのY座標(行)と、N+1番目のデータ
のY座標(行)読込み(S56)、それら座標値の差を
演算して16以上大きいか否かを判定し(S57)、大
きい場合はN番目のデータにチャネルM(M=2)を設
定する(S58)、更にMをインクリメント(M=M+
1)する。一方小さい場合はチャネルの設定は行わな
い。次に全てのデータの処理を終えたか否かを判定し
(S59)、更にNをインクリメント(N=N+1)し
て、N番目(N=2)のデータのY座標(行)と、N+
1番目のデータのY座標(行)読込みを行う(S56に
戻る)。以上を繰り返して全てのデータについてチャネ
ル位置自動設定処理を行い、行った結果のデータはフォ
ームコントロールテーブル仕様ファイルへ格納する。
FIG. 19 is a flow chart showing a channel position automatic setting process in the data compression process of the present invention. FIG.
9, in the first line, channel 1 is set in order to perform a page break (S55). Next Nth (N
= 1) data Y coordinate (row) and N + 1th data Y coordinate (row) are read (S56), the difference between these coordinate values is calculated to determine whether it is 16 or more (S57), If it is larger, the channel M (M = 2) is set to the Nth data (S58), and M is further incremented (M = M +).
1) Yes. On the other hand, if it is smaller, the channel is not set. Next, it is determined whether or not the processing of all the data has been completed (S59), N is further incremented (N = N + 1), and the Y coordinate (row) of the Nth (N = 2) data and N +
The Y coordinate (row) of the first data is read (return to S56). By repeating the above steps, the channel position automatic setting process is performed for all data, and the resulting data is stored in the form control table specification file.

【0079】次に、データ圧縮処理を行うためのもう一
つの処理、上記フォームコントロールテーブル仕様ファ
イルを用いたPID変換処理について説明する。図26
のPID変換処理過程を示すフロー図において、S10
5の「行コードをセット」の処理において使用する改行
コードは、フォームコントロールテーブル仕様ファイル
を参照して、チャネルが設定してある場合はそのチャネ
ルを使用する。すなわち、印字後チャネルNにスキップ
を改行コードに使用する。チャネルが設定されていない
場合は改行コードに印字後N行改行を使用する。また、
PID変換プログラムを自動生成してPID変換処理を
行う場合は、図27のPID変換プログラム自動生成過
程を示すフロー図において、S127の「行制御データ
変換ライブラリの組み込み」の処理において、同時にフ
ォームコントロールテーブル仕様ファイルが組み込まれ
る。それが組み込まれ自動生成されたPID変換プログ
ラムによってPID変換処理を行うとデータ圧縮された
PIDが得られる。
Next, another process for performing the data compression process, the PID conversion process using the form control table specification file will be described. FIG. 26
In the flow chart showing the PID conversion process of step S10,
For the line feed code used in the process "Set line code" of 5, refer to the form control table specification file, and if a channel is set, use that channel. That is, the skip is used for the line feed code in the channel N after printing. If the channel is not set, N line feed is used after printing the line feed code. Also,
When the PID conversion program is automatically generated and the PID conversion process is performed, in the flow chart showing the PID conversion program automatic generation process of FIG. 27, the form control table is simultaneously executed in the process of “embed line control data conversion library” of S127. The specification file is included. If PID conversion processing is performed by a PID conversion program that is built in and automatically generated, a data-compressed PID is obtained.

【0080】以上本発明について実施例を挙げて説明し
たが、本発明はこの実施例にのみ拘束されるものではな
く、本発明の技術思想の範囲において様々な態様で応用
実施することができ、それらも本発明に含まれることは
説明するまでも無いことである。例えば、本発明のデー
タ圧縮処理は、実施例で説明したシステム以外において
も広範に適用できるものであることは明らかである。ま
た、本発明のトランザクションデータのチェックプログ
ラム自動生成処理とチェック処理は実施例で説明したプ
リントイメージデータ形成過程に限らず、如何なるプリ
ントイメージデータ形成過程においても適用できる。ま
た、本発明のPID変換プログラム自動生成処理とPI
D変換処理は、トランザクションデータのチェック処理
の有無に依らず実施できる。
Although the present invention has been described with reference to the embodiments, the present invention is not limited to these embodiments and can be applied and implemented in various modes within the scope of the technical idea of the present invention. It goes without saying that they are also included in the present invention. For example, it is apparent that the data compression processing of the present invention can be widely applied to systems other than the systems described in the embodiments. Further, the transaction data check program automatic generation process and the check process of the present invention are not limited to the print image data forming process described in the embodiment, but can be applied to any print image data forming process. Further, the PID conversion program automatic generation processing and PI of the present invention
The D conversion process can be performed regardless of whether transaction data is checked.

【0081】[0081]

【発明の効果】以上の説明のように、本発明によれば、
画面対話方式で指定されたトランザクションデータ、文
字絵柄、及び、印刷位置に基づいて、トランザクション
データをプリントイメージデータに変換するため、異な
るトランザクションデータごとに人手によりプログラム
を作成する必要がないので、システムエンジニアに頼ら
ず、オペレータだけでトランザクションデータをプリン
トイメージデータに変換することができる。また、トラ
ンザクションデータをプリントイメージデータに変換す
るプログラムを自動的に生成する場合、チェックプログ
ラムを自動生成する装置と異なる装置で、時間のかかる
データの変換をすることができるので、効率のよい変換
処理を行うことができる。
As described above, according to the present invention,
Since the transaction data is converted into print image data based on the transaction data, the character pattern, and the print position specified by the screen interaction method, it is not necessary to manually create a program for each different transaction data. The operator can convert the transaction data into the print image data without depending on Further, when a program for converting transaction data into print image data is automatically generated, it is possible to perform time-consuming conversion of data with a device different from the device for automatically generating the check program. It can be performed.

【0082】更に、SYSOUT形式のデータではな
く、データ圧縮処理によるデータ圧縮形式のデーダとす
ることにより、プリントイメージデータの1ページ当た
りのデータ量が少なくなり、磁気テープ1巻当たりに格
納する件数(ページ数)がおおくなり、磁気テープの掛
け替え作業は煩雑でない。またスペース行の無い分出力
スピードも速くなり、生産性が高くなる。また、データ
圧縮処理においてチャネル位置の設定や、改行コードの
設定は自動で行われるため、手作業によって設定してい
た場合の設定ミスによる異なる位置に出力される事故が
無くなる。最適な行にチャネルを設定することにより効
率良くデータを圧縮することができる。
Further, by using data in the data compression format by the data compression processing instead of the data in the SYSOUT format, the data amount per page of the print image data is reduced, and the number of items to be stored per magnetic tape roll ( The number of pages is large, and the work of changing the magnetic tape is not complicated. Also, because there are no space lines, the output speed is faster and the productivity is higher. Further, since the channel position setting and the line feed code setting are automatically performed in the data compression processing, there is no accident of outputting to a different position due to a setting error when manually setting. The data can be efficiently compressed by setting the channel in the optimum row.

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

【図1】本発明のプリントイメージデータ作成方法及び
装置を実施するためのシステム構成の一例を示す図であ
る。
FIG. 1 is a diagram showing an example of a system configuration for implementing a print image data creating method and apparatus of the present invention.

【図2】トランザクションデータのレコードを例示する
図である。
FIG. 2 is a diagram exemplifying a record of transaction data.

【図3】プリントレイアウトを例示する図である。FIG. 3 is a diagram illustrating a print layout.

【図4】SYSOUT形式で記述されたPID(比較
例)をフィールド毎に示す図である。
FIG. 4 is a diagram showing, for each field, a PID (comparative example) described in the SYSOUT format.

【図5】データ圧縮形式で記述されたPID(実施例)
を各フィールド毎に示す図である。
FIG. 5 is a PID described in a data compression format (example)
It is a figure which shows for each field.

【図6】データ圧縮形式で記述されたPID(図5と同
一)のデータを模式的に示す図である。
FIG. 6 is a diagram schematically showing data of PID (identical to FIG. 5) described in a data compression format.

【図7】制御装置1が実行する処理の全体を示すメイン
プログラムのフロー図である。
FIG. 7 is a flowchart of a main program showing an overall process executed by the control device 1.

【図8】図7の指定編集処理(S3)におけるIDが登
録されていない場合の指定編集処理方法を示すフロー図
である。
8 is a flow chart showing a designated edit processing method when an ID is not registered in the designated edit processing (S3) of FIG. 7. FIG.

【図9】図7の指定編集処理(S3)におけるIDが登
録されている場合の指定編集処理方法を示すフロー図で
ある。
9 is a flowchart showing a designated edit processing method when an ID is registered in the designated edit processing (S3) of FIG. 7. FIG.

【図10】表示装置3に表示された管理情報の入力画面
を示す図である。
10 is a diagram showing a management information input screen displayed on the display device 3. FIG.

【図11】表示装置3に表示されたトランザクションデ
ータMT仕様の入力画面を示す図である。
11 is a diagram showing an input screen for transaction data MT specifications displayed on the display device 3. FIG.

【図12】表示装置3に表示されたエディタの入力画面
である。
FIG. 12 is an input screen of the editor displayed on the display device 3.

【図13】表示装置3に表示された外字フォント新規作
成(S26)の入力画面を示す図である。
FIG. 13 is a diagram showing an input screen for new external character font creation (S26) displayed on the display device 3;

【図14】表示装置3に表示されたレコードフィールド
のデータ仕様の入力画面を示す図である。
14 is a diagram showing an input screen for data specifications of record fields displayed on the display device 3. FIG.

【図15】表示装置3に表示されたスペーシングチャー
トの表示画面を示す図である。
FIG. 15 is a diagram showing a display screen of a spacing chart displayed on the display device 3.

【図16】表示装置3に表示された罫線枠の表示画面を
示す図である。
16 is a diagram showing a display screen of a ruled line frame displayed on the display device 3. FIG.

【図17】表示装置3に表示されたプリントアウト仕様
の入力画面を示す図である。
17 is a diagram showing a printout specification input screen displayed on the display device 3. FIG.

【図19】図7の業務処理(S4)のサブメニューであ
るPID形成(S8)におけるPID形成処理方法を示
すフロー図である。
19 is a flowchart showing a PID formation processing method in PID formation (S8) which is a submenu of the job processing (S4) in FIG.

【図20】図7の業務処理(S4)のサブメニューであ
るバックアップ/登録(S9)における処理方法を示す
フロー図である。
20 is a flowchart showing a processing method in backup / registration (S9) which is a submenu of the job processing (S4) in FIG.

【図21】レコードレイアウトが図2の場合のレコード
フィールド仕様ファイルの例である。
FIG. 21 is an example of a record field specification file when the record layout is FIG.

【図22】固定情報ファイルの例であって、図8のプリ
ントアウト仕様入力(S30)でメニュー「固定文字」
を選択実行した場合に生成されるファイルである。
22 is an example of a fixed information file, the menu "fixed character" in the printout specification input (S30) of FIG. 8;
This file is generated when is selected and executed.

【図23】プリントアウト仕様が図3の場合のプリント
アウト仕様ファイルの例である。
FIG. 23 is an example of a printout specification file when the printout specification is FIG.

【図24】トランザクションデータのチェック処理の内
容を説明するためのフロー図である。
FIG. 24 is a flowchart for explaining the contents of transaction data check processing.

【図25】トランザクションデータのチェックプログラ
ム自動生成過程を示すフロー図である。
FIG. 25 is a flowchart showing a process of automatically generating a transaction data check program.

【図26】PID変換処理過程を示すフロー図である。FIG. 26 is a flowchart showing a PID conversion process.

【図27】PID変換プログラム自動生成過程を示すフ
ロー図である。
FIG. 27 is a flowchart showing the process of automatically generating a PID conversion program.

【図28】請求書を所定のフォームの出力紙で作成する
場合の処理過程を示す図である。
FIG. 28 is a diagram showing a process in the case of creating a bill on output paper of a predetermined form.

【図29】トランザクションファイルに書き込まれてい
る1レコードの例を示す図である。
FIG. 29 is a diagram showing an example of one record written in a transaction file.

【図30】所定のフォームの出力紙にトランザクション
データが印字されるべき態様を示す図である。
FIG. 30 is a diagram showing an aspect in which transaction data should be printed on an output sheet of a predetermined form.

【図31】トランザクションデータの各データを出力紙
の印字されるべき位置に正しく印字するためのデータ形
式の一例である。
FIG. 31 is an example of a data format for correctly printing each piece of transaction data at a position on an output sheet where printing should be performed.

【符号の説明】[Explanation of symbols]

1 制御装置 2 入力装置 3 表示装置 4 FD装置 5 MT装置 6 記憶装置 7 プリンタ 8 ネットワーク 1 Control Device 2 Input Device 3 Display Device 4 FD Device 5 MT Device 6 Storage Device 7 Printer 8 Network

【手続補正書】[Procedure amendment]

【提出日】平成6年11月22日[Submission date] November 22, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0004[Correction target item name] 0004

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0004】例えば、請求書を所定のフォームの出力紙
で作成する場合を例にとって説明する。図28は請求書
を所定のフォームの出力紙で作成する場合の処理過程を
示す図である。図28においてまず、請求書を送付すべ
き顧客の住所、名称等が記録されている顧客データベー
スと、取引内容や請求金額が記録されている取引データ
ベースから、個々の顧客ごとに所定のデータを抽出して
レコードにまとめ、所定の全ての顧客に対応したレコー
ドを集めるトランザクション作成処理を行い、トランザ
クションファイルを作成する(STEP1)。
For example, a case where an invoice is created on an output sheet of a predetermined form will be described as an example. FIG. 28 is a diagram showing the processing steps in the case of creating an invoice on the output paper of a predetermined form. In FIG. 28 , first, predetermined data is extracted for each customer from the customer database in which the address, name, etc. of the customer to whom the invoice should be sent are recorded, and the transaction database in which the transaction details and the billed amount are recorded. Then, a transaction file is created by collecting the records into records and collecting records corresponding to all predetermined customers (STEP 1).

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0047[Correction target item name] 0047

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0047】§2.PID形成図18 は図7の業務処理(S4)のサブメニューである
PID形成(S8)における変換処理方法を示すフロー
図である。まず、オペレータは業務IDを入力する(S
41)。するとそのIDに該当する管理ファイル、トラ
ンザクションデータMT仕様ファイル、レコードフィー
ルド仕様ファイル、固定情報ファイル、プリントアウト
仕様ファイル等が存在するか否かがシステムにより判定
される(S42)。ここに、管理ファイルは図8の管理
情報入力(S23)で作成され、トランザクションデー
タMT仕様ファイルは図8のトランザクションデータM
T仕様入力(S24)で作成され、レコードフィールド
仕様ファイルは図8のレコードフィールドのデータ仕様
入力(S27)で作成され、固定情報ファイル及びプリ
ントアウト仕様ファイルは図8のプリントアウト仕様入
力(S29)で作成されるファイルである。
§2. PID Formation FIG. 18 is a flow chart showing a conversion processing method in PID formation (S8) which is a submenu of the job processing (S4) in FIG. First, the operator inputs the business ID (S
41). Then, the system determines whether the management file, the transaction data MT specification file, the record field specification file, the fixed information file, the printout specification file, and the like corresponding to the ID exist (S42). Here, the management file is created by the management information input (S23) of FIG. 8, and the transaction data MT specification file is the transaction data M of FIG.
Created by T specification input (S24), record field specification file is created by record field data specification input (S27) in FIG. 8, and fixed information file and printout specification file are printout specification input (S29) in FIG. It is a file created by.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0053[Correction target item name] 0053

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0053】ここでファイルの説明を終え、再び図18
のS41に戻り、PID形成について説明を続ける。こ
れらのファイルが存在しない場合はエラーメッセージが
表示装置3に画面表示される。エラーメッセージとして
は存在しないファイル名等である。エラーメッセージ画
面には、更にPID形成を続行するか否かを選択する表
示が示され、続行を選択すると、EXIT?(S54)
においてnoが選択されたこととなり業務ID入力(S
41)に戻る。また否を選択するとEXIT?(S5
4)においてyesが選択されたこととなり図7のメイ
ンプログラムのメインメニュー表示(S1)に戻る。
Now that the description of the file has been completed, again referring to FIG.
Returning to S41, the description of PID formation is continued. If these files do not exist, an error message is displayed on the screen of the display device 3. The file name or the like that does not exist as an error message. On the error message screen, a display for selecting whether or not to continue the PID formation is displayed. When selecting to continue, EXIT? (S54)
Since no was selected in, enter the business ID (S
Return to 41). If you select NO, EXIT? (S5
In step 4), yes is selected, and the process returns to the main menu display (S1) of the main program in FIG.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】本発明のプリントイメージデータ作成方法及び
装置を実施するためのシステム構成の一例を示す図であ
る。
FIG. 1 is a diagram showing an example of a system configuration for implementing a print image data creating method and apparatus of the present invention.

【図2】トランザクションデータのレコードを例示する
図である。
FIG. 2 is a diagram exemplifying a record of transaction data.

【図3】プリントレイアウトを例示する図である。FIG. 3 is a diagram illustrating a print layout.

【図4】SYSOUT形式で記述されたPID(比較
例)をフィールド毎に示す図である。
FIG. 4 is a diagram showing, for each field, a PID (comparative example) described in the SYSOUT format.

【図5】データ圧縮形式で記述されたPID(実施例)
を各フィールド毎に示す図である。
FIG. 5 is a PID described in a data compression format (example)
It is a figure which shows for each field.

【図6】データ圧縮形式で記述されたPID(図5と同
一)のデータを模式的に示す図である。
FIG. 6 is a diagram schematically showing data of PID (identical to FIG. 5) described in a data compression format.

【図7】制御装置1が実行する処理の全体を示すメイン
プログラムのフロー図である。
FIG. 7 is a flowchart of a main program showing an overall process executed by the control device 1.

【図8】図7の指定編集処理(S3)におけるIDが登
録されていない場合の指定編集処理方法を示すフロー図
である。
8 is a flow chart showing a designated edit processing method when an ID is not registered in the designated edit processing (S3) of FIG. 7. FIG.

【図9】図7の指定編集処理(S3)におけるIDが登
録されている場合の指定編集処理方法を示すフロー図で
ある。
9 is a flowchart showing a designated edit processing method when an ID is registered in the designated edit processing (S3) of FIG. 7. FIG.

【図10】表示装置3に表示された管理情報の入力画面
を示す図である。
10 is a diagram showing a management information input screen displayed on the display device 3. FIG.

【図11】表示装置3に表示されたトランザクションデ
ータMT仕様の入力画面を示す図である。
11 is a diagram showing an input screen for transaction data MT specifications displayed on the display device 3. FIG.

【図12】表示装置3に表示されたエディタの入力画面
である。
FIG. 12 is an input screen of the editor displayed on the display device 3.

【図13】表示装置3に表示された外字フォント新規作
成(S26)の入力画面を示す図である。
FIG. 13 is a diagram showing an input screen for new external character font creation (S26) displayed on the display device 3;

【図14】表示装置3に表示されたレコードフィールド
のデータ仕様の入力画面を示す図である。
14 is a diagram showing an input screen for data specifications of record fields displayed on the display device 3. FIG.

【図15】表示装置3に表示されたスペーシングチャー
トの表示画面を示す図である。
FIG. 15 is a diagram showing a display screen of a spacing chart displayed on the display device 3.

【図16】表示装置3に表示された罫線枠の表示画面を
示す図である。
16 is a diagram showing a display screen of a ruled line frame displayed on the display device 3. FIG.

【図17】表示装置3に表示されたプリントアウト仕様
の入力画面を示す図である。
17 is a diagram showing a printout specification input screen displayed on the display device 3. FIG.

【図18】 図7の業務処理(S4)のサブメニューであ
るPID形成(S8)におけるPID形成処理方法を示
すフロー図である。
18 is a flowchart showing a PID formation processing method in PID formation (S8) which is a submenu of the job processing (S4) in FIG.

【図19】本発明のデータ圧縮処理におけるチャネル位FIG. 19 is a channel position in the data compression processing of the present invention.
置自動設定処理を示すフロー図である。It is a flowchart which shows an automatic placement setting process.

【図20】図7の業務処理(S4)のサブメニューであ
るバックアップ/登録(S9)における処理方法を示す
フロー図である。
20 is a flowchart showing a processing method in backup / registration (S9) which is a submenu of the job processing (S4) in FIG.

【図21】レコードレイアウトが図2の場合のレコード
フィールド仕様ファイルの例である。
FIG. 21 is an example of a record field specification file when the record layout is FIG.

【図22】固定情報ファイルの例であって、図8のプリ
ントアウト仕様入力(S30)でメニュー「固定文字」
を選択実行した場合に生成されるファイルである。
22 is an example of a fixed information file, the menu "fixed character" in the printout specification input (S30) of FIG. 8;
This file is generated when is selected and executed.

【図23】プリントアウト仕様が図3の場合のプリント
アウト仕様ファイルの例である。
FIG. 23 is an example of a printout specification file when the printout specification is FIG.

【図24】トランザクションデータのチェック処理の内
容を説明するためのフロー図である。
FIG. 24 is a flowchart for explaining the contents of transaction data check processing.

【図25】トランザクションデータのチェックプログラ
ム自動生成過程を示すフロー図である。
FIG. 25 is a flowchart showing a process of automatically generating a transaction data check program.

【図26】PID変換処理過程を示すフロー図である。FIG. 26 is a flowchart showing a PID conversion process.

【図27】PID変換プログラム自動生成過程を示すフ
ロー図である。
FIG. 27 is a flowchart showing the process of automatically generating a PID conversion program.

【図28】請求書を所定のフォームの出力紙で作成する
場合の処理過程を示す図である。
FIG. 28 is a diagram showing a process in the case of creating a bill on output paper of a predetermined form.

【図29】トランザクションファイルに書き込まれてい
る1レコードの例を示す図である。
FIG. 29 is a diagram showing an example of one record written in a transaction file.

【図30】所定のフォームの出力紙にトランザクション
データが印字されるべき態様を示す図である。
FIG. 30 is a diagram showing an aspect in which transaction data should be printed on an output sheet of a predetermined form.

【図31】トランザクションデータの各データを出力紙
の印字されるべき位置に正しく印字するためのデータ形
式の一例である。
FIG. 31 is an example of a data format for correctly printing each piece of transaction data at a position on an output sheet where printing should be performed.

【符号の説明】 1 制御装置 2 入力装置 3 表示装置 4 FD装置 5 MT装置 6 記憶装置 7 プリンタ 8 ネットワーク[Explanation of Codes] 1 control device 2 input device 3 display device 4 FD device 5 MT device 6 storage device 7 printer 8 network

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】トランザクションデータの文字絵柄、印刷
位置を画面対話方式に指定する指定編集処理と、トラン
ザクションデータをその指定編集処理で得られた情報に
基づき出力紙に印字出力するラインプリンタ用のプリン
トイメージデータに変換するプリントイメージデータ変
換プログラムを自動的に生成するプリントイメージデー
タ変換プログラム自動生成処理を行うプログラム作成方
法であって、前記指定編集処理で得られた情報に基づき
前記印字出力の座標位置データを抽出し、その座標位置
データからスペース行をとばすスキップデータを生成
し、そのスキップデータを前記プリントイメージデータ
に付加することによって、前記プリントイメージデータ
変換プログラムによって変換される前記プリントイメー
ジデータをスペース行のデータを圧縮した圧縮形式のデ
ータとするデータ圧縮処理を含むことを特徴とするプロ
グラム作成方法。
1. A line-editing print process for designating a character image and print position of transaction data in a screen interactive mode, and a transaction printer for printing out transaction data on output paper based on the information obtained by the designated edit process. A print image data conversion program for automatically generating a print image data conversion program for converting into image data, which is a program creation method for performing automatic generation processing, wherein the coordinate position of the print output is based on the information obtained by the designated editing processing. By extracting data, generating skip data for skipping a space line from the coordinate position data, and adding the skip data to the print image data, the print image data converted by the print image data conversion program is converted into a space. Programming method characterized by comprising the data compression process of the compression format of the data that the data obtained by compressing the.
【請求項2】請求項1記載のプリントイメージデータ変
換プログラム自動生成処理により生成された前記プリン
トイメージデータ変換プログラムによって、前記トラン
ザクションデータをプリントイメージデータに変換する
プリントイメージデータ変換処理を含むことを特徴とす
るプリントイメージデータ作成方法。
2. A print image data conversion process for converting the transaction data into print image data by the print image data conversion program generated by the print image data conversion program automatic generation process according to claim 1. And how to create print image data.
【請求項3】トランザクションデータの文字絵柄、印刷
位置を画面対話方式に指定する指定編集処理と、トラン
ザクションデータをその指定編集処理で得られた情報に
基づき出力紙に印字出力するラインプリンタ用のプリン
トイメージデータに変換するプリントイメージデータ変
換処理とを含むプリントイメージデータ作成方法であっ
て、前記指定編集処理で得られた情報に基づき前記印字
出力の座標位置データを抽出し、その座標位置データか
らスペース行をとばすスキップデータを生成し、そのス
キップデータを前記プリントイメージデータに付加する
ことによって、前記プリントイメージデータ変換プログ
ラムによって変換される前記プリントイメージデータを
スペース行のデータを圧縮した圧縮形式のデータとする
データ圧縮処理を含むことを特徴とするプリントイメー
ジデータ作成方法。
3. A print for a line printer, which designates a character pattern and a print position of transaction data in a screen interactive mode and prints out transaction data on an output paper based on information obtained by the designated edit process. A print image data creating method including a print image data converting process for converting into image data, wherein coordinate position data of the printout is extracted based on information obtained in the designated editing process, and a space is created from the coordinate position data. By generating skip data for skipping lines and adding the skip data to the print image data, the print image data converted by the print image data conversion program is compressed data of a space line and compressed data. Data compression process Print image data creation method according to claim Mukoto.
【請求項4】トランザクションデータの文字絵柄、印刷
位置を画面対話方式に指定される指定編集手段と、その
指定編集手段で得られた情報に基づき出力紙に印字出力
するラインプリンタ用のプリントイメージデータに変換
するプリントイメージデータ変換プログラムを自動的に
生成するプリントイメージデータ変換プログラム自動生
成手段とを有するプログラム作成装置であって、前記指
定編集手段で得られた情報に基づき前記印字出力の座標
位置データを抽出し、その座標位置データからスペース
行をとばすスキップデータを生成し、そのスキップデー
タを前記プリントイメージデータに付加することによっ
て、前記プリントイメージデータ変換プログラムによっ
て変換される前記プリントイメージデータをスペース行
のデータを圧縮した圧縮形式のデータとするデータ圧縮
手段を含むことを特徴とするプログラム作成装置。
4. A character image and a printing position of transaction data are designated by a screen interactive method by designated editing means, and print image data for a line printer which prints out on output paper based on information obtained by the designated editing means. And a print image data conversion program automatic generating means for automatically generating a print image data conversion program for converting into a print image data conversion program, the coordinate position data of the printout based on the information obtained by the designated editing means. To generate skip data for skipping space lines from the coordinate position data, and add the skip data to the print image data to convert the print image data converted by the print image data conversion program into space lines. Compress the data of Program creating device which comprises a data compressor to compress the format of the data.
【請求項5】請求項4記載のプログラム作成装置により
生成された前記プリントイメージデータ変換プログラム
によって、前記トランザクションデータをプリントイメ
ージデータに変換するプリントイメージデータ変換手段
を含むことを特徴とするプリントイメージデータ作成装
置。
5. A print image data converting means for converting the transaction data into print image data by the print image data converting program generated by the program creating apparatus according to claim 4. Creation device.
【請求項6】トランザクションデータの文字絵柄、印刷
位置を画面対話方式に指定される指定編集手段と、トラ
ンザクションデータを前記指定編集手段で得られた情報
に基づき出力紙に印字出力するラインプリンタ用のプリ
ントイメージデータに変換するプリントイメージデータ
変換手段からなるプリントイメージデータ作成装置であ
って、前記指定編集手段で得られた情報に基づき前記印
字出力の座標位置データを抽出し、その座標位置データ
からスペース行をとばすスキップデータを生成し、その
スキップデータを前記プリントイメージデータに付加す
ることによって、前記プリントイメージデータ変換プロ
グラムによって変換される前記プリントイメージデータ
をスペース行のデータを圧縮した圧縮形式のデータとす
るデータ圧縮手段を含むことを特徴とするプリントイメ
ージデータ作成装置。
6. A line printer for designating a character image and a print position of transaction data in a screen interactive mode, and a line printer for printing out transaction data on an output sheet based on the information obtained by the designated editing unit. A print image data creating device comprising print image data converting means for converting to print image data, wherein coordinate position data of the printout is extracted based on the information obtained by the designated editing means, and a space is created from the coordinate position data. By generating skip data for skipping lines and adding the skip data to the print image data, the print image data converted by the print image data conversion program is compressed data of a space line and compressed data. Data compression means Print image data generating device, which comprises.
JP6189004A 1994-07-20 1994-07-20 Method and device for program generation and method and device for print image data generation Pending JPH0830443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6189004A JPH0830443A (en) 1994-07-20 1994-07-20 Method and device for program generation and method and device for print image data generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6189004A JPH0830443A (en) 1994-07-20 1994-07-20 Method and device for program generation and method and device for print image data generation

Publications (1)

Publication Number Publication Date
JPH0830443A true JPH0830443A (en) 1996-02-02

Family

ID=16233694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6189004A Pending JPH0830443A (en) 1994-07-20 1994-07-20 Method and device for program generation and method and device for print image data generation

Country Status (1)

Country Link
JP (1) JPH0830443A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6972862B2 (en) 1998-12-07 2005-12-06 International Business Machines Corp. Portable fax machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6972862B2 (en) 1998-12-07 2005-12-06 International Business Machines Corp. Portable fax machine

Similar Documents

Publication Publication Date Title
US7117211B2 (en) Internet label production system
US6882441B1 (en) Automated typesetting system
JPH09134349A (en) Information processor and method for preparing document and business form
JPH1091621A (en) Method for preparing composite layout having variable data for high speed printing system
JP2003505854A (en) How to convert a primitive parts list for a printed circuit board to a standard parts list
EP1298558A2 (en) Optimisation algorithm for a label printing system using plates
JPH0830443A (en) Method and device for program generation and method and device for print image data generation
JPH07129391A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07121333A (en) Method and device for preparing program and method and device for preparing print image data
JPH07129393A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129387A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129388A (en) Method and device for preparing program and method and device for preparing printing image data
JPH04290126A (en) Input/output format customizing method
JPH07129389A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129377A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129390A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07121334A (en) Method and device for preparing program and method and device for preparing print image data
JPH07129386A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129376A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129394A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07129392A (en) Method and device for preparing program and method and device for preparing printing image data
JPH07121359A (en) Method and device for preparing program and method and device for preparing printed image data
JPH07129385A (en) Method and device for preparing program and method and device for preparing printing image data
JP2001273342A (en) Product manufacturing method and product manufacturing support method
JP7160432B2 (en) Image processing device, image processing method, program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050204

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050302