JP2008158727A - Electronic business form system - Google Patents
Electronic business form system Download PDFInfo
- 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
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
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).
ところで、各端末のアプリケーションプログラムを用いて作成された帳票データを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
請求項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
請求項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
請求項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
以下に、図面を参照して、本願に係る発明を実施するための最良の形態について説明する。図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
メインフレーム10は、汎用の大型コンピュータであり、帳票を作成する機能を有する。また、各端末20は、例えばパーソナルコンピュータであり、帳票を作成する機能を有する。管理用コンピュータ30は、メインフレーム10や各端末20で作成された帳票を一元的に管理するものである。例えば、管理用コンピュータ30及びメインフレーム10は本システムが導入された企業の本社に設置されており、一方、各端末20は当該本社内の各部署、当該企業の支社や営業所等に設置されている。尚、複数の端末20,20,・・・はクライアント・サーバの形式になっていてもよい。例えば、企業全体の情報を一元管理して業務の効率化を図るというERP(Enterprise Resource Planning)を実現する基幹業務システムを構成するものであってもよい。
The
一般に、メインフレーム10で作成された帳票を管理用コンピュータ30で管理する場合、メインフレーム10は、その帳票の内容を印刷用スプールファイルと罫線データとに分けて、管理用コンピュータ30に出力する。ここで、その印刷用スプールファイルは、各印刷ページについての、印字内容が行毎に記述された印字データを含んで構成されている。管理用コンピュータ30は、このような印刷用スプールファイルと罫線データとを関連付けてデータベースに登録する。ところで、メインフレーム10から出力される印刷用スプールファイルのファイル形式は、各端末20から出力される印刷用スプールファイルのファイル形式とは異なっている。このため、管理用コンピュータ30で帳票を一元的に管理するには、各端末20から出力される印刷用スプールファイルのファイル形式をメインフレーム10から出力される印刷用スプールファイルのファイル形式に類似したファイル形式に変換する必要がある。本実施形態の電子帳票システムにはこのような変換を行う各手段が備えられており、これが本実施形態の電子帳票システムの特徴点となっている。以下では、主に、かかる特徴点についての説明を行う。
In general, when a form created on the
各端末20は、図2(a)に示すように、入力装置21と、表示装置22と、印刷装置23と、記憶部24と、中央処理装置25とを備える。ここでは、各端末20のOS(Operating System)として、マイクロソフト社製のWindows(登録商標)を用いている。
As shown in FIG. 2A, each terminal 20 includes an
入力装置21は、各種のデータや命令を入力するものである。この入力装置21としては、キーボードやマウス等が用いられる。また、表示装置22は、例えば、帳票を作成するための画面を表示したり、後述する帳票固有情報を入力するための入力画面を表示したりするものである。この表示装置22としては、CRT表示装置や液晶表示装置等が用いられる。印刷装置23は、帳票等、各種のデータを紙等に印刷するものである。記憶部24には、各種のアプリケーションプログラムや各種のデータが記憶される。例えば、各端末20には、帳票を作成するためのアプリケーションプログラムとして、マイクロソフト社製の表計算ソフト「Excel」、或いはERPパッケージ製品等が組み込まれている。一般に、各端末20に組み込む帳票作成用のアプリケーションプログラムは、マイクロソフト社製のWindows上で動作するものであればどのようなものであってもよい。
The
中央処理装置25は、当該端末20の各部を統括して制御するものであり、図2(a)に示すように、帳票作成手段25aと、スプールファイル作成手段25bと、第一ファイル変換手段25cと、通信制御手段25dとを有する。
The
帳票作成手段25aは帳票を作成するものである。この帳票作成手段25aの機能は、中央処理装置25が記憶部24に記憶されている表計算ソフトを読み出して実行することにより実現される。
The form creation means 25a creates a form. The function of the form creation means 25a is realized by the
この帳票作成手段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
帳票の印刷画面において、帳票の出力先として第一ファイル変換手段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
帳票名の入力欄には、当該帳票の文書名ではなく、当該帳票の種類等が容易に理解できるような名称が入力される。例えば、「請求書」、「見積書」等が入力される。ここで入力された帳票名は、後述するように、管理用コンピュータ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
プリンタ識別子の入力欄には、当該帳票を管理用コンピュータ30に登録すると共に当該帳票の印刷をも行いたい場合に、その印刷を行う印刷装置の識別子が入力される。具体的に、このプリンタ識別子としては、管理用コンピュータ30が管理している印刷装置の名称が入力される。このため、プリンタ識別子の入力欄に所望の印刷装置の名称を入力しておくと、当該帳票を登録した際に、当該帳票の内容をその印字装置で自動的に印刷することができる。すなわち、プリンタ識別子の入力欄は、当該帳票についての自動印刷指示を行う欄である。
In the printer identifier input field, when registering the form in the
印刷元アプリケーションの入力欄には、当該帳票を作成したアプリケーションプログラムの種別が入力される。この入力欄には、所定のデフォルト情報が表示されている。例えば、当該帳票が特定のアプリケーションプログラムを用いて作成されたものである場合には、デフォルト情報として当該特定のアプリケーションプログラムの名称が表示され、一方、当該帳票がそれ以外のアプリケーションプログラムで作成されたものである場合には、デフォルト情報として「その他」が表示される。上記特定のアプリケーションプログラムとしては、例えば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
こうして、図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
また、帳票の印刷画面において、帳票の出力先として第一ファイル変換手段25cが指定され、その後に「印刷実行」のボタンが押されると、帳票作成手段25aの印刷機能は、当該帳票のデータをスプールファイル作成手段25bに送る。スプールファイル作成手段25bは、当該帳票のデータを受け取ると、当該帳票のデータに基づいて、当該帳票の印刷管理情報と、当該帳票の印刷イメージを表す印刷用スプールファイルとを作成する。本実施形態では、かかるスプールファイル作成手段25bとして、Windowsに標準で備えられているものを用いている。すなわち、このスプールファイル作成手段25bで作成される印刷用スプールファイルはWindowsスプールファイルである。例えば、印刷用スプールファイルとしては、EMF形式或いはEMI形式のイメージデータが作られる。ここで、印刷用スプールファイルの印刷イメージの一例を図4に示す。この図4の例は請求書を表しており、具体的に、その上部には「請求書」というタイトル、「請求書番号」や「請求書日付」等の各管理内容が記載され、その中央部には請求の明細が記載されている。
In addition, when the first
また、スプールファイル作成手段25bで作成される印刷管理情報には、当該帳票の文書名、印刷処理日及び印刷用紙に関する情報が含まれる。これらの情報は当該帳票のデータから取得される。文書名とは、帳票作成手段25aでの作成の際に当該帳票に付けられた文書名である。したがって、この文書名と帳票固有情報に含まれる帳票名とは一般に異なる。印刷処理日としては、例えば、印刷画面で「印刷実行」のボタンが押されたときの日付が用いられる。この印刷処理日に関する情報には、年・月・日の情報だけでなく、時・分・秒の情報も含まれる。また、印刷用紙に関する情報としては、具体的に印刷用紙のサイズや向きに関する情報が該当する。かかる印刷用紙に関する情報は、帳票の種類に応じて共通する内容の情報である。印刷用紙のサイズや向きは請求書や見積書等、帳票の種類によって決まっているのが通例だからである。
The print management information created by the spool
第一ファイル変換手段25cは、管理用コンピュータ30に登録すべき帳票についての印刷管理情報及び印刷用スプールファイルがスプールファイル作成手段25bから送られたときに、その送られた当該帳票についての印刷管理情報及び印刷用スプールファイルと帳票固有情報入力画面で入力された当該帳票についての帳票固有情報とを、一つのPostScriptファイルに変換するものである。ここで、PostScriptファイルは、PostScriptで記述されたテキスト形式のファイルである。
The first
この第一ファイル変換手段25cによる変換処理は、マイクロソフト社製のPostScriptドライバを利用して行われる。このPostScriptドライバは、Windowsに標準で備えられているものであり、イメージデータをPostScriptで記述されたテキストデータに変換する機能を有する。具体的に、第一ファイル変換手段25cは次のようにしてPostScriptファイルへの変換処理を行う。すなわち、第一ファイル変換手段25cは、スプールファイル作成手段25bから当該帳票についての印刷管理情報及び印刷用スプールファイルが送られると、それらを取得すると共に、帳票固有情報入力画面で入力された当該帳票についての帳票固有情報を取得する。次に、第一ファイル変換手段25cは、その取得した印刷管理情報及び帳票固有情報に含まれる各内容を、PostScriptデータに変換する。この変換された各PostScriptデータは所定のファイルにコメント情報として書き込まれる。このとき、コメント情報には、当該内容のタイトルを表すキーワードも一緒に含めている。その後、第一ファイル変換手段25cは、印刷用スプールファイルの内容をPostScriptデータに変換してその変換結果を上記のファイルに書き込む旨の命令と共にその印刷用スプールファイルをPostScriptドライバに送る。こうして、PostScriptドライバがその印刷用スプールファイルの変換・書込処理を行うことにより、一つのPostScriptファイルが得られる。
The conversion process by the first
いま、第一ファイル変換手段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
通信制御手段25dは、当該端末20と他の端末20,20,・・・との間、当該端末20と管理用コンピュータ30との間でデータの通信を行うものである。例えば、通信制御手段25dは、第一ファイル変換手段35cで得られたPostScriptファイルを管理用コンピュータ10に送信する。
The communication control means 25d performs data communication between the terminal 20 and the
次に、管理用コンピュータ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
第二ファイル変換手段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
また、第二ファイル変換手段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
第二ファイル変換手段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
実際、第二ファイル変換手段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
こうして1ページ分のデータの内容を解析した後、第二ファイル変換手段34は、その解析した結果に基づいて、帳票データファイルの1ページ分のデータを作成する。かかる帳票データファイルの1ページ分のデータは、図6に示すように、行ピッチデータと、罫線データと、行毎の印字データとを含んでいる。罫線データは、当該ページに印字する各罫線についてその種類を表すコードとその始点及び終点を表すXY座標データとを含んで構成されている。また、行毎の印字データは、当該行に印字すべき各文字についてその文字コードとその列位置のデータとを含んで構成されている。ここで、当該行に空白がある場合には、その空白というデータも印字データに含まれる。図6の例では、最初のページにおける1行目の印字データは、文字を印字せずに改行すべきという内容を表しており、その2行目の印字データは、「請求書」という文字を所定の列位置に印字すべきという内容を表している。また、行毎の印字データには、フォントの命令コード、色の命令コードが所定箇所に埋め込まれている。フォントの命令コード・色の命令コードの内容は、その後に他のフォントの命令コード・色の命令コードが現れるまで、有効となる。
After analyzing the content of the data for one page in this way, the second
その後、第二ファイル変換手段34は、上記の処理を他のページのデータに対して繰り返すことにより、各印刷ページについて、帳票データファイルの1ページ分のデータを作成する。そして、第二ファイル変換手段34がそれらのデータを一つのファイルにまとめることにより、帳票データファイルが得られる。第二ファイル変換手段34で得られた帳票管理情報、帳票属性情報、帳票データファイルはファイル管理手段35に送られる。
Thereafter, the second
ファイル管理手段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
本実施形態では、帳票データファイルが印刷ページ毎のデータから構成されていることから分かるように、ファイル管理手段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
また、ファイル管理手段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
また、ファイル管理手段35は、当該帳票管理情報に仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる管理用名称と仕分キーとで構成される名称をフォルダ名とするフォルダがデータベース31に既に存在しているかどうかを判断する。ここで、管理用名称と仕分キーとで構成される名称としては、例えば「(仕分キー)_(管理用名称)」という名称が用いられる。そして、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に存在していないと判断すると、そのフォルダ名を有するフォルダをデータベース31に作成し、その作成したフォルダ内に当該帳票についての帳票ファイル群及び帳票設定ファイルを格納する。一方、ファイル管理手段35は、そのフォルダ名を有するフォルダがデータベース31に既に存在していると判断すると、そのフォルダ名を有するフォルダ内に当該帳票についての帳票ファイル群を格納する。この場合、かかるフォルダには複数の帳票についての帳票ファイル群が含まれることになる。このように、本実施形態では、ファイル管理手段35は、仕分キーを利用して、各帳票をより細かく分類して管理することができる。
Further, when the form management information includes information related to the sorting key, the
具体的に、ファイル管理手段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
また、ファイル管理手段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
ところで、上述したように、帳票作成手段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
いま、かかる第二ファイル変換手段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
以上、各端末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
このように、本実施形態の電子帳票システムを利用すると、各端末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
次に、本実施形態の電子帳票システムにおいて、各端末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
まず、ユーザは、帳票作成手段25aの印刷機能を利用して、今回登録しようとする帳票についての印刷画面を表示装置22の画面上に表示させる。次に、ユーザは、その印刷画面において、帳票の出力先として第一ファイル変換手段25cを指定し、「プロパティ」のボタンを押す。すると、帳票作成手段25aの印刷機能は、「プロパティ」のボタンが押された旨の指令を第一ファイル変換手段25cに送る。第一ファイル変換手段25cは、かかる指令を受け取ると、所定の帳票固有情報入力画面を表示装置22の画面上に表示する。ユーザは、この帳票固有情報入力画面上で帳票固有情報を入力する(S1)。ここでは、説明を簡単にするため、ユーザが帳票固有情報として当該帳票の帳票名及び日付に関する情報のみを入力したものとする。
First, the user uses the print function of the
帳票固有情報を入力した後、ユーザが印刷画面において「印刷実行」のボタンを押すと、帳票作成手段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
第一ファイル変換手段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
次に、端末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
次に、ファイル管理手段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
本実施形態の電子帳票システムでは、各端末の帳票作成手段で作成された帳票を管理用コンピュータに登録する場合、各端末においては、スプールファイル作成手段が帳票についての印刷管理情報とその帳票の印刷イメージを表す印刷用スプールファイルとを作成した後、第一ファイル変換手段がその帳票についての印刷管理情報及び印刷用スプールファイルと帳票固有情報入力画面で入力された当該帳票についての帳票固有情報とを一つの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.
10 メインフレーム
20 端末
21 入力装置
22 表示装置
23 印刷装置
24 記憶部
25 中央処理装置
25a 帳票作成手段
25b スプールファイル作成手段
25c 第一ファイル変換手段
25d 通信制御手段
30 管理用コンピュータ
31 データベース(データ格納手段)
32 帳票テーブル記憶手段
33 通信制御手段
34 第二ファイル変換手段
35 ファイル管理手段
10
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:
前記ファイル管理手段は、前記第二ファイル変換手段で得られた前記帳票管理情報に前記仕分キーに関する情報が含まれている場合には、当該帳票管理情報に含まれる前記管理用名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納するのではなく、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダが前記データ格納手段に存在していなければそのフォルダ名を有する前記フォルダを前記データ格納手段に作成し、当該帳票管理情報に含まれる前記管理用名称と前記仕分キーとで構成される名称をフォルダ名とする前記フォルダ内に当該帳票データファイルを格納することを特徴とする請求項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.
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)
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)
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 |
-
2006
- 2006-12-22 JP JP2006345591A patent/JP2008158727A/en active Pending
Patent Citations (4)
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)
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 |