JPH0692541A - Automatic document preparing-sorting system - Google Patents

Automatic document preparing-sorting system

Info

Publication number
JPH0692541A
JPH0692541A JP4271077A JP27107792A JPH0692541A JP H0692541 A JPH0692541 A JP H0692541A JP 4271077 A JP4271077 A JP 4271077A JP 27107792 A JP27107792 A JP 27107792A JP H0692541 A JPH0692541 A JP H0692541A
Authority
JP
Japan
Prior art keywords
file
job
print
print job
data
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
JP4271077A
Other languages
Japanese (ja)
Inventor
Saneo Matsubara
実郎 松原
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4271077A priority Critical patent/JPH0692541A/en
Publication of JPH0692541A publication Critical patent/JPH0692541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Collation Of Sheets And Webs (AREA)

Abstract

PURPOSE:To save the labor in the preparation and sorting of documents by executing a printing job for preparing a document file according to the data of a printing job schedule file, and then registering document printing data by the destinations of distribution in a spool file. CONSTITUTION:At the time of preparing documents, printing jobs to be executed and the execution scheduled time are stored on every job execution date by a schedule control means 2 on the basis of the data of a job attribute file 11 to prepare a printing job schedule file 12. In a job execution control means 3, the execution scheduled time of the printing job to be executed next is acquired from the file 12, and upon reaching that time, the printing job is executed to prepare a document file 13. After the output of the printing job, a document sorting control means 4 acquires the document printing data of the prepared document file 13 and stores the document printing data by assigned destinations of distribution in a spool file 15. The document printing data is then outputted by the destinations of distribution to a printing device 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機を使って帳
票を自動的に生成し、かつ配付先別に仕分けして出力す
る帳票自動生成仕分けシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form automatic generation / sorting system for automatically generating a form using an electronic computer and sorting and outputting the form according to a distribution destination.

【0002】[0002]

【従来の技術】図9は、従来の帳票自動仕分けシステム
の概要を示すブロック図である。図9において、1は電
子計算機、6は印刷装置、7は帳票スケジュール手段、
8は帳票データ登録手段、9は帳票モニタ手段、21は
モニタファイル、22は帳票スケジュール属性ファイ
ル、23は帳票モニタファイル、24はユーザ出力帳票
ファイル、25は帳票インデックスファイル、26は帳
票データファイル、27はパラメータ入力装置である。
2. Description of the Related Art FIG. 9 is a block diagram showing an outline of a conventional form automatic sorting system. In FIG. 9, 1 is an electronic computer, 6 is a printing device, 7 is a form scheduling means,
8 is a form data registration means, 9 is a form monitor means, 21 is a monitor file, 22 is a form schedule attribute file, 23 is a form monitor file, 24 is a user output form file, 25 is a form index file, 26 is a form data file, 27 is a parameter input device.

【0003】モニタファイル21には、帳票印刷データ
を出力するための各ジョブの実行日が格納されており、
帳票スケジュール属性ファイル22には、各ジョブと出
力帳票との関連レコード(各ジョブと出力される帳票名
との関係を示すもの)が格納されている。帳票スケジュ
ール手段7は、ジョブのスケジュールに基づいて、帳票
のスケジュールを作成する。すなわち、モニタファイル
21からスケジュール対象日毎に、その日に実行される
ジョブを検索し、該当するジョブがあったら帳票スケジ
ュール属性ファイル22からそのジョブによって出力さ
れる帳票名を読み出し、順次それを帳票モニタファイル
23へ書き込む。その際、各帳票間の関連性に基づい
て、各帳票をグループ化しておく。また、各帳票毎に帳
票印刷データの登録状況を記録できるようにしておく。
The monitor file 21 stores the execution date of each job for outputting the form print data,
The form schedule attribute file 22 stores a related record between each job and the output form (indicating the relationship between each job and the output form name). The form schedule means 7 creates a form schedule based on the job schedule. That is, the job to be executed on that day is searched for from the monitor file 21 for each scheduled day, and if there is a corresponding job, the form name output by the job is read from the form schedule attribute file 22 and is sequentially read. Write to 23. At that time, each form is grouped based on the relationship between each form. The registration status of the form print data can be recorded for each form.

【0004】帳票データ登録手段8は、帳票データファ
イル26に登録する帳票のインデックスIDを、パラメ
ータ入力装置27から入力すると、それにより指定され
た帳票をユーザ出力帳票ファイル24から検索して、帳
票印刷データを読み出し、それを帳票データファイル2
6に格納する。帳票印刷データを帳票データファイル2
6に格納すると、帳票データファイル26へのインデッ
クスとして、帳票名とその配付先名とを帳票インデック
スファイル25に書き込み、さらに、帳票印刷データの
登録状況を上記帳票モニタファイル23に記録する。
When the index ID of the form to be registered in the form data file 26 is input from the parameter input device 27, the form data registration means 8 retrieves the form specified by the user output form file 24 and prints the form. Read the data and use it as the form data file 2
Store in 6. Form print data to form data file 2
When stored in 6, the form name and its distribution destination name are written in the form index file 25 as an index to the form data file 26, and the registration status of the form print data is recorded in the form monitor file 23.

【0005】帳票モニタ手段9は、周期的に帳票モニタ
ファイル23を検索し、全ての帳票が登録済になってい
て出力可能になっているグループがあるか否かを調べ
る。そして、出力可能なグループがあれば帳票データフ
ァイル26から該グループに属する帳票の帳票印刷デー
タを読み出し、印刷装置6から配付先毎に出力させる。
例えば、配付先がA,B,Cと3ヵ所あり、グループに
属する帳票が4種類あったとすると、まず、配付先Aに
対する帳票を4種類出力し、次に配付先Bに対する帳票
を4種類出力し、最後に配付先Cに対する帳票を4種類
出力するというように行う。
The form monitor means 9 periodically searches the form monitor file 23 to check whether or not there is a group in which all forms have been registered and can be output. Then, if there is a group that can be output, the form print data of the form belonging to the group is read from the form data file 26 and is output from the printing device 6 for each distribution destination.
For example, if there are three distribution destinations, A, B, and C, and there are four types of forms that belong to the group, first, four types of forms for distribution destination A are output, and then four types of forms for distribution destination B are output. Finally, four types of forms for the distribution destination C are output.

【0006】従来の帳票自動仕分けシステムでは、この
ようにして帳票の仕分けを自動的に行うようにしてい
た。なお、このような帳票自動仕分けシステムに関連す
る従来の文献としては、例えば、特開平2−19914
号公報がある。
In the conventional automatic form sorting system, forms are automatically sorted in this manner. As a conventional document related to such a form automatic sorting system, for example, Japanese Patent Laid-Open No. 2-19914 is known.
There is a gazette.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前記し
た従来の技術には、ユーザ出力帳票ファイルに各帳票印
刷データを格納するためのジョブの実行が自動化されて
おらず、また、帳票印刷データの帳票データファイルへ
の登録処理は、いちいちパラメータ入力装置27から登
録対象帳票を指定して行わなければならず、手間がかか
るという問題点があった。本発明は、そのような問題点
を解決することを課題とするものである。
However, in the above-mentioned conventional technique, the execution of the job for storing each form print data in the user output form file is not automated, and the form print data form is not processed. The registration process to the data file must be performed by specifying the registration target form from the parameter input device 27, which is troublesome. An object of the present invention is to solve such a problem.

【0008】[0008]

【課題を解決するための手段】前記課題を解決するた
め、本発明の帳票自動生成仕分けシステムでは、実行す
べき印刷ジョブとその実行予定時刻とをジョブ実行日毎
に格納して印刷ジョブスケジュールファイルを生成する
スケジュール管理手段と、上記印刷ジョブスケジュール
ファイルから次に実行する印刷ジョブの実行予定時刻を
取得し、実行予定時刻に達した時に該印刷ジョブを実行
させて帳票ファイルを生成し、該印刷ジョブが終了した
時、帳票ファイルが作成された旨の通知を出力するジョ
ブ実行管理手段と、上記ジョブ実行管理手段から帳票フ
ァイルが作成された旨の通知が出力された時、その帳票
ファイルの帳票印刷データを取得し、指定された配付先
毎にスプールファイルに格納する帳票仕分け管理手段
と、指定された全ての配付先の帳票印刷データが上記ス
プールファイルに格納された後、該帳票印刷データを配
付先毎に印刷装置に出力する帳票出力管理手段とを設け
ることとした。
In order to solve the above problems, in the form automatic generation and sorting system of the present invention, a print job to be executed and its scheduled execution time are stored for each job execution date, and a print job schedule file is stored. A schedule management unit for generating and a scheduled execution time of a print job to be executed next from the print job schedule file, execute the print job when the scheduled execution time is reached, generate a form file, and print the print job. When the job execution management means outputs a notification that the form file has been created, and when the job execution management means outputs a notification that the form file has been created, print the form file A form sorting management method that acquires data and stores it in a spool file for each specified distribution destination, and all specified After urging destination of form print data is stored in the spool file, and the provision of a form output managing means for outputting to the printing device for each distribution destination 該帳 slip print data.

【0009】[0009]

【作 用】スケジュール管理手段で印刷ジョブの実行
スケジュールを作成し、その実行スケジュールに従って
ジョブ実行管理手段で印刷ジョブを実行させることによ
って印刷ジョブの実行を自動化することができる。ま
た、1つの印刷ジョブの実行が終了する度毎に、ジョブ
実行管理手段から帳票仕分け管理手段に対して帳票ファ
イルが作成された旨の通知をし、それを受けて帳票仕分
け管理手段では、帳票印刷データを配付先毎にスプール
ファイルに格納するので、印刷ジョブの実行から帳票の
仕分け出力まで、一貫して自動化することができる。
[Operation] The execution of the print job can be automated by creating the execution schedule of the print job by the schedule management means and executing the print job by the job execution management means according to the execution schedule. Also, every time the execution of one print job is completed, the job execution management means notifies the form sorting management means that the form file has been created, and the form sorting management means receives the notification and notifies the form sorting management means. Since the print data is stored in the spool file for each distribution destination, it is possible to consistently automate from the execution of the print job to the sorting output of the form.

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明の帳票自動生成仕分けシス
テムの概要を示すブロック図である。図1において、1
は電子計算機、2はスケジュール管理手段、3はジョブ
実行管理手段、4は帳票仕分け管理手段、5は帳票出力
管理手段、6は印刷装置、10は端末装置、11は印刷
ジョブ属性ファイル、12は印刷ジョブスケジュールフ
ァイル、13は帳票ファイル、14は帳票属性ファイ
ル、15はスプールファイル、16は印刷特性ファイ
ル、17は帳票属性テーブルである。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an outline of a form automatic generation and sorting system of the present invention. In FIG. 1, 1
Is a computer, 2 is a schedule management unit, 3 is a job execution management unit, 4 is a form sorting management unit, 5 is a form output management unit, 6 is a printing device, 10 is a terminal device, 11 is a print job attribute file, and 12 is A print job schedule file, 13 is a form file, 14 is a form attribute file, 15 is a spool file, 16 is a print characteristic file, and 17 is a form attribute table.

【0011】このシステムの動作を説明する前に、処理
の途中で設定、あるいは生成される各ファイルについて
説明する。図2は、印刷ジョブ属性ファイルの内容の一
例を示す図である。この印刷ジョブ属性ファイル11
は、予め設定されるファイルであって、印刷ジョブスケ
ジュールを作成する上で対象となる全ての印刷ジョブに
ついて、各印刷ジョブ毎に先行ジョブ名称,実行開始予
定日時,帳票ファイル名,帳票属性ファイル名,ジョブ
制御情報等の属性を格納する。なお、上記各項目の内、
「先行ジョブ名称」の項目には、当該ジョブを実行する
上で、当該ジョブに先立って実行を終了させておく必要
のある印刷ジョブ(以下、先行ジョブという)があった
らそのジョブの名称を格納する。
Before explaining the operation of this system, each file set or generated during the processing will be explained. FIG. 2 is a diagram showing an example of the contents of the print job attribute file. This print job attribute file 11
Is a file that is set in advance, and for all print jobs that are targets for creating a print job schedule, the preceding job name, the scheduled execution start date and time, the form file name, and the form attribute file name for each print job. Stores attributes such as job control information. Among the above items,
If there is a print job (hereinafter referred to as a preceding job) that needs to be completed prior to the execution of that job, the name of that job is stored in the "Preceding job name" item. To do.

【0012】図3は、印刷ジョブスケジュールファイル
の内容の一例を示す図である。この印刷ジョブスケジュ
ールファイル12は、上記印刷ジョブ属性ファイル11
のデータに基づいて作成されるものであって、実行され
る印刷ジョブが、ジョブ実行日毎にジョブ実行予定時刻
の順に格納される。そして、各ジョブ毎にジョブ実行予
定日,ジョブ実行予定時刻,ジョブ終了日,ジョブ終了
時刻,ジョブ終了コード及び先行ジョブ名称等が格納さ
れる。なお、ジョブ終了日,ジョブ終了時刻,ジョブ終
了コードは、ジョブが実行された後に、その結果を記録
するものである。
FIG. 3 is a diagram showing an example of the contents of the print job schedule file. The print job schedule file 12 is the print job attribute file 11 described above.
The print jobs to be executed are stored in the order of the scheduled job execution time for each job execution date. The scheduled job execution date, scheduled job execution time, job end date, job end time, job end code, preceding job name, etc. are stored for each job. The job end date, the job end time, and the job end code are used to record the result after the job is executed.

【0013】図4は、帳票属性ファイルの内容の一例を
示す図である。この帳票属性ファイル14は、予め設定
されるファイルであって、スケジュール対象印刷ジョブ
によって出力される全ての帳票について、各帳票毎に配
付先名,印刷特性ファイル名,分離手段(各帳票間の分
離を容易にするために施す、仕切りページの出力,オフ
セットスタック等の手段)等を格納する。
FIG. 4 is a diagram showing an example of the contents of the form attribute file. The form attribute file 14 is a file that is set in advance, and for all the forms output by the print job to be scheduled, the distribution destination name, the print characteristic file name, and the separating means (separation between the forms). (For output of partition pages, means such as offset stacking, etc.) to facilitate the above.

【0014】図5は、印刷特性ファイルの内容の一例を
示す図である。この印刷特性ファイル16は、予め設定
されるファイルであって、スケジュール対象印刷ジョブ
によって出力される全ての帳票について、各帳票毎に用
紙サイズ,印刷部数,片面/両面印刷指示,縦長/横長
印刷指示,フォントの種類等の印刷特性を格納する。
FIG. 5 is a diagram showing an example of the contents of the print characteristic file. The print characteristic file 16 is a file that is set in advance, and for all the forms output by the schedule print job, the paper size, the number of copies, a single-sided / double-sided printing instruction, and a portrait / landscape printing instruction for each form. , Stores printing characteristics such as font type.

【0015】帳票ファイル13及びスプールファイル1
5については、図示はしないが、帳票ファイル13は、
各印刷ジョブが実行された結果出力される帳票印刷デー
タを順次格納するファイルであり、スプールファイル1
5は、各配付先毎に帳票印刷データを格納するファイル
である。
Form file 13 and spool file 1
Although not shown in FIG. 5, the form file 13
Spool file 1 is a file that sequentially stores form print data output as a result of execution of each print job.
Reference numeral 5 is a file for storing the form print data for each delivery destination.

【0016】次に、各手段の動作を説明する。スケジュ
ール管理手段2は、次の処理を行う。 (1)印刷ジョブ属性ファイル11のデータの設定を行
う印刷ジョブ属性の設定処理。 (2)印刷ジョブ属性ファイル11のデータに基づいて
印刷ジョブスケジュールファイル12を生成する印刷ジ
ョブ実行スケジュール処理。 (3)印刷ジョブスケジュールファイル12の内容を変
更する印刷ジョブ実行スケジュール変更処理。 それらの各処理について説明する。
Next, the operation of each means will be described. The schedule management means 2 performs the following processing. (1) Print job attribute setting processing for setting the data of the print job attribute file 11. (2) Print job execution schedule processing for generating the print job schedule file 12 based on the data in the print job attribute file 11. (3) Print job execution schedule change processing for changing the contents of the print job schedule file 12. Each of these processes will be described.

【0017】(印刷ジョブ属性の設定処理)まず、端末
装置10との会話により印刷ジョブ属性ファイル11に
既に登録されている印刷ジョブのジョブ名称一覧を端末
装置10に表示させる。新規に印刷ジョブを登録する場
合には、端末装置10に印刷ジョブ属性を入力するため
のコマンド入力フィールドを表示させて、新規に登録す
る印刷ジョブのジョブ名称,先行ジョブ名称,ジョブ実
行日,ジョブ実行開始予定時刻,帳票ファイル名,帳票
属性ファイル名,ジョブ制御情報を入力する。また、既
に登録されている印刷ジョブの属性を変更する場合に
は、端末装置10に表示された印刷ジョブ名称一覧から
該当する印刷ジョブを選択し、当該印刷ジョブの属性を
印刷ジョブ属性ファイル11から取り出してコマンド入
力フィールドに表示させ、変更が必要な属性を入力し直
す。その後、印刷ジョブ属性ファイル11に格納する。
(Print Job Attribute Setting Process) First, the terminal device 10 is caused to display a list of job names of print jobs already registered in the print job attribute file 11 in conversation with the terminal device 10. When a new print job is registered, a command input field for inputting print job attributes is displayed on the terminal device 10, and the job name, preceding job name, job execution date, job of the newly registered print job are displayed. Enter the scheduled execution start time, form file name, form attribute file name, and job control information. To change the attributes of a print job that has already been registered, select the corresponding print job from the print job name list displayed on the terminal device 10 and set the attributes of the print job from the print job attribute file 11. Take it out, display it in the command input field, and re-enter the attribute that needs to be changed. After that, it is stored in the print job attribute file 11.

【0018】(印刷ジョブ実行スケジュール処理)ま
ず、端末装置10から印刷ジョブのスケジュール対象日
を入力し、その日に実行すべき印刷ジョブを、印刷ジョ
ブ属性ファイル11のジョブ実行日フィールドを参照し
て抽出する。次に、印刷ジョブ属性ファイル11におい
て、抽出された各印刷ジョブのジョブ実行開始時刻フィ
ールドを参照して、ジョブ実行開始時刻の順に実行スケ
ジュールを組立てて、印刷ジョブスケジュールファイル
12を生成する。その時、当該印刷ジョブに先行ジョブ
が指定されている場合には、先行ジョブを先に実行する
ようにスケジュールを組み立てる。
(Print Job Execution Schedule Processing) First, the schedule target date of the print job is input from the terminal device 10, and the print job to be executed on that day is extracted by referring to the job execution date field of the print job attribute file 11. To do. Next, in the print job attribute file 11, the job execution start time field of each extracted print job is referred to, an execution schedule is assembled in the order of the job execution start time, and the print job schedule file 12 is generated. At that time, if a preceding job is designated for the print job, a schedule is assembled so that the preceding job is executed first.

【0019】(印刷ジョブ実行スケジュール変更処理)
まず、端末装置10からスケジュール変更対象日を入力
し、その日のスケジュール情報を、印刷ジョブスケジュ
ールファイル12から取り出して、端末装置10の表示
画面に表示させる。そして、変更が必要な箇所を訂正し
てから、再び印刷ジョブスケジュールファイル12に戻
す。
(Print job execution schedule change processing)
First, the schedule change target day is input from the terminal device 10, the schedule information of that day is taken out from the print job schedule file 12, and is displayed on the display screen of the terminal device 10. Then, after correcting the portion that needs to be changed, it is returned to the print job schedule file 12 again.

【0020】次に、ジョブ実行管理手段3について説明
する。ジョブ実行管理手段3は、次の処理を行う。 (1)印刷ジョブスケジュールファイル12のデータに
基づいてスケジュール管理を行う印刷ジョブスケジュー
ル監視処理。 (2)先行ジョブが指定されている時、その実行確認を
行う先行ジョブ実行確認処理。 (3)先行ジョブが正常に実行されなかった時、再投入
を行う先行ジョブ再投入処理。 (4)当該印刷ジョブの投入を行う印刷ジョブ投入処
理。 (5)投入した印刷ジョブが終了したか否かを監視する
印刷ジョブ実行監視処理。 (6)帳票仕分け管理手段4に印刷ジョブが終了したこ
とを通知する印刷ジョブ実行終了通知処理。
Next, the job execution management means 3 will be described. The job execution management means 3 performs the following processing. (1) Print job schedule monitoring processing for performing schedule management based on the data in the print job schedule file 12. (2) Preceding job execution confirmation processing for confirming the execution of the preceding job when it is specified. (3) Pre-reload job re-entry processing that re-submits when the preceding job is not executed normally. (4) Print job input processing for inputting the print job. (5) Print job execution monitoring processing for monitoring whether or not the input print job is completed. (6) Print job execution end notification processing for notifying the form sorting management unit 4 that the print job has ended.

【0021】それらの処理内容をフローチャートを使っ
て説明する。図6は、ジョブ実行管理手段の処理手順を
示すフローチャートである。 (印刷ジョブスケジュール監視処理)ステップ1…印刷
ジョブスケジュールファイル12から当日のスケジュー
ルを読み込む。 ステップ2…読み込んだデータの中から、次に実行すべ
き印刷ジョブに関するデータを取り出す。 ステップ3…そのジョブ実行予定時刻をみて、現在の時
刻がジョブ実行予定時刻を過ぎているか否かを判別す
る。 ステップ4…まだ過ぎていない時、一定時間待ってステ
ップ3に戻す。
The contents of those processes will be described with reference to a flowchart. FIG. 6 is a flowchart showing the processing procedure of the job execution management means. (Print job schedule monitoring process) Step 1 ... Reads the current day's schedule from the print job schedule file 12. Step 2 ... From the read data, the data regarding the print job to be executed next is taken out. Step 3 ... By checking the scheduled job execution time, it is determined whether or not the current time has passed the scheduled job execution time. Step 4 ... If not yet passed, wait for a certain time and return to Step 3.

【0022】(先行ジョブ実行確認処理)ステップ5…
ステップ3でジョブ実行予定時刻を過ぎていた時、ステ
ップ2で取り出したデータから、当該印刷ジョブに先行
ジョブが指定されているか否かを判別する。 ステップ6…指定されている時、印刷ジョブスケジュー
ルファイル12における先行ジョブのジョブ終了コード
を調べることにより、先行ジョブの実行が終了している
か否かを判別する。 ステップ7…終了していなければ、一定時間待ってステ
ップ6に戻す。 ステップ8…ステップ6で先行ジョブの実行が終了して
いる時、先行ジョブの実行が正常に終了したか否かを判
別する。
(Preceding job execution confirmation processing) Step 5 ...
When the scheduled job execution time has passed in step 3, it is determined from the data retrieved in step 2 whether or not a preceding job is designated for the print job. Step 6 ... When specified, the job end code of the preceding job in the print job schedule file 12 is checked to determine whether or not the execution of the preceding job is completed. Step 7 ... If not completed, wait for a fixed time and return to Step 6. Step 8: When the execution of the preceding job is completed in step 6, it is determined whether the execution of the preceding job is completed normally.

【0023】(先行ジョブ再投入処理)ステップ9…先
行ジョブの実行に何らかの異常があって終了した時は、
印刷ジョブ属性ファイル11から先行ジョブのジョブ制
御情報(ジョブ実行プログラム)を取り出して、システ
ムに再投入する。
(Preceding job re-input process) Step 9 ... When the preceding job is terminated due to some abnormality in execution,
The job control information (job execution program) of the preceding job is fetched from the print job attribute file 11 and re-entered into the system.

【0024】(印刷ジョブ投入処理)ステップ10…ス
テップ5で先行ジョブが指定されていなかったか、ステ
ップ8で先行ジョブが正常に終了した時、印刷ジョブ属
性ファイル11から当該印刷ジョブのジョブ制御情報を
取り出して、システムに投入する。
(Print job input process) Step 10 ... When the preceding job is not designated in Step 5, or when the preceding job is normally completed in Step 8, the job control information of the print job is written from the print job attribute file 11. Take it out and put it in the system.

【0025】(印刷ジョブ実行監視処理)ステップ11
…投入した印刷ジョブが終了したか否かを判別する。 ステップ12…終了していなかった時、一定時間待って
ステップ11に戻す。
(Print Job Execution Monitoring Process) Step 11
It is determined whether or not the input print job is completed. Step 12 ... If not finished, wait for a fixed time and return to Step 11.

【0026】(印刷ジョブ実行終了通知処理)ステップ
13…投入した印刷ジョブが終了したら、印刷ジョブス
ケジュールファイル12にジョブ終了日,ジョブ終了時
刻及びジョブ終了コードを記録する。なお、ジョブ終了
コードは、当該ジョブが正常に終了したか異常終了した
かを示すコードである。 ステップ14…帳票仕分け管理手段に印刷ジョブが終了
したことを通知する。この時、印刷ジョブ属性ファイル
11から当該印刷ジョブの帳票ファイル名と帳票属性フ
ァイル名を読み出して通知する。 ステップ15…当日のスケジュールファイルにある全て
の印刷ジョブの実行が終了したか否かを判別し、残って
いる印刷ジョブがあればステップ2に戻す。
(Print job execution end notification process) Step 13 ... When the input print job is completed, the job end date, the job end time, and the job end code are recorded in the print job schedule file 12. The job end code is a code indicating whether the job has ended normally or abnormally. Step 14: Notify the form sorting management means that the print job is completed. At this time, the form file name and the form attribute file name of the print job are read from the print job attribute file 11 and notified. Step 15 ... It is judged whether or not the execution of all the print jobs in the schedule file of the current day is completed, and if there are any remaining print jobs, the process returns to Step 2.

【0027】次に、帳票仕分け管理手段4について説明
する。帳票仕分け管理手段4は、次の処理を行う。 (1)帳票属性ファイル14,印刷特性ファイル16等
の各種定義ファイルに新規のデータを追加登録したり、
既に登録されているデータを変更したりする帳票属性設
定処理。 (2)ジョブ実行管理手段3より印刷ジョブの終了通知
を受けて、帳票ファイル13からの読み出し準備を行う
帳票ファイル監視処理。 (3)帳票ファイル13からデータを読み込む帳票ファ
イル入力処理。 (4)帳票の配付先を決める帳票仕分け処理。 (5)スプールファイル15への出力を行うスプールフ
ァイル出力処理。
Next, the form sorting management means 4 will be described. The form sorting management means 4 performs the following processing. (1) New data may be additionally registered in various definition files such as the form attribute file 14 and the print characteristic file 16,
Form attribute setting process to change the already registered data. (2) A form file monitoring process of receiving a print job end notification from the job execution management means 3 and preparing for reading from the form file 13. (3) Form file input processing for reading data from the form file 13. (4) Form sorting process that determines the distribution destination of the form. (5) Spool file output processing for outputting to the spool file 15.

【0028】その内、まず帳票属性設定処理について説
明する。 (帳票属性設定処理)端末装置10から帳票属性ファイ
ル14,印刷特性ファイル16等の各種定義ファイルを
指定して、そのファイルに登録されているデータを端末
装置10に表示させる。そして、表示画面上で新規のデ
ータを追加登録したり、既に登録されているデータを変
更したりした後、それらのデータを再び該定義ファイル
に格納する。
Among them, the form attribute setting process will be described first. (Form Attribute Setting Process) Various definition files such as the form attribute file 14 and the print characteristic file 16 are designated from the terminal device 10, and the data registered in the files are displayed on the terminal device 10. Then, after additionally registering new data on the display screen or changing the already registered data, those data are stored again in the definition file.

【0029】帳票ファイル監視処理以降の処理について
は、それらの処理内容をフローチャートを使って説明す
る。図7は、帳票仕分け管理手段における帳票ファイル
監視処理以降の処理手順を示すフローチャートである。 (帳票ファイル監視処理)ステップ1…上記ジョブ実行
管理手段3より、印刷ジョブの終了通知があったか否か
を判別する。 ステップ2…通知がなかった時は、一定時間待ってステ
ップ1に戻す。 ステップ3…ジョブ実行管理手段3より、印刷ジョブの
終了通知及び当該印刷ジョブの帳票ファイル名,帳票属
性ファイル名の通知があった時、通知された帳票属性フ
ァイル名のファイルデータを読み込み、帳票属性テーブ
ル17に保持する。 ステップ4…帳票ファイル13をオープンして、データ
レコードの取り出しを可能にする。
Regarding the processes after the form file monitoring process, the contents of those processes will be described with reference to a flowchart. FIG. 7 is a flowchart showing a processing procedure after the form file monitoring process in the form sorting management means. (Form File Monitoring Process) Step 1 ... It is determined whether the job execution management means 3 has notified the end of the print job. Step 2 ... When there is no notification, wait for a fixed time and return to Step 1. Step 3 ... When the job execution management unit 3 notifies the end of the print job and the report file name and the report attribute file name of the print job, the file data of the notified report attribute file name is read to obtain the report attribute. Hold on table 17. Step 4 ... The form file 13 is opened so that the data record can be taken out.

【0030】(帳票ファイル入力処理)ステップ5…ジ
ョブ実行管理手段3より通知された帳票ファイル名の印
刷データをレコード単位で順次読み込む。 (帳票仕分け処理)ステップ6…ステップ3で保持した
帳票属性テーブル17から次の配付先名を取得する。
(Form File Input Process) Step 5 ... The print data of the form file name notified by the job execution management means 3 is sequentially read in record units. (Form sorting process) Step 6 ... Acquires the next distribution destination name from the form attribute table 17 held in Step 3.

【0031】(スプールファイル出力処理)ステップ7
…ステップ5で読み込んだ印刷データレコードを配付先
別に区分けされたスプールファイル15に出力する。 ステップ8…帳票属性テーブル17にある全ての配付先
に対して帳票を出力したか否かを判別する。 ステップ9…帳票ファイル13中の読み込むべきデータ
レコードが終了したか否かを判別する。 ステップ10…当日のスケジュールファイルにある全て
の印刷ジョブの実行が終了したか否かを判別し、残って
いる印刷ジョブがあればステップ1に戻す。
(Spool File Output Processing) Step 7
The print data record read in step 5 is output to the spool file 15 divided according to the distribution destination. Step 8 ... It is determined whether or not the form has been output to all the distribution destinations in the form attribute table 17. Step 9 ... It is determined whether or not the data record to be read in the form file 13 is completed. Step 10 ... It is determined whether or not the execution of all print jobs in the schedule file for the current day has ended, and if there are any print jobs remaining, the process returns to step 1.

【0032】次に、帳票出力管理手段5について説明す
る。帳票出力管理手段5は、次の処理を行う。 (1)スプールファイル15への帳票印刷データの格納
状況を監視するスプールファイル監視処理。 (2)印刷装置6に対して帳票の印刷特性等を指示する
印刷特性出力処理。 (3)印刷装置6に対して帳票印刷データを出力する印
刷データ出力処理。
Next, the form output management means 5 will be described. The form output management means 5 performs the following processing. (1) Spool file monitoring processing for monitoring the storage status of the form print data in the spool file 15. (2) Print characteristic output processing for instructing the print characteristics of the form to the printer 6. (3) Print data output processing for outputting form print data to the printing device 6.

【0033】それらの処理内容をフローチャートを使っ
て説明する。図8は、帳票出力管理手段の処理手順を示
すフローチャートである。 (スプールファイル監視処理)ステップ1…スプールフ
ァイル15に帳票属性テーブル17にある当該帳票の全
ての配付先に対して帳票印刷データが格納されたか否か
を判別する。 ステップ2…まだ格納されていない配付先があれば、一
定時間待ってステップ1に戻す。
The contents of those processes will be described with reference to a flowchart. FIG. 8 is a flowchart showing the processing procedure of the form output management means. (Spool File Monitoring Process) Step 1 ... It is determined whether or not the form print data is stored in the spool file 15 for all the distribution destinations of the form in the form attribute table 17. Step 2 ... If there is a distribution destination that has not been stored yet, wait a certain time and return to Step 1.

【0034】(印刷特性出力処理)ステップ3…帳票属
性テーブル17から当該帳票の印刷特性ファイル名を取
得する。 ステップ4…印刷特性ファイルからデータを読み込み、
印刷装置6に対して印刷特性を指示する。また、帳票属
性テーブル17から分離手段を取得して、それを印刷装
置6に指示する。
(Print characteristic output processing) Step 3 ... The print characteristic file name of the form is acquired from the form attribute table 17. Step 4 ... Read the data from the print characteristics file,
The printing characteristics are instructed to the printing device 6. Also, the separating means is acquired from the form attribute table 17 and the printer 6 is instructed to do so.

【0035】(印刷データ出力処理)ステップ5…スプ
ールファイル15から当該帳票の印刷データをレコード
単位で順次読み込む。 ステップ6…読み込んだデータレコードを印刷装置6に
対して出力する。 ステップ7…当該帳票の印刷データレコードが全て読み
込み終わったか否かを判別する。 ステップ8…帳票属性テーブルにある全て帳票の出力が
終了したか否かを判別し、終了していなければステップ
1に戻す。
(Print data output process) Step 5 ... The print data of the form is sequentially read from the spool file 15 in record units. Step 6 ... Outputs the read data record to the printer 6. Step 7 ... It is determined whether or not all the print data records of the form have been read. Step 8 ... It is determined whether or not the output of all the forms in the form attribute table is completed. If not completed, the process returns to step 1.

【0036】なお、上記実施例では、帳票仕分け管理手
段4における帳票仕分け処理として、帳票属性テーブル
17から次の配付先名を取得するようにしているが、他
の方法を採用することもできる。例えば、帳票印刷デー
タ中に仕分けコードを含ませておいて、帳票仕分け処理
の段階でその位置を指示して該仕分けコードを読み取ら
せ、仕分けコードと配付先名との対応関係を示す仕分け
情報テーブルから配付先名を取得するようにすることも
できる。その場合、1つの仕分けコードに対して複数個
の配付先を指定しておき、複数ページにわたる帳票をペ
ージ単位に指定された配付先に出力することもできる。
In the above embodiment, as the form sorting process in the form sorting management means 4, the next distribution destination name is acquired from the form attribute table 17, but other methods can be adopted. For example, a sorting code is included in the form print data, the position is designated at the stage of the form sorting process, the sorting code is read, and a sorting information table showing the correspondence between the sorting code and the recipient name. It is also possible to obtain the distribution destination name from. In that case, a plurality of distribution destinations can be designated for one sorting code, and a form over a plurality of pages can be output to the designated distribution destination for each page.

【0037】また、上記実施例では、帳票出力管理手段
5において、スプールファイル15に帳票属性テーブル
17にある当該帳票の全ての配付先に対して帳票印刷デ
ータが格納されれば、直ちに印刷特性出力処理を行っ
て、印刷データ出力処理を開始するようにしているが、
他の方法を採用することもできる。例えば、帳票属性フ
ァイル14に帳票の出力形態(即時出力,日時指定出
力,出力保留)を設定しておき、帳票出力管理手段5に
帳票出力スケジュール処理を付加して、各帳票単位で帳
票の出力スケジュール管理を可能にすることもできる。
そしてまた、上記実施例では、帳票出力管理手段5を1
個だけ設けているが、配付先毎に設置された各印刷装置
に、それぞれ帳票出力管理手段5を具備させるようにす
ることもできる。
Further, in the above embodiment, when the form output management means 5 stores the form print data in the spool file 15 for all the distribution destinations of the form in the form attribute table 17, the print characteristic is output immediately. The process is performed and the print data output process is started.
Other methods can also be adopted. For example, a form output form (immediate output, date / time designated output, output hold) is set in the form attribute file 14, a form output schedule process is added to the form output management means 5, and a form is output for each form. Schedule management can also be enabled.
Also, in the above embodiment, the form output management means 5 is set to 1
Although only the individual pieces are provided, the form output management means 5 may be provided in each printing apparatus installed for each distribution destination.

【0038】[0038]

【発明の効果】以上述べた如く、本発明の帳票自動生成
仕分けシステムによれば、帳票ファイルを生成するため
の印刷ジョブは、印刷ジョブスケジュールファイルのデ
ータに従って自動的に実行され、また、各印刷ジョブが
終了したら、その帳票印刷データは、配付先毎に自動的
にスプールファイルへ登録される。そのため、一旦帳票
自動生成仕分けシステムを起動させれば、その後はパラ
メータ入力等の手間をかけることなく、自動的に帳票の
生成及び仕分け出力を実行することができる。
As described above, according to the form automatic generation / sorting system of the present invention, the print job for generating the form file is automatically executed according to the data of the print job schedule file, and each printing is performed. When the job is completed, the form print data is automatically registered in the spool file for each distribution destination. Therefore, once the form automatic generation / sorting system is activated, the forms can be automatically generated and the sorting output can be executed thereafter without the trouble of inputting parameters.

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

【図1】 本発明の帳票自動生成仕分けシステムの概要
を示すブロック図
FIG. 1 is a block diagram showing an outline of a form automatic generation and sorting system of the present invention.

【図2】 印刷ジョブ属性ファイルの内容の一例を示す
FIG. 2 is a diagram showing an example of contents of a print job attribute file.

【図3】 印刷ジョブスケジュールファイルの内容の一
例を示す図
FIG. 3 is a diagram showing an example of contents of a print job schedule file.

【図4】 帳票属性ファイルの内容の一例を示す図FIG. 4 is a diagram showing an example of contents of a form attribute file.

【図5】 印刷特性ファイルの内容の一例を示す図FIG. 5 is a diagram showing an example of contents of a print characteristic file.

【図6】 ジョブ実行管理手段の処理手順を示すフロー
チャート
FIG. 6 is a flowchart showing a processing procedure of job execution management means.

【図7】 帳票仕分け管理手段における帳票ファイル監
視処理以降の処理手順を示すフローチャート
FIG. 7 is a flowchart showing a processing procedure after the form file monitoring process in the form sorting management means.

【図8】 帳票出力管理手段の処理手順を示すフローチ
ャート
FIG. 8 is a flowchart showing a processing procedure of the form output management means.

【図9】 従来の帳票自動仕分けシステムの概要を示す
ブロック図
FIG. 9 is a block diagram showing an outline of a conventional automatic form sorting system.

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

1…電子計算機、2…スケジュール管理手段、3…ジョ
ブ実行管理手段、4…帳票仕分け管理手段、5…帳票出
力管理手段、6…印刷装置、7…帳票スケジュール手
段、8…帳票データ登録手段、9…帳票モニタ手段、1
0…端末装置、11…印刷ジョブ属性ファイル、12…
印刷ジョブスケジュールファイル、13…帳票ファイ
ル、14…帳票属性ファイル、15…スプールファイ
ル、16…印刷特性ファイル、17…帳票属性テーブ
ル、21…モニタファイル、22…帳票スケジュール属
性ファイル、23…帳票モニタファイル、24…ユーザ
出力帳票ファイル、25…帳票インデックスファイル、
26…帳票データファイル、27…パラメータ入力装置
DESCRIPTION OF SYMBOLS 1 ... Electronic computer, 2 ... Schedule management means, 3 ... Job execution management means, 4 ... Form sorting management means, 5 ... Form output management means, 6 ... Printing device, 7 ... Form scheduling means, 8 ... Form data registration means, 9: Form monitoring means, 1
0 ... Terminal device, 11 ... Print job attribute file, 12 ...
Print job schedule file, 13 ... Form file, 14 ... Form attribute file, 15 ... Spool file, 16 ... Printing characteristic file, 17 ... Form attribute table, 21 ... Monitor file, 22 ... Form schedule attribute file, 23 ... Form monitor file , 24 ... User output form file, 25 ... Form index file,
26 ... Form data file, 27 ... Parameter input device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 実行すべき印刷ジョブとその実行予定時
刻とをジョブ実行日毎に格納して印刷ジョブスケジュー
ルファイルを生成するスケジュール管理手段と、上記印
刷ジョブスケジュールファイルから次に実行する印刷ジ
ョブの実行予定時刻を取得し、実行予定時刻に達した時
に該印刷ジョブを実行させて帳票ファイルを生成し、該
印刷ジョブが終了した時、帳票ファイルが作成された旨
の通知を出力するジョブ実行管理手段と、上記ジョブ実
行管理手段から帳票ファイルが作成された旨の通知が出
力された時、その帳票ファイルの帳票印刷データを取得
し、指定された配付先毎にスプールファイルに格納する
帳票仕分け管理手段と、指定された全ての配付先の帳票
印刷データが上記スプールファイルに格納された後、該
帳票印刷データを配付先毎に印刷装置に出力する帳票出
力管理手段とを有することを特徴とする帳票自動生成仕
分けシステム。
1. A schedule managing means for storing a print job to be executed and its scheduled execution time for each job execution date to generate a print job schedule file, and executing a print job to be executed next from the print job schedule file. A job execution management unit that acquires a scheduled time, executes the print job when the scheduled execution time is reached, generates a form file, and outputs a notification that the form file has been created when the print job ends When the notification indicating that the form file has been created is output from the job execution management unit, the form sorting management unit that acquires the form print data of the form file and stores it in the spool file for each designated distribution destination After the form print data of all specified distribution destinations is stored in the spool file, the form print data is distributed. A form automatic generation and sorting system, comprising: a form output management means for outputting to a printing device for each recipient.
JP4271077A 1992-09-14 1992-09-14 Automatic document preparing-sorting system Pending JPH0692541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4271077A JPH0692541A (en) 1992-09-14 1992-09-14 Automatic document preparing-sorting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4271077A JPH0692541A (en) 1992-09-14 1992-09-14 Automatic document preparing-sorting system

Publications (1)

Publication Number Publication Date
JPH0692541A true JPH0692541A (en) 1994-04-05

Family

ID=17495060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4271077A Pending JPH0692541A (en) 1992-09-14 1992-09-14 Automatic document preparing-sorting system

Country Status (1)

Country Link
JP (1) JPH0692541A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08299914A (en) * 1995-04-28 1996-11-19 Nec Corp Versatile setting method for sorting distribution slip
JP2002318885A (en) * 2001-04-23 2002-10-31 Toshiba Tec Corp Document output system and image information output system
US7148991B2 (en) * 1995-04-18 2006-12-12 Fuji Xerox Co., Ltd. Job scheduling system for print processing
JP2007188187A (en) * 2006-01-11 2007-07-26 Hitachi Ltd Business form creation support device, method, and program
US7385720B2 (en) * 2001-11-05 2008-06-10 Hewlett-Packard Development Company, L.P. Systems and methods for scheduling print jobs
JP2010113657A (en) * 2008-11-10 2010-05-20 Canon Marketing Japan Inc Electronic business form server, control method of electronic business form server, program, and recording medium
JP2016157203A (en) * 2015-02-23 2016-09-01 株式会社リコー Document processing device, document processing system, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7148991B2 (en) * 1995-04-18 2006-12-12 Fuji Xerox Co., Ltd. Job scheduling system for print processing
US7884960B2 (en) 1995-04-18 2011-02-08 Fuji Xerox Co., Ltd. Job scheduling system for print processing
JPH08299914A (en) * 1995-04-28 1996-11-19 Nec Corp Versatile setting method for sorting distribution slip
JP2002318885A (en) * 2001-04-23 2002-10-31 Toshiba Tec Corp Document output system and image information output system
US7385720B2 (en) * 2001-11-05 2008-06-10 Hewlett-Packard Development Company, L.P. Systems and methods for scheduling print jobs
JP2007188187A (en) * 2006-01-11 2007-07-26 Hitachi Ltd Business form creation support device, method, and program
JP4663526B2 (en) * 2006-01-11 2011-04-06 株式会社日立製作所 Form creation support device, form creation support method, and form creation support program
JP2010113657A (en) * 2008-11-10 2010-05-20 Canon Marketing Japan Inc Electronic business form server, control method of electronic business form server, program, and recording medium
JP2016157203A (en) * 2015-02-23 2016-09-01 株式会社リコー Document processing device, document processing system, and program

Similar Documents

Publication Publication Date Title
US20020171868A1 (en) Print control apparatus and print instruction apparatus
JP3717679B2 (en) Printing control apparatus, printing system using the same, printing control method, and recording medium
US7034958B1 (en) Method, apparatus and recording medium for printing control
US20050034070A1 (en) Method, system of devices, and computer program product for the production of a printed document from several input files
JP4958643B2 (en) Information processing apparatus and method, program, and printing system
EP1455266A2 (en) Automatic insertion of special pages into black and white digital printing jobs
US7690634B2 (en) Method of processing and printing print job portions for enabling bindery efficiencies
US20130329256A1 (en) Printing apparatus capable of performing paper assignment processing, method of controlling the printing apparatus, and storage medium
US7677820B2 (en) Printing supporting apparatus, printing apparatus selecting apparatus, printing supporting program, printing apparatus selecting program, storage medium, method of selecting printing apparatus, method of supporting printing, and method of creating printing apparatus determining tree
JPH0692541A (en) Automatic document preparing-sorting system
JP2006302038A (en) Job management device, print and bookbinding system, control method, and program
EP0729090A1 (en) Printing device
JPH1184542A (en) Image processing system and recording medium read by computer
US20080264285A1 (en) Method of processing and printing print job portions for enabling bindery efficiencies
JP4505106B2 (en) Accumulation printing method and image forming apparatus
JP3008448B2 (en) Data output device
JP2020091697A (en) Information processing apparatus, control method, and program
JPH1165784A (en) Print processing system and method
JP5861351B2 (en) Variable print job processing program and variable print job processing apparatus
US20220269447A1 (en) Printing system and printing method
JP4891866B2 (en) Printer device
JP5663771B2 (en) Work document management apparatus, work document management system, work document management method, and program
JP2000250797A (en) Stock data managing method for digital edition system and digital edition system
JP5663770B2 (en) Work document management apparatus, work document management system, work document management method, and program
JP2005182176A (en) Print order acceptance apparatus and image processing apparatus