JP2008158727A - Electronic business form system - Google Patents

Electronic business form system Download PDF

Info

Publication number
JP2008158727A
JP2008158727A JP2006345591A JP2006345591A JP2008158727A JP 2008158727 A JP2008158727 A JP 2008158727A JP 2006345591 A JP2006345591 A JP 2006345591A JP 2006345591 A JP2006345591 A JP 2006345591A JP 2008158727 A JP2008158727 A JP 2008158727A
Authority
JP
Japan
Prior art keywords
file
management
information
name
print
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
JP2006345591A
Other languages
Japanese (ja)
Inventor
Yasumoto Oki
泰元 沖
Hiroyuki Kondo
広行 近藤
Yoshiro Kamiyama
吉朗 上山
Takahiko Nakano
貴彦 中野
Hisashi Yokota
久 横田
Tadashi Ishitani
忠司 石谷
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.)
Nittetsu Hitachi Systems Engineering Inc
Original Assignee
Nittetsu Hitachi Systems Engineering Inc
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 Nittetsu Hitachi Systems Engineering Inc filed Critical Nittetsu Hitachi Systems Engineering Inc
Priority to JP2006345591A priority Critical patent/JP2008158727A/en
Publication of JP2008158727A publication Critical patent/JP2008158727A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic business form system allowing intake of a business form created in each terminal in a managing computer without individually customizing a business form creation means of each the terminal, and allowing batch management of the business form. <P>SOLUTION: In each the terminal 20, after a spool file creation means 25b creates a spool file for print and print management information of the business form, a first file conversion means 25c converts business form peculiar information of the business form inputted on a prescribed input screen, and the spool file for the print and the print management information of the business form into one PostScript file. In the managing computer 30, a second file conversion means 34 creates business form data file and business form management information based on the PostScript file, and a file management means 35 stores the business form data file into a database 31 according to contents of the business form management information and manages it. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、各種のアプリケーションプログラムを用いて作成された帳票を電子的に保管して管理する電子帳票システムに関する。   The present invention relates to an electronic form system that electronically stores and manages forms created using various application programs.

近年、各企業では、業務に関連する請求書や見積書等の帳票を電子的に保管して管理する電子帳票システムが導入されている。かかる電子帳票システムは、帳票を作成する複数の端末と、各端末で作成された帳票を管理する管理用コンピュータとを備えている。通常、各端末では、帳票作成のためのアプリケーションプログラム(帳票作成手段)としてさまざまな種類のものが用いられており、アプリケーションプログラム毎に帳票データのファイル形式が異なっている。このため、従来、各端末のアプリケーションプログラムを用いて作成された帳票データを、異なるアプリケーションプログラム間でもデータの交換が可能なCSV(Comma Separated Value)形式のデータに変換し、その変換して得られたCSV形式のデータを管理用コンピュータで管理するという電子帳票システムが提案されている(例えば、特許文献1参照。)。   In recent years, companies have introduced electronic form systems that electronically store and manage forms such as bills and quotations related to business. Such an electronic form system includes a plurality of terminals that create forms and a management computer that manages the forms created by each terminal. Normally, various types of application programs (form creation means) are used in each terminal, and the file format of the form data is different for each application program. For this reason, conventionally, the form data created using the application program of each terminal is converted into CSV (Comma Separated Value) format data that can be exchanged between different application programs, and the conversion is performed. In addition, an electronic form system has been proposed in which data in CSV format is managed by a management computer (see, for example, Patent Document 1).

特開2002−15266号公報JP 2002-15266 A

ところで、各端末のアプリケーションプログラムを用いて作成された帳票データをCSV形式のデータに変換するには、その変換の際に用いられる種々の定義を定めた定義ファイルが必要である。このため、上記の電子帳票システムでは、各端末のアプリケーションプログラムを個別にカスタマイズしている。具体的には、各アプリケーションプログラムに、定義ファイルを作成するためのアドオンソフトを組み込んでいる。しかしながら、かかるアドオンソフトとしては、アプリケーションプログラム毎に異なるものを作成しなければならないので、あらゆる種類のアプリケーションプログラムを用いて作成される帳票を一括管理することは現実的に困難である。このため、各端末のアプリケーションプログラムを個別にカスタマイズすることなく、各端末で作成された帳票を管理用コンピュータに取り込んで一括管理することができる電子帳票システムの実現が望まれている。   By the way, in order to convert form data created using the application program of each terminal into CSV format data, a definition file that defines various definitions used in the conversion is required. For this reason, in the above electronic form system, the application program of each terminal is individually customized. Specifically, add-on software for creating a definition file is incorporated in each application program. However, since such add-on software must be created differently for each application program, it is practically difficult to collectively manage forms created using all kinds of application programs. For this reason, it is desired to realize an electronic form system that can take a form created at each terminal into a management computer and collectively manage the application program on each terminal without individually customizing the application program.

尚、従来より、メインフレームで作成した帳票を管理する帳票システムが多くの企業で利用されている。かかる帳票システムでは、メインフレームで作成した帳票を、CSV形式とは異なる独自のファイル形式のデータとして管理している。このため、上記各端末で作成された帳票に加えて、メインフレームで作成された帳票をも一括管理したいという多くの要望がある。   Conventionally, a form system for managing a form created on a mainframe has been used in many companies. In such a form system, a form created on the mainframe is managed as data in a unique file format different from the CSV format. For this reason, in addition to the forms created in each terminal, there are many demands for collectively managing forms created on the mainframe.

本発明は上記事情に基づいてなされたものであり、各端末の帳票作成手段を個別にカスタマイズすることなく、各端末で作成された帳票を管理用コンピュータに取り込んで一括管理することができる電子帳票システムを提供することを目的とするものである。   The present invention has been made based on the above circumstances, and an electronic form that can be collectively managed by taking a form created at each terminal into a management computer without individually customizing the form creation means of each terminal. The purpose is to provide a system.

上記の目的を達成するための請求項1記載の発明は、帳票作成手段により帳票を作成する複数の端末と、前記各端末とネットワークを介して接続された、前記各端末で作成された前記帳票を電子的に管理する管理用コンピュータとを有する電子帳票システムにおいて、前記各端末は、前記帳票作成手段で作成された前記帳票を前記管理用コンピュータに登録するときに、当該帳票の文書名、印刷処理日及び印刷用紙に関する情報を含む印刷管理情報と当該帳票の印刷イメージを表す印刷用スプールファイルとを作成するスプールファイル作成手段と、前記帳票作成手段で作成された前記帳票を前記管理用コンピュータに登録する際に、帳票名及び日付に関する情報を含む帳票固有情報を入力するための入力画面を表示手段の画面上に表示する機能を有し、且つ、前記管理用コンピュータに登録すべき前記帳票についての前記印刷管理情報及び前記印刷用スプールファイルが前記スプールファイル作成手段から送られたときに、その送られた当該帳票についての前記印刷管理情報及び前記印刷用スプールファイルと前記入力画面で入力された当該帳票についての前記帳票固有情報とを、一つのPostScriptファイルに変換する第一ファイル変換手段と、前記第一ファイル変換手段で得られた前記PostScriptファイルを前記管理用コンピュータに送信する通信制御手段と、を備え、前記管理用コンピュータは、前記各端末から前記PostScriptファイルが送られた場合、当該PostScriptファイルに含まれる前記帳票固有情報及び前記印刷管理情報の内容に基づいて当該帳票を管理する上で必要となる管理用名称及び管理日付に関する情報を含む帳票管理情報を作成すると共に、当該PostScriptファイルに含まれる前記印刷用スプールファイルの内容を表す部分のデータを、各印刷ページについての、罫線データと印字内容が行毎に記述された印字データとを含んで構成された帳票データファイルに変換する第二ファイル変換手段と、前記第二ファイル変換手段で得られた前記帳票管理情報及び前記帳票データファイルについて、当該帳票管理情報の内容にしたがって当該帳票データファイルをデータ格納手段に格納して管理するファイル管理手段と、を備えることを特徴とするものである。   In order to achieve the above object, the invention according to claim 1 is characterized in that the form created by each terminal connected to each of the terminals via a network, a plurality of terminals creating a form by the form creation means. In the electronic form system having a management computer for electronically managing the document, when each terminal registers the form created by the form creation means in the management computer, the document name of the form, print Spool file creation means for creating print management information including information relating to the processing date and printing paper and a print spool file representing the print image of the form, and the form created by the form creation means to the management computer When registering, an input screen for entering form-specific information including information on form name and date is displayed on the display means screen. And when the print management information and the print spool file for the form to be registered in the management computer are sent from the spool file creation means, A first file conversion means for converting the print management information and the print spool file and the form-specific information for the form entered on the input screen into a single PostScript file; and the first file conversion means. Communication control means for transmitting the obtained PostScript file to the management computer, and when the PostScript file is sent from each of the terminals, the management computer is specific to the form included in the PostScript file. Management required for managing the form based on the information and the contents of the print management information Form management information including information on the title and management date is created, and the data representing the contents of the print spool file included in the PostScript file is displayed on a line-by-line basis for each printed page. The second file conversion means for converting the data into a form data file including the print data described in the above, and the form management information and the form data file obtained by the second file conversion means. File management means for storing and managing the form data file in the data storage means in accordance with the contents of the information.

請求項2記載の発明は、請求項1記載の電子帳票システムにおいて、前記第一ファイル変換手段は、当該端末にプリンタドライバとして組み込まれていることを特徴とするものである。   According to a second aspect of the present invention, in the electronic form system according to the first aspect, the first file conversion means is incorporated in the terminal as a printer driver.

請求項3記載の発明は、請求項1又は2記載の電子帳票システムにおいて、前記ファイル管理手段は、前記第二ファイル変換手段で得られた前記帳票管理情報及び前記帳票データファイルについて、当該帳票管理情報に含まれる前記管理日付を利用して当該帳票データファイルのファイル名を設定し、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とするフォルダが前記データ格納手段に存在していなければそのフォルダ名を有する前記フォルダを前記データ格納手段に作成し、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納して管理することを特徴とするものである。   A third aspect of the invention is the electronic form system according to the first or second aspect, wherein the file management means relates to the form management information and the form data file obtained by the second file conversion means. The file name of the form data file is set using the management date included in the information, and a folder whose name is the management name included in the form management information does not exist in the data storage unit The folder having the folder name is created in the data storage means, and the form data file is stored and managed in the folder having the management name included in the form management information as the folder name. To do.

請求項4記載の発明は、請求項3記載の電子帳票システムにおいて、前記第二ファイル変換手段は、前記帳票管理情報を作成する場合、前記帳票固有情報に前記帳票名に関する情報が含まれていれば、当該帳票名を前記管理用名称として設定し、前記帳票固有情報に前記帳票名に関する情報が含まれていなければ、前記印刷管理情報に含まれる前記文書名を前記管理用名称として設定すると共に、前記帳票固有情報に前記日付に関する情報が含まれていれば、当該日付を前記管理日付として設定し、前記帳票固有情報に前記日付に関する情報が含まれていなければ、前記印刷管理情報に含まれる前記印刷処理日を前記管理日付として設定することを特徴とするものである。   According to a fourth aspect of the present invention, in the electronic form system according to the third aspect, when the second file conversion means creates the form management information, the form specific information includes information on the form name. For example, the form name is set as the management name, and if the form specific information does not include information on the form name, the document name included in the print management information is set as the management name. If the information related to the date is included in the form specific information, the date is set as the management date, and if the information specific to the date is not included in the form specific information, it is included in the print management information. The print processing date is set as the management date.

請求項5記載の発明は、請求項3又は4記載の電子帳票システムにおいて、前記入力画面では、仕分キーに関する情報を入力することが可能であり、前記ファイル管理手段は、前記第二ファイル変換手段で得られた前記帳票管理情報に前記仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納するのではなく、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダが前記データ格納手段に存在していなければそのフォルダ名を有する前記フォルダを前記データ格納手段に作成し、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納することを特徴とするものである。   According to a fifth aspect of the present invention, in the electronic form system according to the third or fourth aspect, information relating to a sorting key can be input on the input screen, and the file management means is the second file conversion means. If the form management information obtained in step (b) includes information on the sorting key, the form data file is stored in the folder with the management name included in the form management information as a folder name. Instead, the folder having the folder name if the folder having a name composed of the management name and the sorting key included in the form management information does not exist in the data storage means Is created in the data storage means, and the name composed of the management name and the sorting key included in the form management information is a folder name. It is characterized in storing the document data file to the folder to be.

上記の目的を達成するための請求項6記載の発明に係るコンピュータ読み取り可能な記録媒体は、請求項1、2、3、4又は5のいずれかに記載の電子帳票システムの機能をコンピュータに実現させるためのプログラムを記録したものである。   In order to achieve the above object, a computer-readable recording medium according to a sixth aspect of the present invention realizes the function of the electronic form system according to any one of the first, second, third, fourth, or fifth aspect in a computer. This is a program for recording.

上記の目的を達成するための請求項7記載の発明に係るプログラムは、請求項1、2、3、4又は5のいずれかに記載の電子帳票システムの機能をコンピュータに実現させるためのものである。   A program according to the invention described in claim 7 for achieving the above object is for causing a computer to realize the function of the electronic form system according to any one of claims 1, 2, 3, 4 or 5. is there.

請求項1記載の発明では、各端末の帳票作成手段で作成された帳票を管理用コンピュータに登録する場合、各端末においては、スプールファイル作成手段が帳票についての印刷管理情報とその帳票の印刷イメージを表す印刷用スプールファイルとを作成した後、第一ファイル変換手段がその帳票についての印刷管理情報及び印刷用スプールファイルと所定の入力画面で入力された当該帳票についての帳票固有情報とを一つのPostScriptファイルに変換し、各端末から管理用コンピュータへはPostScriptファイルという共通形式のファイルが送られる。これにより、各端末の帳票作成手段がどのようなファイル形式の帳票データを作成するとしても、第一ファイル変換手段の機能を当該端末に付加するために帳票作成手段を個別にカスタマイズする必要はなく、しかも、管理用コンピュータは、各端末で作成された帳票を取り込んで一括管理することができる。また、管理用コンピュータの第二ファイル変換手段はPostScriptファイルを帳票データファイルに変換するが、この帳票データファイルは、一般のメインフレームで作成された帳票を登録する際にメインフレームから出力されるスプールファイルのファイル形式に類似したファイル形式となっている。このため、管理用コンピュータは、各端末で作成された帳票に加えて、メインフレームで作成された帳票をも一括管理することが可能である。   According to the first aspect of the present invention, when a form created by the form creation means of each terminal is registered in the management computer, in each terminal, the spool file creation means prints management information about the form and a print image of the form. After the print spool file representing the form is created, the first file conversion means converts the print management information for the form and the print spool file and the form specific information for the form entered on the predetermined input screen into one The file is converted to a PostScript file, and a file in a common format called a PostScript file is sent from each terminal to the management computer. As a result, even if the form creation means of each terminal creates form data in any file format, it is not necessary to individually customize the form creation means in order to add the function of the first file conversion means to the terminal. In addition, the management computer can take in and manage the forms created at each terminal. The second file conversion means of the management computer converts the PostScript file into a form data file. This form data file is a spool output from the main frame when registering a form created on a general main frame. The file format is similar to the file format of the file. For this reason, the management computer can collectively manage the forms created on the mainframe in addition to the forms created on each terminal.

請求項2記載の発明では、第一ファイル変換手段を、当該端末にプリンタドライバとして組み込んでいる。これにより、各端末の帳票作成手段を個別にカスタマイズすることなく、第一ファイル変換手段の機能を各端末に容易に付加することができる。しかも、各端末の帳票作成手段で作成された帳票に対する印刷画面上で帳票の出力先として第一ファイル変換手段を選択するだけで、当該帳票を管理用コンピュータに登録する処理を開始させることができるので、帳票登録の際の操作を誰でも簡単に行うことができる。   In the invention described in claim 2, the first file conversion means is incorporated in the terminal as a printer driver. Thereby, the function of the first file conversion means can be easily added to each terminal without individually customizing the form creation means of each terminal. Moreover, the process of registering the form in the management computer can be started simply by selecting the first file conversion means as the output destination of the form on the print screen for the form created by the form creation means of each terminal. Therefore, anyone can easily perform operations when registering forms.

請求項3記載の発明では、各端末で作成された帳票を管理用コンピュータに登録する際には当該帳票についての帳票固有情報を入力することができ、管理用コンピュータは、その帳票固有情報に基づいて作成される帳票管理情報の内容にしたがって、当該帳票についての帳票データファイルのファイル名を設定すると共にその帳票データファイルを格納するフォルダを決定する。これにより、帳票を登録しようとするユーザは、所望の内容の帳票固有情報を入力して、当該帳票についての帳票データファイルのファイル名や、その帳票データファイルを格納するフォルダを任意に設定することができる。   According to the third aspect of the present invention, when registering a form created at each terminal in the management computer, the form-specific information about the form can be input, and the management computer is based on the form-specific information. In accordance with the contents of the form management information created in this way, the file name of the form data file for the form is set and the folder for storing the form data file is determined. As a result, the user who wants to register the form inputs the form-specific information of the desired content and arbitrarily sets the file name of the form data file for the form and the folder for storing the form data file. Can do.

請求項4記載の発明では、第二ファイル変換手段は、帳票管理情報を作成する場合、帳票固有情報に帳票名に関する情報が含まれていれば、当該帳票名を管理用名称として設定し、帳票固有情報に帳票名に関する情報が含まれていなければ、印刷管理情報に含まれる文書名を管理用名称として設定すると共に、帳票固有情報に日付に関する情報が含まれていれば、当該日付を管理日付として設定し、帳票固有情報に日付に関する情報が含まれていなければ、印刷管理情報に含まれる印刷処理日を管理日付として設定する。これにより、ユーザが帳票を登録する際に帳票固有情報を入力しなかったとしても、管理用コンピュータは当該帳票を適切に登録・管理することができる。   In the invention described in claim 4, when the form management information is created, the second file conversion means sets the form name as a management name if the form specific information includes information on the form name, and forms the form. If the specific information does not contain information related to the form name, the document name included in the print management information is set as the management name. If the form specific information contains information related to the date, the date is set as the management date. If the information specific to the date is not included in the form specific information, the print processing date included in the print management information is set as the management date. Thereby, even if the user does not input the form specific information when registering the form, the management computer can appropriately register and manage the form.

請求項5記載の発明では、入力画面上で仕分キーに関する情報を入力することが可能であり、ファイル管理手段は、第二ファイル変換手段で得られた帳票管理情報に仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる管理用名称と仕分キーとで構成される名称をフォルダ名とするフォルダがデータ格納手段に存在していなければそのフォルダ名を有するフォルダをデータ格納手段に作成し、当該帳票管理情報に含まれる管理用名称と仕分キーとで構成される名称をフォルダ名とするフォルダ内に当該帳票データファイルを格納する。これにより、ファイル管理手段は、仕分キーを利用して、各帳票をより細かく分類して管理することができる。   In the invention described in claim 5, it is possible to input information relating to the sorting key on the input screen, and the file management means includes information relating to the sorting key in the form management information obtained by the second file converting means. If a folder having a folder name with a name composed of the management name and the sorting key included in the form management information does not exist in the data storage unit, the folder having the folder name is stored in the data. The form data file is stored in a folder whose name is a name composed of a management name and a sorting key that is created in the means and included in the form management information. Thereby, the file management means can classify and manage each form more finely by using the sorting key.

以下に、図面を参照して、本願に係る発明を実施するための最良の形態について説明する。図1は本発明の一実施形態である電子帳票システムの概略構成図、図2(a)はその電子帳票システムの各端末の概略ブロック図、図2(b)はその電子帳票システムの管理用コンピュータの概略ブロック図である。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of an electronic form system according to an embodiment of the present invention, FIG. 2 (a) is a schematic block diagram of each terminal of the electronic form system, and FIG. 2 (b) is for management of the electronic form system. It is a schematic block diagram of a computer.

本実施形態の電子帳票システムは、図1に示すように、メインフレーム10と、複数の端末20,20,・・・と、管理用コンピュータ30とを備える。メインフレーム10、複数の端末20,20,・・・、管理用コンピュータ30は、ネットワークを介して接続されている。これにより、例えば、メインフレーム10及び複数の端末20,20,・・・と管理用コンピュータ30との間でデータ通信を行うことができる。ここで、ネットワークとしては、例えばLAN、インターネット、イントラネット、エクストラネット等が用いられる。   As shown in FIG. 1, the electronic form system according to the present embodiment includes a main frame 10, a plurality of terminals 20, 20,..., And a management computer 30. The main frame 10, the plurality of terminals 20, 20,... And the management computer 30 are connected via a network. Thereby, for example, data communication can be performed between the mainframe 10 and the plurality of terminals 20, 20,... And the management computer 30. Here, for example, a LAN, the Internet, an intranet, an extranet, or the like is used as the network.

メインフレーム10は、汎用の大型コンピュータであり、帳票を作成する機能を有する。また、各端末20は、例えばパーソナルコンピュータであり、帳票を作成する機能を有する。管理用コンピュータ30は、メインフレーム10や各端末20で作成された帳票を一元的に管理するものである。例えば、管理用コンピュータ30及びメインフレーム10は本システムが導入された企業の本社に設置されており、一方、各端末20は当該本社内の各部署、当該企業の支社や営業所等に設置されている。尚、複数の端末20,20,・・・はクライアント・サーバの形式になっていてもよい。例えば、企業全体の情報を一元管理して業務の効率化を図るというERP(Enterprise Resource Planning)を実現する基幹業務システムを構成するものであってもよい。   The main frame 10 is a general-purpose large computer and has a function of creating a form. Each terminal 20 is a personal computer, for example, and has a function of creating a form. The management computer 30 centrally manages the forms created by the mainframe 10 and each terminal 20. For example, the management computer 30 and the mainframe 10 are installed at the headquarters of the company where the system is installed, while the terminals 20 are installed at each department within the company, a branch office or a sales office of the company. ing. The plurality of terminals 20, 20,... May be in the form of a client / server. For example, a basic business system that realizes ERP (Enterprise Resource Planning) in which information of the entire company is centrally managed to improve business efficiency may be configured.

一般に、メインフレーム10で作成された帳票を管理用コンピュータ30で管理する場合、メインフレーム10は、その帳票の内容を印刷用スプールファイルと罫線データとに分けて、管理用コンピュータ30に出力する。ここで、その印刷用スプールファイルは、各印刷ページについての、印字内容が行毎に記述された印字データを含んで構成されている。管理用コンピュータ30は、このような印刷用スプールファイルと罫線データとを関連付けてデータベースに登録する。ところで、メインフレーム10から出力される印刷用スプールファイルのファイル形式は、各端末20から出力される印刷用スプールファイルのファイル形式とは異なっている。このため、管理用コンピュータ30で帳票を一元的に管理するには、各端末20から出力される印刷用スプールファイルのファイル形式をメインフレーム10から出力される印刷用スプールファイルのファイル形式に類似したファイル形式に変換する必要がある。本実施形態の電子帳票システムにはこのような変換を行う各手段が備えられており、これが本実施形態の電子帳票システムの特徴点となっている。以下では、主に、かかる特徴点についての説明を行う。   In general, when a form created on the main frame 10 is managed by the management computer 30, the main frame 10 divides the contents of the form into a print spool file and ruled line data and outputs them to the management computer 30. Here, the print spool file includes print data in which print contents for each print page are described for each line. The management computer 30 associates such a print spool file and ruled line data and registers them in the database. Incidentally, the file format of the print spool file output from the main frame 10 is different from the file format of the print spool file output from each terminal 20. Therefore, in order to manage the forms centrally by the management computer 30, the file format of the print spool file output from each terminal 20 is similar to the file format of the print spool file output from the mainframe 10. Need to convert to file format. The electronic form system of this embodiment is provided with each means for performing such conversion, and this is a characteristic point of the electronic form system of this embodiment. In the following, the feature points will be mainly described.

各端末20は、図2(a)に示すように、入力装置21と、表示装置22と、印刷装置23と、記憶部24と、中央処理装置25とを備える。ここでは、各端末20のOS(Operating System)として、マイクロソフト社製のWindows(登録商標)を用いている。   As shown in FIG. 2A, each terminal 20 includes an input device 21, a display device 22, a printing device 23, a storage unit 24, and a central processing unit 25. Here, Windows (registered trademark) manufactured by Microsoft Corporation is used as the OS (Operating System) of each terminal 20.

入力装置21は、各種のデータや命令を入力するものである。この入力装置21としては、キーボードやマウス等が用いられる。また、表示装置22は、例えば、帳票を作成するための画面を表示したり、後述する帳票固有情報を入力するための入力画面を表示したりするものである。この表示装置22としては、CRT表示装置や液晶表示装置等が用いられる。印刷装置23は、帳票等、各種のデータを紙等に印刷するものである。記憶部24には、各種のアプリケーションプログラムや各種のデータが記憶される。例えば、各端末20には、帳票を作成するためのアプリケーションプログラムとして、マイクロソフト社製の表計算ソフト「Excel」、或いはERPパッケージ製品等が組み込まれている。一般に、各端末20に組み込む帳票作成用のアプリケーションプログラムは、マイクロソフト社製のWindows上で動作するものであればどのようなものであってもよい。   The input device 21 inputs various data and commands. As the input device 21, a keyboard, a mouse, or the like is used. The display device 22 displays, for example, a screen for creating a form or an input screen for inputting form-specific information to be described later. As the display device 22, a CRT display device, a liquid crystal display device, or the like is used. The printing device 23 prints various data such as a form on paper. The storage unit 24 stores various application programs and various data. For example, each terminal 20 incorporates Microsoft spreadsheet software “Excel” or an ERP package product as an application program for creating a form. In general, the application program for creating a form to be incorporated in each terminal 20 may be any program program that runs on Windows manufactured by Microsoft Corporation.

中央処理装置25は、当該端末20の各部を統括して制御するものであり、図2(a)に示すように、帳票作成手段25aと、スプールファイル作成手段25bと、第一ファイル変換手段25cと、通信制御手段25dとを有する。   The central processing unit 25 controls each part of the terminal 20 in an integrated manner. As shown in FIG. 2A, a form creation unit 25a, a spool file creation unit 25b, and a first file conversion unit 25c. And communication control means 25d.

帳票作成手段25aは帳票を作成するものである。この帳票作成手段25aの機能は、中央処理装置25が記憶部24に記憶されている表計算ソフトを読み出して実行することにより実現される。   The form creation means 25a creates a form. The function of the form creation means 25a is realized by the central processing unit 25 reading and executing spreadsheet software stored in the storage unit 24.

この帳票作成手段25aで作成された帳票を管理用コンピュータ30に登録する場合には、スプールファイル作成手段25b、第一ファイル変換手段25c及び通信制御手段25dの各機能を利用する。これらスプールファイル作成手段25b、第一ファイル変換手段25c及び通信制御手段25dの各機能は、中央処理装置25が記憶部24に記憶されている所定のプログラムを読み出して実行することにより実現される。特に、本実施形態では、第一ファイル変換手段25cを端末20にプリンタドライバとして組み込んでいる。帳票作成手段25aで作成された帳票を印刷する際には、帳票作成手段25aの印刷機能が表示装置22の画面上に所定の印刷画面を表示するが、第一ファイル変換手段25cを端末20にプリンタドライバとして組み込んだことにより、この印刷画面において帳票の出力先として第一ファイル変換手段25cを指定することが可能となっている。すなわち、帳票作成手段25aで作成された帳票を管理用コンピュータ30に登録する処理は、この印刷画面において、帳票の出力先として第一ファイル変換手段25cを指定して、「印刷実行」のボタンを押すことにより開始されることになる。ここで、帳票の印刷画面には、出力先を指定する欄、「印刷実行」のボタンの他、印刷範囲を指定する欄、印刷対象を指定する欄、印刷部数を指定する欄、「プロパティ」のボタン等が設けられている。この印刷画面自体は通常のものと全く同じである。   When the form created by the form creation unit 25a is registered in the management computer 30, the functions of the spool file creation unit 25b, the first file conversion unit 25c, and the communication control unit 25d are used. The functions of the spool file creation unit 25b, the first file conversion unit 25c, and the communication control unit 25d are realized by the central processing unit 25 reading and executing a predetermined program stored in the storage unit 24. In particular, in the present embodiment, the first file conversion unit 25c is incorporated in the terminal 20 as a printer driver. When printing the form created by the form creation means 25a, the printing function of the form creation means 25a displays a predetermined print screen on the screen of the display device 22, but the first file conversion means 25c is displayed on the terminal 20. By incorporating it as a printer driver, it is possible to designate the first file conversion means 25c as the output destination of the form on this print screen. That is, in the process of registering the form created by the form creation unit 25a in the management computer 30, the first file conversion unit 25c is designated as the form output destination on this print screen, and the “print execution” button is clicked. It will be started by pressing. Here, in the form print screen, in addition to a column for specifying an output destination, a “print execution” button, a column for specifying a print range, a column for specifying a print target, a column for specifying the number of copies, “property” Buttons are provided. This print screen itself is exactly the same as a normal one.

帳票の印刷画面において、帳票の出力先として第一ファイル変換手段25cが指定され、その後に「プロパティ」のボタンが押されると、帳票作成手段25aの印刷機能は、「プロパティ」のボタンが押された旨の指令を第一ファイル変換手段25cに送る。第一ファイル変換手段25cは、かかる指令を受け取ると、所定の帳票固有情報入力画面を表示装置22の画面上に表示する。この帳票固有情報入力画面は、帳票名及び日付に関する情報を含む帳票固有情報を入力するためのものである。図3に帳票固有情報入力画面の一例を示す。この帳票固有情報入力画面には、図3に示すように、帳票名、日付、プリンタ識別子、印刷元アプリケーション、仕分キーの各入力欄が設けられている。   When the first file conversion means 25c is designated as the output destination of the form on the form print screen and the “property” button is pressed after that, the print function of the form creation means 25a is pushed by the “property” button. A command to that effect is sent to the first file conversion means 25c. When receiving the command, the first file conversion unit 25 c displays a predetermined form specific information input screen on the screen of the display device 22. This form-specific information input screen is used to input form-specific information including information regarding the form name and date. FIG. 3 shows an example of a form specific information input screen. As shown in FIG. 3, this form specific information input screen is provided with input fields for form name, date, printer identifier, printing source application, and sorting key.

帳票名の入力欄には、当該帳票の文書名ではなく、当該帳票の種類等が容易に理解できるような名称が入力される。例えば、「請求書」、「見積書」等が入力される。ここで入力された帳票名は、後述するように、管理用コンピュータ30が当該帳票を登録する際に、当該帳票についての各種ファイルを格納するフォルダのフォルダ名となる。日付の入力欄には、デフォルト情報として現在の日付が表示されている。ユーザは、デフォルト情報の日付に代えて、当該帳票を管理する上で都合のよい日付を入力することができる。また、この日付は、年・月・日だけでなく、時・分・秒まで入力する必要がある。ここで入力された日付は、後述するように、管理用コンピュータ30で管理される当該帳票についての各種ファイルのファイル名に利用される。   In the form name input field, not the document name of the form but a name that allows the type of the form to be easily understood. For example, “invoice”, “estimate” and the like are input. As will be described later, the form name input here becomes a folder name of a folder for storing various files for the form when the management computer 30 registers the form. In the date input field, the current date is displayed as default information. The user can input a date convenient for managing the form, instead of the date of the default information. This date must be entered not only for year, month, and day, but also for hour, minute, and second. The date input here is used as file names of various files for the form managed by the management computer 30, as will be described later.

プリンタ識別子の入力欄には、当該帳票を管理用コンピュータ30に登録すると共に当該帳票の印刷をも行いたい場合に、その印刷を行う印刷装置の識別子が入力される。具体的に、このプリンタ識別子としては、管理用コンピュータ30が管理している印刷装置の名称が入力される。このため、プリンタ識別子の入力欄に所望の印刷装置の名称を入力しておくと、当該帳票を登録した際に、当該帳票の内容をその印字装置で自動的に印刷することができる。すなわち、プリンタ識別子の入力欄は、当該帳票についての自動印刷指示を行う欄である。   In the printer identifier input field, when registering the form in the management computer 30 and printing the form, the identifier of the printing apparatus that performs the printing is input. Specifically, the name of the printing apparatus managed by the management computer 30 is input as the printer identifier. For this reason, if the name of a desired printing apparatus is entered in the printer identifier input field, the contents of the form can be automatically printed by the printing apparatus when the form is registered. That is, the printer identifier input field is a field for instructing automatic printing for the form.

印刷元アプリケーションの入力欄には、当該帳票を作成したアプリケーションプログラムの種別が入力される。この入力欄には、所定のデフォルト情報が表示されている。例えば、当該帳票が特定のアプリケーションプログラムを用いて作成されたものである場合には、デフォルト情報として当該特定のアプリケーションプログラムの名称が表示され、一方、当該帳票がそれ以外のアプリケーションプログラムで作成されたものである場合には、デフォルト情報として「その他」が表示される。上記特定のアプリケーションプログラムとしては、例えばWeb対応ERPパッケージ製品「GRANDIT」が該当する。かかる「GRANDIT」なるアプリケーションプログラムは、それを用いて作成された帳票を印刷する際に文書名を常に同じに設定するという機能を有している。この印刷元アプリケーションの入力欄を設けた意味については後に詳述する。   In the input field of the printing source application, the type of the application program that created the form is input. In this input field, predetermined default information is displayed. For example, if the form is created using a specific application program, the name of the specific application program is displayed as default information, while the form is created by another application program. If it is a thing, “other” is displayed as default information. As the specific application program, for example, the Web-compatible ERP package product “GRANDIT” is applicable. The application program “GRANDIT” has a function of always setting the document name to be the same when printing a form created using the application program. The meaning of providing an input field for the printing source application will be described in detail later.

仕分キーの入力欄には、管理用コンピュータ30が当該帳票をさらに細かく分類して管理するためのキーが入力される。例えば、当該帳票の作成者名、当該帳票を作成した部署名等が入力される。この入力欄に仕分キーが入力された場合には、後述するように、例えば、その仕分キーと上記の帳票名とで構成される名称が、管理用コンピュータ30が当該帳票を登録する際に、当該帳票についての各種ファイルを格納するフォルダのフォルダ名となる。   In the sorting key input field, a key for the management computer 30 to further classify and manage the form is input. For example, the name of the creator of the form, the department name that created the form, and the like are input. When a sorting key is entered in this input field, as will be described later, for example, when the management computer 30 registers the form, the name composed of the sorting key and the form name is as follows. This is the folder name of the folder that stores various files for the form.

こうして、図3に示す帳票固有情報入力画面の各入力欄に入力された、帳票名、日付、プリンタ識別子、印刷元アプリケーション、仕分キーの各データが帳票固有情報となる。尚、帳票を管理用コンピュータ30に登録する際に、帳票固有情報入力画面上で帳票固有情報を全く入力しなければ、日付、印刷元アプリケーションについての各デフォルト情報だけが帳票固有情報となる。帳票固有情報入力画面上で帳票固有情報を入力しなくても、帳票を管理用コンピュータ30に登録することは可能であるが、帳票を体系的に管理するためには、帳票固有情報入力画面上で帳票固有情報を必ず入力することが望ましい。   In this manner, the form name, date, printer identifier, printing source application, and sort key data entered in the input fields of the form specific information input screen shown in FIG. 3 become form specific information. Note that when registering a form in the management computer 30, if no form-specific information is entered on the form-specific information input screen, only the default information about the date and the printing source application becomes the form-specific information. Although it is possible to register the form in the management computer 30 without inputting the form specific information on the form specific information input screen, in order to systematically manage the form, the form specific information input screen It is desirable to always enter the form specific information.

また、帳票の印刷画面において、帳票の出力先として第一ファイル変換手段25cが指定され、その後に「印刷実行」のボタンが押されると、帳票作成手段25aの印刷機能は、当該帳票のデータをスプールファイル作成手段25bに送る。スプールファイル作成手段25bは、当該帳票のデータを受け取ると、当該帳票のデータに基づいて、当該帳票の印刷管理情報と、当該帳票の印刷イメージを表す印刷用スプールファイルとを作成する。本実施形態では、かかるスプールファイル作成手段25bとして、Windowsに標準で備えられているものを用いている。すなわち、このスプールファイル作成手段25bで作成される印刷用スプールファイルはWindowsスプールファイルである。例えば、印刷用スプールファイルとしては、EMF形式或いはEMI形式のイメージデータが作られる。ここで、印刷用スプールファイルの印刷イメージの一例を図4に示す。この図4の例は請求書を表しており、具体的に、その上部には「請求書」というタイトル、「請求書番号」や「請求書日付」等の各管理内容が記載され、その中央部には請求の明細が記載されている。   In addition, when the first file conversion unit 25c is designated as the output destination of the form on the form print screen, and then the “print execution” button is pressed, the print function of the form creation unit 25a stores the data of the form. It is sent to the spool file creation means 25b. Upon receipt of the form data, the spool file creation unit 25b creates print management information for the form and a print spool file representing the print image of the form based on the form data. In the present embodiment, as the spool file creation means 25b, the one provided in Windows as a standard is used. That is, the print spool file created by the spool file creation means 25b is a Windows spool file. For example, image data in EMF format or EMI format is created as a print spool file. An example of a print image of the print spool file is shown in FIG. The example of FIG. 4 represents an invoice. Specifically, the management information such as the title “invoice”, “invoice number” and “invoice date” is described in the upper part of the invoice. The description of the claim is described in the section.

また、スプールファイル作成手段25bで作成される印刷管理情報には、当該帳票の文書名、印刷処理日及び印刷用紙に関する情報が含まれる。これらの情報は当該帳票のデータから取得される。文書名とは、帳票作成手段25aでの作成の際に当該帳票に付けられた文書名である。したがって、この文書名と帳票固有情報に含まれる帳票名とは一般に異なる。印刷処理日としては、例えば、印刷画面で「印刷実行」のボタンが押されたときの日付が用いられる。この印刷処理日に関する情報には、年・月・日の情報だけでなく、時・分・秒の情報も含まれる。また、印刷用紙に関する情報としては、具体的に印刷用紙のサイズや向きに関する情報が該当する。かかる印刷用紙に関する情報は、帳票の種類に応じて共通する内容の情報である。印刷用紙のサイズや向きは請求書や見積書等、帳票の種類によって決まっているのが通例だからである。   The print management information created by the spool file creation unit 25b includes information related to the document name, print processing date, and printing paper of the form. Such information is acquired from the data of the form. The document name is a document name given to the form at the time of creation by the form creation unit 25a. Therefore, the document name and the form name included in the form specific information are generally different. As the print processing date, for example, the date when the “print execution” button is pressed on the print screen is used. The information regarding the print processing date includes not only year / month / day information but also hour / minute / second information. Further, the information regarding the printing paper specifically corresponds to information regarding the size and orientation of the printing paper. The information relating to the printing paper is information having common contents according to the type of form. This is because the size and orientation of the printing paper is usually determined by the type of form such as an invoice or an estimate.

第一ファイル変換手段25cは、管理用コンピュータ30に登録すべき帳票についての印刷管理情報及び印刷用スプールファイルがスプールファイル作成手段25bから送られたときに、その送られた当該帳票についての印刷管理情報及び印刷用スプールファイルと帳票固有情報入力画面で入力された当該帳票についての帳票固有情報とを、一つのPostScriptファイルに変換するものである。ここで、PostScriptファイルは、PostScriptで記述されたテキスト形式のファイルである。   The first file conversion unit 25c, when print management information about a form to be registered in the management computer 30 and a print spool file are sent from the spool file creation unit 25b, print management for the sent form. The information and print spool file and the form specific information about the form entered on the form specific information input screen are converted into one PostScript file. Here, the PostScript file is a text format file described in PostScript.

この第一ファイル変換手段25cによる変換処理は、マイクロソフト社製のPostScriptドライバを利用して行われる。このPostScriptドライバは、Windowsに標準で備えられているものであり、イメージデータをPostScriptで記述されたテキストデータに変換する機能を有する。具体的に、第一ファイル変換手段25cは次のようにしてPostScriptファイルへの変換処理を行う。すなわち、第一ファイル変換手段25cは、スプールファイル作成手段25bから当該帳票についての印刷管理情報及び印刷用スプールファイルが送られると、それらを取得すると共に、帳票固有情報入力画面で入力された当該帳票についての帳票固有情報を取得する。次に、第一ファイル変換手段25cは、その取得した印刷管理情報及び帳票固有情報に含まれる各内容を、PostScriptデータに変換する。この変換された各PostScriptデータは所定のファイルにコメント情報として書き込まれる。このとき、コメント情報には、当該内容のタイトルを表すキーワードも一緒に含めている。その後、第一ファイル変換手段25cは、印刷用スプールファイルの内容をPostScriptデータに変換してその変換結果を上記のファイルに書き込む旨の命令と共にその印刷用スプールファイルをPostScriptドライバに送る。こうして、PostScriptドライバがその印刷用スプールファイルの変換・書込処理を行うことにより、一つのPostScriptファイルが得られる。   The conversion process by the first file conversion unit 25c is performed using a PostScript driver manufactured by Microsoft Corporation. This PostScript driver is provided in Windows as a standard, and has a function of converting image data into text data described in PostScript. Specifically, the first file conversion means 25c performs conversion processing to a PostScript file as follows. That is, when the print management information and the print spool file for the form are sent from the spool file creation means 25b, the first file conversion means 25c acquires them and inputs the form entered on the form specific information input screen. Get form specific information about. Next, the first file conversion unit 25c converts each content included in the acquired print management information and form specific information into PostScript data. Each converted PostScript data is written as comment information in a predetermined file. At this time, the comment information includes a keyword representing the title of the content. Thereafter, the first file conversion unit 25c sends the print spool file to the PostScript driver together with an instruction to convert the contents of the print spool file into PostScript data and write the conversion result into the file. Thus, one PostScript file is obtained by the PostScript driver converting / writing the print spool file.

いま、第一ファイル変換手段25cで得られるPostScriptファイルについて詳しく説明する。図5はPostScriptファイルの内容の一例を示す図である。ここで、図5では、図4に示す印刷用スプールファイルを変換して得られるPostScriptファイルの例を示している。   Now, the PostScript file obtained by the first file conversion means 25c will be described in detail. FIG. 5 shows an example of the contents of a PostScript file. Here, FIG. 5 shows an example of a PostScript file obtained by converting the print spool file shown in FIG.

PostScriptファイルは、図5に示すように、第一データ部分Aと、第二データ部分Bと、第三データ部分Cとからなる。第一データ部分Aは、帳票固有情報についての複数のコメント情報が記述されている部分である。図5の例では、第一データ部分Aは第1行目から第5行目までの5個のレコードからなる。第1行目のレコードには、タイトル「帳票名」を表すキーワード(TyohyoName)とそのタイトルに対する情報の内容とが含まれている。第2行目のレコードには、タイトル「日付」を表すキーワード(Date)とそのタイトルに対する情報の内容とが含まれ、第3行目のレコードには、タイトル「プリンタ識別子」を表すキーワード(PrinterIdentifier)とそのタイトルに対する情報の内容とが含まれる。そして、第4行目のレコードには、タイトル「印刷元アプリケーション」を表すキーワード(SourceApp)とそのタイトルに対する情報の内容とが含まれ、第5行目のレコードには、タイトル「仕分キー」を表すキーワード(AssortmentKey)とそのタイトルに対する情報の内容とが含まれる。尚、図5では、各レコードに含まれるタイトルに対する情報の内容を省略して示している。また、各レコードにおいて、「%%」は当該レコードがコメント情報であることを示す。   The PostScript file includes a first data portion A, a second data portion B, and a third data portion C as shown in FIG. The first data portion A is a portion in which a plurality of comment information about the form specific information is described. In the example of FIG. 5, the first data portion A consists of five records from the first line to the fifth line. The record in the first line includes a keyword (TyohyoName) representing the title “form name” and the content of information for the title. The record on the second line includes a keyword (Date) representing the title “date” and the content of information for the title, and the record on the third line includes a keyword (PrinterIdentifier) representing the title “printer identifier”. ) And the content of the information for the title. The record on the fourth line includes a keyword (SourceApp) representing the title “print source application” and the information content for the title, and the record on the fifth line includes the title “sort key”. A keyword (AssortmentKey) to be expressed and information contents for the title are included. In FIG. 5, the content of the information for the title included in each record is omitted. In each record, “%%” indicates that the record is comment information.

第一データ部分Aの下には第二データ部分Bがある。第二データ部分Bは、印刷管理情報についての複数のコメント情報が記述されている部分である。図5の例では、第二データ部分Bは第6行目から第23行目までの18個のレコードからなる。例えば、第6行目のレコードには、タイトル「文書名」を表すキーワード(Title)とそのタイトルに対する情報の内容とが含まれ、第7行目のレコードには、タイトル「印刷処理日」を表すキーワード(CreationDate)とそのタイトルに対する情報の内容とが含まれている。   Below the first data portion A is a second data portion B. The second data portion B is a portion in which a plurality of comment information about the print management information is described. In the example of FIG. 5, the second data portion B is composed of 18 records from the sixth line to the 23rd line. For example, the record on the sixth line includes a keyword (Title) representing the title “document name” and the content of information for the title, and the record on the seventh line includes the title “print processing date”. A keyword (CreationDate) to be represented and information contents for the title are included.

また、第二データ部分Bの下には第三データ部分Cがある。第三データ部分Cは、印刷用スプールファイルを変換して得られた多数のPostScriptデータが記述されている部分である。図5の例では、第三データ部分Cは第24行目から最終行までの複数個のレコードからなる。印刷用スプールファイルは、複数の文字データ、複数の罫線データ、複数のフォントデータ、複数の色データ等を含んで構成されているが、PostScriptドライバは、これらのデータを個々にPostScriptデータに変換し、その変換した個々のPostScriptデータをそれぞれ一つのレコードとして記述している。具体的に、文字データは、当該文字の文字コードと、当該文字の位置を表す位置データ(XY座標データ)とから構成されるPostScriptデータに変換される。例えば、図5における第32行目のレコードには、X=2696,Y=1111という座標位置に所定の文字を描くという文字データの内容が記述されている。罫線データは、当該罫線の種類を表すコードと、その始点の位置及び終点の位置を表す二つの位置データとから構成されるPostScriptデータに変換される。例えば、図5における第31行目のレコードには、X=2383,Y=1049という座標位置(始点)から、X=2383,Y=1123という座標位置(終点)まで所定の罫線を描くという罫線データの内容が記述されている。また、フォントデータは、当該フォントの大きさを表すコードと、当該フォントの名称を表すコードとから構成されるPostScriptデータに変換される。例えば、図5における第30行目のレコードには、9ポイントの大きさの明朝体で描くというフォントデータの内容が記述されている。色データは、当該色の種類を表すコードで構成されるPostScriptデータに変換される。ある行のレコードに記述されているフォントデータ又は色データの内容は、当該行から別のフォントデータ又は色データの内容が記述されたレコードの行までの間に存在する各行のレコードに記述された文字データ又は罫線データに対して有効となる。また、第三データ部分Cには、各印刷ページについてのページ開始を表すレコードとそのページ終了を表すレコードとが含まれている。すなわち、これらページ開始を表すレコードとページ終了を表すレコードとによって挟まれている範囲に存在する複数のレコードに記述された内容が当該印刷ページにおける印刷内容を表す。   Below the second data portion B is a third data portion C. The third data portion C is a portion where a large number of PostScript data obtained by converting the print spool file is described. In the example of FIG. 5, the third data portion C is composed of a plurality of records from the 24th line to the last line. The spool file for printing is composed of a plurality of character data, a plurality of ruled line data, a plurality of font data, a plurality of color data, etc. The PostScript driver individually converts these data into PostScript data. Each converted PostScript data is described as one record. Specifically, the character data is converted into PostScript data composed of a character code of the character and position data (XY coordinate data) representing the position of the character. For example, the record on the 32nd line in FIG. 5 describes the contents of character data for drawing a predetermined character at the coordinate position of X = 2696 and Y = 1111. The ruled line data is converted into PostScript data composed of a code representing the type of the ruled line and two position data representing the position of the start point and the position of the end point. For example, the record on the 31st line in FIG. 5 is a ruled line in which a predetermined ruled line is drawn from the coordinate position (start point) of X = 2383, Y = 1049 to the coordinate position (end point) of X = 2383, Y = 1123. The contents of the data are described. The font data is converted into PostScript data composed of a code representing the size of the font and a code representing the name of the font. For example, the record on the 30th line in FIG. 5 describes the contents of the font data that is drawn in the Mincho style with a size of 9 points. The color data is converted into PostScript data composed of a code representing the color type. The contents of the font data or color data described in the record of one line are described in the record of each line existing from the line to the line of the record in which the contents of another font data or color data are described. Valid for character data or ruled line data. The third data portion C includes a record indicating the page start and a record indicating the page end for each print page. That is, the contents described in a plurality of records existing in a range sandwiched between the record indicating the page start and the record indicating the page end represent the print contents on the print page.

ところで、従来も、あるデータをPostScriptファイルに変換するということが行われているが、かかる従来のPostScriptファイルと、第一ファイル変換手段25cによって得られるPostScriptファイルとは異なっている。すなわち、従来のPostScriptファイルは、印刷管理情報及び印刷用スプールファイルの内容だけを含んでいる。これに対して、第一ファイル変換手段25cによって得られるPostScriptファイルは、上述したように、印刷管理情報及び印刷用スプールファイルの内容に加えて、帳票固有情報の内容をも含んでいるのである。この点は、本実施形態の電子帳票システムにおける大きな特徴点である。   By the way, conventionally, conversion of certain data into a PostScript file has been performed, but the conventional PostScript file is different from the PostScript file obtained by the first file conversion means 25c. That is, the conventional PostScript file includes only the print management information and the contents of the print spool file. On the other hand, the PostScript file obtained by the first file conversion unit 25c includes the contents of the form specific information in addition to the contents of the print management information and the print spool file as described above. This is a major feature of the electronic form system of this embodiment.

通信制御手段25dは、当該端末20と他の端末20,20,・・・との間、当該端末20と管理用コンピュータ30との間でデータの通信を行うものである。例えば、通信制御手段25dは、第一ファイル変換手段35cで得られたPostScriptファイルを管理用コンピュータ10に送信する。   The communication control means 25d performs data communication between the terminal 20 and the other terminals 20, 20,... And between the terminal 20 and the management computer 30. For example, the communication control unit 25d transmits the PostScript file obtained by the first file conversion unit 35c to the management computer 10.

次に、管理用コンピュータ30の構成について説明する。管理用コンピュータ30は、図2(b)に示すように、データベース(データ格納手段)31と、帳票テーブル記憶手段32と、通信制御手段33と、第二ファイル変換手段34と、ファイル管理手段35とを備える。データベース31には、メインフレーム10や各端末20,20,・・・で作成された複数の帳票についての各種ファイルが格納されている。また、帳票テーブル記憶手段32には、所定の帳票テーブルが記憶されている。この帳票テーブルについては後に詳述する。通信制御手段33は、当該管理用コンピュータ30と各端末20,20,・・・との間、当該管理用コンピュータ30とメインフレーム10との間でデータの通信を行うものである。   Next, the configuration of the management computer 30 will be described. As shown in FIG. 2B, the management computer 30 includes a database (data storage means) 31, a form table storage means 32, a communication control means 33, a second file conversion means 34, and a file management means 35. With. The database 31 stores various files for a plurality of forms created by the mainframe 10 and the terminals 20, 20,. The form table storage unit 32 stores a predetermined form table. This form table will be described in detail later. The communication control means 33 performs data communication between the management computer 30 and each of the terminals 20, 20,... And between the management computer 30 and the mainframe 10.

第二ファイル変換手段34は、各端末20からPostScriptファイルが送られた場合、当該PostScriptファイルに含まれる帳票固有情報及び印刷管理情報の内容に基づいて帳票管理情報と帳票属性情報とを作成すると共に、当該PostScriptファイルに含まれる印刷用スプールファイルの内容を表す部分のデータを、帳票データファイルに変換するものである。   When a PostScript file is sent from each terminal 20, the second file conversion means 34 creates form management information and form attribute information based on the contents of the form unique information and print management information included in the PostScript file. The portion of data representing the contents of the print spool file contained in the PostScript file is converted into a form data file.

この第二ファイル変換手段34が作成する帳票管理情報は、当該帳票を管理する上で必要となる管理用名称及び管理日付に関する情報を含むものである。具体的に、第二ファイル変換手段34は、各端末20からPostScriptファイルが送られた場合、そのPostScriptファイルにおける各レコード中のキーワードを手がかりとして、そのPostScriptファイルに含まれる帳票固有情報及び印刷管理情報の内容を取得する。その後、第二ファイル変換手段34は、その帳票固有情報に帳票名に関する情報が含まれていれば、当該帳票名を管理用名称として設定し、一方、その帳票固有情報に帳票名に関する情報が含まれていなければ、印刷管理情報に含まれる文書名を管理用名称として設定する。そして、その帳票固有情報に日付に関する情報が含まれていれば、当該日付を管理日付として設定し、一方、その帳票固有情報に日付に関する情報が含まれていなければ、印刷管理情報に含まれる印刷処理日を管理日付として設定する。また、帳票管理情報には、管理用名称及び管理日付に関する情報の他に、帳票固有情報に含まれるプリンタ識別子、印刷元アプリケーション、仕分キーに関する情報も含まれる。   The form management information created by the second file conversion means 34 includes information on a management name and a management date necessary for managing the form. Specifically, when a PostScript file is sent from each terminal 20, the second file conversion unit 34 uses the keyword in each record in the PostScript file as a clue, and forms specific information and print management information included in the PostScript file. Get the contents of. Thereafter, the second file conversion means 34 sets the form name as a management name if the form specific information includes information on the form name, while the form specific information includes information on the form name. If not, the document name included in the print management information is set as the management name. If the form-specific information includes information related to the date, the date is set as the management date. On the other hand, if the form-specific information does not include information related to the date, the print management information includes the print date. Set the processing date as the management date. The form management information includes information on the printer identifier, the printing source application, and the sorting key included in the form specific information, in addition to the information on the management name and the management date.

また、第二ファイル変換手段34が作成する帳票属性情報は、帳票の種類に応じて共通する内容の情報である。かかる帳票の種類に応じて共通する内容の情報としては、印刷用紙のサイズ及び向きに関する情報が該当する。具体的に、第二ファイル変換手段34は、PostScriptファイルに含まれる印刷管理情報の内容を解析し、印刷用紙に関する情報を取得することにより、帳票属性情報を作成する。   Further, the form attribute information created by the second file conversion means 34 is information having common contents according to the type of form. The information regarding the contents common to the types of forms corresponds to information on the size and orientation of the printing paper. Specifically, the second file conversion unit 34 creates form attribute information by analyzing the contents of the print management information included in the PostScript file and acquiring information related to the printing paper.

第二ファイル変換手段34で得られる帳票データファイルは、各印刷ページについての、罫線データと印字内容が行毎に記述された印字データとを含んで構成される。すなわち、この帳票データファイルは、メインフレーム10から出力される印刷用スプールファイルのファイル形式に類似したファイル形式で作成されている。図6に帳票データファイルの内容の一例を示す。ここで、図6では、図5に示すPostScriptファイルを変換して得られる帳票データファイルの例を示している。   The form data file obtained by the second file conversion means 34 includes ruled line data and print data in which print contents are described for each line for each print page. That is, this form data file is created in a file format similar to the file format of the print spool file output from the main frame 10. FIG. 6 shows an example of the contents of the form data file. Here, FIG. 6 shows an example of a form data file obtained by converting the PostScript file shown in FIG.

実際、第二ファイル変換手段34は、次のようにして帳票データファイルを作成する。すなわち、まず、第二ファイル変換手段34は、図5に示すようなPostScriptファイルに含まれる印刷用イメージデータの内容を表す部分(第三データ部分C)において上から順番に各レコードを読み込み、1ページ分のデータを取得する。次に、第二ファイル変換手段34は、その1ページ分のデータについて上から順番に各レコードの内容を解析する。具体的に、第二ファイル変換手段34は、当該レコードが文字データの内容を表していれば、その文字データの内容である文字コード及び位置データ(XY座標データ)に基づいて、どのような文字をどの位置に印字するのかを認識する。このとき、その文字の印字位置は、XY座標による表現から、行位置及び列位置による表現に変換される。第二ファイル変換手段34は、当該レコードが罫線データの内容を表していれば、その罫線データの内容に基づいて、罫線の種類とその始点及び終点を認識する。但し、罫線についての始点と終点の位置はそれぞれ、行位置及び列位置による表現に変換されず、XY座標による表現のままで特定される。そして、第二ファイル変換手段34は、当該レコードがフォントデータの内容を表していれば、そのフォントデータの内容を認識すると共に、当該レコードの行から別のフォントデータの内容が記述されたレコードの行までの間に存在する各レコードに記述された文字等を、その認識した内容のフォントで印字すべきことを決定する。また、第二ファイル変換手段34は、当該レコードが色データの内容を表していれば、その色データの内容を認識すると共に、当該レコードの行から別の色データの内容が記述されたレコードの行までの間に存在する各レコードに記述された文字等を、その認識した内容の色で印字すべきことを決定する。更に、第二ファイル変換手段34は、当該1ページ分のデータに基づいて、当該ページにおける行ピッチデータを作成する。   Actually, the second file conversion means 34 creates a form data file as follows. That is, first, the second file conversion means 34 reads each record in order from the top in the portion (third data portion C) representing the contents of the print image data included in the PostScript file as shown in FIG. Get the data for the page. Next, the second file conversion unit 34 analyzes the content of each record in order from the top of the data for one page. Specifically, if the record represents the contents of the character data, the second file conversion means 34 determines what character based on the character code and the position data (XY coordinate data) that are the contents of the character data. To recognize where to print. At this time, the printing position of the character is converted from the expression by the XY coordinates to the expression by the row position and the column position. If the record represents the content of the ruled line data, the second file conversion unit 34 recognizes the type of the ruled line and its start point and end point based on the content of the ruled line data. However, the positions of the start point and the end point of the ruled line are not converted into the expression by the row position and the column position, but are specified by the expression by the XY coordinates. Then, if the record represents the content of the font data, the second file conversion means 34 recognizes the content of the font data, and records the content of another font data from the row of the record. It is determined that characters and the like described in each record existing up to the line should be printed with the font of the recognized content. In addition, if the record represents the content of the color data, the second file conversion unit 34 recognizes the content of the color data and records the content of another color data from the row of the record. It is determined that characters and the like described in each record existing up to the line should be printed with the color of the recognized content. Further, the second file conversion means 34 creates line pitch data for the page based on the data for the one page.

こうして1ページ分のデータの内容を解析した後、第二ファイル変換手段34は、その解析した結果に基づいて、帳票データファイルの1ページ分のデータを作成する。かかる帳票データファイルの1ページ分のデータは、図6に示すように、行ピッチデータと、罫線データと、行毎の印字データとを含んでいる。罫線データは、当該ページに印字する各罫線についてその種類を表すコードとその始点及び終点を表すXY座標データとを含んで構成されている。また、行毎の印字データは、当該行に印字すべき各文字についてその文字コードとその列位置のデータとを含んで構成されている。ここで、当該行に空白がある場合には、その空白というデータも印字データに含まれる。図6の例では、最初のページにおける1行目の印字データは、文字を印字せずに改行すべきという内容を表しており、その2行目の印字データは、「請求書」という文字を所定の列位置に印字すべきという内容を表している。また、行毎の印字データには、フォントの命令コード、色の命令コードが所定箇所に埋め込まれている。フォントの命令コード・色の命令コードの内容は、その後に他のフォントの命令コード・色の命令コードが現れるまで、有効となる。   After analyzing the content of the data for one page in this way, the second file conversion unit 34 creates data for one page of the form data file based on the analysis result. As shown in FIG. 6, the data for one page in the form data file includes line pitch data, ruled line data, and print data for each line. The ruled line data includes a code representing the type of each ruled line printed on the page and XY coordinate data representing the start point and the end point. The print data for each line includes the character code and the data of the column position for each character to be printed on the line. Here, if there is a blank in the line, the data of the blank is also included in the print data. In the example of FIG. 6, the print data on the first line on the first page indicates that the line should be broken without printing characters, and the print data on the second line contains the characters “invoice”. The content that should be printed at a predetermined row position is shown. In addition, in the print data for each line, a font instruction code and a color instruction code are embedded at predetermined positions. The contents of the font instruction code / color instruction code are valid until an instruction code / color instruction code of another font appears thereafter.

その後、第二ファイル変換手段34は、上記の処理を他のページのデータに対して繰り返すことにより、各印刷ページについて、帳票データファイルの1ページ分のデータを作成する。そして、第二ファイル変換手段34がそれらのデータを一つのファイルにまとめることにより、帳票データファイルが得られる。第二ファイル変換手段34で得られた帳票管理情報、帳票属性情報、帳票データファイルはファイル管理手段35に送られる。   Thereafter, the second file conversion unit 34 creates the data for one page of the form data file for each print page by repeating the above processing for the data of other pages. Then, the second file conversion means 34 collects these data into one file, thereby obtaining a form data file. The form management information, form attribute information, and form data file obtained by the second file conversion means 34 are sent to the file management means 35.

ファイル管理手段35は、第二ファイル変換手段34で得られた各帳票についての帳票管理情報、帳票属性情報及び帳票データファイルに基づいて各種のファイルを作成すると共に、当該帳票管理情報の内容にしたがって、その作成した各種ファイル及び当該帳票データファイルをデータベース31に格納することにより当該帳票を管理するものである。具体的に、ファイル管理手段35が作成する各種ファイルとしては、帳票設定ファイル、ページインデックスファイル、管理ファイル、行ピッチファイル等がある。ファイル管理手段35は、帳票属性情報に基づいて帳票設定ファイルを作成する。この帳票設定ファイルは、当該帳票属性情報の内容と同じ内容、すなわち、印刷用紙の大きさ及びサイズに関する情報を含むものである。このため、帳票設定ファイルの内容は、当該帳票の種類と同じ種類の帳票に対しては共通の内容となっている。   The file management means 35 creates various files based on the form management information, form attribute information, and form data file for each form obtained by the second file conversion means 34, and according to the contents of the form management information. The form is managed by storing the created various files and the form data file in the database 31. Specifically, various files created by the file management unit 35 include a form setting file, a page index file, a management file, a line pitch file, and the like. The file management unit 35 creates a form setting file based on the form attribute information. This form setting file includes the same contents as the form attribute information, that is, information relating to the size and size of the printing paper. For this reason, the contents of the form setting file are common to forms of the same type as the form type.

本実施形態では、帳票データファイルが印刷ページ毎のデータから構成されていることから分かるように、ファイル管理手段35はページの概念を用いて各帳票を管理する。このような管理を効率よく行うために、ファイル管理手段35は、ページインデックスファイル、管理ファイル、行ピッチファイルを作成することにしている。ページインデックスファイルは、当該帳票の各印刷ページの開始位置に関する情報を含むものである。管理ファイルは、当該帳票の総ページ数に関する情報を含むものである。行ピッチファイルは、当該帳票の各印刷ページについての行ピッチデータを含むものである。ファイル管理手段35は、帳票データファイルの内容に基づいて、これらのファイルを作成する。   In this embodiment, as can be seen from the fact that the form data file is composed of data for each print page, the file management unit 35 manages each form using the concept of pages. In order to perform such management efficiently, the file management means 35 creates a page index file, a management file, and a line pitch file. The page index file includes information regarding the start position of each print page of the form. The management file includes information on the total number of pages of the form. The line pitch file includes line pitch data for each print page of the form. The file management means 35 creates these files based on the contents of the form data file.

また、ファイル管理手段35は、第二ファイル変換手段34で得られた帳票管理情報に含まれる管理日付を利用して、当該帳票についての帳票データファイル、ページインデックスファイル、管理ファイル、行ピッチファイルのファイル名を設定する。実際、これらのファイルにはすべて同じファイル名が付され、ファイルの種類を表す拡張子だけが異なる。尚、以下では、帳票データファイル、ページインデックスファイル、管理ファイル、行ピッチファイルについては、それらをまとめて「帳票ファイル群」と称することにする。   Further, the file management means 35 uses the management date included in the form management information obtained by the second file conversion means 34 to generate a form data file, page index file, management file, and line pitch file for the form. Set the file name. In fact, these files all have the same file name, and only the extensions that indicate the file type are different. Hereinafter, the form data file, the page index file, the management file, and the line pitch file are collectively referred to as a “form file group”.

更に、ファイル管理手段35は、帳票ファイル群及び帳票設定ファイルをデータベース31に格納して登録する処理を行う。具体的に、ファイル管理手段35は、まず、第二ファイル変換手段34で得られた帳票管理情報に仕分キーに関する情報が含まれているかどうかを判断する。ファイル管理手段35は、当該帳票管理情報に仕分キーに関する情報が含まれていない場合には、当該帳票管理情報に含まれる管理用名称をフォルダ名とするフォルダがデータベース31に既に存在しているかどうかを判断する。そして、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に存在していないと判断すると、そのフォルダ名を有するフォルダをデータベース31に作成し、その作成したフォルダ内に当該帳票についての帳票ファイル群及び帳票設定ファイルを格納する。一方、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に既に存在していると判断すると、そのフォルダ名を有するフォルダ内に当該帳票についての帳票ファイル群を格納する。すなわち、かかるフォルダには複数の帳票についての帳票ファイル群が含まれることになる。また、この場合、当該帳票についての帳票設定ファイルはそのフォルダ内に格納しない。帳票設定ファイルは帳票の種類に応じて共通の内容を有するものであるので、そのフォルダ内には以前に格納された同じ内容の帳票設定ファイルが既に存在するからである。   Further, the file management unit 35 performs processing for storing and registering the form file group and the form setting file in the database 31. Specifically, the file management unit 35 first determines whether or not the form management information obtained by the second file conversion unit 34 includes information on the sorting key. If the form management information does not include information relating to the sorting key, the file management unit 35 determines whether a folder having the management name included in the form management information as a folder name already exists in the database 31. Judging. If the file management unit 35 determines that the folder having the folder name does not exist in the database 31, the file management unit 35 creates a folder having the folder name in the database 31, and creates a form for the form in the created folder. Stores file group and form setting file. On the other hand, when the file management unit 35 determines that the folder having the folder name already exists in the database 31, the file management unit 35 stores the form file group for the form in the folder having the folder name. That is, the folder includes a form file group for a plurality of forms. In this case, the form setting file for the form is not stored in the folder. This is because the form setting file has a common content according to the type of form, and therefore the form setting file having the same contents stored previously already exists in the folder.

また、ファイル管理手段35は、当該帳票管理情報に仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる管理用名称と仕分キーとで構成される名称をフォルダ名とするフォルダがデータベース31に既に存在しているかどうかを判断する。ここで、管理用名称と仕分キーとで構成される名称としては、例えば「(仕分キー)_(管理用名称)」という名称が用いられる。そして、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に存在していないと判断すると、そのフォルダ名を有するフォルダをデータベース31に作成し、その作成したフォルダ内に当該帳票についての帳票ファイル群及び帳票設定ファイルを格納する。一方、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に既に存在していると判断すると、そのフォルダ名を有するフォルダ内に当該帳票についての帳票ファイル群を格納する。この場合、かかるフォルダには複数の帳票についての帳票ファイル群が含まれることになる。このように、本実施形態では、ファイル管理手段35は、仕分キーを利用して、各帳票をより細かく分類して管理することができる。   Further, when the form management information includes information related to the sorting key, the file management unit 35 sets the name composed of the management name and the sorting key included in the form management information as the folder name. It is determined whether the folder already exists in the database 31. Here, for example, the name “(sorting key) _ (management name)” is used as the name composed of the management name and the sorting key. If the file management unit 35 determines that the folder having the folder name does not exist in the database 31, the file management unit 35 creates a folder having the folder name in the database 31, and creates a form for the form in the created folder. Stores file group and form setting file. On the other hand, when the file management unit 35 determines that the folder having the folder name already exists in the database 31, the file management unit 35 stores the form file group for the form in the folder having the folder name. In this case, the folder includes a form file group for a plurality of forms. As described above, in this embodiment, the file management unit 35 can classify and manage each form more finely by using the sorting key.

具体的に、ファイル管理手段35は、データベース31内でフォルダ構成を階層構造にして、各帳票を管理している。図7はデータベース31内におけるフォルダ階層構造の一例を示す図である。かかるフォルダ階層構造における最上位の階層には、図7に示すように、「帳票root」というフォルダ名の最上位フォルダが一つだけ設けられている。その最上位フォルダの一つ下の第二階層には、複数のフォルダが設けられている。これら第二階層のフォルダは、各帳票についての帳票ファイル群及び帳票設定ファイルを格納するフォルダである。図7の例では、第二階層に三つのフォルダが設けられており、これら三つのフォルダのフォルダ名はそれぞれ、「請求書」、「見積書」、「AAA_請求書」である。「請求書」のフォルダには、帳票管理情報に仕分キーが含まれていないが、その帳票管理情報に請求書という管理用名称が含まれていた帳票についての帳票ファイル群と帳票設定ファイルとが格納される。「見積書」のフォルダには、帳票管理情報に仕分キーが含まれていないが、その帳票管理情報に見積書という管理用名称が含まれていた帳票についての帳票ファイル群と帳票設定ファイルとが格納される。そして、「AAA_請求書」のフォルダには、帳票管理情報にAAAという仕分キーと請求書という管理用名称が含まれていた帳票についての帳票ファイル群と帳票設定ファイルとが格納される。図7の例では、「請求書」のフォルダには一つの帳票についての帳票ファイル群及び帳票設定ファイルが格納されている。このうち帳票ファイル群における各ファイルの名称はそれぞれ、「20061120130000.データ」、「20061120130000.ページ」、「20061120130000.管理」、「20061120130000.ピッチ」である。ここで、ファイルの名称のうち最初の14桁の数字は、当該帳票の管理日付を表している。すなわち、その管理日付は、2006年11月20日13時00分00秒である。そして、それら14桁の数字の次のドットに続く文字列が拡張子を表している。図7では、拡張子の内容を容易に理解できるように拡張子を日本語で示している。この帳票ファイル群における四つのファイルは、上から順に、帳票データファイル、ページインデックスファイル、管理ファイル、そして、行ピッチファイルである。   Specifically, the file management means 35 manages each form by making the folder structure into a hierarchical structure in the database 31. FIG. 7 is a diagram showing an example of a folder hierarchy structure in the database 31. In the highest hierarchy in such a folder hierarchy structure, as shown in FIG. 7, only one highest folder having a folder name “form root” is provided. A plurality of folders are provided in the second hierarchy immediately below the highest folder. These second-level folders are a folder for storing a form file group and a form setting file for each form. In the example of FIG. 7, three folders are provided in the second hierarchy, and the folder names of these three folders are “invoice”, “estimate”, and “AAA_invoice”, respectively. In the “Invoice” folder, there is a form file group and a form setting file for forms that do not contain a sorting key in the form management information, but the form management information contains the management name “invoice”. Stored. In the “Estimate” folder, the form file group and the form setting file for the form that does not include the sorting key in the form management information but the management name “estimate” is included in the form management information. Stored. In the folder “AAA_invoice”, a form file group and a form setting file are stored for the form in which the form management information includes the sorting key AAA and the management name invoice. In the example of FIG. 7, a form file group and a form setting file for one form are stored in the “invoice” folder. Among these, the names of the files in the form file group are “20061120130000.data”, “20061120130000.page”, “20061120130000.management”, and “20061120130000.pitch”, respectively. Here, the first 14-digit number in the file name represents the management date of the form. That is, the management date is 2006/11/20 13:00:00. A character string following the dot following the 14-digit number represents the extension. In FIG. 7, the extensions are shown in Japanese so that the contents of the extensions can be easily understood. The four files in the form file group are a form data file, a page index file, a management file, and a line pitch file in order from the top.

また、ファイル管理手段35は、帳票の登録処理が終了したとき、当該帳票についての帳票管理情報にプリンタ識別子が含まれているかどうかを判断する。プリンタ識別子が含まれていると判断すると、ファイル管理手段35は、そのプリンタ識別子で特定される印刷装置から当該帳票を印刷する処理を実行する。ファイル管理手段35は、かかる印刷処理が終了すると、自動印刷指示による印刷が実行された旨の情報を当該帳票についての管理ファイルに書き込む。   Further, the file management means 35 determines whether or not a printer identifier is included in the form management information for the form when the form registration process is completed. If it is determined that the printer identifier is included, the file management unit 35 executes processing for printing the form from the printing apparatus specified by the printer identifier. When the printing process is completed, the file management unit 35 writes information indicating that the printing based on the automatic printing instruction has been executed in the management file for the form.

ところで、上述したように、帳票作成手段21の中には、それを用いて作成された帳票を印刷する際に文書名を常に同じに設定するという機能を有するものがある。例えば、Web対応ERPパッケージ製品「GRANDIT」がこれに該当する。このような特定の帳票作成手段21で作成された帳票を管理用コンピュータ30に登録する場合、帳票固有情報入力画面上で帳票名を入力しなかったとすると、管理用コンピュータ30は、当該帳票の種類がどのようなものであっても同じフォルダを作成し、そのフォルダの中に当該帳票を格納することになる。すなわち、同一のフォルダ内に、請求書や見積書等が一緒に格納されてしまうことになり、各種の帳票を体系的に管理することができなくなる。本実施形態では、このような状況が生じないように、第二ファイル変換手段34は、帳票が上記の機能を有する特定の帳票作成手段21で作成されたものであるかどうかを判断し、そのような帳票作成手段21で作成されたものであると判断したときに、その帳票の管理用名称を適切な名称に自動的に設定する名称自動設定機能を備えている。   Incidentally, as described above, some of the form creation means 21 has a function of always setting the document name to be the same when printing a form created using the form creation unit 21. For example, the Web-compatible ERP package product “GRANDIT” corresponds to this. When registering a form created by such a specific form creation means 21 in the management computer 30, if the form name is not entered on the form-specific information input screen, the management computer 30 determines the type of the form. The same folder is created no matter what, and the form is stored in that folder. That is, invoices, estimates, and the like are stored together in the same folder, and various forms cannot be systematically managed. In the present embodiment, in order to prevent such a situation from occurring, the second file conversion unit 34 determines whether or not the form is created by the specific form creation unit 21 having the above function, and When it is determined that the form has been created by the form creation unit 21, an automatic name setting function for automatically setting the management name of the form to an appropriate name is provided.

いま、かかる第二ファイル変換手段34による名称自動設定機能について説明する。本実施形態では、上記のような特定の帳票作成手段21で作成された帳票を管理用コンピュータ30に登録する場合、帳票固有情報入力画面における印刷元アプリケーションの欄には、当該帳票作成手段21の名称がデフォルトで入力される。このため、ユーザが帳票固有情報入力画面上で何らのデータを入力しなくても、当該帳票の帳票固有情報には少なくとも印刷元アプリケーションに関する情報が含まれている。第二ファイル変換手段34は、端末20からPostScriptファイルが送られた場合、当該PostScriptファイルに含まれる帳票固有情報を取得するが、このとき、その帳票固有情報に帳票名に関する情報が含まれていなければ、その帳票固有情報に含まれる印刷元アプリケーションとして、上記特定の帳票作成手段21が指定されているかどうかを判断する。そして、上記特定の帳票作成手段21が指定されていると判断すると、帳票テーブル格納手段20に格納されている帳票テーブルを参照して、当該帳票の管理用名称を決定する。ここで、帳票テーブルには、文字列と管理用名称との対応関係が定められている。例えば、文字列「○□△」に対しては「納品書」、文字列「×◎◇」に対しては「見積書」、・・・というような対応関係が定められている。一般に、帳票のフォーマットはその種類に応じて決まっているので、帳票の種類はその最初の部分の内容から容易に判断することができる。帳票テーブルで定義する各文字列には、帳票の種類毎に決まっているその最初の部分の文字列が用いられている。具体的に、第二ファイル変換手段34は、当該PostScriptファイルに含まれる印刷用スプールファイルの内容を表す部分のデータについて、その最初の部分にある文字列の内容を認識する。そして、その認識した内容の文字列に一致する帳票テーブル内の文字列を見つけ出し、その見つけ出した文字列に対応する管理用名称を特定する。第二ファイル変換手段34は、こうして特定した名称を当該帳票の管理用名称として、帳票管理情報を作成する。これにより、本実施形態では、上記特定の帳票作成手段21で作成されたどんな種類の帳票も、同一のフォルダ内に一緒に格納されてしまうという状況を回避することができる。   Now, the automatic name setting function by the second file conversion means 34 will be described. In the present embodiment, when a form created by the specific form creation unit 21 as described above is registered in the management computer 30, the column of the printing source application in the form specific information input screen displays the form creation unit 21. The name is entered by default. Therefore, even if the user does not input any data on the form specific information input screen, the form specific information of the form includes at least information related to the printing source application. When the PostScript file is sent from the terminal 20, the second file conversion unit 34 acquires the form specific information included in the PostScript file. At this time, the form specific information must include information on the form name. For example, it is determined whether or not the specific form creation means 21 is designated as the printing source application included in the form specific information. If it is determined that the specific form creation means 21 is designated, the management table of the form is determined with reference to the form table stored in the form table storage means 20. Here, the correspondence relationship between the character string and the management name is defined in the form table. For example, a correspondence such as “Invoice” for the character string “◯ □ △”, “Estimate” for the character string “× ◎ ◇”,... In general, since the format of a form is determined according to the type, the type of form can be easily determined from the contents of the first part. As each character string defined in the form table, the first part of the character string determined for each type of form is used. Specifically, the second file conversion unit 34 recognizes the contents of the character string in the first part of the data representing the contents of the print spool file included in the PostScript file. Then, a character string in the form table matching the recognized character string is found, and a management name corresponding to the found character string is specified. The second file conversion unit 34 creates form management information using the name thus identified as the management name of the form. Thereby, in this embodiment, it is possible to avoid a situation in which any type of form created by the specific form creation means 21 is stored together in the same folder.

以上、各端末20で作成された帳票を管理用コンピュータ30に登録する処理について説明したが、ここで、メインフレーム10で作成された帳票を管理用コンピュータ30に登録する処理についても簡単に説明する。一般に、メインフレーム10では、帳票のデータは、罫線データと別個に管理されている。このため、メインフレーム10で作成された帳票を管理用コンピュータ30に登録する場合には、当該帳票のデータと関連付けて登録すべき罫線データを指定する必要がある。この指定は所定の設定画面上で行われる。また、その設定画面上で当該帳票についての帳票管理情報及び帳票属性情報が入力される。その後、メインフレーム10は、当該帳票のデータから作成された印刷用スプールファイルと、当該帳票のデータ(当該印刷用スプールファイル)に関連付けられた罫線データと、上記設定画面上で入力された帳票管理情報及び帳票属性情報とを、管理用コンピュータ30に送信する。ここで、メインフレーム10から送られる印刷用スプールファイルは、罫線データを含まない点を除いて上述した帳票データファイルのファイル形式と同じファイル形式で作成されている。管理用コンピュータ30のファイル管理手段35は、メインフレーム10から送られた当該帳票についての印刷用スプールファイル、罫線データ、帳票管理情報及び帳票属性情報に対して、各端末20で作成された帳票を登録する場合と同様の処理を行い、当該帳票についての各種ファイルをデータベース31に格納して管理する。但し、罫線データは独立のファイルとして取り扱われ、当該印刷用スプールファイルと関連付けてデータベース31に登録される。   The process for registering the form created in each terminal 20 in the management computer 30 has been described above. Here, the process for registering the form created in the mainframe 10 in the management computer 30 will be briefly described. . In general, in the mainframe 10, the form data is managed separately from the ruled line data. Therefore, when registering a form created in the mainframe 10 in the management computer 30, it is necessary to specify ruled line data to be registered in association with the data of the form. This designation is performed on a predetermined setting screen. Further, form management information and form attribute information for the form are input on the setting screen. Thereafter, the main frame 10 displays the print spool file created from the form data, ruled line data associated with the form data (the print spool file), and the form management input on the setting screen. Information and form attribute information are transmitted to the management computer 30. Here, the spool file for printing sent from the main frame 10 is created in the same file format as that of the above-described form data file except that it does not include ruled line data. The file management means 35 of the management computer 30 creates a form created at each terminal 20 for the print spool file, ruled line data, form management information, and form attribute information for the form sent from the mainframe 10. The same processing as the case of registration is performed, and various files relating to the form are stored and managed in the database 31. However, the ruled line data is handled as an independent file and is registered in the database 31 in association with the print spool file.

このように、本実施形態の電子帳票システムを利用すると、各端末20で作成された帳票もメインフレーム10で作成された帳票も、管理用コンピュータ30のデータベース31で一括して管理することができる。   As described above, when the electronic form system according to the present embodiment is used, the form created by each terminal 20 and the form created by the mainframe 10 can be collectively managed by the database 31 of the management computer 30. .

次に、本実施形態の電子帳票システムにおいて、各端末20で作成された帳票を管理用コンピュータ30のデータベース31に登録する処理の手順について説明する。図8は本実施形態の電子帳票システムにおいて各端末20で作成された帳票を管理用コンピュータ30のデータベース31に登録する処理の手順を説明するためのフローチャート、図9は各端末20の第一ファイル変換手段25cによる変換処理の手順を説明するためのフローチャート、図10は管理用コンピュータ30の第二ファイル変換手段34による変換処理の手順を説明するためのフローチャートである。   Next, in the electronic form system of this embodiment, a procedure of processing for registering the form created by each terminal 20 in the database 31 of the management computer 30 will be described. FIG. 8 is a flowchart for explaining the processing procedure for registering a form created by each terminal 20 in the database 31 of the management computer 30 in the electronic form system of this embodiment, and FIG. 9 is a first file of each terminal 20. FIG. 10 is a flow chart for explaining the procedure of the conversion process by the second file conversion means 34 of the management computer 30. FIG.

まず、ユーザは、帳票作成手段25aの印刷機能を利用して、今回登録しようとする帳票についての印刷画面を表示装置22の画面上に表示させる。次に、ユーザは、その印刷画面において、帳票の出力先として第一ファイル変換手段25cを指定し、「プロパティ」のボタンを押す。すると、帳票作成手段25aの印刷機能は、「プロパティ」のボタンが押された旨の指令を第一ファイル変換手段25cに送る。第一ファイル変換手段25cは、かかる指令を受け取ると、所定の帳票固有情報入力画面を表示装置22の画面上に表示する。ユーザは、この帳票固有情報入力画面上で帳票固有情報を入力する(S1)。ここでは、説明を簡単にするため、ユーザが帳票固有情報として当該帳票の帳票名及び日付に関する情報のみを入力したものとする。   First, the user uses the print function of the form creation unit 25 a to display a print screen for the form to be registered on the screen of the display device 22. Next, on the print screen, the user designates the first file conversion means 25c as the form output destination and presses the “property” button. Then, the printing function of the form creation unit 25a sends a command indicating that the “property” button has been pressed to the first file conversion unit 25c. When receiving the command, the first file conversion unit 25 c displays a predetermined form specific information input screen on the screen of the display device 22. The user inputs the form specific information on the form specific information input screen (S1). Here, in order to simplify the explanation, it is assumed that the user has input only information relating to the form name and date of the form as the form specific information.

帳票固有情報を入力した後、ユーザが印刷画面において「印刷実行」のボタンを押すと、帳票作成手段25aの印刷機能は、当該帳票のデータをスプールファイル作成手段25bに送る。そして、スプールファイル作成手段25bは、当該帳票のデータに基づいて印刷管理情報と印刷用スプールファイルとを作成する(S2)。その作成された印刷管理情報及び印刷スプールファイルは第一ファイル変換手段25cに送られる。   When the user presses the “print execution” button on the print screen after inputting the form specific information, the print function of the form creation unit 25a sends the data of the form to the spool file creation unit 25b. Then, the spool file creation means 25b creates print management information and a print spool file based on the form data (S2). The created print management information and print spool file are sent to the first file conversion means 25c.

第一ファイル変換手段25cは、スプールファイル作成手段25bから当該帳票についての印刷管理情報及び印刷用スプールファイルが送られると、所定の変換処理を行う(S3)。この第一ファイル変換手段25cによる変換処理は、図9に示す処理フローにしたがって行われる。具体的に、第一ファイル変換手段25cは、まず、スプールファイル作成手段25bから送られた当該帳票についての印刷管理情報及び印刷用スプールファイルを取得すると共に、帳票固有情報入力画面で入力された当該帳票についての帳票固有情報を取得する(S11)。次に、第一ファイル変換手段25cは、その取得した印刷管理情報及び帳票固有情報に含まれる各情報を、PostScriptデータに変換する(S12)。この変換された各PostScriptデータは所定のファイルに書き込まれる。その後、第一ファイル変換手段25cは、印刷用スプールファイルの内容をPostScriptデータに変換してその変換結果を上記のファイルに書き込む旨の命令と共にその印刷用スプールファイルをPostScriptドライバに出力する(S13)。こうして、PostScriptドライバがその印刷用スプールファイルの変換・書込処理を行うことにより、当該帳票についての帳票固有情報、印刷管理情報及び印刷用スプールファイルが、一つのPostScriptファイルに変換される(S14)。その後、通信制御手段25dは、第一ファイル変換手段25cで得られたPostScriptファイルを管理用コンピュータ30に送信する(S4)。   When the print management information and the spool file for printing are sent from the spool file creation means 25b to the first file conversion means 25c, the first file conversion means 25c performs a predetermined conversion process (S3). The conversion processing by the first file conversion means 25c is performed according to the processing flow shown in FIG. Specifically, the first file conversion unit 25c first obtains the print management information and the print spool file for the form sent from the spool file creation unit 25b, and also inputs the information input on the form specific information input screen. The form specific information about the form is acquired (S11). Next, the first file conversion unit 25c converts each information included in the acquired print management information and form specific information into PostScript data (S12). Each converted PostScript data is written in a predetermined file. Thereafter, the first file conversion means 25c outputs the print spool file to the PostScript driver together with an instruction to convert the contents of the print spool file into PostScript data and write the conversion result into the file (S13). . Thus, the PostScript driver performs conversion / writing processing of the print spool file, whereby the form specific information, the print management information, and the print spool file for the form are converted into one PostScript file (S14). . Thereafter, the communication control unit 25d transmits the PostScript file obtained by the first file conversion unit 25c to the management computer 30 (S4).

次に、端末20から管理用コンピュータ30にPostScriptファイルが送られると、管理用コンピュータ30の第二ファイル変換手段34は、所定の変換処理を行う(S5)。この第二ファイル変換手段34による変換処理は、図10に示す処理フローにしたがって行われる。具体的に、第二ファイル変換手段34は、まず、当該PostScriptファイルに含まれる帳票固有情報及び印刷管理情報の内容に基づいて、帳票管理情報と帳票属性情報とを作成する(S21)。ここでは、帳票固有情報に含まれる帳票名、日付をそれぞれ、管理用名称、管理日付とする帳票管理情報が作成される。次に、第二ファイル変換手段34は、PostScriptファイルに含まれる印刷用スプールファイルの内容を表す部分のデータのうち、1ページ分のデータを取得する(S22)。そして、第二ファイル変換手段34は、その取得した1ページ分のデータの内容を解析した後(S23)、その解析結果に基づいて帳票データファイルの1ページ分のデータを作成する(S24)。ここで、帳票データファイルの1ページ分のデータには、行ピッチデータと、罫線データと、行毎の印字データとが含まれている。その後、第二ファイル変換手段34は、各印刷ページに対して、上記ステップS22、S23、S24の処理を繰り返す(S25)。こうして得られたすべてのデータを一つのファイルにまとめることにより、帳票データファイルが得られる(S26)。   Next, when a PostScript file is sent from the terminal 20 to the management computer 30, the second file conversion means 34 of the management computer 30 performs a predetermined conversion process (S5). The conversion process by the second file conversion means 34 is performed according to the process flow shown in FIG. Specifically, the second file conversion unit 34 first creates form management information and form attribute information based on the contents of the form specific information and the print management information included in the PostScript file (S21). Here, form management information is created with the form name and date included in the form specific information as the management name and the management date, respectively. Next, the second file conversion unit 34 acquires data for one page among the data of the portion representing the contents of the print spool file included in the PostScript file (S22). Then, the second file conversion unit 34 analyzes the content of the acquired data for one page (S23), and then creates data for one page of the form data file based on the analysis result (S24). Here, the data for one page of the form data file includes line pitch data, ruled line data, and print data for each line. Thereafter, the second file conversion unit 34 repeats the processes of steps S22, S23, and S24 for each print page (S25). A form data file is obtained by combining all the data thus obtained into one file (S26).

次に、ファイル管理手段35は、第二ファイル変換手段34で得られた当該帳票についての帳票管理情報、帳票属性情報及び帳票データファイルに基づいて各種ファイルを作成する処理を行う(S6)。具体的に、各種ファイルとしては、帳票設定ファイル、ページインデックスファイル、管理ファイル、行ピッチファイルが作成される。このとき、ファイル管理手段35は、当該帳票管理情報に含まれる管理日付を利用して、帳票ファイル群における各ファイルのファイル名を設定する。これにより、これらのファイルにはすべて同じファイル名が付され、ファイルの種類を表す拡張子だけが異なることになる。   Next, the file management means 35 performs a process of creating various files based on the form management information, form attribute information, and form data file for the form obtained by the second file conversion means 34 (S6). Specifically, a form setting file, a page index file, a management file, and a line pitch file are created as various files. At this time, the file management means 35 uses the management date included in the form management information to set the file name of each file in the form file group. As a result, the same file name is assigned to these files, and only the extensions representing the file types are different.

その後、ファイル管理手段35は、当該帳票管理情報に含まれる管理用名称をフォルダ名とするフォルダが未だデータベース31内に存在していなければ、そのファイル名を有するフォルダをデータベース31内に作成する。そして、ファイル管理手段35は、当該帳票管理情報に含まれる管理用名称をフォルダ名とするフォルダ内に、当該帳票データファイルとステップS6で作成された各種ファイルとを格納することにより、当該帳票をデータベース31に登録する(S7)。   Thereafter, the file management unit 35 creates a folder having the file name in the database 31 if the folder having the management name included in the form management information as a folder name does not yet exist in the database 31. Then, the file management means 35 stores the form data file and the various files created in step S6 in a folder whose folder name is the management name included in the form management information, and thereby stores the form. Register in the database 31 (S7).

本実施形態の電子帳票システムでは、各端末の帳票作成手段で作成された帳票を管理用コンピュータに登録する場合、各端末においては、スプールファイル作成手段が帳票についての印刷管理情報とその帳票の印刷イメージを表す印刷用スプールファイルとを作成した後、第一ファイル変換手段がその帳票についての印刷管理情報及び印刷用スプールファイルと帳票固有情報入力画面で入力された当該帳票についての帳票固有情報とを一つのPostScriptファイルに変換し、各端末から管理用コンピュータへはPostScriptファイルという共通形式のファイルが送られる。これにより、各端末の帳票作成手段がどのようなファイル形式の帳票データを作成するとしても、第一ファイル変換手段の機能を当該端末に付加するために帳票作成手段を個別にカスタマイズする必要はなく、しかも、管理用コンピュータは、各端末で作成された帳票、具体的にはWindows上で動作するアプリケーションプログラム(オープン系の基幹業務システムを含む。)を用いて作成された帳票を取り込んで一括管理することができる。また、管理用コンピュータの第二ファイル変換手段はPostScriptファイルを帳票データファイルに変換するが、この帳票データファイルは、一般のメインフレームで作成された帳票を登録する際にメインフレームから出力されるスプールファイルのファイル形式に類似したファイル形式となっている。このため、管理用コンピュータは、各端末で作成された帳票に加えて、メインフレームで作成された帳票をも一括管理することが可能である。   In the electronic form system of this embodiment, when a form created by the form creation means of each terminal is registered in the management computer, the spool file creation means prints the print management information and the form for the form at each terminal. After creating the print spool file representing the image, the first file conversion means obtains the print management information for the form and the print spool file and the form specific information for the form entered on the form specific information input screen. The file is converted into a single PostScript file, and a file in a common format called a PostScript file is sent from each terminal to the management computer. As a result, even if the form creation means of each terminal creates form data in any file format, it is not necessary to individually customize the form creation means in order to add the function of the first file conversion means to the terminal. Moreover, the management computer takes in and manages the forms created on each terminal, specifically, the forms created using application programs (including open core business systems) that run on Windows. can do. The second file conversion means of the management computer converts the PostScript file into a form data file. This form data file is a spool output from the main frame when registering a form created on a general main frame. The file format is similar to the file format of the file. For this reason, the management computer can collectively manage the forms created on the mainframe in addition to the forms created on each terminal.

また、本実施形態では、第一ファイル変換手段を、当該端末にプリンタドライバとして組み込んでいる。これにより、各端末の帳票作成手段を個別にカスタマイズすることなく、第一ファイル変換手段の機能を各端末に容易に付加することができる。しかも、各端末の帳票作成手段で作成された帳票に対する印刷画面上で帳票の出力先として第一ファイル変換手段を選択するだけで、当該帳票を管理用コンピュータに登録する処理を開始させることができるので、帳票登録の際の操作を誰でも簡単に行うことができる。   In the present embodiment, the first file conversion unit is incorporated in the terminal as a printer driver. Thereby, the function of the first file conversion means can be easily added to each terminal without individually customizing the form creation means of each terminal. Moreover, the process of registering the form in the management computer can be started simply by selecting the first file conversion means as the output destination of the form on the print screen for the form created by the form creation means of each terminal. Therefore, anyone can easily perform operations when registering forms.

また、本実施形態では、各端末で作成された帳票を管理用コンピュータに登録する際には当該帳票についての帳票固有情報を入力することができ、管理用コンピュータは、その帳票固有情報に基づいて作成される帳票管理情報の内容にしたがって、当該帳票についての帳票データファイルのファイル名を設定すると共にその帳票データファイルを格納するフォルダを決定する。これにより、帳票を登録しようとするユーザは、所望の内容の帳票固有情報を入力して、当該帳票についての帳票データファイルのファイル名や、その帳票データファイルを格納するフォルダを任意に設定することができる。   Further, in the present embodiment, when registering a form created at each terminal in the management computer, the form specific information about the form can be input, and the management computer is based on the form specific information. In accordance with the contents of the form management information to be created, the file name of the form data file for the form is set and the folder for storing the form data file is determined. As a result, the user who wants to register the form inputs the form-specific information of the desired content and arbitrarily sets the file name of the form data file for the form and the folder for storing the form data file. Can do.

更に、本実施形態では、第二ファイル変換手段は、帳票管理情報を作成する場合、帳票固有情報に帳票名に関する情報が含まれていれば、当該帳票名を管理用名称として設定し、帳票固有情報に帳票名に関する情報が含まれていなければ、印刷管理情報に含まれる文書名を管理用名称として設定すると共に、帳票固有情報に日付に関する情報が含まれていれば、当該日付を管理日付として設定し、帳票固有情報に日付に関する情報が含まれていなければ、印刷管理情報に含まれる印刷処理日を管理日付として設定する。これにより、ユーザが帳票を登録する際に帳票固有情報を入力しなかったとしても、管理用コンピュータは当該帳票を適切に登録・管理することができる。   Further, in the present embodiment, when creating the form management information, the second file conversion means sets the form name as a management name if the form specific information includes information on the form name, and creates the form specific information. If the information about the form name is not included in the information, the document name included in the print management information is set as the management name. If the information specific to the form includes the date, the date is set as the management date. If the information is not included in the form specific information, the print processing date included in the print management information is set as the management date. Thereby, even if the user does not input the form specific information when registering the form, the management computer can appropriately register and manage the form.

尚、本発明は上記の実施形態に限定されるものではなく、その要旨の範囲内において種々の変形が可能である。   In addition, this invention is not limited to said embodiment, A various deformation | transformation is possible within the range of the summary.

本発明の目的は、上述した実施形態の装置の機能を実現するソフトウェアのプログラムコード(実行形式を含む)を、その全体あるいは一部を記録した記録媒体により、本実施形態の装置に供給し、その装置のコンピュータ(又はCPU、MPU)が記録媒体に格納されたプログラムコードを読み出して、動作の全部あるいは一部を実行することによっても達成されることは言うまでもない。この場合、記録媒体から読み出されたプログラムコード自体が本実施形態の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。   The object of the present invention is to supply the program code (including the execution format) of software that realizes the functions of the apparatus of the above-described embodiment to the apparatus of the present embodiment by a recording medium that records all or part of the program code. Needless to say, this can also be achieved by the computer (or CPU, MPU) of the apparatus reading out the program code stored in the recording medium and executing all or part of the operation. In this case, the program code itself read from the recording medium realizes the functions of the present embodiment, and the recording medium on which the program code is recorded constitutes the present invention.

プログラムコードを供給するための記録媒体としては、ROM、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード等を用いることができる。さらに、通信回線を介してダウンロードすることによってプログラムコードを供給するようにしてもよいし、JAVA(登録商標)などの技術を利用してプログラムコードを供給して実行するようにしてもよい。   Recording media for supplying the program code include ROM, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, etc. Can be used. Furthermore, the program code may be supplied by downloading via a communication line, or the program code may be supplied and executed using a technology such as JAVA (registered trademark).

また、コンピュータが読み出したプログラムコードを実行することにより、本実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部又は全部を行い、その処理によって本実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。   Further, by executing the program code read out by the computer, not only the functions of the present embodiment are realized, but also the OS running on the computer based on the instruction of the program code performs an actual process. Needless to say, the present invention also includes a case where the function of the present embodiment is realized by performing part or all of the processing.

更に、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータが接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって本実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。   Further, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the present invention includes a case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the present embodiment are realized by the processing.

加えて、本発明はコンピュータに上記の実施形態の装置の機能を実現させるためのプログラムを含むプログラム・プロダクトであってもよい。ここで、プログラム・プロダクトというのは、コンピュータ・プログラムだけでなく、プログラムを記録した記録媒体あるいはコンピュータを含むものである。   In addition, the present invention may be a program product including a program for causing a computer to realize the functions of the apparatus of the above-described embodiment. Here, the program product includes not only a computer program but also a recording medium or a computer on which the program is recorded.

以上説明したように、本発明の電子帳票システムでは、各端末の帳票作成手段で作成された帳票を管理用コンピュータに登録する場合、各端末においては、スプールファイル作成手段が帳票についての印刷管理情報とその帳票の印刷イメージを表す印刷用スプールファイルとを作成した後、第一ファイル変換手段がその帳票についての印刷管理情報及び印刷用スプールファイルと所定の入力画面で入力された当該帳票についての帳票固有情報とを一つのPostScriptファイルに変換し、各端末から管理用コンピュータへはPostScriptファイルという共通形式のファイルが送られる。これにより、各端末の帳票作成手段がどのようなファイル形式の帳票データを作成するとしても、第一ファイル変換手段の機能を当該端末に付加するために帳票作成手段を個別にカスタマイズする必要はなく、しかも、管理用コンピュータは、各端末で作成された帳票を取り込んで一括管理することができる。また、管理用コンピュータの第二ファイル変換手段はPostScriptファイルを帳票データファイルに変換するが、この帳票データファイルは、一般のメインフレームで作成された帳票を登録する際にメインフレームから出力されるスプールファイルのファイル形式に類似したファイル形式となっている。このため、管理用コンピュータは、各端末で作成された帳票に加えて、メインフレームで作成された帳票をも一括管理することが可能である。したがって、本発明は、各種のアプリケーションプログラムを用いて作成された帳票を電子的に保管して管理する電子帳票システムに用いるのに好適である。   As described above, in the electronic form system of the present invention, when the form created by the form creation unit of each terminal is registered in the management computer, the print management information on the form is stored in each terminal by the spool file creation unit. And a print spool file representing the print image of the form, and then the first file conversion unit prints the print management information and the spool file for the form and the form for the form entered on the predetermined input screen. The unique information is converted into a single PostScript file, and a file in a common format called a PostScript file is sent from each terminal to the management computer. As a result, even if the form creation means of each terminal creates form data in any file format, it is not necessary to individually customize the form creation means in order to add the function of the first file conversion means to the terminal. In addition, the management computer can take in and manage the forms created at each terminal. The second file conversion means of the management computer converts the PostScript file into a form data file. This form data file is a spool output from the main frame when registering a form created on a general main frame. The file format is similar to the file format of the file. For this reason, the management computer can collectively manage the forms created on the mainframe in addition to the forms created on each terminal. Therefore, the present invention is suitable for use in an electronic form system that electronically stores and manages forms created using various application programs.

本発明の一実施形態である電子帳票システムの概略構成図である。It is a schematic block diagram of the electronic form system which is one Embodiment of this invention. (a)はその電子帳票システムの各端末の概略ブロック図、(b)はその電子帳票システムの管理用コンピュータの概略ブロック図である。(A) is a schematic block diagram of each terminal of the electronic form system, and (b) is a schematic block diagram of a management computer of the electronic form system. 帳票固有情報入力画面の一例を示す図である。It is a figure which shows an example of a form specific information input screen. 印刷用スプールファイルの印刷イメージの一例を示す図である。It is a figure which shows an example of the printing image of the spool file for printing. PostScriptファイルの内容の一例を示す図である。It is a figure which shows an example of the content of a PostScript file. 帳票データファイルの内容の一例を示す図である。It is a figure which shows an example of the content of a form data file. データベース内におけるフォルダ階層構造の一例を示す図である。It is a figure which shows an example of the folder hierarchical structure in a database. 本実施形態の電子帳票システムにおいて各端末で作成された帳票を管理用コンピュータのデータベースに登録する処理の手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure of the process which registers the form produced in each terminal in the database of a management computer in the electronic form system of this embodiment. 各端末の第一ファイル変換手段による変換処理の手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure of the conversion process by the 1st file conversion means of each terminal. 管理用コンピュータの第二ファイル変換手段による変換処理の手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure of the conversion process by the 2nd file conversion means of the management computer.

符号の説明Explanation of symbols

10 メインフレーム
20 端末
21 入力装置
22 表示装置
23 印刷装置
24 記憶部
25 中央処理装置
25a 帳票作成手段
25b スプールファイル作成手段
25c 第一ファイル変換手段
25d 通信制御手段
30 管理用コンピュータ
31 データベース(データ格納手段)
32 帳票テーブル記憶手段
33 通信制御手段
34 第二ファイル変換手段
35 ファイル管理手段
10 mainframe 20 terminal 21 input device 22 display device 23 printing device 24 storage unit 25 central processing unit 25a form creation means 25b spool file creation means 25c first file conversion means 25d communication control means 30 management computer 31 database (data storage means) )
32 Form table storage means 33 Communication control means 34 Second file conversion means 35 File management means

Claims (7)

帳票作成手段により帳票を作成する複数の端末と、前記各端末とネットワークを介して接続された、前記各端末で作成された前記帳票を電子的に管理する管理用コンピュータとを有する電子帳票システムにおいて、
前記各端末は、
前記帳票作成手段で作成された前記帳票を前記管理用コンピュータに登録するときに、当該帳票の文書名、印刷処理日及び印刷用紙に関する情報を含む印刷管理情報と当該帳票の印刷イメージを表す印刷用スプールファイルとを作成するスプールファイル作成手段と、
前記帳票作成手段で作成された前記帳票を前記管理用コンピュータに登録する際に、帳票名及び日付に関する情報を含む帳票固有情報を入力するための入力画面を表示手段の画面上に表示する機能を有し、且つ、前記管理用コンピュータに登録すべき前記帳票についての前記印刷管理情報及び前記印刷用スプールファイルが前記スプールファイル作成手段から送られたときに、その送られた当該帳票についての前記印刷管理情報及び前記印刷用スプールファイルと前記入力画面で入力された当該帳票についての前記帳票固有情報とを、一つのPostScriptファイルに変換する第一ファイル変換手段と、
前記第一ファイル変換手段で得られた前記PostScriptファイルを前記管理用コンピュータに送信する通信制御手段と、
を備え、
前記管理用コンピュータは、
前記各端末から前記PostScriptファイルが送られた場合、当該PostScriptファイルに含まれる前記帳票固有情報及び前記印刷管理情報の内容に基づいて当該帳票を管理する上で必要となる管理用名称及び管理日付に関する情報を含む帳票管理情報を作成すると共に、当該PostScriptファイルに含まれる前記印刷用スプールファイルの内容を表す部分のデータを、各印刷ページについての、罫線データと印字内容が行毎に記述された印字データとを含んで構成された帳票データファイルに変換する第二ファイル変換手段と、
前記第二ファイル変換手段で得られた前記帳票管理情報及び前記帳票データファイルについて、当該帳票管理情報の内容にしたがって当該帳票データファイルをデータ格納手段に格納して管理するファイル管理手段と、
を備えることを特徴とする電子帳票システム。
In an electronic form system comprising a plurality of terminals that create forms by means of form creation means, and a management computer that electronically manages the forms created by the terminals connected to the terminals via a network ,
Each terminal is
When the form created by the form creation means is registered in the management computer, print management information including information on the document name, print processing date, and print paper of the form and a print image representing the print image of the form A spool file creating means for creating a spool file;
A function of displaying an input screen for inputting form-specific information including information related to form name and date on the screen of the display means when registering the form created by the form creation means in the management computer; The print management information for the form to be registered in the management computer and the print spool file when the print spool file is sent from the spool file creation means. Management information and the print spool file and first form conversion means for converting the form specific information about the form entered on the input screen into one PostScript file;
Communication control means for transmitting the PostScript file obtained by the first file conversion means to the management computer;
With
The management computer is:
When the PostScript file is sent from each terminal, the management name and management date required for managing the form based on the form-specific information and the contents of the print management information included in the PostScript file Creates form management information including information, and prints the data representing the contents of the print spool file included in the PostScript file, with ruled line data and print contents described for each print page for each line. Second file conversion means for converting to a form data file configured to include data,
For the form management information and the form data file obtained by the second file conversion means, file management means for storing and managing the form data file in the data storage means according to the contents of the form management information;
An electronic form system characterized by comprising:
前記第一ファイル変換手段は、当該端末にプリンタドライバとして組み込まれていることを特徴とする請求項1記載の電子帳票システム。   The electronic form system according to claim 1, wherein the first file conversion unit is incorporated in the terminal as a printer driver. 前記ファイル管理手段は、前記第二ファイル変換手段で得られた前記帳票管理情報及び前記帳票データファイルについて、当該帳票管理情報に含まれる前記管理日付を利用して当該帳票データファイルのファイル名を設定し、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とするフォルダが前記データ格納手段に存在していなければそのフォルダ名を有する前記フォルダを前記データ格納手段に作成し、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納して管理することを特徴とする請求項1又は2記載の電子帳票システム。   The file management means sets the file name of the form data file using the management date included in the form management information for the form management information and the form data file obtained by the second file conversion means. If the folder having the management name included in the form management information as a folder name does not exist in the data storage means, the folder having the folder name is created in the data storage means, and the form management information 3. The electronic form system according to claim 1, wherein the form data file is stored and managed in the folder having the management name included in the folder as a folder name. 前記第二ファイル変換手段は、前記帳票管理情報を作成する場合、前記帳票固有情報に前記帳票名に関する情報が含まれていれば、当該帳票名を前記管理用名称として設定し、前記帳票固有情報に前記帳票名に関する情報が含まれていなければ、前記印刷管理情報に含まれる前記文書名を前記管理用名称として設定すると共に、前記帳票固有情報に前記日付に関する情報が含まれていれば、当該日付を前記管理日付として設定し、前記帳票固有情報に前記日付に関する情報が含まれていなければ、前記印刷管理情報に含まれる前記印刷処理日を前記管理日付として設定することを特徴とする請求項3記載の電子帳票システム。   When creating the form management information, the second file conversion means sets the form name as the management name if the form specific information includes information on the form name, and the form specific information If the information on the form name is not included, the document name included in the print management information is set as the management name, and if the information on the date is included in the form specific information, The date is set as the management date, and if the information related to the date is not included in the form specific information, the print processing date included in the print management information is set as the management date. 3. Electronic form system described in 3. 前記入力画面では、仕分キーに関する情報を入力することが可能であり、
前記ファイル管理手段は、前記第二ファイル変換手段で得られた前記帳票管理情報に前記仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納するのではなく、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダが前記データ格納手段に存在していなければそのフォルダ名を有する前記フォルダを前記データ格納手段に作成し、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納することを特徴とする請求項3又は4記載の電子帳票システム。
In the input screen, it is possible to input information on the sorting key,
When the file management means includes information on the sorting key in the form management information obtained by the second file conversion means, the management name included in the form management information is set as a folder name. Instead of storing the form data file in the folder, the folder having the name composed of the management name and the sorting key included in the form management information as the folder name is stored in the data storage means. If the folder name does not exist, the folder having the folder name is created in the data storage unit, and the folder name is the name composed of the management name and the sorting key included in the form management information. 5. The electronic form system according to claim 3, wherein the form data file is stored in the electronic form system.
請求項1、2、3、4又は5のいずれかに記載の電子帳票システムの機能をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing a program for causing a computer to realize the function of the electronic form system according to claim 1. 請求項1、2、3、4又は5のいずれかに記載の電子帳票システムの機能をコンピュータに実現させるためのプログラム。   A program for causing a computer to realize the function of the electronic form system according to any one of claims 1, 2, 3, 4 and 5.
JP2006345591A 2006-12-22 2006-12-22 Electronic business form system Pending JP2008158727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006345591A JP2008158727A (en) 2006-12-22 2006-12-22 Electronic business form system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006345591A JP2008158727A (en) 2006-12-22 2006-12-22 Electronic business form system

Publications (1)

Publication Number Publication Date
JP2008158727A true JP2008158727A (en) 2008-07-10

Family

ID=39659575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006345591A Pending JP2008158727A (en) 2006-12-22 2006-12-22 Electronic business form system

Country Status (1)

Country Link
JP (1) JP2008158727A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057782A (en) * 2014-09-08 2016-04-21 株式会社日立システムズ Bid document output system and bid document output method
EP3026611A1 (en) 2014-11-26 2016-06-01 IPS Co., Ltd. Report data management device, non-transitory computer-readable storage medium storing report data management program, and report data management method
JP2019175381A (en) * 2018-03-29 2019-10-10 株式会社オービック Print layout switching device, print layout switching method, and print layout switching program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259101A (en) * 2001-02-28 2002-09-13 Canon Inc Printer driver and information processor
JP2004139301A (en) * 2002-10-17 2004-05-13 Nihon Safety Co Ltd Data name automatic conversion system, data name automatic conversion method, data name automatic conversion program
JP2005070846A (en) * 2003-08-26 2005-03-17 Fujitsu Ltd Stored program, computer readable medium storing it, storage method, and storage device
JP2005327317A (en) * 2005-07-28 2005-11-24 Seiko Epson Corp System for mediating printing on network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259101A (en) * 2001-02-28 2002-09-13 Canon Inc Printer driver and information processor
JP2004139301A (en) * 2002-10-17 2004-05-13 Nihon Safety Co Ltd Data name automatic conversion system, data name automatic conversion method, data name automatic conversion program
JP2005070846A (en) * 2003-08-26 2005-03-17 Fujitsu Ltd Stored program, computer readable medium storing it, storage method, and storage device
JP2005327317A (en) * 2005-07-28 2005-11-24 Seiko Epson Corp System for mediating printing on network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057782A (en) * 2014-09-08 2016-04-21 株式会社日立システムズ Bid document output system and bid document output method
EP3026611A1 (en) 2014-11-26 2016-06-01 IPS Co., Ltd. Report data management device, non-transitory computer-readable storage medium storing report data management program, and report data management method
JP2019175381A (en) * 2018-03-29 2019-10-10 株式会社オービック Print layout switching device, print layout switching method, and print layout switching program
JP7199819B2 (en) 2018-03-29 2023-01-06 株式会社オービック PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM

Similar Documents

Publication Publication Date Title
CN101542511B (en) Business form creating system, network system using the same, and business form creating method
JP4324060B2 (en) Document management system and method, document management apparatus, and control method for the apparatus
JP2010015458A (en) Program correction support system, program correction support method, and program correction support program
JP2012098878A (en) Business form creation processing system and business form creation processing method and program
JP4959501B2 (en) Information processing apparatus, information processing method, and program
JP2008158727A (en) Electronic business form system
JP2007164503A (en) System production method, system and program, and data structure of definition information used in system production
JP4734927B2 (en) Progress management support device and progress management support program
JP4378080B2 (en) Document management program
JP4845287B2 (en) Form editing apparatus and method, and storage medium storing computer-readable program
JP4867229B2 (en) Information processing apparatus and program
JP2005107635A (en) Electronic form input system, method and program, and medium
JP2000076226A (en) Document data editing system
JP2006221616A (en) Information processing device, file data merging method, and file naming method
JP4828318B2 (en) Multiple form integrated printing method, system and program
JP2006268315A (en) Document processor, method and program
JP2004145736A (en) Character recognition device, character recognition data output method, program and recording medium
JP2007034806A (en) Information processor and program
JP2007108845A (en) Intellectual property management system, trigger processing method and program
JP5228543B2 (en) Print job processing system and print job processing method
JP2007034807A (en) Information processor and program
JP6361384B2 (en) Letter writing support program, letter writing support method, and letter writing support device
JP6657576B2 (en) Output control program, output control method and output control device
JP2010213206A (en) Electronic business form system
JP2008129814A (en) Document management method, document management system, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111003

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120416