JP2005063213A - Business form printer and business form printing system - Google Patents

Business form printer and business form printing system Download PDF

Info

Publication number
JP2005063213A
JP2005063213A JP2003293673A JP2003293673A JP2005063213A JP 2005063213 A JP2005063213 A JP 2005063213A JP 2003293673 A JP2003293673 A JP 2003293673A JP 2003293673 A JP2003293673 A JP 2003293673A JP 2005063213 A JP2005063213 A JP 2005063213A
Authority
JP
Japan
Prior art keywords
data
print
printing
printed
business form
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
JP2003293673A
Other languages
Japanese (ja)
Inventor
Tetsushi Ueno
哲志 上野
Junichi Takizawa
淳一 瀧澤
Masaru Tomioka
優 富岡
Mitsuhiro Matsuda
充弘 松田
Masahiro Nishida
正洋 西田
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.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to JP2003293673A priority Critical patent/JP2005063213A/en
Publication of JP2005063213A publication Critical patent/JP2005063213A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a business form printing system capable of easily printing a business form of a desired format by use of business form data displayed as a processing result. <P>SOLUTION: The business form printing system 2 comprises the business form printer 4. The business form printer 4 functions as a business form forming device for retrieving business form data to be displayed as a retrieval result (processing result) in any one of user terminals 8a, 8b and 8c and forming, when printing of these business form data is requested, a printing business form by use of the business form data retrieved to be displayed as the retrieval result based on a printing data definition defining business form data (printing business form data) to be printed and a business form definition body (printing position definition) defining the printing position of the printing business form data. The user terminals 8a, 8b and 8c which perform the requesting of printing of the displayed data after displaying the business form data retrieved by the business form printer 4 as the retrieval result, and prints a business form based on the data of the printing business form transmitted from the business form printer 4 according to the request of printing is connected to the business form printer 4 through a network 6. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、所定の帳票データを編集することにより所望の形式の帳票を印刷することができる帳票印刷装置及び帳票作成装置を備えた帳票印刷システムに関するものである。   The present invention relates to a form printing apparatus capable of printing a form in a desired format by editing predetermined form data and a form printing system including a form creation apparatus.

従来、所定の業務に関する処理として、例えば、各種業務に関するデータの中から任意の帳票データを検索し検索結果として表示した場合、表示された帳票データを所望の形式の帳票として印刷するためには、帳票データを編集して印刷するためのプログラムを予め作成し保持しておく必要があった。即ち、検索結果として表示されている帳票データは、例えば、画面をスクロールすることによりその大きさを気にすることなく表示することができる。その一方、検索結果として表示されている帳票データをそのまま印刷した場合、表示されている帳票データが大きく1枚の用紙に全ての帳票データを印刷することができない場合には、表示されている帳票データが途中から別の用紙に印刷される。また、検索結果として表示されている帳票データに、印刷する必要がない帳票データが含まれている場合、そのまま表示されている帳票データを印刷すると不要な帳票データも印刷されてしまうことになる。従って、検索結果として表示されている帳票データを所望の形式の帳票として印刷するためには、表示されている帳票データを所望の形式の帳票に編集して印刷するためのプログラムを作成して保持しておく必要があった。   Conventionally, as processing related to a predetermined business, for example, when arbitrary form data is searched from data related to various business and displayed as a search result, in order to print the displayed form data as a form in a desired format, A program for editing and printing the form data had to be created and held in advance. In other words, the form data displayed as the search result can be displayed without worrying about its size by scrolling the screen, for example. On the other hand, when the form data displayed as a search result is printed as it is, if the displayed form data is large and not all form data can be printed on one sheet, the displayed form data is displayed. Data is printed on another sheet from the middle. Further, when the form data displayed as the search result includes form data that does not need to be printed, if the form data that is displayed as it is printed, unnecessary form data is also printed. Therefore, in order to print the form data displayed as a search result as a form of a desired format, a program for editing the displayed form data into a form of a desired format and printing it is created and held. It was necessary to keep it.

なお、帳票データ入力装置において入力された帳票データをネットワークを介して受信して帳票を作成し、作成された帳票を出力する帳票処理装置が存在する(例えば、特許文献1)。この帳票処理装置によれば、帳票データを入力する帳票データ入力装置と、入力された帳票データに基づいて作成した帳票を出力する帳票処理装置とにおいて、共通の帳票定義情報を用いている。ここで、この帳票定義情報には、予め印刷された帳票の画像データをイメージスキャナ等により取得したレイアウト情報、帳票データの中から出力する項目を指定した出力制御情報及び帳票を構成するために入力が必要であると予想される項目を指定した入力制御情報が含まれている。この帳票処理装置においては、同一の帳票定義情報が帳票データ入力装置と帳票処理装置とにおいて保持されているため、各々の装置に別々の帳票定義情報が保持されている場合に比べて、作成される帳票の変更等を容易に行うことができる。   There is a form processing apparatus that receives form data input by a form data input apparatus via a network, creates a form, and outputs the created form (for example, Patent Document 1). According to this form processing apparatus, common form definition information is used in the form data input apparatus for inputting form data and the form processing apparatus for outputting a form created based on the input form data. Here, the form definition information is input to form layout information obtained by pre-printed form image data using an image scanner or the like, output control information specifying items to be output from the form data, and forms. Contains input control information that specifies items that are expected to be required. In this form processing device, since the same form definition information is held in the form data input device and the form processing device, it is created as compared with the case where separate form definition information is held in each device. It is possible to easily change the form.

特開2003−6556号公報JP 2003-6556 A

ところで、上述のように所定の検索条件に基づく検索結果として表示されている帳票データに基づいて所望の形式の帳票を印刷する場合には、所望の形式の帳票を印刷するためのプログラムを作成しなければならず、多大な労力と時間を必要としていた。即ち、入力された帳票データを用いて所望の形式の帳票を印刷する場合と異なり、表示されている帳票データを所望の形式の帳票として印刷するためには、帳票データを編集するためのプログラムが別途必要になる。そして、プログラムを作成する際には、プログラムを構成するモジュール(部品)の処理内容を明確にする等の作業を行うモジュール設計、それぞれのモジュールが要求される機能を満たしているか否かを確認する単体テスト、作成されたモジュールによるロジックに基づいてソース・コードを作成するコーディング及び作成されたプログラムの機能を確認するシステムテストを行う必要がある。   By the way, when printing a form in a desired format based on the form data displayed as a search result based on a predetermined search condition as described above, a program for printing a form in a desired format is created. It had to take a lot of effort and time. That is, unlike the case of printing a desired form using the input form data, a program for editing the form data is required to print the displayed form data as a desired form. It is necessary separately. When creating a program, the module design for clarifying the processing contents of the modules (parts) that make up the program is confirmed, and whether each module satisfies the required functions is confirmed. It is necessary to conduct a unit test, a coding for creating a source code based on the logic by the created module, and a system test for confirming the function of the created program.

この発明の課題は、所定の業務に関するデータ処理の処理結果として表示される帳票データを用いて所望の形式の帳票を容易に印刷することができる帳票印刷装置及び帳票作成装置を備えた帳票印刷システムを提供することである。   An object of the present invention is to provide a form printing apparatus capable of easily printing a form in a desired format using form data displayed as a processing result of data processing related to a predetermined business, and a form printing system including a form creation apparatus Is to provide.

請求項1記載の帳票印刷装置は、所定の業務に関するデータ処理を行うデータ処理手段と、前記データ処理手段による処理結果として表示される帳票データを、所定の記憶領域に記憶する処理結果記憶手段と、前記処理結果記憶手段に記憶されている前記帳票データの中で所定の帳票が印刷される際に用いられる印刷帳票データを定義する印刷データ定義手段と、前記印刷データ定義手段により定義された前記印刷帳票データが印刷される位置を定義する印刷位置定義手段と、前記処理結果記憶手段に記憶されている帳票データの中から前記印刷データ定義手段により定義された前記印刷帳票データを、前記印刷位置定義手段により定義された位置に配置することにより印刷帳票を作成する印刷帳票作成手段と、前記印刷帳票作成手段により作成された印刷帳票を印刷する印刷手段とを備えることを特徴とする。   The form printing apparatus according to claim 1, a data processing unit that performs data processing related to a predetermined job, and a processing result storage unit that stores form data displayed as a processing result by the data processing unit in a predetermined storage area; The print data defining means for defining print form data used when a predetermined form is printed in the form data stored in the processing result storage means, and the print data defining means defined by the print data defining means Print position defining means for defining a position where the print form data is printed, and the print form data defined by the print data defining means out of the form data stored in the processing result storage means. A print form creation means for creating a print form by placing the print form at a position defined by the definition means, and the print form creation means Characterized in that it comprises a printing means for printing the print document was made.

この請求項1記載の帳票印刷装置によれば、処理結果として表示される帳票データの中から、印刷される帳票に必要な帳票データと該帳票データの印刷位置を定義することにより、容易に所望の形式の帳票を作成し印刷することができる。従って、表示される帳票データを編集し印刷するためのプログラムを作成して保持しておく必要がなく、所望の形式の帳票を印刷するための労力を軽減し、所望の形式の帳票を容易に印刷することができる。   According to the form printing apparatus according to claim 1, the form data necessary for the form to be printed and the print position of the form data are easily defined from the form data displayed as the processing result. It is possible to create and print a form of the form. Therefore, it is not necessary to create and hold a program for editing and printing the displayed form data, reducing the labor for printing the desired form, and making the desired form easier. Can be printed.

また、請求項2記載の帳票印刷装置は、前記処理結果記憶手段において前記帳票データを記憶する前記記憶領域毎に、記憶する前記帳票データの種類及びデータ長の内の少なくとも何れか一つが設定されていることを特徴とする。   In the form printing apparatus according to claim 2, at least one of the type and data length of the form data to be stored is set for each of the storage areas in which the form data is stored in the processing result storage unit. It is characterized by.

この請求項2記載の帳票印刷装置によれば、任意の記憶領域に記憶される帳票データの種類及びデータ長を設定することができる。そのため、設定されたデータの種類及びデータ長に基づいて、該記憶領域に記憶される帳票データを帳票上に確実に印刷することができる。例えば、任意の項目に対応する文字列の帳票データについて、該帳票データの一部が所定の枠外に出たり一部が欠落したりすることなく、該帳票データを任意の項目に対応させて確実に印刷することができる。   According to the form printing apparatus of the second aspect, the type and data length of the form data stored in the arbitrary storage area can be set. Therefore, based on the set data type and data length, the form data stored in the storage area can be reliably printed on the form. For example, with respect to form data of a character string corresponding to an arbitrary item, it is ensured that the form data is made to correspond to an arbitrary item without a part of the form data being out of a predetermined frame or missing a part. Can be printed on.

また、請求項3記載の帳票印刷装置は、前記印刷位置定義手段が、前記印刷帳票データが印刷される帳票上の印刷位置を調整する位置調整手段を備えることを特徴とする。   The form printing apparatus according to claim 3 is characterized in that the print position defining means includes a position adjusting means for adjusting a print position on the form on which the print form data is printed.

この請求項3記載の帳票印刷装置によれば、印刷帳票データの印刷位置を調整することにより、各印刷帳票データが適切に配置された帳票を印刷することができる。また、例えば、印刷帳票データが印刷される領域(フィールド)の大きさを調整することにより、各印刷帳票データ間の間隔を適切に保持した帳票を印刷することができる。   According to the form printing apparatus according to the third aspect, by adjusting the print position of the print form data, it is possible to print the form in which each print form data is appropriately arranged. Further, for example, by adjusting the size of the area (field) where the print form data is printed, it is possible to print a form that appropriately holds the interval between the print form data.

また、請求項4記載の帳票印刷システムは、印刷される帳票を作成する帳票作成装置と、前記帳票作成装置とネットワークを介して接続されたユーザ端末とを備える帳票印刷システムにおいて、前記帳票作成装置は、所定の業務に関するデータ処理を行うデータ処理手段と、前記データ処理手段による処理結果として表示される帳票データを、所定の記憶領域に記憶する処理結果記憶手段と、前記ユーザ端末に対して前記処理結果記憶手段に記憶されている前記帳票データを送信する処理結果送信手段と、前記処理結果記憶手段に記憶されている前記帳票データの中で前記所定の帳票が印刷される際に用いられる印刷帳票データを定義する印刷データ定義手段と、前記印刷データ定義手段により定義された前記印刷帳票データが印刷される位置を定義する印刷位置定義手段と、前記ユーザ端末から前記帳票データの印刷を要求された場合に、前記処理結果記憶手段に記憶されている帳票データの中から前記印刷データ定義手段により定義された前記印刷帳票データを、前記印刷位置定義手段により定義された位置に配置することにより印刷帳票を作成する印刷帳票作成手段と、前記印刷帳票作成手段により作成された印刷帳票のデータを前記ユーザ端末に対して送信する送信手段とを備え、前記ユーザ端末は、前記帳票作成装置から送信された前記帳票データを処理結果として表示する表示手段と、前記表示手段により表示された前記帳票データの印刷を前記帳票作成装置に対して要求する帳票印刷要求手段と、前記帳票印刷要求手段による前記帳票データの印刷要求に基づいて、前記帳票作成装置から前記ネットワークを介して送信された前記印刷帳票のデータを受信する受信手段と、前記受信手段により受信された印刷帳票のデータに基づいて前記印刷帳票を印刷する印刷手段とを備えることを特徴とする。   5. The form printing system according to claim 4, wherein the form creation apparatus comprises: a form creation apparatus for creating a form to be printed; and a user terminal connected to the form creation apparatus via a network. Is a data processing unit that performs data processing related to a predetermined job, a processing result storage unit that stores form data displayed as a processing result by the data processing unit in a predetermined storage area, and the user terminal Processing result transmission means for transmitting the form data stored in the processing result storage means, and printing used when the predetermined form is printed in the form data stored in the processing result storage means A print data defining means for defining form data, and a position at which the print form data defined by the print data defining means is printed. A printing position defining means for defining the printing data, and when the printing of the form data is requested from the user terminal, the printing data defining means defined by the printing data defining means from among the form data stored in the processing result storage means Print form creation means for creating a print form by placing the print form data at the position defined by the print position definition means, and the print form data created by the print form creation means to the user terminal The user terminal is configured to display the form data transmitted from the form creation device as a processing result, and to print the form data displayed by the display means. Based on the form print request means for requesting the creation device, and the print request for the form data by the form print request means, Receiving means for receiving the data of the print form transmitted from the form creation device via the network; and printing means for printing the print form based on the data of the print form received by the receiving means. It is characterized by that.

この請求項4記載の帳票印刷システムによれば、まず、帳票作成装置において、ユーザ端末において処理結果として表示される所定の業務のデータ処理の処理結果をユーザ端末に送信する。次に、ユーザ端末において、処理結果として帳票作成装置から送信された帳票データを表示し、表示された帳票データの印刷を帳票作成装置に対して要求する。帳票作成装置において、ユーザ端末から帳票データの印刷を要求された場合には、処理結果として表示される帳票データの中で所定の帳票を印刷する際に用いられる印刷帳票データとして定義されている印刷帳票データを印刷位置として定義された位置に配置することにより作成された印刷帳票のデータをユーザ端末に送信する。そして、ユーザ端末においては、帳票作成装置から送信された印刷帳票のデータを受信し印刷する。従って、処理結果として表示される帳票データを印刷するために、帳票データを編集して所望の形式の帳票を作成するためのプログラムを作成しておくことなく、帳票作成装置において印刷帳票データ及び該印刷帳票データの印刷位置を定義することにより、容易に所望の形式の帳票を印刷することができる。   According to the form printing system of the fourth aspect, first, in the form creation device, the processing result of the data processing of the predetermined job displayed as the processing result on the user terminal is transmitted to the user terminal. Next, in the user terminal, the form data transmitted from the form creation apparatus is displayed as a processing result, and the form creation apparatus is requested to print the displayed form data. In the form creation device, when printing of form data is requested from the user terminal, printing defined as print form data used when printing a predetermined form among the form data displayed as the processing result Print form data created by placing the form data at the position defined as the print position is transmitted to the user terminal. In the user terminal, the print form data transmitted from the form creation device is received and printed. Therefore, in order to print the form data displayed as a processing result, the form creation apparatus does not create a program for creating a form in a desired format by editing the form data, By defining the print position of the print form data, it is possible to easily print a form in a desired format.

また、請求項5記載の帳票印刷システムは、前記処理結果記憶手段において前記帳票データを記憶する前記記憶領域毎に、記憶する前記帳票データの種類及びデータ長の内の少なくとも何れか一つが設定されていることを特徴とする。   In the form printing system according to claim 5, at least one of the type and data length of the form data to be stored is set for each storage area in which the form data is stored in the processing result storage unit. It is characterized by.

この請求項5記載の帳票印刷システムによれば、任意の記憶領域に記憶される帳票データの種類及びデータ長を設定することができる。従って、例えば、任意の項目に対応する文字列の帳票データについて、該帳票データの一部が所定の枠外に出たり一部が欠落したりすることなく、該帳票データを任意の項目に対応させて確実に印刷することができる。   According to the form printing system of the fifth aspect, the type and data length of the form data stored in an arbitrary storage area can be set. Therefore, for example, for form data of a character string corresponding to an arbitrary item, the form data is made to correspond to an arbitrary item without a part of the form data going out of a predetermined frame or a part of the form data being lost. Can be printed reliably.

また、請求項6記載の帳票印刷システムは、前記印刷位置定義手段が、前記印刷帳票データが印刷される帳票上の印刷位置を調整する位置調整手段を備えることを特徴とする。   The form printing system according to claim 6 is characterized in that the printing position defining means includes a position adjusting means for adjusting a printing position on the form on which the print form data is printed.

この請求項6記載の帳票印刷システムによれば、印刷帳票データの印刷位置を定義する際に、印刷位置を調整することができるため、的確な位置に印刷帳票データが配置された帳票を作成し印刷することができる。   According to the form printing system described in claim 6, since the print position can be adjusted when defining the print position of the print form data, a form in which the print form data is arranged at an appropriate position is created. Can be printed.

この発明に係る帳票印刷装置によれば、処理結果として表示される帳票データの中から、印刷される帳票に必要な帳票データ及び該帳票データの印刷位置を定義することにより、容易に所望の形式の帳票を印刷することができる。従って、表示される帳票データを編集し印刷するためのプログラムを予め作成して保持しておく必要がなく、所望の形式の帳票を印刷するための労力を軽減し、所望の形式の帳票を容易に印刷することができる。また、何れの帳票データを印刷帳票データとして用いるかを定義することにより、表示される帳票データの中から必要な印刷帳票データのみを含む適切な帳票を容易に印刷することができる。   According to the form printing apparatus according to the present invention, by defining the form data required for the form to be printed and the print position of the form data from the form data displayed as the processing result, the desired format can be easily obtained. Can be printed. Therefore, there is no need to create and hold a program for editing and printing the displayed form data in advance, reducing the labor for printing the desired form, and making the desired form easier Can be printed on. Also, by defining which form data is used as the print form data, it is possible to easily print an appropriate form including only necessary print form data from the displayed form data.

また、この発明に係る帳票印刷システムによれば、帳票作成装置において、ユーザ端末に処理結果として表示される帳票データの中で、帳票を印刷する際に使用する帳票データとして定義された印刷帳票データを定義された位置に配置することにより、印刷帳票を作成する。そして、帳票作成装置において作成された印刷帳票をユーザ端末において印刷する。従って、処理結果として表示されている帳票データを印刷するために、帳票データを編集して所望の形式の帳票を作成するためのプログラムを作成しておくことなく、所望の形式の帳票を印刷することができる。また、帳票作成装置において、定義された印刷帳票データを定義された印刷位置に配置することにより印刷帳票を作成しているため、帳票の形式に変更が生じた場合であっても、帳票作成装置において印刷位置の定義を変更等することにより、ユーザ端末において変更された形式の帳票を容易に印刷することができ、帳票の形式変更に容易、かつ、迅速に対応することができる。   Further, according to the form printing system according to the present invention, in the form creation device, the form data defined as the form data used when printing the form among the form data displayed as the processing result on the user terminal. A print form is created by placing the at a defined position. Then, the print form created by the form creation device is printed at the user terminal. Therefore, in order to print the form data displayed as the processing result, the form in the desired format is printed without creating a program for creating the form in the desired form by editing the form data. be able to. Also, since the form creation device creates the print form by placing the defined print form data at the defined print position, even if the form format changes, the form creation device By changing the definition of the printing position in step S2, it is possible to easily print the form in the format changed in the user terminal, and it is possible to easily and quickly respond to the form change.

以下、図面を参照してこの発明の最良の実施の形態に係る帳票印刷システムについて説明する。なお、以下においては、本社と支社との間でイントラネットが形成されている企業内等にこの発明の実施の形態に係る帳票印刷システムが設置されている場合を例として説明する。   A form printing system according to the best embodiment of the present invention will be described below with reference to the drawings. In the following, a case where the form printing system according to the embodiment of the present invention is installed in a company where an intranet is formed between the head office and the branch office will be described as an example.

図1は、この発明の実施の形態に係る帳票印刷システムのブロック構成図である。帳票印刷システム2は、図1に示すように、印刷される帳票を作成する帳票作成装置として機能する帳票印刷装置4を備えている。この帳票印刷装置4は、例えば、企業の本社やデータセンタ等に設置されており、企業内におけるイントラネットを構成するためのネットワーク6を介して各支社等に配置されているユーザ端末8a、8b、8cと接続されている。   FIG. 1 is a block diagram of a form printing system according to an embodiment of the present invention. As shown in FIG. 1, the form printing system 2 includes a form printing apparatus 4 that functions as a form creation apparatus that creates a form to be printed. The form printing device 4 is installed in, for example, a corporate headquarters or a data center, and user terminals 8a, 8b, which are arranged in each branch office via a network 6 for configuring an intranet in the enterprise. 8c is connected.

図2は、この発明の実施の形態に係る帳票印刷装置のブロック構成図である。帳票印刷装置4は、図2に示すように、帳票印刷装置4におけるデータの処理を制御するデータ制御部10を備えている。このデータ制御部10には、ネットワーク6を介してユーザ端末8a、8b、8cとの間の通信を制御する通信制御部12が接続されている。また、データ制御部10には、印刷される帳票に用いられる印刷帳票データを定義している印刷データ定義や印刷帳票データが印刷される位置を定義した帳票定義体(印刷位置定義)等を記憶している定義データ記憶部14及び検索結果(処理結果)として表示される帳票データ等を記憶するデータストア(検索結果記憶手段)16が接続されている。また、データ制御部10には、所定の業務に関するデータ等を記憶しているデータベースを構成するデータ記憶部18及び帳票定義体の作成画面等を表示する表示部20が接続されている。   FIG. 2 is a block diagram of the form printing apparatus according to the embodiment of the present invention. As shown in FIG. 2, the form printing apparatus 4 includes a data control unit 10 that controls data processing in the form printing apparatus 4. A communication control unit 12 that controls communication with the user terminals 8 a, 8 b, and 8 c is connected to the data control unit 10 via the network 6. Further, the data control unit 10 stores a print data definition that defines print form data used for a printed form, a form definition body (print position definition) that defines a position where the print form data is printed, and the like. And a data store (search result storage means) 16 for storing form data and the like displayed as search results (processing results). The data control unit 10 is connected to a data storage unit 18 that forms a database that stores data relating to a predetermined business and a display unit 20 that displays a form definition creation screen.

定義データ記憶部14には、ユーザ端末に検索結果として表示される帳票データを記憶するデータストア16の記憶領域について定義したデータストア定義、データストア定義において定義された記憶領域に記憶されている帳票データの中から、印刷される帳票に用いられる印刷帳票データを定義した印刷データ定義及び印刷帳票データが印刷される位置を定義した帳票定義体が記憶されている。   The definition data storage unit 14 includes a data store definition defined for a storage area of the data store 16 for storing form data displayed as a search result on the user terminal, and a form stored in the storage area defined in the data store definition. Among the data, a print data definition that defines print form data used for a form to be printed and a form definition body that defines a position where the print form data is printed are stored.

図3は、この発明の実施の形態に係るデータストア定義の一例を示す図である。データストア定義は、検索結果として表示される帳票データを記憶するデータストア16の記憶領域を定義している。図3に示すように、データストア定義においては、各記憶領域(カラム)について、カラムの番号、カラム名、データ型、長さ及び親カラムについて定義されている。ここで、カラムの番号は、各カラムを識別するための識別番号として用いられる。また、カラム名は、各カラムに何を意味するデータが記憶されるのかを示し、データ型は、カラムに記憶されるデータが文字列(String)、10進数の数字(Decimal)というデータの種類を、データ長はカラムに記憶されるデータの長さを示している。また、親カラムは、一つのグループとして扱われるカラムについて、各カラムが何れのカラムに基づくグループに属するかを示している。例えば、図3においてはカラム番号8〜11までの「商品No」、「数量」、「単価」及び「商品名」のカラムは「購買履歴」のカラムに基づくグループとして扱われることが示されている。   FIG. 3 is a diagram showing an example of the data store definition according to the embodiment of the present invention. The data store definition defines a storage area of the data store 16 that stores form data displayed as a search result. As shown in FIG. 3, in the data store definition, the column number, column name, data type, length, and parent column are defined for each storage area (column). Here, the column number is used as an identification number for identifying each column. The column name indicates what data is stored in each column, and the data type is a data type in which the data stored in the column is a character string (String) or a decimal number (Decimal). The data length indicates the length of data stored in the column. The parent column indicates which column each column belongs to which group is treated as one group. For example, in FIG. 3, it is shown that the “product number”, “quantity”, “unit price”, and “product name” columns of column numbers 8 to 11 are treated as a group based on the “purchasing history” column. Yes.

なお、このデータストア定義に基づいて、検索結果として表示される帳票データを記憶するためのカラムがデータストア16に作成される。図4は、この発明の実施の形態に係るデータストア定義に基づいてデータストア16に作成されたカラムの一例を示す図である。図4に示すように、データストア定義により定義されたカラム名毎に検索結果として表示される帳票データを記憶するためのカラム名が設定され、このカラム名に対応させて検索された帳票データを記憶するためのカラムが設けられる。   Note that a column for storing the form data displayed as the search result is created in the data store 16 based on the data store definition. FIG. 4 is a diagram showing an example of columns created in the data store 16 based on the data store definition according to the embodiment of the present invention. As shown in FIG. 4, a column name for storing the form data to be displayed as a search result is set for each column name defined by the data store definition, and the form data searched in correspondence with this column name is set. A column for storing is provided.

印刷データ定義は、データストア定義に基づいてデータストア16に設けられたカラムに記憶されている帳票データの中で、帳票が印刷される際に用いられる印刷帳票データを定義している。図5は、この発明の実施の形態に係る印刷データ定義の一例を示す図である。図5に示すように、印刷データ定義においては、データストア定義により定義されたカラムについて、「使用TrレイアウトID」欄に当該カラムに記憶されている帳票データを使用する帳票名を記入することにより、何れのカラムに記憶されている帳票データが印刷帳票データであるかを定義している。即ち、図5に示すように、データストア定義により定義されているカラムの中から、「発注書」という帳票を印刷する際に必要な帳票データを記憶するカラムについては、「使用TrレイアウトID」欄に「発注書」と記入し、帳票を印刷する際に必要でない帳票データを記憶するカラムについては「使用TrレイアウトID」欄を空欄にすることにより、何れの帳票データが印刷帳票データであるかを定義する。なお、図5においては、「パスワード」及び「区分」の帳票データは、帳票を印刷する際に必要な帳票データではないため「使用TrレイアウトID」の欄が空欄になっており、それ以外の帳票データについては、印刷する際に必要な帳票データとして「使用TrレイアウトID」の欄に「発注書」と記入され、印刷帳票データとして定義されている。   The print data definition defines print form data used when a form is printed, among the form data stored in the columns provided in the data store 16 based on the data store definition. FIG. 5 is a diagram showing an example of the print data definition according to the embodiment of the present invention. As shown in FIG. 5, in the print data definition, for the column defined by the data store definition, the form name that uses the form data stored in the column is entered in the “Used Tr Layout ID” field. The column defines the form data stored in which column is the print form data. That is, as shown in FIG. 5, among the columns defined by the data store definition, for the column storing the form data necessary for printing the form “Purchase Order”, “Used Tr Layout ID” For the column that stores “Purchase Order” in the column and stores the form data that is not required when printing the form, the “Used Tr Layout ID” field is left blank so that any form data is the print form data Define what. In FIG. 5, the “password” and “category” form data is not form data necessary for printing the form, so the “Used Tr Layout ID” field is blank. The form data is defined as print form data by entering “Purchase Order” in the “Used Tr Layout ID” field as form data necessary for printing.

帳票定義体は、印刷データ定義により定義された印刷帳票データが印刷される位置を定義している。図6は、この発明の実施の形態に係る印刷データ定義の一例を示す図である。図6に示すように、例えば、発注書という帳票の帳票定義体においては、上部左側の位置に「ユーザID」のデータ、上部右側であってユーザIDのデータが印刷される位置に隣接した位置に「発注日」のデータ、中央より上の部分の位置に「氏名」のデータ、氏名の下の位置に「住所」のデータがそれぞれ印刷されることが定義されている。また、図6において点線で囲まれている「ユーザID」、「発注日」、「氏名」及び「住所」が印刷される部分は、例えば、表示されている帳票が1枚の用紙では収まらず複数の用紙に印刷される場合に、全ての用紙に印刷するように定義されている。また、点線で示す部分の下の位置に「商品No」、「数量」、「単価」及び「商品名」の項目を配置し、各項目の下に表形式で「商品No」等の項目に対応するデータが印刷されるように定義されている。また、図6において最下部の右隅に示すように、印刷された帳票が総印刷数の中で何枚目の帳票であるかを示す番号が印刷されることも定義されている。   The form definition body defines the position where the print form data defined by the print data definition is printed. FIG. 6 is a diagram showing an example of the print data definition according to the embodiment of the present invention. As shown in FIG. 6, for example, in a form definition body of a form called a purchase order, “user ID” data is located at the upper left position, and the upper right position is adjacent to the position where the user ID data is printed. “Order date” data, “Name” data at the position above the center, and “Address” data at the position below the name are defined. Further, in the portion where “user ID”, “order date”, “name” and “address” surrounded by dotted lines in FIG. 6 are printed, for example, the displayed form does not fit on one sheet. It is defined to print on all the sheets when printing on a plurality of sheets. In addition, “Product No.”, “Quantity”, “Unit Price” and “Product Name” items are placed below the dotted line, and items such as “Product No.” are displayed in tabular form below each item. Data to be printed is defined. In addition, as shown in the lower right corner in FIG. 6, it is also defined that a number indicating what number of printed forms is the total number of printed forms is printed.

ここで、この帳票定義体は、例えば、一般的に用いられている発注書のレイアウトの雛形に基づいて作成する。即ち、作成された印刷データ定義に基づいて、印刷帳票データを配置するためのフィールドが作成され、該フィールドをレイアウトの雛形に基づいて配置することにより作成された帳票定義体が表示部20に表示される。この時、表示部20に表示されている帳票定義体において、マウス等のポインティングデバイス(図示せず)を用いて任意のフィールドを選択し、選択されたフィールドを目的の位置まで移動させることができる。即ち、マウス・ポインタを任意のフィールドに合わせ、ボタンを押したままマウスを移動させる(ドラッグする)ことによって、任意のフィールドを任意の位置に移動させることができる。なお、帳票定義体を構成する各フィールドのデータ長は、データストア定義において定義された帳票データのデータ長と同一のデータ長となっているため、印刷帳票データを確実に配置して印刷することができる。   Here, the form definition body is created based on, for example, a generally used layout form of a purchase order. That is, a field for arranging the print form data is created based on the created print data definition, and the form definition body created by arranging the field based on the layout template is displayed on the display unit 20. Is done. At this time, in the form definition displayed on the display unit 20, an arbitrary field can be selected using a pointing device (not shown) such as a mouse, and the selected field can be moved to a target position. . That is, an arbitrary field can be moved to an arbitrary position by moving the mouse pointer (dragging) while holding the button while aligning the mouse pointer with the arbitrary field. Note that the data length of each field constituting the form definition body is the same as the data length of the form data defined in the data store definition, so the print form data must be arranged and printed reliably. Can do.

なお、所定の業務毎に必要となる帳票の種類が異なっている場合には、所定の業務毎にデータストア定義、印刷データ定義及び帳票定義体が作成される。そして、各業務に対応させてデータストア定義、印刷データ定義及び帳票定義体が定義データ記憶部14に記憶される。   Note that if the types of forms required for each predetermined business are different, a data store definition, a print data definition, and a form definition body are created for each predetermined business. Then, the data store definition, the print data definition, and the form definition body are stored in the definition data storage unit 14 in correspondence with each business.

データストア16には、検索結果、例えば、ネットワーク6を介してユーザ端末8aから送信された検索条件に基づいて検索された結果であって、ユーザ端末8aにおいて検索結果として表示される帳票データが記憶される。ここで、検索された帳票データは、定義データ記憶部14に記憶されているデータストア定義に基づいて作成されたカラムの中で、対応するカラムにそれぞれ記憶される。   The data store 16 stores search results, for example, search results based on search conditions transmitted from the user terminal 8a via the network 6 and displayed as search results on the user terminal 8a. Is done. Here, the retrieved form data is stored in the corresponding column among the columns created based on the data store definition stored in the definition data storage unit 14.

また、データ記憶部18には、所定の業務に関するデータ、即ち、該帳票印刷システム2が設置されている企業において行われる業務であって、帳票を作成する必要がある業務に関するデータが記憶されている。この所定の業務に関するデータとしては、例えば、特定の製品を製造するための部品に関するデータ、即ち、該部品の在庫データ、各部品の発注数、価格、発注日、発注者等のデータを含む発注履歴、製品の納品数、納品日、納品先等のデータを含む納品履歴等に関するデータが記憶されている。また、データ記憶部18には、ユーザの認証データ、即ち、帳票印刷装置4への接続が認められているユーザであるか否かの認証を行うためのデータが記憶されている。このユーザ認証データには、ユーザ毎に付与されているユーザ識別番号(ユーザID)及びユーザ毎に設定されているパスワードが含まれている。また、データ記憶部18には、ユーザ認証データと併せてユーザデータ、例えば、ユーザの氏名、所属部門、役職、勤務地、連絡先等を含むデータが記憶されている。   The data storage unit 18 stores data related to a predetermined business, that is, data related to a business that is performed in a company in which the form printing system 2 is installed and needs to create a form. Yes. The data relating to the predetermined business includes, for example, data relating to parts for manufacturing a specific product, that is, order data including inventory data of each part, order quantity, price, order date, orderer, etc. of each part. Data relating to delivery history including data such as history, number of delivered products, delivery date, delivery destination, etc. is stored. The data storage unit 18 stores user authentication data, that is, data for authenticating whether or not the user is permitted to connect to the form printing apparatus 4. This user authentication data includes a user identification number (user ID) assigned to each user and a password set for each user. In addition, the data storage unit 18 stores user data together with user authentication data, for example, data including a user's name, department, job title, work location, and contact information.

図7は、この発明の実施の形態に係るユーザ端末8aのブロック構成図である。ユーザ端末8aは、図7に示すように、ユーザ端末8aにおけるデータの処理を制御するデータ制御部30を備えている。このデータ制御部30には、所定の帳票データを検索する際の検索条件等を入力するキーボード32及び帳票印刷装置4との間の通信を制御する通信制御部34が接続されている。また、通信制御部34を介して帳票印刷装置4から送信された検索結果として表示される帳票データ等を記憶するデータ記憶部36、データ記憶部36に記憶されている帳票データ等を表示する表示部38及び帳票印刷装置4において作成された印刷帳票を印刷する印刷部40が接続されている。   FIG. 7 is a block configuration diagram of the user terminal 8a according to the embodiment of the present invention. As shown in FIG. 7, the user terminal 8a includes a data control unit 30 that controls processing of data in the user terminal 8a. The data control unit 30 is connected to a keyboard 32 for inputting search conditions and the like for searching predetermined form data and a communication control unit 34 for controlling communication with the form printing apparatus 4. In addition, a data storage unit 36 that stores form data displayed as a search result transmitted from the form printing device 4 via the communication control unit 34, and a display that displays form data stored in the data storage unit 36. The printing unit 40 that prints the printing form created by the unit 38 and the form printing apparatus 4 is connected.

データ記憶部36には、所定の帳票データの検索結果、即ち、帳票印刷装置4から送信された検索結果として表示される帳票データが記憶される。また、データ記憶部36には、印刷帳票のデータ、即ち、帳票印刷装置4に対して帳票データの印刷を要求した場合に、印刷の要求に基づいて帳票印刷装置4から送信された印刷帳票のデータが記憶される。なお、ユーザ端末8b、8cの構成は、ユーザ端末8aの構成と同様の構成であるため説明を省略する。   The data storage unit 36 stores a search result of predetermined form data, that is, form data displayed as a search result transmitted from the form printing apparatus 4. The data storage unit 36 also stores print form data, that is, the print form transmitted from the form print apparatus 4 based on the print request when the form print apparatus 4 is requested to print the form data. Data is stored. In addition, since the structure of the user terminals 8b and 8c is the same structure as the structure of the user terminal 8a, description is abbreviate | omitted.

次に、図8のフローチャートを参照してこの発明の実施の形態に係る帳票印刷システムにおける帳票印刷処理について説明する。なお、以下においては、ユーザ端末8aを用いて検索条件の入力及び帳票の印刷が行われる場合を例として説明する。   Next, the form printing process in the form printing system according to the embodiment of the present invention will be described with reference to the flowchart of FIG. In the following description, an example in which search conditions are input and a form is printed using the user terminal 8a will be described.

まず、ユーザ端末8aにおいてキーボード32を介して入力され、通信制御部34及びネットワーク6を介して送信されたユーザID及びパスワードを、帳票印刷装置4において通信制御部12を介して受信する(ステップS10)。そして、受信したユーザID及びパスワードとデータ記憶部18に記憶されているユーザ認証データに含まれているユーザID及びパスワードとの照合を行う(ステップS11)。即ち、帳票印刷装置4に接続すべく、ユーザ端末8aから送信されたユーザID及びパスワードと帳票印刷装置4のデータ記憶部18に記憶されているユーザID及びパスワードとを照合することにより、帳票印刷装置4への接続が認められているユーザか否かの認証を行う。   First, the user ID and password input via the keyboard 32 in the user terminal 8a and transmitted via the communication control unit 34 and the network 6 are received via the communication control unit 12 in the form printing apparatus 4 (step S10). ). Then, the received user ID and password are collated with the user ID and password included in the user authentication data stored in the data storage unit 18 (step S11). That is, in order to connect to the form printing apparatus 4, the form ID is printed by collating the user ID and password transmitted from the user terminal 8a with the user ID and password stored in the data storage unit 18 of the form printing apparatus 4. It authenticates whether or not the user is permitted to connect to the device 4.

ユーザ端末8aから送信されたユーザID及びパスワードとデータ記憶部18に記憶されているユーザID及びパスワードとの照合が不一致となった場合には(ステップS12)、照合不一致になった旨を通知する照合不一致通知を通信制御部12を介してユーザ端末8aに送信する(ステップS13)。例えば、「ユーザID又はパスワードが誤っています。」等のメッセージをユーザ端末8aに対して送信する。なお、ユーザ端末8aにおいては、ネットワーク6を介して送信された照合不一致通知を通信制御部34を介して受信し、データ記憶部36に記憶すると共に表示部38に表示する。   When the collation between the user ID and password transmitted from the user terminal 8a and the user ID and password stored in the data storage unit 18 does not match (step S12), the fact that the collation is mismatched is notified. A verification mismatch notification is transmitted to the user terminal 8a via the communication control unit 12 (step S13). For example, a message such as “User ID or password is incorrect” is transmitted to the user terminal 8a. In the user terminal 8a, the verification mismatch notification transmitted via the network 6 is received via the communication control unit 34, stored in the data storage unit 36, and displayed on the display unit 38.

一方、ユーザ端末8aから送信されたユーザID及びパスワードとデータ記憶部18に記憶されているユーザID及びパスワードとの照合が一致した場合には(ステップS12)、所定の帳票データを検索するための検索条件を受信する(ステップS14)。即ち、照合一致となった場合には、ユーザ端末8aの表示部38に所定の帳票データを検索するための検索条件を入力する検索条件入力画面(図示せず)が表示される。従って、ユーザ端末8aにおいて入力され通信制御部34を介して帳票印刷装置4に対して送信された検索条件を、ネットワーク6及び通信制御部12を介して受信する。なお、受信された検索条件はデータ記憶部18に記憶される。   On the other hand, when the collation of the user ID and password transmitted from the user terminal 8a matches the user ID and password stored in the data storage unit 18 (step S12), the search for predetermined form data is performed. The search condition is received (step S14). That is, when a match is found, a search condition input screen (not shown) for inputting search conditions for searching for predetermined form data is displayed on the display unit 38 of the user terminal 8a. Accordingly, the search condition input to the user terminal 8 a and transmitted to the form printing apparatus 4 via the communication control unit 34 is received via the network 6 and the communication control unit 12. The received search condition is stored in the data storage unit 18.

次に、ステップS14において受信された検索条件に基づいて、データ記憶部18に記憶されている所定の業務に関するデータの中から、ユーザ端末8aにおいて検索結果として表示される帳票データを検索する(ステップS15)。例えば、認証されたユーザを発注者として特定の日を発注日とする発注書の帳票データを検索する場合には、データ記憶部18に記憶されている所定の業務に関するデータの中から、該ユーザのユーザID及びパスワードを含み、検索条件となっている特定の日を発注日とするデータを検索する。   Next, based on the search condition received in step S14, the form data displayed as the search result in the user terminal 8a is searched from the data relating to the predetermined work stored in the data storage unit 18 (step S14). S15). For example, when searching for form data of a purchase order with an authenticated user as an orderer and a specific date as an order date, the user is searched from data related to a predetermined business stored in the data storage unit 18. The data including the user ID and the password and having the specified date as the search condition as the order date is searched.

次に、ステップS15において検索された帳票データをデータストア16に記憶する(ステップS16)。即ち、定義データ記憶部14に記憶されているデータストア定義に基づいて、データストア16に設けられている所定のカラムに検索結果として表示される帳票データを記憶する。ここで、例えば、ユーザID、パスワード及び発注日が検索条件となっている場合には、ユーザID及びパスワードに基づいて認証されたユーザを発注者として検索条件の発注日に発注された商品に関するデータが検索され、データストア16に記憶される。   Next, the form data searched in step S15 is stored in the data store 16 (step S16). That is, based on the data store definition stored in the definition data storage unit 14, form data displayed as a search result is stored in a predetermined column provided in the data store 16. Here, for example, when the user ID, password, and order date are search conditions, the data related to the product ordered on the order date of the search condition with the user authenticated based on the user ID and password as the orderer Is retrieved and stored in the data store 16.

図9は、データストア16に記憶された検索結果の一例を示す図である。データストア16においては、図9において左側に点線で囲った部分に示すデータストア定義により定義されたカラム名に対応させて、右側に点線で囲った部分に示す検索結果のデータを記憶するカラムが設けられている。そのため、例えば、ユーザIDのデータは「ユーザID」のカラム名に対応して設けられているカラムに、パスワードのデータは「パスワード」のカラム名に対応して設けられている各カラムにそれぞれ記憶される。同様にして、検索結果のその他のデータも該当するカラム名に対応して設けられたカラムに記憶される。ここで、検索条件に合致する商品に関するデータが複数検索された場合には、図9に示すように、カラム名「商品No」〜「商品名」に対応して検索された商品に関するデータを記憶するために必要な数のカラムが設けられ、検索された商品に関するデータが記憶される。即ち、「商品No」〜「商品名」のカラム名に対応するカラムは、親カラムとして「購買履歴」が定義されており(図3参照)、これらのカラムにより「購買履歴」のグループが形成されることが示されている。従って、購買履歴を示すデータが図9に示す場合のように6件検索された場合には、「購買履歴」のカラムが6つ必要となる。即ち、「購買履歴」を構成するグループが6組必要となる。そのため、「商品No」〜「商品名」の各カラム名に対応させて各6つのカラムが設けられ、各カラム毎に検索された商品に関するデータが記憶される。   FIG. 9 is a diagram illustrating an example of search results stored in the data store 16. In the data store 16, in FIG. 9, a column for storing search result data indicated by the dotted line on the right side is associated with the column name defined by the data store definition indicated by the dotted line on the left side. Is provided. Therefore, for example, the user ID data is stored in a column provided corresponding to the column name “user ID”, and the password data is stored in each column provided corresponding to the column name “password”. Is done. Similarly, other data of the search result is also stored in a column provided corresponding to the corresponding column name. Here, when a plurality of data related to the product matching the search condition is searched, as shown in FIG. 9, data related to the product searched corresponding to the column names “product No” to “product name” is stored. The required number of columns is provided, and data relating to the searched product is stored. That is, “purchase history” is defined as a parent column for the columns corresponding to the column names “product No.” to “product name” (see FIG. 3), and a group of “purchase history” is formed by these columns. Has been shown to be. Accordingly, when six pieces of data indicating a purchase history are retrieved as shown in FIG. 9, six “purchase history” columns are required. That is, six groups constituting the “purchasing history” are required. For this reason, six columns are provided in correspondence with the column names “product No.” to “product name”, and data related to the product searched for each column is stored.

次に、データストア16に記憶されている検索結果に基づいてユーザ端末8aにおける表示用の検索結果を作成し通信制御部12を介してユーザ端末8aに対して送信する(ステップS17)。ユーザ端末8aにおいては、まず、ネットワーク6を介して帳票印刷装置4から送信された表示用の検索結果を通信制御部34を介して受信しデータ記憶部36に記憶する。次に、データ記憶部36に記憶された表示用の検索結果を表示部38に表示する。   Next, a search result for display in the user terminal 8a is created based on the search result stored in the data store 16, and transmitted to the user terminal 8a via the communication control unit 12 (step S17). In the user terminal 8 a, first, the search result for display transmitted from the form printing apparatus 4 via the network 6 is received via the communication control unit 34 and stored in the data storage unit 36. Next, the display search result stored in the data storage unit 36 is displayed on the display unit 38.

図10は、ユーザ端末8aにおける表示用の検索結果の一例を示す図である。この図10に示すように、表示用の検索結果として、「ユーザID」、「パスワード」、「発注日」、「区分」、「氏名」、「住所」のデータが一つの表として画面の上部に表示され、「ユーザID」等が表示されている部分の下部に検索条件に基づいて検索された商品に関するデータ、即ち、「商品No」、「数量」、「単価」及び「商品名」のデータが一つの表として表示される。ここで、例えば、表示用の検索結果の中で、この図10における上部に点線で囲った範囲を表示部38において表示することができ、下部の点線で囲った範囲を同一の画面内に表示することができない場合には、マウス等のポインティングデバイスを用いて画面をスクロールさせることにより下部の点線で囲った部分を表示部38に表示することができる。また、表示部38においては、図10に示すように、商品に関するデータが表示されている部分の下部に、印刷ボタンが表示される。この印刷ボタンをマウス等のポインティングデバイスを用いて選択しクリックすることにより、表示用の検索結果として表示される帳票データを印刷するためのデータ、即ち、印刷帳票のデータの送信を帳票印刷装置4に対して要求することができる。   FIG. 10 is a diagram illustrating an example of a search result for display on the user terminal 8a. As shown in FIG. 10, as a search result for display, data of “user ID”, “password”, “order date”, “category”, “name”, and “address” are displayed as one table at the top of the screen. The data relating to the product searched based on the search condition at the bottom of the part where “User ID” etc. is displayed, that is, “Product No.”, “Quantity”, “Unit Price” and “Product Name” Data is displayed as a single table. Here, for example, in the search results for display, the range surrounded by the dotted line at the top in FIG. 10 can be displayed on the display unit 38, and the range surrounded by the dotted line at the bottom is displayed on the same screen. If it cannot be performed, the portion surrounded by the lower dotted line can be displayed on the display unit 38 by scrolling the screen using a pointing device such as a mouse. In the display unit 38, as shown in FIG. 10, a print button is displayed at the lower part of the portion where data relating to the product is displayed. When the print button is selected and clicked using a pointing device such as a mouse, the form printing apparatus 4 transmits data for printing the form data displayed as a search result for display, that is, print form data. Can be requested against.

次に、帳票印刷装置4においては、ユーザ端末8aからの印刷要求を受信した場合には(ステップS18)、データストア16に記憶されている検索結果に基づいて印刷帳票を作成する(ステップS19)。即ち、データストア16に記憶されている検索結果の中から、定義データ記憶部14に記憶されている印刷データ定義に基づいて、印刷帳票データを抽出する。例えば、図5に示す印刷データ定義において、「使用TrレイアウトID」の欄に「発注書」と定義されている帳票データのみを印刷帳票データとしてデータストア16に記憶されている帳票データの中から抽出する。次に、印刷データ定義に基づいてデータストア16から抽出された印刷帳票データを、定義データ記憶部14に記憶されている帳票定義体に基づいて所定の位置に配置することにより、印刷帳票を作成する。即ち、図6において点線で示す部分内における各フィールドに「ユーザID」、「発注日」、「氏名」及び「住所」のデータを配置し、これらのデータが配置されている部分の下部の各フィールドに検索された商品のデータを配置する。なお、印刷帳票が一枚の用紙に収まりきらない場合には、点線で示す部分は全ての用紙に印刷されるように配置され印刷帳票が作成される。また、作成された印刷帳票のデータは、データ記憶部18に記憶される。   Next, when the form printing apparatus 4 receives a print request from the user terminal 8a (step S18), it creates a print form based on the search result stored in the data store 16 (step S19). . That is, print form data is extracted from the search results stored in the data store 16 based on the print data definition stored in the definition data storage unit 14. For example, in the print data definition shown in FIG. 5, only the form data defined as “Purchase Order” in the “Used Tr Layout ID” column is selected from the form data stored in the data store 16 as the print form data. Extract. Next, a print form is created by arranging the print form data extracted from the data store 16 based on the print data definition at a predetermined position based on the form definition stored in the definition data storage unit 14. To do. That is, data of “user ID”, “order date”, “name” and “address” are arranged in each field in a portion indicated by a dotted line in FIG. 6, and each of the lower portions of the portions where these data are arranged. Place the searched product data in the field. If the print form does not fit on a single sheet, the portion indicated by the dotted line is arranged so as to be printed on all sheets, and a print form is created. Further, the data of the generated print form is stored in the data storage unit 18.

次に、ステップS19において作成された印刷帳票のデータを通信制御部12を介してユーザ端末8aに送信する(ステップS20)。ユーザ端末8aにおいては、ネットワーク6を介して帳票印刷システム4から送信された印刷帳票のデータを通信制御部34を介して受信し、受信された印刷帳票のデータに基づく印刷帳票を印刷部40を介して印刷する。   Next, the print form data created in step S19 is transmitted to the user terminal 8a via the communication control unit 12 (step S20). In the user terminal 8a, print form data transmitted from the form printing system 4 via the network 6 is received via the communication control unit 34, and a print form based on the received print form data is sent to the printing unit 40. Print through.

図11は、ユーザ端末8aの印刷部40により印刷された印刷帳票の一例を示す図である。ここで、図11においては、例えば、図10に示すように、ユーザ端末8aの表示部38において1画面に全ての検索結果を表示することができず、検索結果として表示された帳票データが2枚の用紙に印刷された場合の例を示している。ここで、帳票が複数の用紙に印刷される場合には、帳票定義体において全ての用紙に印刷することが定義されているデータ、即ち、「ユーザID」、「発注日」、「氏名」及び「住所」のデータは(図6参照)、1枚目及び2枚目の用紙において印刷される。従って、図11に示すように、1枚目の印刷帳票においては、「ユーザ1D」等のデータと共に、商品No「A0001」〜「A0004」の商品に関するデータが印刷され、2枚目の印刷帳票においては、「ユーザID」等のデータと共に、商品No「A0005」、「A0006」の商品に関するデータが印刷される。即ち、図10において上部に示す点線で囲われた部分を1枚目とし、下部に示す点線で囲われた部分を2枚目として印刷されるのではなく、1枚目と2枚目の双方に「ユーザID」等のデータ及び商品に関するデータに対応するカラム名が印刷される。   FIG. 11 is a diagram illustrating an example of a print form printed by the printing unit 40 of the user terminal 8a. Here, in FIG. 11, for example, as shown in FIG. 10, all search results cannot be displayed on one screen on the display unit 38 of the user terminal 8 a, and the form data displayed as the search results is 2. An example of printing on a sheet of paper is shown. Here, when a form is printed on a plurality of sheets, data defined to be printed on all sheets in the form definition body, that is, “user ID”, “order date”, “name” and The “address” data (see FIG. 6) is printed on the first and second sheets. Accordingly, as shown in FIG. 11, in the first print form, data relating to the products Nos. “A0001” to “A0004” are printed together with data such as “User 1D”, and the second print form is printed. In this example, data relating to the products Nos. “A0005” and “A0006” are printed together with data such as “user ID”. That is, in FIG. 10, the portion surrounded by the dotted line shown at the top is the first sheet and the portion surrounded by the dotted line shown at the bottom is not printed as the second sheet, but both the first and second sheets are printed. Column names corresponding to data such as “user ID” and data relating to the product are printed.

この発明を実施するための最良の形態に係る帳票印刷システムによれば、帳票を作成するために帳票データを別途入力することなく、検索結果として表示される帳票データに基づいて、所望の形式の帳票を印刷することができる。即ち、検索結果として表示される帳票データの中で、印刷帳票データとして帳票が印刷される際に用いられる帳票データ及び印刷帳票データが印刷される位置を定義することにより所望の形式の帳票を容易に印刷することができる。また、所望の形式の帳票として印刷するために表示されている帳票データを編集し印刷するためのプログラムを作成する必要がないため、所望の形式の帳票を印刷するための労力を軽減することができる。   According to the form printing system according to the best mode for carrying out the present invention, it is possible to create a form based on the form data displayed as a search result without separately inputting form data. A form can be printed. That is, in the form data displayed as the search result, the form data used when the form is printed as the print form data and the position where the print form data is printed can be easily defined. Can be printed on. Further, since it is not necessary to create a program for editing and printing the form data displayed for printing as a desired form, it is possible to reduce the labor for printing the desired form. it can.

また、この発明を実施するための最良の形態に係る帳票印刷システムによれば、表示用の帳票データの中から印刷する際に用いられる印刷帳票データの印刷位置を定義している。即ち、実際に印刷される帳票の形式に対応させて印刷帳票データの印刷位置を定義することができる。従って、実際に印刷される帳票の形式を確認することができるため、確実に所望の形式の帳票を印刷することができる。また、1つの帳票が複数の用紙により印刷される場合には、所定の事項を全ての用紙に印刷するように定義することができるため、1つの帳票が複数の用紙に印刷された場合であっても、各用紙に印刷された内容を的確に把握することができる帳票を印刷することができる。   Further, according to the form printing system according to the best mode for carrying out the present invention, the printing position of the print form data used when printing from the form data for display is defined. That is, the print position of the print form data can be defined corresponding to the form of the form that is actually printed. Therefore, since the form of the form that is actually printed can be confirmed, it is possible to print the form in a desired form with certainty. In addition, when one form is printed on a plurality of sheets, it is possible to define that a predetermined item is printed on all sheets. Therefore, one form is printed on a plurality of sheets. However, it is possible to print a form that can accurately grasp the contents printed on each sheet.

また、この発明を実施するための最良の形態に係る帳票印刷システムによれば、帳票印刷装置において各種の業務に対応したデータストア定義、印刷データ定義及び帳票定義体を保持することにより、ユーザ端末において所望の形式の帳票を容易に印刷することができる。従って、帳票の形式を変更する場合であっても、帳票印刷装置における帳票定義体等のみを変更することにより、ユーザ端末において変更後の帳票を印刷することができ、帳票形式の変更等に容易、かつ、迅速に対応することができる。   Further, according to the form printing system according to the best mode for carrying out the present invention, the form printing apparatus holds the data store definition, the print data definition, and the form definition body corresponding to various business operations, so that the user terminal It is possible to easily print a form in a desired format. Therefore, even when the form format is changed, the changed form can be printed on the user terminal by changing only the form definition body in the form printing device, and it is easy to change the form format. And it can respond quickly.

なお、上述の実施の形態に係る帳票印刷システムにおいては、発注書の帳票を例として所望の形式の帳票を印刷する場合を例として説明しているが、印刷される帳票は発注書の帳票に限られることなく、各種の帳票を印刷するようにしてもよい。また、上述の実施の形態に係る帳票印刷システムにおいては、ユーザ端末において検索された帳票データを表示し、検索結果として表示された帳票データに基づいて帳票印刷装置において作成された印刷帳票を印刷しているが、帳票印刷装置において印刷部を備え、該印刷部を介して印刷帳票を印刷するようにしてもよい。   In the form printing system according to the above-described embodiment, a case where a form in a desired format is printed is described as an example using a purchase order form as an example. However, the printed form is a purchase order form. Without limitation, various forms may be printed. In the form printing system according to the above-described embodiment, the form data searched in the user terminal is displayed, and the print form created in the form printing apparatus is printed based on the form data displayed as the search result. However, the form printing apparatus may be provided with a printing unit, and the printing form may be printed via the printing unit.

また、上述の実施の形態に係る帳票印刷システムにおいては、所定の業務に関するデータ処理として検索を行い、検索結果を帳票データとして用いて所望形式の帳票を印刷する場合を例として説明しているが、その他のデータ処理の処理結果を帳票データとして用いるようにしてもよい。例えば、計算や文字列の生成等のデータ処理を行い、計算結果や生成された文字列等を帳票データとして用いて所望形式の帳票を印刷するようにしてもよい。   In the form printing system according to the above-described embodiment, a case is described in which a search is performed as data processing related to a predetermined business, and a form in a desired format is printed using the search result as form data. The processing results of other data processing may be used as form data. For example, data processing such as calculation and generation of a character string may be performed, and a form in a desired format may be printed using the calculation result and the generated character string as form data.

この発明を実施するための最良の形態に係る帳票印刷システムのブロック構成図である。1 is a block configuration diagram of a form printing system according to the best mode for carrying out the present invention. この発明を実施するための最良の形態に係る帳票印刷装置のブロック構成図である。1 is a block configuration diagram of a form printing apparatus according to the best mode for carrying out the present invention. FIG. この発明を実施するための最良の形態に係るデータストア定義の一例を示す図である。It is a figure which shows an example of the data store definition which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係るデータストアに設けられた記憶領域の一例を示す図である。It is a figure which shows an example of the storage area provided in the data store which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係る印刷データ定義の一例を示す図である。It is a figure which shows an example of the print data definition which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係る帳票定義体の一例を示す図である。It is a figure which shows an example of the form definition body which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係るユーザ端末のブロック構成図である。It is a block block diagram of the user terminal which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係る帳票印刷処理を説明するためのフローチャートである。It is a flowchart for demonstrating the form printing process which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係るデータストアに記憶されている帳票データの一例を示す図である。It is a figure which shows an example of the form data memorize | stored in the data store which concerns on the best form for implementing this invention. この発明を実施するための最良の形態に係る検索結果として表示された帳票データの一例を示す図である。It is a figure which shows an example of the form data displayed as a search result based on the best form for implementing this invention. この発明を実施するための最良の形態に係る印刷された帳票の一例を示す図である。It is a figure which shows an example of the printed form which concerns on the best form for implementing this invention.

符号の説明Explanation of symbols

2…帳票印刷システム、4…帳票印刷装置、6…ネットワーク、8a、8b、8c…ユーザ端末、10…データ制御部、12…通信制御部、14…定義データ記憶部、16…データストア、18…データ記憶部、20…表示部、30…データ制御部、32…キーボード、34…通信制御部、36…データ記憶部、38…表示部、40…印刷部。   DESCRIPTION OF SYMBOLS 2 ... Form printing system, 4 ... Form printing apparatus, 6 ... Network, 8a, 8b, 8c ... User terminal, 10 ... Data control part, 12 ... Communication control part, 14 ... Definition data storage part, 16 ... Data store, 18 Data storage unit 20 Display unit 30 Data control unit 32 Keyboard 34 Communication control unit 36 Data storage unit 38 Display unit 40 Printing unit

Claims (6)

所定の業務に関するデータ処理を行うデータ処理手段と、
前記データ処理手段による処理結果として表示される帳票データを、所定の記憶領域に記憶する処理結果記憶手段と、
前記処理結果記憶手段に記憶されている前記帳票データの中で所定の帳票が印刷される際に用いられる印刷帳票データを定義する印刷データ定義手段と、
前記印刷データ定義手段により定義された前記印刷帳票データが印刷される位置を定義する印刷位置定義手段と、
前記処理結果記憶手段に記憶されている帳票データの中から前記印刷データ定義手段により定義された前記印刷帳票データを、前記印刷位置定義手段により定義された位置に配置することにより印刷帳票を作成する印刷帳票作成手段と、
前記印刷帳票作成手段により作成された印刷帳票を印刷する印刷手段と
を備えることを特徴とする帳票印刷装置。
Data processing means for performing data processing related to a predetermined business;
Processing result storage means for storing form data displayed as a processing result by the data processing means in a predetermined storage area;
Print data defining means for defining print form data used when a predetermined form is printed in the form data stored in the processing result storage means;
A print position defining means for defining a position where the print form data defined by the print data defining means is printed;
A print form is created by arranging the print form data defined by the print data definition means from the form data stored in the processing result storage means at a position defined by the print position definition means. Printing form creation means;
A form printing apparatus, comprising: a printing unit that prints the printing form created by the printing form creation unit.
前記処理結果記憶手段は、
前記帳票データを記憶する前記記憶領域毎に、記憶する前記帳票データの種類及びデータ長の内の少なくとも何れか一つが設定されていることを特徴とする請求項1記載の帳票印刷装置。
The processing result storage means includes
2. The form printing apparatus according to claim 1, wherein at least one of a type and a data length of the form data to be stored is set for each storage area for storing the form data.
前記印刷位置定義手段は、
前記印刷帳票データが印刷される帳票上の印刷位置を調整する位置調整手段を備えることを特徴とする請求項1又は請求項2記載の帳票印刷装置。
The printing position defining means includes
The form printing apparatus according to claim 1, further comprising a position adjusting unit that adjusts a print position on the form on which the print form data is printed.
印刷される帳票を作成する帳票作成装置と、前記帳票作成装置とネットワークを介して接続されたユーザ端末とを備える帳票印刷システムにおいて、
前記帳票作成装置は、
所定の業務に関するデータ処理を行うデータ処理手段と、
前記データ処理手段による処理結果として表示される帳票データを、所定の記憶領域に記憶する処理結果記憶手段と、
前記ユーザ端末に対して前記処理結果記憶手段に記憶されている前記帳票データを送信する処理結果送信手段と、
前記処理結果記憶手段に記憶されている前記帳票データの中で前記所定の帳票が印刷される際に用いられる印刷帳票データを定義する印刷データ定義手段と、
前記印刷データ定義手段により定義された前記印刷帳票データが印刷される位置を定義する印刷位置定義手段と、
前記ユーザ端末から前記帳票データの印刷を要求された場合に、前記処理結果記憶手段に記憶されている帳票データの中から前記印刷データ定義手段により定義された前記印刷帳票データを、前記印刷位置定義手段により定義された位置に配置することにより印刷帳票を作成する印刷帳票作成手段と、
前記印刷帳票作成手段により作成された印刷帳票のデータを前記ユーザ端末に対して送信する送信手段とを備え、
前記ユーザ端末は、
前記帳票作成装置から送信された前記帳票データを処理結果として表示する表示手段と、
前記表示手段により表示された前記帳票データの印刷を前記帳票作成装置に対して要求する帳票印刷要求手段と、
前記帳票印刷要求手段による前記帳票データの印刷要求に基づいて、前記帳票作成装置から前記ネットワークを介して送信された前記印刷帳票のデータを受信する受信手段と、
前記受信手段により受信された印刷帳票のデータに基づいて前記印刷帳票を印刷する印刷手段と
を備えることを特徴とする帳票印刷システム。
In a form printing system comprising a form creation apparatus for creating a form to be printed, and a user terminal connected to the form creation apparatus via a network,
The form creation device
Data processing means for performing data processing related to a predetermined business;
Processing result storage means for storing form data displayed as a processing result by the data processing means in a predetermined storage area;
Processing result transmission means for transmitting the form data stored in the processing result storage means to the user terminal;
Print data defining means for defining print form data used when the predetermined form is printed in the form data stored in the processing result storage means;
A print position defining means for defining a position where the print form data defined by the print data defining means is printed;
When printing of the form data is requested from the user terminal, the print form data defined by the print data definition means is selected from the form data stored in the processing result storage means. A print form creation means for creating a print form by placing it at a position defined by the means;
Transmission means for transmitting data of the print form created by the print form creation means to the user terminal,
The user terminal is
Display means for displaying the form data transmitted from the form creation device as a processing result;
A form print requesting means for requesting the form creation device to print the form data displayed by the display means;
Receiving means for receiving the data of the print form transmitted from the form creation device via the network based on the print request of the form data by the form print request means;
A form printing system comprising: printing means for printing the print form based on print form data received by the receiving means.
前記処理結果記憶手段は、
前記帳票データを記憶する前記記憶領域毎に、記憶する前記帳票データの種類及びデータ長の内の少なくとも何れか一つが設定されていることを特徴とする請求項4記載の帳票印刷システム。
The processing result storage means includes
5. The form printing system according to claim 4, wherein at least one of the type and data length of the form data to be stored is set for each of the storage areas for storing the form data.
前記印刷位置定義手段は、
前記印刷帳票データが印刷される帳票上の印刷位置を調整する位置調整手段を備えることを特徴とする請求項4又は請求項5記載の帳票印刷システム。
The printing position defining means includes
6. The form printing system according to claim 4, further comprising position adjusting means for adjusting a printing position on the form on which the print form data is printed.
JP2003293673A 2003-08-15 2003-08-15 Business form printer and business form printing system Pending JP2005063213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003293673A JP2005063213A (en) 2003-08-15 2003-08-15 Business form printer and business form printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003293673A JP2005063213A (en) 2003-08-15 2003-08-15 Business form printer and business form printing system

Publications (1)

Publication Number Publication Date
JP2005063213A true JP2005063213A (en) 2005-03-10

Family

ID=34370502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003293673A Pending JP2005063213A (en) 2003-08-15 2003-08-15 Business form printer and business form printing system

Country Status (1)

Country Link
JP (1) JP2005063213A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011215782A (en) * 2010-03-31 2011-10-27 Obic Co Ltd Form management apparatus and form management method
JP2012123607A (en) * 2010-12-08 2012-06-28 Mitsubishi Electric Corp Data input/output device
JP2018063534A (en) * 2016-10-12 2018-04-19 有限会社シャルム Business form processing device, business form processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011215782A (en) * 2010-03-31 2011-10-27 Obic Co Ltd Form management apparatus and form management method
JP2012123607A (en) * 2010-12-08 2012-06-28 Mitsubishi Electric Corp Data input/output device
JP2018063534A (en) * 2016-10-12 2018-04-19 有限会社シャルム Business form processing device, business form processing method, and program

Similar Documents

Publication Publication Date Title
CN100568903C (en) Display control unit, image processing apparatus, display control method
US7117211B2 (en) Internet label production system
EP1298558A2 (en) Optimisation algorithm for a label printing system using plates
CN106203545B (en) System and method for processing information
JP2005063213A (en) Business form printer and business form printing system
US20060139683A1 (en) Print job processing system, output device, program, and storage medium
JP2007102326A (en) Label issuing system
JP4431877B2 (en) Information storage system and method for financial accounting
JP6923379B2 (en) Drawing management system, control method and program of drawing management system
JPH06328817A (en) Printing paper control device
US20040068444A1 (en) Method and system for applying part number
JP2005169645A (en) Printing control device and program
JP3074233B2 (en) Delivery note creation system
JP2004355378A (en) Business contact method using label printer
KR20090001959A (en) How to Receive in Printed Online Ordering System
JP2017126228A (en) Production plan creation method considering divertability of intermediate item
JP6354470B2 (en) Letter writing support program, letter writing support method, and letter writing support device
JP6361384B2 (en) Letter writing support program, letter writing support method, and letter writing support device
JP2001344324A (en) Support system for exchange of information between distribution businesses
JP4427288B2 (en) Trademark management system
JP2016066209A (en) Reply e-mail creation device
JP2005267211A (en) Customer management system
JPH0363761A (en) Slip issuing device
JP2015049833A (en) Document information input system
JP2020060998A (en) Medium processing system, medium processor, and medium processing method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060905

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061219