JPH0981648A - Slip preparation system and slip preparation method applied to slip preparation system - Google Patents

Slip preparation system and slip preparation method applied to slip preparation system

Info

Publication number
JPH0981648A
JPH0981648A JP7234027A JP23402795A JPH0981648A JP H0981648 A JPH0981648 A JP H0981648A JP 7234027 A JP7234027 A JP 7234027A JP 23402795 A JP23402795 A JP 23402795A JP H0981648 A JPH0981648 A JP H0981648A
Authority
JP
Japan
Prior art keywords
definition information
screen
print
image data
created
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
JP7234027A
Other languages
Japanese (ja)
Inventor
Katsuhiko Nagakubo
勝彦 長久保
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7234027A priority Critical patent/JPH0981648A/en
Publication of JPH0981648A publication Critical patent/JPH0981648A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To substantially reduce the change operations of a dedicated program required for a slip preparation processing, to simplify a slip preparation process corresponding to the alteration of a slip and to improve the production efficiency of slip preparation as a result. SOLUTION: In this slip preparation system constituted by utilizing an OCR and a computer system, a CPU 1 prepares a definition information file based on the image data of an inputted slip original and stores it in an HDD 7. At the time of the printing processing of the slip as a preparation object, the CPU 1 executes the printing processing while referring to the prepared definition information file by a printing program 2a prepared beforehand and prints the slip as the preparation object.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特にOCRとコン
ピュータシステムを利用した帳票作成システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form creation system using OCR and a computer system.

【0002】[0002]

【従来の技術】従来、各種の帳票を光学的に読取処理し
て、帳票に記録された文字データを、コンピュータシス
テムに入力する光学的文字読取装置(OCR)が各方面
で利用されている。このOCRにより読込まれた帳票上
の記録情報が、コンピュータシステムに入力されて各種
の情報処理が行なわれている。
2. Description of the Related Art Conventionally, an optical character reader (OCR) has been used in various fields to optically read various forms and input character data recorded on the forms into a computer system. The record information on the form read by the OCR is input to the computer system to perform various types of information processing.

【0003】帳票は、使用目的に応じて設定されたフォ
ーマット(記録形式)からなり、例えば複数の項目毎に
必要事項を記録するための記録(記入)領域等が印刷さ
れている。具体的には、帳票は各種の伝票やカード形式
の用紙であり、通常では設定された記録領域に数字等の
文字が記入されるようになっている。
The form has a format (recording form) set according to the purpose of use, and a recording (entry) area for recording necessary items for each of a plurality of items is printed. Specifically, the form is a form of various kinds of slips or a card, and normally, characters such as numbers are written in a set recording area.

【0004】このような帳票は、予め設定されるフォー
マットを定義するための情報を含む専用の印刷プログラ
ムを使用して、プリンタを制御するコンピュータシステ
ムからなる帳票作成システムにより作成される。
Such a form is created by a form creating system including a computer system that controls a printer using a dedicated print program including information for defining a preset format.

【0005】ところで、帳票の中には、使用目的は同一
であるが、ある種の事情変更等によりフォーマットを変
更するための更改の必要な帳票がある。例えば、海外渡
航の際に必要な入出国カードがある。入出国カードはE
D(entry/departure)カードとも呼ば
れており、各国の規則改正等により不定期に更改される
ことが多い。
By the way, some forms have the same purpose of use but need to be renewed in order to change the format due to some kind of circumstances change. For example, there is an entry / exit card required for overseas travel. Immigration card is E
It is also called a D (entry / departure) card, and is often renewed irregularly due to rule revisions in each country.

【0006】このような帳票の更改に対応して、新規の
フォーマットからなる新帳票を作成する場合には、例え
ば印字可能領域を定規等により実測し、その実測結果に
基づいて前記の印刷プログラムを修正することが必要と
なる。また、更改に伴って、新たな印字項目を追加する
ような場合には、各印字項目の印字内容を入力するため
の入力画面のフォーマットも変更する必要がある。
When a new form having a new format is created in response to such a renewal of the form, for example, the printable area is actually measured by a ruler or the like, and the printing program described above is based on the actual measurement result. It will need to be modified. In addition, when a new print item is added due to the update, it is necessary to change the format of the input screen for inputting the print content of each print item.

【0007】通常では、帳票を作成するためのシステム
では、ディスプレイの画面上に帳票イメージを表示し
て、各印字項目の印字内容を画面上で入力することが行
なわれている。
Normally, in a system for creating a form, a form image is displayed on the screen of the display and the print contents of each print item are input on the screen.

【0008】[0008]

【発明が解決しようとする課題】従来のOCRを利用し
たシステムにおいて、読取対象となる帳票の中には、E
Dカード等のように、不定期に更改されるものがある。
このような帳票の更改に伴って、帳票のフォーマットを
変更した新規の帳票を作成するには、専用に設計された
印刷プログラムを修正する必要がある。また、更改内容
に従って、作成処理に使用されるディスプレイの入力画
面の変更も必要となる。
In the conventional system using OCR, E is included in the form to be read.
Some cards, such as D cards, are updated at irregular intervals.
In order to create a new form in which the form format has been changed in accordance with such a form update, it is necessary to modify a print program designed specifically. In addition, it is necessary to change the input screen of the display used for the creation process according to the contents of the update.

【0009】しかしながら、専用に設計された印刷プロ
グラムを修正するための修正作業は、かなりの作業工程
量を要し、結果的に新規の帳票を作成する際の生産効率
が必ずしも高くない。また、入力画面の変更作業も同様
に生産効率の向上が困難な作業である。
However, the correction work for correcting the print program designed exclusively requires a considerable amount of work steps, and as a result, the production efficiency when creating a new form is not always high. Further, the work of changing the input screen is also a work in which it is difficult to improve the production efficiency.

【0010】本発明の目的は、帳票作成処理に必要な専
用のプログラムの変更作業を大幅に削減して、帳票の更
改に応じた帳票作成工程を簡単化し、結果的に帳票作成
の生産効率の向上を図ることにある。
The object of the present invention is to significantly reduce the work of changing the dedicated program required for the form preparation process, simplify the form preparation process according to the renewal of the form, and consequently improve the production efficiency of the form preparation. It is to improve.

【0011】[0011]

【課題を解決するための手段】本発明は、OCRとコン
ピュータシステムとを利用して構成された帳票作成シス
テムであって、作成対象の帳票を印刷処理して作成する
ために必要な定義情報を作成する定義情報生成手段を有
するシステムである。即ち、作成対象の帳票に対応する
帳票原本を用意し、イメージ入力手段によりイメージデ
ータに変換して入力する。さらに、入力されたイメージ
データを、ディスプレイの画面上に表示する。定義情報
生成手段は、画面上に表示されたイメージデータに基づ
いて、作成対象の帳票を印刷処理して作成するために必
要な定義情報であって、見出し領域と印字可能領域を定
義する帳票定義情報及び印字属性情報を含む定義情報を
作成する。
SUMMARY OF THE INVENTION The present invention is a form creation system configured by using an OCR and a computer system, and provides definition information necessary for creating a form to be created by printing. This is a system having a definition information generating means to be created. That is, a form original corresponding to the form to be created is prepared, converted into image data by the image input means and input. Further, the input image data is displayed on the screen of the display. The definition information generation means is definition information necessary for creating a form to be created by printing based on the image data displayed on the screen, and is a form definition that defines a heading area and a printable area. Create definition information including information and print attribute information.

【0012】印刷処理手段は、作成された定義情報を参
照して定義情報により定義されたフォーマットの帳票を
印刷出力する。印刷処理手段は、システム内に予め用意
された印刷プログラムにより帳票の印刷処理を実行する
手段であって、帳票定義情報及び印字属性情報に従った
フォーマットの帳票を印刷出力する。
The print processing means refers to the created definition information and prints out the form in the format defined by the definition information. The print processing unit is a unit that executes print processing of a form by a print program prepared in advance in the system, and prints out a form in a format according to the form definition information and the print attribute information.

【0013】このような専用の印刷プログラムと帳票の
フォーマットを設定する定義情報とを分離した方式のシ
ステムにより、更改に従って帳票のフォーマットを変更
する場合に、印刷プログラムの変更作業を最小限にし
て、実質的に新規の帳票に従った定義情報を作成する作
業により実現することが可能となる。定義情報を作成す
る作業は、表示画面上に表示されたイメージデータに基
づいて行なうほぼ自動的な作業処理であり、印刷プログ
ラムの変更作業と比較して極めて作業効率が良い。
When the form format is changed in accordance with the renewal, the print program change work is minimized by the system of the method in which the dedicated print program and the definition information for setting the form format are separated. It can be realized by the work of creating the definition information substantially according to the new form. The work of creating the definition information is a substantially automatic work process performed on the basis of the image data displayed on the display screen, and is extremely efficient as compared with the work of changing the print program.

【0014】また、定義情報生成手段は、作成対象の帳
票イメージを入力してディスプレイの画面上に表示する
ための入力画面関係情報である画面属性情報も含む定義
情報を作成する。これにより、システムは、作成された
画面属性情報を参照して、新規の帳票を作成するために
必要な入力画面を容易に作成することができる。
The definition information generating means also creates definition information including screen attribute information which is input screen related information for inputting the form image to be created and displaying it on the screen of the display. As a result, the system can easily create the input screen necessary for creating a new form by referring to the created screen attribute information.

【0015】[0015]

【発明の実施の形態】以下図面を参照して本発明の実施
の形態を説明する。図1は第1の実施形態に関係するシ
ステム構成を示すブロック図であり、図2は本実施形態
の機能ブロック図であり、図3と図4は本実施形態の定
義情報の内容を説明するための概念図であり、図5は本
実施形態の動作を説明するためのフローチャートであ
る。 (システム構成)本実施形態は、OCRとコンピュータ
システムとからなる構成される帳票作成システムを想定
しており、帳票を印刷出力するための専用の印刷プログ
ラム2aを使用するシステムである。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a system configuration related to the first embodiment, FIG. 2 is a functional block diagram of the present embodiment, and FIGS. 3 and 4 explain contents of definition information of the present embodiment. 5 is a conceptual diagram for this, and FIG. 5 is a flowchart for explaining the operation of the present embodiment. (System Configuration) This embodiment assumes a form creation system including an OCR and a computer system, and is a system that uses a dedicated print program 2a for printing out a form.

【0016】本システムは、図1に示すように、システ
ムの制御装置を構成する中央処理装置(CPU)1と、
メインメモリ2と、イメージ読取装置3と、マウス5を
含む入出力装置4と、プリンタ6と、ハードディスク装
置(HDD)7とを有する。
As shown in FIG. 1, the present system includes a central processing unit (CPU) 1 which constitutes a control unit of the system,
It has a main memory 2, an image reading device 3, an input / output device 4 including a mouse 5, a printer 6, and a hard disk device (HDD) 7.

【0017】CPU1は、イメージ読取装置3により入
力されたイメージデータに基づいて、文字読取処理や本
実施形態に関係する帳票作成処理(印刷処理や画面入力
処理を含む)を実行する。メインメモリ2は、CPU1
の各種処理に必要な印刷プログラム2aを含むプログラ
ムおよびデータを格納する。
The CPU 1 executes a character reading process and a form creating process (including a printing process and a screen input process) related to the present embodiment, based on the image data input by the image reading device 3. The main memory 2 is the CPU 1
Stores programs and data including the print program 2a required for various processes.

【0018】イメージ読取装置3は、帳票上を光学的に
走査して、帳票に記録された文字や図形(印字領域を示
す枠等)をイメージデータに変換して入力するイメージ
スキャナである。
The image reading device 3 is an image scanner which optically scans a form, converts characters and figures (frames indicating a printing area, etc.) recorded on the form into image data, and inputs the image data.

【0019】入出力装置4は、イメージ読取装置3によ
り入力されたイメージデータやマウス(又はキーボー
ド)5などの入力装置により入力されたデータを表示す
るディスプレイaを有する。本実施形態は、ディスプレ
イaに表示された入力画面を使用して、マウス5により
入力操作を行なう入出力装置を想定している。
The input / output device 4 has a display a for displaying image data input by the image reading device 3 and data input by an input device such as a mouse (or keyboard) 5. The present embodiment assumes an input / output device that performs an input operation with the mouse 5 using the input screen displayed on the display a.

【0020】プリンタ6は、CPU1の印刷処理により
制御される例えばインパクト方式の印刷装置である。H
DD7は、システムの外部記憶装置であり、本実施形態
に関係するイメージデータ7aや定義情報ファイル7b
を格納する。 (第1の実施形態の機能構成)前述のハードウェアのシ
ステム構成において、本実施形態に関係する機能構成
は、図2の機能ブロック図に示すように、制御部21と
その周辺構成要素23〜27からなる。
The printer 6 is, for example, an impact type printing apparatus controlled by the print processing of the CPU 1. H
The DD 7 is an external storage device of the system, and includes image data 7a and definition information file 7b related to the present embodiment.
To store. (Functional configuration of the first embodiment) In the above-described hardware system configuration, the functional configuration related to the present embodiment is, as shown in the functional block diagram of FIG. It consists of 27.

【0021】制御部21は、CPU1がプログラムによ
り実行する機能要素に相当する定義系機能要素と参照系
機能要素を有する。定義系機能要素は、イメージ入力処
理部21a、帳票定義作成処理部21b、印字属性定義
作成処理部21c、画面属性定義作成処理部21dから
なる。一方、参照系機能要素は、画面処理部21e、印
刷処理部21f、個別処理部21gからなる。
The control section 21 has definition system functional elements and reference system functional elements corresponding to the functional elements executed by the CPU 1 by a program. The definition system functional element includes an image input processing unit 21a, a form definition creation processing unit 21b, a print attribute definition creation processing unit 21c, and a screen attribute definition creation processing unit 21d. On the other hand, the reference functional element includes a screen processing unit 21e, a print processing unit 21f, and an individual processing unit 21g.

【0022】イメージ入力処理部21aは、イメージ入
力部23から入力されるイメージデータに対して文字認
識処理等の各種処理を実行する。イメージ入力部23は
イメージ読取装置3に相当し、本実施形態に関係する帳
票原本に記録された文字や図形(印字領域を示す枠等)
をディジタルのイメージデータに変換して入力する。
The image input processing section 21a executes various processing such as character recognition processing on the image data input from the image input section 23. The image input unit 23 corresponds to the image reading device 3 and is a character or a graphic (a frame or the like indicating a print area) recorded in the original document related to the present embodiment.
Is converted into digital image data and input.

【0023】帳票定義作成処理部21bは、イメージ入
力処理部21aにより得られたイメージデータに基づい
て、図3に示すように、帳票の見出し領域と印字可能領
域を定義する帳票定義情報を作成する。帳票の見出し領
域は、帳票原本上の左上座標及び右下座標により表現さ
れる。また、印字可能領域も、帳票原本上の左上座標及
び右下座標により表現される。
Based on the image data obtained by the image input processing unit 21a, the form definition creation processing unit 21b creates the form definition information defining the heading region and printable region of the form, as shown in FIG. . The heading area of the form is represented by the upper left coordinates and the lower right coordinates on the original document. The printable area is also expressed by the upper left coordinates and the lower right coordinates on the original document.

【0024】印字属性定義作成処理部21cは、作成対
象の帳票を帳票印刷部26により印刷するときの印字属
性情報を作成する。印字属性情報は、図3に示すよう
に、フォント、ポイント数(文字サイズ)、印字対象領
域等、及び編集パターンからなる。ここで、編集パター
ンは、図4(A)に示すように、印刷に関する修飾情報
である。帳票印刷部26はプリンタ6に相当する。
The print attribute definition creation processing unit 21c creates print attribute information when the form printing unit 26 prints the form to be created. As shown in FIG. 3, the print attribute information includes a font, the number of points (character size), a print target area, and an edit pattern. Here, the edit pattern is decoration information regarding printing, as shown in FIG. The form printing unit 26 corresponds to the printer 6.

【0025】画面属性定義作成処理部21dは、画面表
示部24に帳票を作成するときの入力画面を表示する場
合に、その入力画面レイアウトを設計するための画面属
性定義情報を作成する。画面表示部24は入出力装置4
のディスプレイ4aに相当し、作成対象の帳票の印字項
目毎に印字内容を入力するための画面である。入力処理
はデータ入力部25により実行される。データ入力部2
5は入出力装置4のマウス5に相当する。
The screen attribute definition creation processing unit 21d creates screen attribute definition information for designing an input screen layout when displaying an input screen for creating a form on the screen display unit 24. The screen display unit 24 is the input / output device 4
5 is a screen corresponding to the display 4a of FIG. 2 for inputting print contents for each print item of the form to be created. The input process is executed by the data input unit 25. Data input unit 2
Reference numeral 5 corresponds to the mouse 5 of the input / output device 4.

【0026】画面属性定義情報は、図3に示すように、
見出し表示領域、入力領域、文字属性、入力チェック、
入力候補テーブル、及びヘルプメッセージからなる。文
字属性は、図4(B)に示すように、入力画面上から入
力指定するための情報である。また、入力チェックは、
図4(C)に示すように、限界チェックや存在チェック
等のチェック項目からなり、具体例として印字項目の中
で年齢や年月日等のチェック項目からなる。
The screen attribute definition information is, as shown in FIG.
Heading display area, input area, character attribute, input check,
It consists of an input candidate table and a help message. The character attribute is information for inputting and designating on the input screen, as shown in FIG. Also, input check,
As shown in FIG. 4C, it includes check items such as a limit check and an existence check. As a specific example, the print items include check items such as age and date.

【0027】定義情報ファイル記憶部27はHDD7に
相当し、制御部21により作成された帳票定義情報、印
字属性情報、画面属性定義情報からなる定義情報ファイ
ルを記憶する。
The definition information file storage unit 27 corresponds to the HDD 7, and stores a definition information file created by the control unit 21 and including form definition information, print attribute information, and screen attribute definition information.

【0028】画面処理部21eは作成された画面属性定
義情報に基づいて、画面表示部24の入力画面の表示処
理を実行する。印刷処理部21fは帳票定義情報と印字
属性情報に基づいて、帳票印刷部26による印刷処理を
実行する。印刷処理部21fは、CPU1が印刷プログ
ラム2aにより実行する機能に相当する。個別処理部2
1gは、画面処理と印刷処理以外のCPU1により実行
される各種機能に相当する。 (第1の実施形態の動作)次に、図5のフローチャート
を参照して本実施形態の動作を説明する。
The screen processing section 21e executes display processing of the input screen of the screen display section 24 based on the created screen attribute definition information. The print processing unit 21f executes print processing by the form printing unit 26 based on the form definition information and the print attribute information. The print processing unit 21f corresponds to a function executed by the CPU 1 by the print program 2a. Individual processing unit 2
1g corresponds to various functions executed by the CPU 1 other than screen processing and printing processing. (Operation of the First Embodiment) Next, the operation of the present embodiment will be described with reference to the flowchart of FIG.

【0029】まず、作成対象の帳票の元となる帳票原本
を用意し、イメージ読取装置3により帳票原本に記録さ
れた文字(見出し文字列等)や図形(印字枠等)を入力
する(ステップS1)。
First, a form original serving as a source of the form to be created is prepared, and characters (heading character string etc.) and figures (printing frame etc.) recorded in the form original are input by the image reading device 3 (step S1). ).

【0030】CPU1は、イメージ読取装置3から入力
されたディジタルのイメージデータの入力処理(イメー
ジ入力処理部21a)を実行し、ディスプレイ4aに表
示し、かつHDD7に格納する(ステップS2,S
3)。ディスプレイ4aの画面上には、帳票原本の帳票
イメージが実寸表示される。
The CPU 1 executes the input processing (image input processing section 21a) of digital image data input from the image reading device 3, displays it on the display 4a, and stores it in the HDD 7 (steps S2, S).
3). The form image of the form original is displayed on the screen of the display 4a in actual size.

【0031】このディスプレイ4aの画面上において、
マウス(データ入力部25)5の入力操作に応じて、C
PU1は帳票定義作成処理部21bの機能を実行し、前
述の帳票定義情報を作成する(ステップS4)。この帳
票定義情報は、帳票の見出し領域と印字可能領域を定義
するための情報である(図3を参照)。
On the screen of the display 4a,
In response to the input operation of the mouse (data input unit 25) 5, C
PU1 executes the function of the form definition creation processing unit 21b to create the form definition information described above (step S4). This form definition information is information for defining the heading region and printable region of the form (see FIG. 3).

【0032】ここで、見出し領域とは、作成対象の帳票
が例えばEDカードの場合には、「国籍」、「生年月
日」等のユーザが記入すべき見出し項目名を印刷する領
域である。また、印字可能領域とは、その見出し項目名
に対応して、実際にユーザが記入または印字可能な領域
である。
Here, the headline area is an area in which headline item names such as "nationality" and "date of birth" to be entered by the user are printed when the form to be created is, for example, an ED card. The printable area is an area in which the user can actually enter or print, corresponding to the heading item name.

【0033】次に、CPU1は印字属性定義作成処理部
21cの機能を実行し、前述の印字属性情報を作成する
(ステップS5)。印字属性情報は、印字可能領域に含
まれる印字対象領域、フォント、ポイント数(文字サイ
ズ)等や編集パターンである(図3と図4(A)を参
照)。
Next, the CPU 1 executes the function of the print attribute definition creation processing section 21c to create the above-mentioned print attribute information (step S5). The print attribute information includes a print target area included in the printable area, a font, the number of points (character size), and an edit pattern (see FIGS. 3 and 4A).

【0034】さらに、CPU1は画面属性定義作成処理
部21dの機能を実行し、前述の画面属性定義情報を作
成する(ステップS6)。画面属性定義情報は、作成対
象の帳票の印字項目毎に印字内容を入力するための入力
画面のレイアウトを設定するための情報である(図3と
図4(B),(C)を参照)。
Further, the CPU 1 executes the function of the screen attribute definition creation processing section 21d to create the above-mentioned screen attribute definition information (step S6). The screen attribute definition information is information for setting the layout of the input screen for inputting the print content for each print item of the form to be created (see FIG. 3 and FIGS. 4B and 4C). .

【0035】CPU1は作成した帳票定義情報、印字属
性情報、画面属性定義情報からなる定義情報ファイル7
bを、HDD7の定義情報ファイル記憶部27に記憶す
る(ステップS7)。
The CPU 1 has a definition information file 7 including the created form definition information, print attribute information, and screen attribute definition information.
b is stored in the definition information file storage unit 27 of the HDD 7 (step S7).

【0036】このような状態において、例えばディスプ
レイ4a上の入力操作画面から印刷処理をマウス5によ
り指示すると、CPU1は印刷処理部21fの機能を実
行する(ステップS8のYES)。即ち、CPU1は印
刷プログラム2aを起動して、作成対象の帳票を印刷し
て出力するための処理を実行する。このとき、CPU1
は、HDD7に格納された定義情報ファイル7bを読出
して、印刷プログラム2aに提供する(ステップS
9)。
In such a state, when the print process is instructed by the mouse 5 from the input operation screen on the display 4a, the CPU 1 executes the function of the print processing section 21f (YES in step S8). That is, the CPU 1 activates the print program 2a and executes a process for printing and outputting the form to be created. At this time, CPU1
Reads the definition information file 7b stored in the HDD 7 and provides it to the print program 2a (step S
9).

【0037】また、CPU1は画面処理部21eの機能
を実行して、定義情報ファイル7bに含まれる画面属性
定義情報に基づいて、ディスプレイ4a上に帳票を作成
するための入力画面を表示する。この入力画面を介し
て、作成対象の帳票を構成する各印字項目毎に必要なデ
ータを入力する。
Further, the CPU 1 executes the function of the screen processing section 21e to display an input screen for creating a form on the display 4a based on the screen attribute definition information included in the definition information file 7b. Through this input screen, necessary data is input for each print item constituting the form to be created.

【0038】プリンタ6は、定義情報ファイル7bに基
づいた印刷プログラム2aにより、作成対象の帳票を印
刷して出力する(ステップS10,S11)。以上のよ
うにして本実施形態によれば、予め用意した帳票原本の
帳票イメージに基づいて定義情報ファイル7bを作成
し、この定義情報ファイル7bを参照する印刷プログラ
ム2aにより作成対象の帳票を印刷して出力する。
The printer 6 prints and outputs the form to be created by the print program 2a based on the definition information file 7b (steps S10 and S11). As described above, according to the present embodiment, the definition information file 7b is created based on the form image of the prepared original document, and the creation target form is printed by the print program 2a that refers to the definition information file 7b. Output.

【0039】したがって、帳票のフォーマット毎に専用
の印刷プログラムを用意したり、またはフォーマットの
更改時に専用に設計された印刷プログラムを修正する作
業工程を不要にすることが可能となる。換言すれば、予
め標準的な印刷プログラムを用意するだけで、帳票のフ
ォーマットの更改に従って定義情報ファイル7bを作成
することにより、新規のフォーマットからなる帳票を作
成することができる。
Therefore, it is possible to eliminate the work process of preparing a dedicated print program for each format of the form or modifying the print program designed exclusively for the format update. In other words, by simply preparing a standard print program in advance, by creating the definition information file 7b according to the renewal of the format of the form, it is possible to create the form having the new format.

【0040】具体的には、例えば各国の規則改正等によ
り不定期に更改されることが多いEDカード等の帳票の
作成処理に適用すれば、効率的な帳票作成処理を実現す
ることができる。
Specifically, for example, when applied to a process of creating a form such as an ED card which is often updated irregularly due to a rule revision of each country, an efficient form creating process can be realized.

【0041】また、帳票を作成する場合に、印字項目毎
の印字内容を入力する作業は、通常ではディスプレイ4
a上に表示した入力画面上において行なう。したがっ
て、更改に伴って、例えば新たな印字項目を追加するよ
うな場合には、各印字項目の印字内容を入力するための
入力画面のフォーマットも変更する必要がある。本実施
形態によれば、定義情報ファイル7bの中に、その入力
画面のフォーマット(レイアウト)を作成するための画
面属性定義情報を含ませることにより、変更処理も容易
に行なうことができる。 (第2の実施形態)図6(A)は第2の実施形態に関係
する機能ブロック図である。
Further, when a form is created, the work of inputting the print contents for each print item is normally performed by the display 4
Performed on the input screen displayed on a. Therefore, for example, when a new print item is added along with the update, it is necessary to change the format of the input screen for inputting the print content of each print item. According to the present embodiment, the change processing can be easily performed by including the screen attribute definition information for creating the format (layout) of the input screen in the definition information file 7b. (Second Embodiment) FIG. 6A is a functional block diagram related to the second embodiment.

【0042】第2の実施形態は、イメージ読取装置3と
してカラー検出機能を有するイメージカラー入力部60
を備えている。さらに、制御部21は、カラーイメージ
の処理機能を有するイメージ入力処理部61と、帳票定
義情報の自動作成処理部62とを有する。なお、他の構
成要素は第1の実施形態と同様である。
In the second embodiment, the image color input section 60 having a color detecting function as the image reading device 3 is used.
It has. Further, the control unit 21 has an image input processing unit 61 having a color image processing function, and a form definition information automatic creation processing unit 62. The other components are the same as those in the first embodiment.

【0043】第2の実施形態では、図6(B)に示すよ
うに、帳票原本として、前述の見出し領域や印字可能領
域に相当する領域63bを予め指定したカラーにより印
刷した帳票原本63を用意する。
In the second embodiment, as shown in FIG. 6B, a form original 63 is prepared by printing the above-mentioned heading area and the area 63b corresponding to the printable area in a color designated in advance as the form original. To do.

【0044】制御部(即ち、CPU1)21は、イメー
ジカラー入力部60の入力に応じてイメージ入力処理部
61により得られたカラーイメージデータに基づいて、
見出し領域や印字可能領域に相当する領域63bを識別
する。
The control section (that is, the CPU 1) 21 is based on the color image data obtained by the image input processing section 61 in response to the input of the image color input section 60.
The area 63b corresponding to the heading area or the printable area is identified.

【0045】さらに、制御部21の帳票定義情報の自動
作成処理部62は、識別された領域63bに基づいて、
前述の帳票定義情報を自動的に作成する。即ち、第2の
実施形態では、ディスプレイ4a上に実寸表示された帳
票原本の帳票イメージに対して、マウス5の入力操作に
応じて作成するのではなく、入力されたカラーイメージ
データに基づいて帳票定義情報を自動的に作成する。
Furthermore, the form definition information automatic creation processing unit 62 of the control unit 21 is based on the identified area 63b.
The above form definition information is automatically created. That is, in the second embodiment, the form image of the form original that is actually displayed on the display 4a is not created in accordance with the input operation of the mouse 5, but is formed based on the input color image data. Automatically create definition information.

【0046】第2の実施形態の応用例として、図6
(B)に示すように、帳票原本63に予め設けられたI
D領域63aを設定したカラーにより印刷する。このカ
ラー印刷されたID領域63aをカラーイメージデータ
として入力し、このカラーイメージデータに基づいて見
出し領域や印字可能領域を識別することが可能である。 (第3の実施形態)図7は第3の実施形態に関係する機
能ブロック図である。
As an application example of the second embodiment, FIG.
As shown in (B), the I
The D area 63a is printed in the set color. It is possible to input the color printed ID area 63a as color image data and identify the heading area or the printable area based on the color image data. (Third Embodiment) FIG. 7 is a functional block diagram related to the third embodiment.

【0047】第3の実施形態では、制御部21は印刷プ
ログラム作成処理部70を有し、前述したように作成さ
れた定義情報ファイル(帳票定義情報、印字属性情報、
画面属性定義情報からなる)を印刷プログラムに組込む
処理を実行する。
In the third embodiment, the control unit 21 has a print program creation processing unit 70, and the definition information files (form definition information, print attribute information, etc.) created as described above.
Screen attribute definition information) is incorporated into the print program.

【0048】即ち、メインメモリ2には、予め標準的な
印刷プログラムのロジック部71aのみが格納されてい
る。制御部21の印刷プログラム作成処理部70は、作
成された定義情報ファイルである定義情報部71bをロ
ジック部71aと組合わせて、印刷プログラム71を作
成する。作成された定義情報ファイルは、第1の実施形
態と同様に、HDD7である定義情報ファイル記憶部2
7に記憶される。
That is, only the logic portion 71a of the standard print program is stored in the main memory 2 in advance. The print program creation processing unit 70 of the control unit 21 creates the print program 71 by combining the created definition information file 71b, which is the definition information file, with the logic unit 71a. The created definition information file is the definition information file storage unit 2 that is the HDD 7 as in the first embodiment.
Stored in 7.

【0049】第3の実施形態のような方式であれば、第
1の実施形態のように印刷プログラムが作成された定義
情報ファイルを参照しながら実行するのではなく、定義
情報ファイルが組込まれた、いわば専用の印刷プログラ
ムを実行することになるため、高速処理が可能となる。
即ち、HDD7から定義情報ファイルを参照するための
アクセス時間だけ処理時間を短縮化することが可能であ
る。 (第4の実施形態)図8は第4の実施形態に関係する機
能ブロック図である。
In the system as in the third embodiment, the definition information file is incorporated instead of executing it while referring to the definition information file in which the print program is created as in the first embodiment. As a result, a dedicated print program is executed, so high-speed processing is possible.
That is, the processing time can be shortened by the access time for referring to the definition information file from the HDD 7. (Fourth Embodiment) FIG. 8 is a functional block diagram related to the fourth embodiment.

【0050】第4の実施形態は、定義情報ファイルとし
て画面属性定義情報を含まず、制御部21は印刷処理部
21fにより印刷処理のみを実行し、画面処理を実行し
ない方式である。また、逆に定義情報ファイルとして印
字属性情報を含まず、制御部21は画面処理部21eに
より画面処理のみを実行し、印刷処理を実行しない方式
でもよい。
The fourth embodiment is a system in which the screen attribute definition information is not included in the definition information file, and the control unit 21 executes only the print processing by the print processing unit 21f and does not execute the screen processing. On the contrary, the definition information file may not include the print attribute information, and the control unit 21 may perform only the screen processing by the screen processing unit 21e and not perform the printing process.

【0051】[0051]

【発明の効果】以上詳述したように本発明によれば、O
CRを利用した帳票作成システムにおいて、帳票作成に
必要な専用のプログラムとして、標準的な印刷プログラ
ムを用意し、帳票のフォーマットの更改に従って定義情
報を作成することにより、専用のプログラムに対する変
更作業を大幅に削減することができる。したがって、結
果的に帳票の更改に応じた帳票作成工程を簡単化し、帳
票作成の生産効率の向上を図ることができる。特に、不
定期に更改されることが多いEDカード等の帳票作成処
理に適用すれば、極めて有効である。
As described in detail above, according to the present invention, O
In a form creation system using CR, a standard print program is prepared as a dedicated program required for creating forms, and definition information is created in accordance with the reformat of the form, making it possible to significantly change the dedicated program. Can be reduced to Therefore, as a result, it is possible to simplify the form creation process according to the form update and improve the production efficiency of the form creation. In particular, it is extremely effective when applied to a form creation process such as an ED card that is frequently updated irregularly.

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

【図1】本発明の第1の実施形態に関係するシステム構
成を示すブロック図。
FIG. 1 is a block diagram showing a system configuration related to a first embodiment of the present invention.

【図2】第1の実施形態に関係する機能ブロック図。FIG. 2 is a functional block diagram related to the first embodiment.

【図3】第1の実施形態に関係する定義情報の内容を説
明するための概念図。
FIG. 3 is a conceptual diagram for explaining the contents of definition information related to the first embodiment.

【図4】第1の実施形態に関係する定義情報の内容を説
明するための概念図。
FIG. 4 is a conceptual diagram for explaining the contents of definition information related to the first embodiment.

【図5】第1の実施形態の動作を説明するためのフロー
チャート。
FIG. 5 is a flowchart for explaining the operation of the first embodiment.

【図6】第2の実施形態に関係する機能ブロック図と帳
票の一例を示す図。
FIG. 6 is a functional block diagram related to the second embodiment and an example of a form.

【図7】第3の実施形態に関係する機能ブロック図。FIG. 7 is a functional block diagram related to the third embodiment.

【図8】第4の実施形態に関係する機能ブロック図。FIG. 8 is a functional block diagram related to the fourth embodiment.

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

1…CPU(定義情報生成手段、印刷処理手段) 2…メインメモリ(印刷プログラム2aの記憶部) 3…イメージ読取装置(イメージ入力部23) 4…入出力装置(ディスプレイ4a、画面表示部24) 5…マウス(データ入力部25) 6…プリンタ(帳票印刷部26) 7…HDD(定義情報ファイル記憶部27) 21…制御部(CPU1) 1 ... CPU (definition information generating means, print processing means) 2 ... Main memory (storage part of print program 2a) 3 ... Image reading device (image input part 23) 4 ... Input / output device (display 4a, screen display part 24) 5 ... Mouse (data input section 25) 6 ... Printer (form printing section 26) 7 ... HDD (definition information file storage section 27) 21 ... Control section (CPU1)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 作成対象の帳票に対応する帳票原本を光
学的に走査してイメージデータに変換して入力するイメ
ージ入力手段と、 前記イメージ入力手段により入力されたイメージデータ
を画面上に表示する表示手段と、 前記画面上に表示されたイメージデータに基づいて、前
記作成対象の帳票を印刷処理して作成するために必要な
定義情報を作成する定義情報生成手段と、 前記定義情報生成手段により作成された前記定義情報を
参照して印刷処理を実行し、前記定義情報により定義さ
れたフォーマットの帳票を印刷出力する印刷処理手段と
を具備したことを特徴とする帳票作成システム。
1. An image input unit for optically scanning a form original corresponding to a form to be created, converting it into image data and inputting the image data, and displaying the image data input by the image input unit on a screen. A display unit, a definition information generation unit that creates definition information necessary for printing the form to be created based on the image data displayed on the screen, and the definition information generation unit. A form creating system comprising: a print processing unit that executes a print process with reference to the created definition information, and prints out a form in a format defined by the definition information.
【請求項2】 作成対象の帳票に対応する帳票原本を光
学的に走査してイメージデータに変換して入力するイメ
ージ入力手段と、 前記イメージ入力手段により入力されたイメージデータ
を画面上に表示する表示手段と、 前記画面上に表示されたイメージデータに基づいて、前
記作成対象の帳票を印刷処理して作成するために必要な
印刷関係情報と前記作成対象の帳票を入力して前記画面
上に表示するための入力画面関係情報とを含む定義情報
を作成する定義情報生成手段と、 前記定義情報の中の前記印刷関係情報を参照して印刷処
理を実行し、前記印刷関係情報により定義された印刷フ
ォーマットの帳票を印刷出力する印刷処理手段と、 前記印刷処理手段により作成された帳票を前記イメージ
入力手段によりイメージデータとして入力されたとき
に、前記定義情報の中の前記入力画面関係情報を参照し
て表示処理を実行し、前記入力画面関係情報により定義
された画面フォーマットの前記イメージデータを前記画
面上に表示出力する表示処理手段とを具備したことを特
徴とする帳票作成システム。
2. An image input means for optically scanning a form original corresponding to a form to be created, converting it into image data and inputting the image data, and displaying the image data input by the image inputting device on a screen. Display means, based on the image data displayed on the screen, print-related information necessary to print and create the form to be created and the form to be created are input and displayed on the screen. Definition information generating means for creating definition information including input screen relation information for displaying, print processing is executed by referring to the print relation information in the definition information, and defined by the print relation information. Print processing means for printing out a form in a print format; and a form created by the print processing means is inputted as image data by the image input means. At this time, display processing means for executing display processing by referring to the input screen relation information in the definition information, and displaying and outputting the image data in the screen format defined by the input screen relation information on the screen. A form creation system comprising:
【請求項3】 作成対象の帳票に対応する帳票原本を光
学的に走査してイメージデータに変換して入力するイメ
ージ入力手段と、 前記イメージ入力手段により入力されたイメージデータ
を画面上に表示する表示手段と、 前記画面上に表示されたイメージデータに基づいて、前
記作成対象の帳票を印刷処理して作成するために必要な
定義情報であって、見出し領域と印字可能領域を定義す
る帳票定義情報及び印字属性情報を含む定義情報を作成
する定義情報生成手段と、 予め用意された印刷プログラムに従って帳票の印刷処理
を実行する手段であって、前記前記定義情報生成手段に
より作成された前記定義情報を参照し、前記定義情報に
より定義されたフォーマットの帳票を印刷出力する印刷
処理手段とを具備したことを特徴とする帳票作成システ
ム。
3. An image input unit for optically scanning a form original corresponding to a form to be created, converting it into image data and inputting the image data, and displaying the image data input by the image input unit on a screen. Display means and definition information necessary for creating the form to be created by printing based on the image data displayed on the screen, and a form definition defining a heading area and a printable area. Definition information generating means for generating definition information including information and print attribute information, and means for executing print processing of a form according to a print program prepared in advance, the definition information being generated by the definition information generating means And a print processing unit that prints out the form in the format defined by the definition information. Stem.
【請求項4】 光学的文字読取装置とコンピュータシス
テムとを利用して構成された帳票作成システムに適用す
る帳票作成方法であって、 作成対象の帳票に対応する帳票原本を光学的に走査して
イメージデータに変換して入力するステップと、 入力された前記イメージデータを画面上に表示するステ
ップと、 前記画面上に表示されたイメージデータに基づいて、前
記作成対象の帳票を印刷処理して作成するために必要な
定義情報であって、見出し領域と印字可能領域を定義す
る帳票定義情報及び印字属性情報を含む定義情報を作成
するステップと、 作成された前記定義情報を参照して印刷処理を実行し、
前記定義情報により定義されたフォーマットの帳票を印
刷出力するステップとからなることを特徴とする帳票作
成方法。
4. A form creating method applied to a form creating system configured by using an optical character reading device and a computer system, wherein a form original corresponding to a form to be created is optically scanned. Converting into image data and inputting; displaying the input image data on a screen; and printing the form to be created based on the image data displayed on the screen. The definition information necessary to do this, including the step of creating definition information that includes the form definition information that defines the heading area and the printable area and the print attribute information, and perform the printing process by referring to the created definition information. Run and
And a step of printing out a form in a format defined by the definition information.
【請求項5】 作成対象の帳票に対応する帳票原本を光
学的に走査して、カラーイメージデータに変換して入力
するカラー検出機能を備えたイメージ入力手段と、 前記イメージ入力手段により入力されたイメージデータ
を画面上に表示する表示手段と、 前記画面上に表示されたイメージデータに基づいて、前
記作成対象の帳票を印刷処理して作成するために必要な
帳票定義情報と印字属性情報を含む定義情報を作成する
手段であって、前記帳票原本上に予め指定されたカラー
印刷された領域を見出し領域と印字可能領域として認識
して、見出し領域と印字可能領域を定義する前記帳票定
義情報を自動的に生成し、かつ前記印字属性情報を前記
画面上に入力して作成する定義情報生成手段と、 予め用意された印刷プログラムに従って帳票の印刷処理
を実行する手段であって、前記定義情報生成手段により
作成された前記定義情報を参照し、前記定義情報により
定義されたフォーマットの帳票を印刷出力する印刷処理
手段とを具備したことを特徴とする帳票作成システム。
5. An image input unit having a color detection function for optically scanning a form original corresponding to a form to be created, converting it into color image data, and inputting the image, and the image inputting unit. Display means for displaying image data on a screen, and form definition information and print attribute information necessary for performing print processing to create the form to be created based on the image data displayed on the screen A means for creating definition information, which recognizes a color-printed area designated in advance on the original document as a heading area and a printable area, and stores the form definition information defining the heading area and the printable area. Definition information generation means that is automatically generated and that is created by inputting the print attribute information on the screen, and printing of forms according to a print program prepared in advance A means for executing a process, comprising: print processing means for referring to the definition information created by the definition information generating means and printing out a form in a format defined by the definition information. Form creation system.
JP7234027A 1995-09-12 1995-09-12 Slip preparation system and slip preparation method applied to slip preparation system Pending JPH0981648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7234027A JPH0981648A (en) 1995-09-12 1995-09-12 Slip preparation system and slip preparation method applied to slip preparation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7234027A JPH0981648A (en) 1995-09-12 1995-09-12 Slip preparation system and slip preparation method applied to slip preparation system

Publications (1)

Publication Number Publication Date
JPH0981648A true JPH0981648A (en) 1997-03-28

Family

ID=16964417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7234027A Pending JPH0981648A (en) 1995-09-12 1995-09-12 Slip preparation system and slip preparation method applied to slip preparation system

Country Status (1)

Country Link
JP (1) JPH0981648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252023A (en) * 2008-04-08 2009-10-29 Topcon Corp Medical certificate preparation support apparatus and program
JP2013052248A (en) * 2012-11-13 2013-03-21 Toshiba Corp Ultrasonic diagnostic apparatus and image processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252023A (en) * 2008-04-08 2009-10-29 Topcon Corp Medical certificate preparation support apparatus and program
JP2013052248A (en) * 2012-11-13 2013-03-21 Toshiba Corp Ultrasonic diagnostic apparatus and image processor

Similar Documents

Publication Publication Date Title
JP5623079B2 (en) Automatic generation of form definitions from hardcopy forms
US7926732B2 (en) OCR sheet-inputting device, OCR sheet, program for inputting an OCR sheet and program for drawing an OCR sheet form
CN102331914A (en) Form processing system, ocr device, form creation device, and form procrssing method
CN102262616A (en) Form processing system, OCR device, and form creation device
US5950213A (en) Input sheet creating and processing system
JP2003018393A (en) Image processing system
JPH0581473A (en) Method for generating program
JPH0981648A (en) Slip preparation system and slip preparation method applied to slip preparation system
JPH10275196A (en) Data input device
JPH1173288A (en) Display device and method for controlling display and recording medium
JP2974346B2 (en) Kanji processing device
JP2003132078A (en) Database construction device, method therefor, program thereof and recording medium
JP2002055985A (en) Device and method for document attribute discrimination
JPH0877376A (en) Image processing method and device therefor
JP6735032B2 (en) Image forming apparatus, image forming method, and image forming program
JP4192457B2 (en) Database construction apparatus, database construction method, database construction program, recording medium
JP2003157407A (en) Ocr form, form issuing system and form reading system
JPH06314321A (en) Image data base system, control ledger and editing method
JPH04149774A (en) System for generating form overlay information
JPH11216922A (en) System and method for forming input sheet for ocr or omr, and recording medium therefor
JPH10116270A (en) Document processing method and device therefor
JP2001101165A (en) Document editor
JPH0764981A (en) Document processor
JPH02110655A (en) Document preparing device
JPH0754515B2 (en) Japanese document processing system