JP3346635B2 - OCR form form creation method - Google Patents

OCR form form creation method

Info

Publication number
JP3346635B2
JP3346635B2 JP34092493A JP34092493A JP3346635B2 JP 3346635 B2 JP3346635 B2 JP 3346635B2 JP 34092493 A JP34092493 A JP 34092493A JP 34092493 A JP34092493 A JP 34092493A JP 3346635 B2 JP3346635 B2 JP 3346635B2
Authority
JP
Japan
Prior art keywords
ocr
information
input
display
input character
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.)
Expired - Fee Related
Application number
JP34092493A
Other languages
Japanese (ja)
Other versions
JPH07160804A (en
Inventor
歳弘 花野井
寛 堀野
増田  稔
Original Assignee
日立電子エンジニアリング株式会社
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 日立電子エンジニアリング株式会社 filed Critical 日立電子エンジニアリング株式会社
Priority to JP34092493A priority Critical patent/JP3346635B2/en
Publication of JPH07160804A publication Critical patent/JPH07160804A/en
Application granted granted Critical
Publication of JP3346635B2 publication Critical patent/JP3346635B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、光学式文字認識技術
(OCR)を使用する情報処理システムの技術分野に関
連するものであり、特に、そのシステムにおいてエンド
ユーザー自らが作成したフォームからなる帳票(用紙)
を使用してユーザーが必要な文字情報等の記入を行い、
この帳票に記入した文字情報等を該システムで読み取っ
て処理するようにした情報処理システムに係るものであ
り、更に詳しくは、そのようなシステムにおけるOCR
用帳票フォーム作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technical field of an information processing system using an optical character recognition technology (OCR), and more particularly, to a form including a form created by an end user himself in the system. (Paper)
The user fills in the necessary character information etc. using
The present invention relates to an information processing system that reads and processes character information and the like written in this form by using the system.
Related to a method for creating a business form.

【0002】[0002]

【従来の技術】従来、OCR入力用の帳票としては、罫
線等の読み取り対象外の情報を所定のドロップアウトカ
ラーで印刷した専用のものを用意する必要があり、OC
R用入力帳票作成のために専門の印刷業者に印刷依頼す
る必要があった。更に、OCRで認識処理を行うために
は、完成した帳票の寸法等を実測してこれに基づき各種
のフォーマットパラメータ〔例えば、帳票の枠構造とそ
の座標と寸法、字種(英数字、カタカナ等)、文字数、
枠項目の名称、記入データの種類(地名、人名等)な
ど〕を作成し、入力する必要があった。
2. Description of the Related Art Conventionally, as a form for inputting an OCR, it is necessary to prepare a dedicated form in which information not to be read such as ruled lines is printed in a predetermined dropout color.
In order to create an input form for R, it was necessary to request printing from a specialized printer. Further, in order to perform the recognition processing by the OCR, the dimensions and the like of the completed form are measured and various format parameters [for example, the frame structure of the form and its coordinates and dimensions, character types (alphanumeric, katakana, etc.) ),word count,
And the type of entry data (place name, person name, etc.)] must be created and input.

【0003】ところで、近年では、OCR使用の制約を
取り除くために、黒色で印刷した枠形式の帳票を読み取
ることが可能なOCRが開発されてきており、これによ
れば、ドロップアウトカラーでの専用帳票の印刷が不要
となり、エンドユーザーがパーソナルコンピュータを使
用して個別に作成しプリントした帳票を、OCR用入力
帳票として使用することができるようになってきてい
る。しかし、フォーマットパラメータについては、従来
通り、完成した帳票の寸法等を手作業で実測してこにれ
基づき作成して入力しなければならず、手間がかかって
いた。
In recent years, in order to remove restrictions on the use of the OCR, an OCR capable of reading a form in a frame format printed in black has been developed. Form printing is no longer required, and forms created and printed individually by end users using personal computers can be used as OCR input forms. However, as for the format parameters, the dimensions and the like of the completed form have to be manually measured and created and input based on the results, as in the past, which is troublesome.

【0004】本願の発明者らは、上記のような手間を省
くために、かつて、OCRシステムのための新規な情報
処理方式を提案し、その内容は特開昭62−14278
号として公開された。そこに開示された技術は、エンド
ユーザーがパーソナルコンピュータ等を使用して作成し
プリントした帳票を、OCR用入力帳票として使用する
ことができるようにするのみならず、その際に同時に、
作成した帳票のフォームパラメータを記憶しておき、こ
の帳票フォームパラメータに基づき各種のOCR用フォ
ーマットパラメータを自動的に変換/作成するようにし
たことを特徴とするものである。
The inventors of the present application have previously proposed a new information processing method for an OCR system in order to eliminate the above-mentioned trouble, and the contents thereof are described in Japanese Patent Application Laid-Open No. Sho 62-14278.
Issued as issue. The technology disclosed therein not only enables end users to use forms created and printed using personal computers and the like as input forms for OCR, but at the same time,
The form parameters of the created form are stored, and various OCR format parameters are automatically converted / created based on the form parameter.

【0005】[0005]

【発明が解決しようとする課題】しかし、一口にOCR
用入力帳票の作成を行うといっても、ユーザが思いのま
まに任意に帳票を作成してよいわけではなく、各種OC
Rの機種ごとに様々な異なる制約事項があり、また、印
刷出力用に使用するプリンタにも機種ごとに様々な異な
る制約事項がある。そのような制約事項やそのほか各種
の条件を考慮してパーソナルコンピュータの端末機を用
いてエンドユーザが帳票の作成作業を行うのはかなり苦
労を要するところである。しかるに、上記特許公開公報
においては、OCR用入力帳票の作成作業を如何に簡略
化し、システムを使い易いものにするか、という観点で
の解決策は示されていなかった。この発明は上述の点に
鑑みてなされたもので、OCR用入力帳票の作成作業を
簡略化し、システムを使い易いものにしたOCR用帳票
フォーム作成方法を提供しようとするものである。
SUMMARY OF THE INVENTION However, the OCR
Creating an input form for a business does not mean that a user can create an arbitrary form as desired.
There are various different restrictions for each model of R, and there are various different restrictions for each type of printer used for print output. Considering such restrictions and other various conditions, it is quite difficult for an end user to create a form using a personal computer terminal. However, the above-mentioned patent publication does not show any solution in terms of how to simplify the operation of creating an OCR input form and make the system easy to use. The present invention has been made in view of the above points, and an object of the present invention is to provide a method of creating an OCR form that simplifies the operation of creating an OCR input form and makes the system easy to use.

【0006】[0006]

【課題を解決するための手段】 この発明に係るOCR
用帳票フォーム作成方法は、1つの観点によれば、帳票
の用紙サイズ、対象OCRの機種、対象プリンタの機
種、入力文字枠の基本的サイズなどの情報を含む帳票の
基礎的情報からなる基準シートファイルを提供する第1
のステップと、この基準シートファイルを基にして、所
望の帳票詳細フォームを定義する情報を入力し、具体的
な帳票ファイルを作成する第2のステップとからなるこ
とを特徴とするものである。
Means for Solving the Problems OCR according to the present invention
According to one aspect, a form for creating a business form is a form.
Paper size, target OCR model, target printer model
The first to provide a reference sheet file consisting of basic information of a form including information such as a seed and a basic size of an input character frame .
And a second step of inputting information for defining a desired form detailed form based on the reference sheet file and creating a specific form file.

【0007】 この発明に係るOCR用帳票フォーム作
成方法は、別の観点によれば、帳票の用紙サイズ、対象
OCRの機種、対象プリンタの機種、入力文字枠の基本
的サイズなどの情報を含む帳票の基礎的情報からなる複
数種類の基準シートファイルを提供する第1のステップ
と、前記複数種類の基準シートファイルから1つの基準
シートファイルを選択する第2のステップと、選択され
た基準シートファイルを基にして、所望の帳票詳細フォ
ームを定義する情報を入力し、具体的な帳票ファイルを
作成する第3のステップとからなることを特徴とするも
のである。
According to another aspect, an OCR form form creation method according to the present invention provides a method for creating a form size,
Basics of OCR model, target printer model, input character frame
A first step of providing a plurality of types of reference sheet files including basic information of a form including information such as a target size, and a second step of selecting one reference sheet file from the plurality of types of reference sheet files. And a third step of inputting information for defining a desired form detail form based on the selected reference sheet file and creating a specific form file.

【0008】この発明に係るOCR用帳票フォーム作成
方法によれば、所望の帳票についての前記基礎的情報を
入力して、所望の基準シートファイルを作成するステッ
プを更に具えていてもよい。
According to OCR for continuous form creating method according to the present invention, by entering the basic information about the desired form, but it may also have further comprising the step of creating a desired reference sheet file.

【0009】[0009]

【作用】 この発明によれば、帳票の用紙サイズ、対象
OCRの機種、対象プリンタの機種、入力文字枠の基本
的サイズなどの情報を含む帳票の基礎的情報からなる基
準シートファイルがユーザーに対して自動的に提供さ
れ、ユーザーは、この基準シートファイルを基にして、
所望の帳票詳細フォームを定義する情報を入力すること
により具体的な帳票ファイルを作成することができるの
で、帳票作成作業を非常に簡略化することができるよう
になる。従って、OCR用入力帳票の作成作業が簡略化
され、非常に使い易いシステムを提供することができ
る。
According to the present invention, the form paper size and object
Basics of OCR model, target printer model, input character frame
A reference sheet file consisting of basic information of the form including information such as the target size is automatically provided to the user, and based on this reference sheet file,
Since a specific form file can be created by inputting information defining a desired form detail form, the form creation operation can be greatly simplified. Therefore, the operation of creating the OCR input form is simplified, and a very easy-to-use system can be provided.

【0010】また、複数種類の基準シートファイルを提
供し、帳票作成作業にあたって、その中から所望の1つ
の基準シートファイルを選択し、選択した基準シートフ
ァイルを基にして、所望の帳票詳細フォームを定義する
情報を入力することにより具体的な帳票ファイルを作成
するようにすることにより、帳票作成作業をより一層簡
略化することができる。更に、所望の基準シートファイ
ルを自由に作成できるようにすることにより、ユーザー
のニーズに合った使い勝手のよいシステムを提供するこ
とができる。
[0010] Also, a plurality of types of reference sheet files are provided, and a desired one of the reference sheet files is selected from among the plurality of reference sheet files, and a desired form detail form is created based on the selected reference sheet file. By creating a specific form file by inputting the information to be defined, the form creation operation can be further simplified. Furthermore, since a desired reference sheet file can be freely created, an easy-to-use system that meets the needs of the user can be provided.

【0011】[0011]

【実施例】以下、この発明の実施例を添付図面に基づき
詳細に説明しよう。 〔システム構成例〕図1は、本発明に係る方式を実施す
る情報処理システムの全体的ハードウェア構成例を示す
ものであり、このシステムは、パーソナルコンピュータ
等からなる処理装置10をメインにして、これに、ディ
スプレイ11、キーボート12、磁気ディスク(記憶装
置)13、プリンタ14及びOCRモジュール15など
を接続してなるものである。キーボート12に関連し
て、マウス等のポインティング装置を具備していてもよ
い。また、処理装置10を通信回線に接続して外部装置
との間で情報の授受が行えるようになっていてもよい。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. [System Configuration Example] FIG. 1 shows an overall hardware configuration example of an information processing system for implementing a method according to the present invention. This system mainly includes a processing device 10 including a personal computer and the like. To this, a display 11, a keyboard 12, a magnetic disk (storage device) 13, a printer 14, an OCR module 15, and the like are connected. A pointing device such as a mouse may be provided in connection with the keyboard 12. Further, the processing device 10 may be connected to a communication line so that information can be exchanged with an external device.

【0012】このシステムが実行する処理を大別する
と、OCR用の入力用紙として使用する帳票20のフォ
ームを作成し、プリンタ14で印刷出力する機能(帳票
作成機能)と、作成したフォームに従って印刷出力され
た帳票20に手書き等で記入された文字情報をOCRモ
ジュール15によって読み取る機能(OCR読取り機
能)とからなる。本発明は、特に、前者の帳票作成機能
に関連するものであり、以下では、帳票作成機能に関し
て説明を行なう。
The processing executed by this system can be roughly classified into a function of creating a form of a form 20 to be used as input paper for OCR and printing and outputting the form on a printer 14 (form creation function), and a function of printing and outputting according to the created form. The OCR module 15 reads character information written by handwriting or the like on the completed form 20 (OCR reading function). The present invention particularly relates to the former form creation function. Hereinafter, the form creation function will be described.

【0013】なお、本システムにおいては、更に、光学
式コピー機16がオフラインで設けられ、プリンタ14
で打ち出した帳票20を必要に応じて所望の複写倍率で
拡大又は縮小して使用できるようになっており、そのよ
うな拡大/縮小を行った場合に的確な帳票パラメータ又
はフォーマットパラメータの修正を施すことができるよ
うになっている。
In this system, an optical copier 16 is provided off-line, and a printer 14 is provided.
Can be used by enlarging or reducing it at a desired copy magnification as needed, and correct such form parameters or format parameters when such enlargement / reduction is performed. You can do it.

【0014】〔帳票の一例〕図2は、帳票を定義するた
めの各種パラメータを説明するために、OCR用入力帳
票20の一例を示す図である。「帳票外形線」は、その
帳票の外形線を定義するものである。「エッジマーク」
は、帳票の外形線の四隅を定義するために該四隅に夫々
記されるマークであり、OCRが帳票の外形四隅を認識
するためのものである。「エッジマーク囲い」は、上記
「エッジマーク」が記されている領域を定義するための
枠線分要素である。「コメント文字」は、利用者向けに
予め記載されたコメントを構成する文字であり、OCR
読み取りから除外される要素である。「コメント罫線」
は、上記「コメント文字」を枠線で囲む場合に使用する
枠線分要素であり、この「コメント罫線」で囲まれた内
側はOCR読み取りから除外される。
[Example of Form] FIG. 2 is a diagram showing an example of an OCR input form 20 for explaining various parameters for defining the form. "Form outline" defines the outline of the form. "Edge mark"
Are marks respectively written at the four corners of the form to define the four corners, and are used by the OCR to recognize the four corners of the form. The “edge mark enclosure” is a frame segment element for defining an area where the “edge mark” is described. “Comment character” is a character that constitutes a comment written in advance for the user,
Elements that are excluded from reading. "Comment rules"
Is a frame line segment element used when the above “comment character” is surrounded by a frame line, and the inside surrounded by the “comment rule line” is excluded from OCR reading.

【0015】「入力文字フィールド領域外形線」は、利
用者が文字を記入する領域(これを「入力文字フィール
ド」と言う)の1グループ分の外枠を定義する枠線分要
素であり、この「入力文字フィールド領域外形線」で囲
まれた内側がOCR読み取りの対象となる。この「入力
文字フィールド領域外形線」は、例えば上記「コメント
罫線」よりも太い線分で表わされ、OCRが両者を区別
できるようにする。「入力文字枠」は、上記「入力文字
フィールド領域外形線」の内側において、1文字分の記
入枠を定義する枠線分要素である。この「入力文字枠」
で囲まれた最小単位を「セル」と言う。つまり、1つの
「セル」は、1つの文字が記入される領域(文字枠)を
定義する。
The "input character field area outline" is a frame line element that defines an outer frame of one group of an area in which a user writes a character (this is called an "input character field"). The inside surrounded by the “outline of the input character field area” is the object of OCR reading. The “input character field area outline” is represented by a line segment thicker than the “comment ruled line”, for example, so that the OCR can distinguish between them. The “input character frame” is a frame line segment element that defines an input frame for one character inside the “input character field area outline”. This "input character frame"
The minimum unit surrounded by is called a "cell". That is, one “cell” defines an area (character frame) in which one character is written.

【0016】〔帳票作成処理の説明〕帳票作成処理は、
処理装置10に搭載した帳票作成処理用のソフトウェア
プログラムによって実行される。図3は、帳票作成処理
の一実施例として、その主要手順の流れを略示する図で
ある。これに基づき以下説明する。 (1)基礎的情報の入力 まず、作成しようとする個別帳票に関する基礎的情報を
ユーザが指定入力する。基礎的情報には、例えば、対象
OCR機種名、対象プリンタ機種名、帳票サイズ(A
4,B4,特殊等)、OCRが読み取る入力文字枠(セ
ル)のサイズ、などがある。
[Explanation of Form Creation Processing]
It is executed by a form creation software program mounted on the processing device 10. FIG. 3 is a diagram schematically showing a flow of a main procedure as an embodiment of a form creation process. The following is a description based on this. (1) Input of basic information First, a user specifies and inputs basic information on an individual form to be created. The basic information includes, for example, a target OCR model name, a target printer model name, a form size (A
4, B4, special, etc.), the size of the input character frame (cell) read by the OCR, and the like.

【0017】入力文字枠のサイズ指定の仕方としては、
希望サイズを直接指定するやり方と、行数と1行中の文
字枠数とを指定することにより間接指定するやり方とが
ある。なお、入力された対象OCR機種名の情報は、対
象OCRに特有の制約条件を自動的に考慮して、帳票作
成作業を円滑に進めるために、有利に利用される。すな
わち、ユーザは、対象OCRに特有の細かな制約条件を
知らなくても、対象OCR機種名を入力するだけで、後
は自動的に、制約条件を満足する帳票が作成できるよう
に適切な制御がなされる。
As a method of specifying the size of the input character frame,
There are a method of directly specifying the desired size, and a method of indirect specification by specifying the number of lines and the number of character frames in one line. The input information of the target OCR model name is advantageously used in order to smoothly proceed with the form creation work by automatically taking into account the constraints specific to the target OCR. That is, even if the user does not know the detailed constraints specific to the target OCR, only by inputting the target OCR model name, the appropriate control is automatically performed so that a form satisfying the constraints can be automatically created. Is made.

【0018】OCRの制約条件項目には、例えば、エッ
ジマークの有無、特定マークの有無、入力可能帳票サイ
ズの制限、文字枠サイズの制限、文字記入可能領域(入
力領域)の制限、各種のクリアエリア(白領域;つまり
白地のままであることを義務付けられる領域)の制限、
フィールド属性(字種や桁数)の制限、などがある。勿
論、各種のOCR機種毎の制約条件パラメータを記憶し
ておき、指定されたOCR機種に応じて制約条件パラメ
ータを参照して、その条件を満足しているか否か等のエ
ラーチェックを自動的に行なうようにして、帳票作成作
業が円滑かつた易く行なえるように、利用するものとす
る。また、プリンタにも印刷可能用紙サイズや印刷可能
範囲等の制約条件があるので、各種のプリンタ機種毎に
必要な制約条件パラメータを記憶しておき、対象プリン
タ機種名の指定入力に基づきこれらのプリンタ制約条件
パラメータを参照して、その条件を満足しているか否か
等のエラーチェックを自動的に行なうようにして、帳票
作成作業が円滑かつ容易に行なえるようにするものとす
る。
The OCR constraint condition items include, for example, the presence or absence of an edge mark, the presence or absence of a specific mark, the limitation of the form size that can be entered, the limitation of the character frame size, the limitation of the character entry area (input area), and various types of clearing. Restrictions on areas (white areas; that is, areas that must remain white),
There are restrictions on field attributes (character type and number of digits). Of course, the constraint condition parameters for each type of OCR model are stored, and the constraint condition parameters are referred to according to the designated OCR model, and an error check such as whether the condition is satisfied is automatically performed. It is used so that the form creation work can be performed smoothly and easily. In addition, printers have constraints such as printable paper size and printable range. Therefore, necessary constraint parameters for each type of printer are stored, and these printers are specified based on the target printer model name. An error check such as whether or not the condition is satisfied is automatically performed with reference to the constraint condition parameters, so that the form creation operation can be performed smoothly and easily.

【0019】(2)ガイダンスメッシュの生成 入力された基礎的情報に基づき、入力文字枠の行列配置
(サイズ)を決定する計算を行い、この行列線をガイダ
ンスメッシュとしてディスプレイ11上に生成表示す
る。ガイダンスメッシュの1マスが1セルである。図4
は、ガイダンスメッシュの表示例を示すもので、点線で
表わされた行列線がガイダンスメッシュである。なお、
図4では、図2と同様の帳票例が重複して表示されるよ
う図示されているが、帳票未作成の段階ではガイダンス
メッシュのみがディスプレイ11に表示され、帳票の表
示はまだ現われないのは勿論である。次に説明するユー
ザによる帳票の詳細定義情報の入力操作に応じて帳票の
表示が徐々に現われてきて、所望の形態の帳票が作成さ
れる。また、図4の例では、ガイダンスメッシュは行及
び列毎に等間隔であるが、追って説明するように、間隔
を変えることができるような仕様も可能である。
(2) Generation of Guidance Mesh Based on the input basic information, calculation for determining the matrix arrangement (size) of the input character frame is performed, and this matrix line is generated and displayed on the display 11 as a guidance mesh. One cell of the guidance mesh is one cell. FIG.
Shows a display example of the guidance mesh, and a matrix line represented by a dotted line is the guidance mesh. In addition,
In FIG. 4, the same form example as that of FIG. 2 is shown to be overlapped. However, at the stage when the form is not created, only the guidance mesh is displayed on the display 11, and the display of the form does not appear yet. Of course. The form is gradually displayed according to the user's input operation of the detailed definition information of the form described below, and a form in a desired form is created. Further, in the example of FIG. 4, the guidance mesh is equally spaced for each row and each column. However, as will be described later, a specification that can change the interval is also possible.

【0020】(3)帳票を詳細に定義する情報の入力 ユーザは、ディスプレイ11に表示されたガイダンスメ
ッシュを参照して、所望の帳票を詳細に定義するための
各種情報を入力する操作を、キーボード12等によって
行う。この詳細定義情報としては、図2を参照して説明
した「帳票外形線」「エッジマーク囲い」「コメント罫
線」「入力文字フィールド領域外形線」及び「入力文字
枠」等の線分要素の情報があり、これらは、ガイダンス
メッシュに沿って所望の配置で配列する。なお、「エッ
ジマーク」は、「エッジマーク囲い」で囲った領域内に
配置する。更に、詳細定義情報としては、「コメント文
字」及び「入力文字フィールド属性情報」などの記述的
情報があり、これらに対応する文字等を対応するメッシ
ュます(セル)内またはフィールド内に配置する。
(3) Input of information for defining a form in detail The user refers to the guidance mesh displayed on the display 11 and performs an operation of inputting various information for defining a desired form in detail by using a keyboard. 12, etc. As the detailed definition information, information of line segment elements such as “form outline”, “edge mark enclosure”, “comment ruled line”, “input character field area outline”, and “input character frame” described with reference to FIG. These are arranged in a desired arrangement along the guidance mesh. Note that the “edge mark” is arranged in an area surrounded by “edge mark enclosure”. Further, the detailed definition information includes descriptive information such as "comment character" and "input character field attribute information". Characters and the like corresponding to these are arranged in the corresponding mesh (cell) or in the field.

【0021】ディスプレイ11上にガイダンスメッシュ
が表示されるので、所望の帳票を作成・定義するための
ユーザの入力操作が楽に行えるようになる。なお、上記
(1)と(3)での入力に基づき作成された帳票情報
(つまり基礎的情報と詳細定義情報に基づく帳票フォー
ム情報)は、適宜の帳票ファイル名を付与して適宜のメ
モリに記憶しておくのは勿論である。ここで、上記
(1)と(3)の入力処理段階において実施可能な新規
技術項目について下記(a)〜(g)に列挙して説明す
る。
Since the guidance mesh is displayed on the display 11, the user can easily perform an input operation to create and define a desired form. The form information created based on the inputs in (1) and (3) above (that is, the form information based on the basic information and the detailed definition information) is given an appropriate form file name and stored in an appropriate memory. Needless to say, it is stored. Here, new technical items that can be implemented in the input processing stages (1) and (3) are listed and described in the following (a) to (g).

【0022】(a)入力文字サイズの決定方式 上記(1)の処理ステップにおいて、直接指定又は間接
指定された入力文字枠サイズと、指定された帳票サイズ
と、指定された対象OCR機種によって定まる読取可能
エリアの制約や許容入力文字サイズと、指定された対象
プリンタ機種によって定まる出力座標制御特性パラメー
タ(例えば、行及び/又は列方向のプリント拡大又は縮
小率パラメータ)とを組み合わせて、パソコン(処理装
置10)内での取扱入力文字サイズと、ディスプレイ表
示入力文字サイズと、プリント入力文字サイズとを決定
する。つまり、プリンタ機種によっては、プリント入力
座標データサイズとプリント出力座標データサイズが1
対1で対応しないものがあるので、完成帳票のプリント
アウト時の誤差特性を予め自動修正した帳票作成が可能
になる。
(A) Method of Determining Input Character Size In the processing step (1), the input character frame size specified directly or indirectly, the specified form size, and the reading determined by the specified target OCR model The personal computer (processing device) combines the restriction of the available area and the allowable input character size with an output coordinate control characteristic parameter (for example, a print enlargement or reduction ratio parameter in the row and / or column direction) determined by the designated target printer model. In 10), the input character size handled, the display input character size, and the print input character size are determined. That is, the print input coordinate data size and the print output coordinate data size are 1 depending on the printer model.
Since there is one that does not correspond one-to-one, it is possible to create a form in which error characteristics at the time of printing out a completed form are automatically corrected in advance.

【0023】(b)帳票外形線、エッジマーク囲い、エ
ッジマークの入力値自動補正 上記(3)の処理ステップにおいて、ユーザが入力した
帳票外形線、エッジマーク囲い、エッジマークのうちい
ずれかの配置が、ガイダンスメッシュの配置にきちんと
一致しない/又は納まらない場合がある。そのような場
合に対処するために、指定された帳票サイズと、帳票タ
イプと、入力文字枠サイズと、対象OCR機種のパラメ
ータ等を基にして補正値を計算し、ガイダンスメッシュ
の配置にきちんと一致する/又は納まるように、補正す
る機能を具備するとよい。
(B) Automatic correction of input values of form outline, edge mark box, and edge mark In the processing step (3), any one of the form outline, edge mark box, and edge mark input by the user is arranged. However, there are cases where the arrangement of the guidance mesh does not exactly match and / or does not fit. In order to deal with such a case, the correction value is calculated based on the specified form size, form type, input character frame size, parameters of the target OCR model, etc. It is preferable to provide a function to correct the data so as to make it fit.

【0024】(c)入力文字フィールドの指定方式 上記(3)の処理ステップにおいて所望の入力文字フィ
ールドの配置を指定する方法は、基本的には、ガイダン
スメッシュの規定に従って所望のセル群を指示する操作
と、指示したセル群を入力文字フィールドとして指定す
る操作との組み合わせによって行う。この指定に応じ
て、指定された入力文字フィールドの外形を規定する
「入力文字フィールド領域外形線」の表示とその内部の
各入力文字枠の枠線表示が自動的になされる。また、指
定された入力文字フィールドが対象OCRの読取エリア
内かどうかを自動判定しユーザに告知するエラーチェッ
ク機能を具備するとよい。
(C) Designation method of input character field The method of designating the arrangement of a desired input character field in the processing step (3) basically designates a desired cell group in accordance with the guidance mesh. This is performed by a combination of an operation and an operation of designating the designated cell group as an input character field. In response to the designation, the display of the “input character field area outline” that defines the outline of the designated input character field and the frame line display of each input character frame inside the input character field are automatically performed. Further, an error check function for automatically judging whether the designated input character field is within the reading area of the target OCR and notifying the user may be provided.

【0025】所望のセル群を指示する方式の一例として
は、所望セル数mからなる1行分の入力文字フィールド
を「行方向入力文字フィールド」としてカーソル等によ
り指示し、かつ、この「行方向入力文字フィールド」を
所望行数nだけカーソル等により指示することにより、
n×m個のセルからなるセル群を指示するやり方があ
る。この場合の指示例を図5の(a)に示す。所望のセ
ル群を指示する方式の別の例としては、上記とは逆に、
所望セル数nからなる1列分の入力文字フィールドを
「列方向入力文字フィールド」としてカーソル等により
指示し、かつ、この「列方向入力文字フィールド」を所
望列数mだけカーソル等により指示することにより、n
×m個のセルからなるセル群を指示するやり方がある。
As an example of a method for designating a desired cell group, an input character field for one line consisting of a desired number m of cells is designated as a "line direction input character field" by a cursor or the like, and the "line direction input character field" is designated. By pointing the input character field "with a cursor or the like for the desired number n of lines,
There is a method of indicating a cell group consisting of nxm cells. An example of the instruction in this case is shown in FIG. As another example of the method of indicating a desired cell group, the reverse of the above,
An input character field for one column consisting of a desired cell number n is designated by a cursor or the like as a "column direction input character field", and this "column direction input character field" is designated by a cursor or the like by a desired number m of columns. Gives n
There is a method of designating a cell group consisting of × m cells.

【0026】所望のセル群を指示する方式の別の例とし
ては、所望のセル群の先頭の1つのセルをカーソル等に
より指定し、かつ1行分の入力文字フィールドの所望の
セル数mとその行数nとを数値入力により指定すること
により、n×m個のセルからなるセル群を指示するやり
方がある。この場合の指示例を図5の(b)に示す。所
望のセル群を指示する方式の更に別の例としては、上記
とは逆に、所望のセル群の先頭の1つのセルをカーソル
等により指定し、かつ1列分の入力文字フィールドの所
望のセル数nとその列数mとを数値入力により指定する
ことにより、n×m個のセルからなるセル群を指示する
やり方がある。所望のセル群を指示する方式の更に別の
例としては、罫線入力モードを利用して、所望の入力文
字フィールドの外形を罫線で囲むことにより指示するや
り方がある。この場合の指示例を図5の(c)に示す。
As another example of a method of designating a desired cell group, one cell at the head of the desired cell group is designated by a cursor or the like, and the desired number m of cells in an input character field for one line is determined. There is a method of designating a cell group consisting of n × m cells by designating the number n of rows by numerical input. An example of the instruction in this case is shown in FIG. As yet another example of a method of designating a desired cell group, the first cell of the desired cell group is designated by a cursor or the like, and the desired one of the input character fields for one column is input. There is a method of designating a cell group consisting of n × m cells by designating the number n of cells and the number m of columns by numerical input. As still another example of a method of designating a desired cell group, there is a method of using a ruled line input mode to specify a desired input character field by surrounding the outer shape of the input character field with a ruled line. An example of the instruction in this case is shown in FIG.

【0027】(d)入力文字フィールド領域外形線の線
種指定方式 上記のように指定した入力文字フィールドの領域を規定
する外形線として、特別の線種(例えば太線)を指定
し、定義することができる。この「入力文字フィールド
領域外形線」の線種は、複数種類の線種の中からユーザ
が選択できるようになっていてもよいし、あるいは対象
OCR機種に応じて決まるようになっていてもよい。こ
れに関連して、「コメント罫線」やフィールド境界上に
ない文字枠罫線では、上記「入力文字フィールド領域外
形線」用の線種が使用できないようにブロックをかける
か、エラーチェックするようにするとよい。また、連結
する入力文字フィールド群の最外形境界のみ上記特別の
線種とする、あるいは、連結する入力文字フィールド群
の最外形境界と列方向フィールド境界とを上記特別の線
種とする、といったルールを登録しておき、選択された
ルールに従って自動的に上記特別の線種を使用するよう
にしてもよい。また、対象プリンタがカラープリンタの
場合は上記特別の線種をカラーで表示するようにしても
よい。
(D) Method of specifying the line type of the input character field area outline The special line type (for example, a thick line) is specified and defined as the outline defining the area of the input character field specified as described above. Can be. The line type of the “input character field area outline” may be selected by the user from a plurality of types, or may be determined according to the target OCR model. . In connection with this, in the case of "comment ruled lines" or character frame ruled lines not on the field boundary, block or error check should be performed so that the line type for the "input character field area outline" cannot be used. Good. Also, a rule that only the outermost boundary of the input character field group to be connected is the special line type, or that the outermost boundary and the column direction field boundary of the input character field group to be connected is the special line type May be registered, and the special line type may be automatically used according to the selected rule. When the target printer is a color printer, the special line type may be displayed in color.

【0028】(e)入力文字フィールド属性情報の指定
又は修正方式 上記のように配置が定義された各入力文字フィールドに
対して、該フィールドに記入されるべき文字の字種(英
数字やカタカナ等の区別)やそのデータ種別(地名、人
名等)などの属性を割当てる。このような入力文字フィ
ールド属性の割当ては、OCRの認識対象文字を絞り込
んでその認識精度を挙げるために必要である。そのため
の入力文字フィールド属性情報の指定方法は、上記のよ
うに個々の入力文字フィールドの指定/作成を行うとき
に同時に属性の指定も行うやり方がある。別の例とし
て、入力文字フィールドの指定/作成を一旦行った後、
所望の入力文字フィールドを選択し、該フィールドの属
性の指定又は修正を行うやり方がある。
(E) Input character field attribute information designation or correction method For each input character field whose layout is defined as described above, the character type (alphanumeric, katakana, etc.) to be entered in the field ) And attributes such as data types (place names, person names, etc.). Such assignment of the input character field attribute is necessary for narrowing down the OCR recognition target characters and increasing the recognition accuracy. As a method of specifying the input character field attribute information for that purpose, there is a method of specifying the attribute at the same time as specifying / creating each input character field as described above. As another example, once you specify / create an input character field,
There is a method of selecting a desired input character field and designating or modifying the attribute of the field.

【0029】(f)コメント文字及びコメント罫線の入
力方式 コメント文字を入力する場合は、所望のコメント文字入
力位置の先頭セルをカーソル等によって選択指定し、そ
こから所望のコメント文字列をキー入力する。コメント
罫線の指定入力は、前述の入力文字フィールドの指定と
類似した方法によって、所望のセル群を指定し、これを
コメント罫線によって囲むことを指定することによって
できる。ただし、コメント罫線の線種は入力文字フィー
ルド境界線の線種とは異なるものである。なお、コメン
ト罫線と入力文字フィールド境界線が重なる部分では、
入力文字フィールド境界線の線種を優先する。なお、指
定入力されたコメント文字又はコメント罫線の配置領域
が対象プリンタのプリント可能エリア内かどうかを自動
判定しユーザに告知するエラーチェック機能や、指定入
力されたコメント文字又はコメント罫線の配置領域が対
象OCRのクリアエリアに掛っていないかどうかを自動
判定しユーザに告知するエラーチェック機能などを具備
することができる。
(F) Input method of comment character and comment ruled line When inputting a comment character, the first cell at the desired comment character input position is selected and designated by a cursor or the like, and a desired comment character string is key-input therefrom. . The designation of the comment ruled line can be performed by designating a desired cell group and designating that a desired cell group is surrounded by the comment ruled line by a method similar to the designation of the input character field described above. However, the line type of the comment rule line is different from the line type of the input character field boundary line. Note that where the comment ruled line and the input character field boundary line overlap,
Give priority to the line type of the input character field border. Note that an error check function that automatically determines whether the specified input comment character or comment ruled line arrangement area is within the printable area of the target printer and notifies the user, and the designated input comment character or comment ruled line arrangement area are not included. An error check function or the like for automatically determining whether or not the target OCR is in the clear area and notifying the user can be provided.

【0030】(g)分離文字枠の生成方式 分離文字枠とは、1つのセルに対応して設けられる1文
字だけを記入する文字枠である。隣接するセルの分離文
字枠同士が重なることのないように、1つの分離文字枠
は、セルの境界の内側に設定表記される。そのため、図
4のような等間隔マトリックスからなるガイダンスメッ
シュにあっては、このメッシュ線に倣って分離文字枠を
線描することができない。そこで、その解決策として、
1つの分離文字枠を1文字分のフォントとして用意して
おき、カーソル等によって指定された所望のセル位置に
おいて分離文字枠フォントを発生表記することにより、
分離文字枠を生成するとよい。この分離文字枠フォント
は、複数のガイダンスメッシュサイズに合わせて複数サ
イズ用意しておくとよい。
(G) Separated character frame generation method A separated character frame is a character frame provided for one cell, in which only one character is entered. One separated character frame is set and written inside the cell boundary so that the separated character frames of adjacent cells do not overlap. Therefore, in the case of a guidance mesh including an equally spaced matrix as shown in FIG. 4, it is not possible to draw a separated character frame in accordance with the mesh line. So, as a solution,
By preparing one separated character frame as a font for one character and generating and displaying the separated character frame font at a desired cell position designated by a cursor or the like,
A separate character box may be generated. It is preferable to prepare a plurality of separated character frame fonts in accordance with a plurality of guidance mesh sizes.

【0031】ここで、図3に戻って、帳票作成処理の更
なる手順について説明する。 (4)OCRフォーマット情報の作成 前記(1)〜(3)の処理によって作成された帳票情報
は、前述の通り、該帳票を特定する適宜のファイル名を
付与してメモリに記憶されている。こうして作成された
帳票情報をメモリから読み出し、OCR用のフォーマッ
ト情報に変換する処理を自動的に行い、該特定の帳票に
係るOCRフォーマット情報ファイルを自動的に作成し
てメモリ(例えば磁気ディスク13)に記憶する。OC
Rモジュール15では、投入された帳票20に記載され
た文字情報の読み取り認識処理を行うとき、その帳票2
0に対応するOCRフォーマット情報ファイルをメモリ
から引き出し、これを参照して認識処理を行う。
Here, returning to FIG. 3, a further procedure of the form creation processing will be described. (4) Creation of OCR Format Information The form information created by the processes (1) to (3) is stored in the memory with an appropriate file name for specifying the form as described above. The form information created in this way is read from the memory and automatically converted into OCR format information, and an OCR format information file relating to the specific form is automatically created and stored in the memory (for example, the magnetic disk 13). To memorize. OC
In the R module 15, when performing the reading recognition processing of the character information described in the entered form 20, the form 2
The OCR format information file corresponding to “0” is extracted from the memory, and recognition processing is performed with reference to the OCR format information file.

【0032】(5)帳票(帳票原版)のプリント 前記(1)〜(3)の処理によって作成され、適宜のフ
ァイル名を付与してメモリに記憶されている、作成済み
の特定の帳票の帳票情報を、該メモリから読み出し、プ
リンタ14でプリント出力する。これにより、作成した
帳票の原版が得られる。勿論、プリントの際には、属性
情報など、実際の帳票紙面上に印刷されている必要のな
い情報は、除外してプリントするようにする。
(5) Printing of a form (original form) A form of a specific form that has been created and is stored in a memory with an appropriate file name created by the processing of (1) to (3). The information is read from the memory and printed out by the printer 14. Thus, the original form of the created form is obtained. Of course, at the time of printing, information that does not need to be printed on the actual form paper, such as attribute information, is excluded and printed.

【0033】(6)作成補助、チェック、修正等の付加
的機能に関する処理 前記(3)の処理の最中において各種帳票情報の詳細を
定義するための補助としてあるいはチェックのために、
あるいは作成済みの帳票情報の修正又はチェックのため
に、下記に述べるようないくつかの付加的機能に関する
処理を行うことを提案する。
(6) Processing related to additional functions such as creation assistance, checking, and modification During the above-mentioned processing (3), as an aid for defining details of various form information or for checking
Alternatively, it is proposed to perform processing related to some additional functions as described below in order to correct or check the created form information.

【0034】(6−)フィールド属性のプリント表記
方式 各種帳票情報の詳細を定義するための作業を行う際の補
助として、あるいはチェックのために、あるいは修正作
業のために、各入力文字フィールドに割当て/設定され
ている属性を示す情報を併せて表記した帳票をプリント
出力できるようにする必要がある。ところで、1つのフ
ィールドのサイズが最小で1文字の場合もあり、1文字
分のスペースに属性情報をそのまま記述するのは困難で
ある。そこで、1文字分のスペースに属性情報を略号化
してプリント表記する方法をここで提案する。その1つ
は、属性情報の記述を短縮形で表示する方法であり、そ
の一例を図6の(a)に示す。例えば、「K1」は、カ
タカナ(頭のKがその短縮形)の1文字(末の1がその
短縮形)を示す。また、「E1」は、アルファベット文
字(頭のEがその短縮形)の1文字(末の1がその短縮
形)を示す。また、「G1」はカタカナ又はアルファベ
ット文字(頭のGがその短縮形)の1文字(末の1がそ
の短縮形)を示す。なお、英数字は半角印字可能なの
で、1文字分のスペースに2文字の略号を印字できる。
若しくは、そのような短縮形を専用フォントとして用意
しておいてもよい。
(6-) Field attribute print notation method Assigned to each input character field as an aid in defining the details of various form information, for checking, or for correction. It is necessary to be able to print out a form in which information indicating the set attribute is described. By the way, the size of one field may be at least one character, and it is difficult to directly describe the attribute information in the space for one character. Therefore, a method is proposed here in which attribute information is abbreviated into a space for one character and printed. One of them is a method of displaying the description of the attribute information in a short form, and an example thereof is shown in FIG. For example, “K1” indicates one character of katakana (the first K is its abbreviation), and the last 1 is its abbreviation. “E1” indicates one character (the last 1 is the abbreviated form) of the alphabet character (E at the beginning is the abbreviated form). “G1” indicates one character of katakana or alphabetic characters (the first letter G is an abbreviated form), and the last 1 is the abbreviated form. Since alphanumeric characters can be printed in one-byte characters, two-letter abbreviations can be printed in one character space.
Alternatively, such a short form may be prepared as a dedicated font.

【0035】図6の(b)は別の例であり、所定の短縮
パターン表示により、属性を略号化して表示する例であ
る。右側の表は、短縮パターン表示と属性の対応表であ
り、適当なスペースにこのような対応表をプリント印字
すれば、その意味が直ぐに判るので便利である。短縮パ
ターン表示を専用フォントとして用意しておいてもよ
い。なお、すべての属性表示を略号でプリント表記する
のではなく、文字数の多いフィールドについては、より
判りやすい記述でプリント表記するようにしてよいのは
勿論である。
FIG. 6B shows another example in which attributes are abbreviated and displayed by displaying a predetermined shortened pattern. The table on the right is a correspondence table between the display of shortened patterns and the attributes. If such a correspondence table is printed and printed in an appropriate space, its meaning can be easily understood, so that it is convenient. The shortened pattern display may be prepared as a dedicated font. It is needless to say that not all attribute displays are printed with abbreviations, but a field having a large number of characters may be printed with a more understandable description.

【0036】(6−)基礎的情報に基づく入力可能領
域のガイド及びエラーチェック 前述したように、対象OCR機種名、対象プリンタ機種
名、帳票サイズなどによって、入力文字枠の配置可能領
域や、コメント文字の配置可能領域が制限されるので、
入力されたこれらの基礎的情報に基づき入力文字枠配置
可能領域及びコメント文字配置可能領域を算出し、これ
に基づき下記(a)〜(d)のような様々なガイド及び
エラーチェック機能を実行する。 (a)帳票の詳細定義情報を指定入力する作業を補助す
るために、帳票上に入力文字枠配置可能領域及びコメン
ト文字配置可能領域をガイド表示する動作モードを提供
するとよい。このガイド表示は、ディスプレイモニタ上
で表示してもよいし、ガイドメッシュや帳票外形線等と
共に用紙上にプリント出力するようにしてもよい。 (b)既に述べたが、帳票の詳細定義情報を指定入力す
る作業を行っている最中に、指定された入力文字フィー
ルドの領域が入力文字枠配置可能領域かどうかを自動的
にチェックし、該当していない場合は所定のエラー告知
を行う。同様に、指定入力されたコメント文字の領域が
コメント文字配置可能領域かどうかを自動的にチェック
し、該当していない場合は所定のエラー告知を行う。 (c)上記(b)と同様のエラーチェックを、ユーザに
よってエラーチェック命令が与えられたとき行う。 (d)上記(b)と同様のエラーチェックを、帳票作成
完了時又は前記OCRフォーマット情報ファイル作成時
又は完成済み帳票のプリント時に自動的に行う。
(6-) Guide and Error Check of Inputtable Area Based on Basic Information As described above, the area where the input character frame can be arranged, the comment, and the like are determined according to the target OCR model name, target printer model name, form size, etc. Since the area where characters can be placed is limited,
An input character frame allocable area and a comment character allocable area are calculated based on the input basic information, and various guides and error check functions as described in (a) to (d) below are executed based on the calculated areas. . (A) In order to assist the work of designating and inputting detailed definition information of a form, it is preferable to provide an operation mode for guiding the input character frame allocable area and the comment character allocable area on the form. This guide display may be displayed on a display monitor, or may be printed out on paper together with a guide mesh, a form outline, and the like. (B) As described above, during the operation of specifying and inputting the detailed definition information of the form, it is automatically checked whether the specified input character field area is an input character frame allocable area, If not, a predetermined error notification is made. Similarly, it is automatically checked whether or not the designated and input comment character area is a comment character allocable area, and if not, a predetermined error notification is made. (C) An error check similar to the above (b) is performed when an error check command is given by the user. (D) The same error check as the above (b) is automatically performed when the form creation is completed, when the OCR format information file is created, or when the completed form is printed.

【0037】(6−)入力文字フィールドのモニタ的
表示プリント機能 帳票作成作業の補助のために、入力文字フィールドをモ
ニタ的に明示するため、あるいは同一属性のフィールド
の連結領域をモニタ的に明示するため、下記(a)〜
(e)のような機能を提供する。 (a)入力文字フィールド、あるいは同一属性のフィー
ルドの連結領域(複数フィールド)の外形を他と区別で
きるように、所定の線種(入力文字フィールド領域外形
線やコメント罫線で使用しない線種あるいは色)で、モ
ニタ表示する。このモニタ表示は、ディスプレイモニタ
上で表示してもよいし、作成途中の又は作成済みの帳票
表示と共に用紙上にプリント出力するようにしてもよ
い。 (b)入力文字フィールド、あるいは同一属性のフィー
ルドの連結領域(複数フィールド)の外形を他と区別で
きるように、所定の網かけ表示又は色で、モニタ表示す
る。このモニタ表示は、ディスプレイモニタ上で表示し
てもよいし、作成途中の又は作成済みの帳票表示と共に
用紙上にプリント出力するようにしてもよい。 (c)上記(a)と(b)を併用してもよい。
(6) Monitor display function of input character field Print function To assist the report creation work, monitor the input character field, or monitor the connected area of the field with the same attribute. Therefore, the following (a)-
A function as shown in (e) is provided. (A) A predetermined line type (line type or color not used in the input character field area outline or comment ruled line) so that the outline of the input character field or the connected area (a plurality of fields) of fields having the same attribute can be distinguished from the others. ) To display on the monitor. This monitor display may be displayed on a display monitor, or may be printed out on a sheet together with a display of a form that is being created or that has been created. (B) The monitor is displayed in a predetermined shaded display or color so that the outer shape of the input character field or the connected area (a plurality of fields) of the fields having the same attribute can be distinguished from the others. This monitor display may be displayed on a display monitor, or may be printed out on a sheet together with a display of a form that is being created or that has been created. (C) The above (a) and (b) may be used in combination.

【0038】(d)入力文字枠を明示するために、各入
力文字枠の枠線であって、入力文字フィールド外形ある
いは入力文字フィールドの連結領域の外形でない部分
を、他とは区別された所定の線種又は色でディスプレイ
モニタ表示又はモニタプリント出力できるようにしても
よい。 (e)完成品の帳票には入力文字フィールドの外形線が
不要な場合がある(例えば、活字で文字記入するような
使い方をする場合)。そのような場合は、完成品の帳票
をプリント出力する場合は、入力文字フィールドの外形
線を印刷しないが、ディスプレイでモニタ表示するとき
は入力文字フィールドの外形線を選択的に表示できるよ
うにする、あるいは入力文字フィールドの外形線を印刷
した帳票をモニタプリント出力する選択ができるように
する、などの便宜を図るように構成してよい。
(D) In order to clearly indicate the input character frame, a part of the frame of each input character frame that is not the outline of the input character field or the outline of the connection region of the input character field is defined as a predetermined part. The display monitor display or the monitor print output may be made in the line type or color of the above. (E) There is a case where the outline of the input character field is not necessary in the form of the finished product (for example, when using such a way that characters are written in print). In such a case, the outline of the input character field is not printed when the form of the finished product is printed out, but the outline of the input character field can be selectively displayed when displayed on a monitor. Alternatively, it may be configured such that a form on which the outline of the input character field is printed can be selected for monitor print output.

【0039】(6−)寸法又は座標補正方式 プリンタ駆動回路の性質、あるいはプリンタの性質によ
り、パーソナルコンピュータ(処理装置10)が想定し
た帳票の寸法又は座標と、実際にプリントされる帳票の
寸法又は座標が相違することがある。また、プリントし
た帳票を光学式コピー機16でコピーしたものをOCR
帳票として使用する場合も、パーソナルコンピュータ
(処理装置10)側の想定とOCR読取りにかけられる
帳票の寸法又は座標が相違してくることがある。このよ
うな相違を放置しておくと、パーソナルコンピュータ
(処理装置10)に記憶したOCRフォーマット情報と
実際にOCR読取りにかけられる帳票との相違によっ
て、文字認識処理に誤認識をもたらすので好ましくな
い。そこで、下記のような解決策を提案する。
(6-) Dimension or coordinate correction method The dimensions or coordinates of the form assumed by the personal computer (processing device 10) and the dimensions or coordinates of the form actually printed are determined by the properties of the printer drive circuit or the nature of the printer. The coordinates may be different. An optical copy machine 16 copies the printed form to an OCR
Even when used as a form, the dimensions or coordinates of the form to be subjected to OCR reading may differ from the assumptions of the personal computer (processing device 10). Leaving such a difference undesirably results in erroneous recognition in the character recognition process due to the difference between the OCR format information stored in the personal computer (processing device 10) and the form actually subjected to OCR reading. Therefore, the following solution is proposed.

【0040】(a)解決策 テストプリントした帳票、あるいはテストプリントした
帳票をコピーした帳票における特定の部位間の寸法を実
測し、その測定結果をシステムに入力し、パーソナルコ
ンピュータ(処理装置10)側で補正演算を行い、その
補正演算結果によって、プリンタ14に入力する帳票情
報の座標データを修正する。それから、修正したプリン
ト入力帳票情報の座標データに基づき、もう一度、帳票
のプリントを行う。そうすると、今度は、誤差が修正さ
れた帳票がプリントされることになる。そこで、この誤
差修正済み帳票を使用して(又はコピーしたものを使用
して)OCRにかけるようにすれば、上記誤認識を解決
することができる。
(A) Solution Measure the dimensions between specific parts in a test-printed form or a copy of a test-printed form, input the measurement result to the system, and use the personal computer (processing device 10) side. And corrects the coordinate data of the form information input to the printer 14 according to the result of the correction calculation. Then, the form is printed again based on the coordinate data of the corrected print input form information. Then, the form in which the error has been corrected is printed. Therefore, if the error-corrected form is used for the OCR (or the copied form is used), the erroneous recognition can be solved.

【0041】(b)寸法実測技術 上記の解決策の実施にあたって、帳票の特定の部位間の
寸法を実測するための技術を下記に提案する。この場
合、どの部位を実測するかをパーソナルコンピュータ
(処理装置10)側で完全に認識している必要が有る。
そのために、パーソナルコンピュータ(処理装置10)
側から、ディスプレイ11を通して、又はプリンタ14
による完成帳票又は半完成帳票見本のプリント出力によ
って、実測すべき部位をユーザに対して指示してやるよ
うにする。図7は、その実測部位指示例を示す。
(B) Dimension Measurement Technique In implementing the above solution, a technique for actually measuring a dimension between specific parts of a form is proposed below. In this case, it is necessary for the personal computer (processing device 10) to completely recognize which part is actually measured.
For that purpose, a personal computer (processing device 10)
From the side, through the display 11 or the printer 14
A part to be measured is instructed to the user by printout of a completed form or a semi-completed form sample. FIG. 7 shows an example of the measurement site designation.

【0042】図7の(a)は、プリンタ14によって完
成帳票又は半完成帳票見本をプリント出力した例を示
す。四隅の所定位置に所定のマーク(図では+のマー
ク)が印刷されている。ユーザは、このプリント出力さ
れた帳票見本(又はそのコピーの)の+マーク間の縦及
び横の寸法(x,y座標方向の寸法)を夫々実測し、そ
の実測データをパーソナルコンピュータ(処理装置1
0)に入力する。図7の(b)は、ディスプレイ11に
よって完成帳票又は半完成帳票における実測部位を指示
する例を示す。実測部位を指示するガイダンス表示とし
て図示のような矢印表示が縦及び横(x,y座標方向)
に延びて夫々表示される。ユーザは、テストプリントし
た帳票(又はそのコピーの)における指示された部位間
(図の例では左右上下のエッジマークの最外側間の間
隔)の寸法を夫々実測し、その実測データをパーソナル
コンピュータ(処理装置10)に入力する。上記例のよ
うに、実測部位はx,y両座標軸について行うのが好ま
しい。また、できるだけ帳票の外形に近い部位間で実測
するのが、測定補正誤差を小さくする上で好ましい。勿
論、上記の解決策の実施にあたって、上記の寸法実測技
術は有用であるが、必須ではなく、他の方法によっても
よい。
FIG. 7A shows an example in which a completed form or a semi-completed form sample is printed out by the printer 14. Predetermined marks (+ marks in the figure) are printed at predetermined positions at the four corners. The user actually measures the vertical and horizontal dimensions (dimensions in the x and y coordinate directions) between the + marks of the printed form sample (or a copy thereof), and transmits the measured data to a personal computer (processing device 1).
Enter 0). FIG. 7B shows an example in which the display 11 indicates an actually measured part in a completed form or a semi-completed form. Arrows as shown in the figure as vertical and horizontal (x, y coordinate directions) as guidance display for indicating the actual measurement site
And each is displayed. The user actually measures the dimensions between the designated portions (the interval between the outermost sides of the left, right, upper, and lower edge marks in the example in the figure) in the test-printed form (or a copy thereof), and transfers the measured data to the personal computer ( Input to the processing device 10). As in the above example, it is preferable that the measurement site is performed on both the x and y coordinate axes. In addition, it is preferable to perform the actual measurement between the parts as close to the outer shape of the form as possible in order to reduce the measurement correction error. Of course, in implementing the above solution, the above-described dimension measurement technique is useful, but is not essential, and another method may be used.

【0043】(c)プリント座標制御方式 上記の解決策の実施にあたって、寸法補正のためのプリ
ント座標制御をできるだけ正確に行うための方式を下記
に提案する。すなわち、パーソナルコンピュータ(処理
装置10)の側における帳票作成ソフトウェアの内容に
よっては、プリント座標の制御分解能に限界があるの
で、何等かの対策が必要である。特に、汎用の帳票作成
ソフトウェア(例えば、MS−DOS版あるいはWin
dows版あるいはMac版のスプレッドシート;な
お、これらはいずれも商標又は商品名)を、この帳票作
成処理プログラムに組み込んで使用するような場合に、
そのようなプリント座標の制御分解能の限界が問題とな
る。
(C) Print Coordinate Control Method In implementing the above solution, a method for performing print coordinate control for dimensional correction as accurately as possible is proposed below. That is, depending on the contents of the form creation software on the side of the personal computer (processing device 10), the control resolution of the print coordinates is limited, and some countermeasures are required. In particular, general-purpose form creation software (for example, MS-DOS version or Win
doss version or Mac version spreadsheets; both of these are trademarks or trade names).
Such a limitation in the control resolution of the print coordinates poses a problem.

【0044】例えば、MS−DOS版スプレッドシート
の場合、24ドット等の或る量子化単位の倍数でしかプ
リント座標を制御できない。そこで、量子化単位以下の
座標制御を実現するために、複数の印字用フォントある
いはパターンを用意しておき、正確な位置にプリントす
るためにフォント又はパターンを選択する。図8は、そ
のような特殊フォント又はパターンのいくつかの例を示
す。四角の外枠は1フォントの境界を示し、その中の横
線がフォント又はパターンである。同様の縦線フォント
も適宜用意するのは勿論である。これらの特殊フォント
又はパターンを用いて、かつ倍角モード又は4倍角モー
ドを適宜使用すれば、ガイダンスメッシュの途中に境界
を持つ外形線や枠線、罫線などをプリント出力すること
ができ、プリント座標制御可能分解能より細かい分解能
でこれらの線分要素をプリントすることができる。な
お、Windows版あるいはMac版スプレッドシー
トの場合は、ガイダンスメッシュの行列配置を不等間隔
に制御できるので、その機能を用いて寸法補正のための
プリント座標制御を行えばよい。勿論、上記の解決策の
実施にあたって、上記のプリント座標制御方式は有用で
あるが、必須ではなく、他の方法によってもよいし、採
用しなくてもよい。
For example, in the case of an MS-DOS version spreadsheet, print coordinates can be controlled only by a multiple of a certain quantization unit such as 24 dots. Therefore, a plurality of printing fonts or patterns are prepared in order to realize coordinate control of a quantization unit or less, and a font or pattern is selected for printing at an accurate position. FIG. 8 shows some examples of such special fonts or patterns. A rectangular outer frame indicates a boundary of one font, and a horizontal line in the frame indicates a font or a pattern. Needless to say, a similar vertical line font is appropriately prepared. By using these special fonts or patterns and appropriately using the double-width mode or the quadruple-width mode, it is possible to print out outlines, frame lines, ruled lines, etc. having a boundary in the guidance mesh, and to control print coordinates. These line elements can be printed with a finer resolution than possible. In the case of a Windows version or Mac version spreadsheet, the arrangement of the guidance mesh matrix can be controlled at unequal intervals, so that the print coordinate control for dimensional correction may be performed using this function. Of course, in implementing the above solution, the above-described print coordinate control method is useful, but not essential, and may be other methods or may not be adopted.

【0045】(6−)拡大コピーによって大きなサイ
ズの帳票を作成する機能 使用するプリンタ14の機種によっては、プリント可能
サイズの制約を受けるので、所望の大きなサイズの帳票
をプリント出力することができない場合がある。そのよ
うな場合は、光学式コピー機16による拡大コピー機能
を利用して所望サイズの帳票を作成する。その手順の一
例を示すと、まず、帳票作成処理における各種情報の定
義は、所望の大きなサイズの通りに指定してOCRフォ
ーマット情報ファイルを作成する。次に、作成した帳票
情報に基づく完成帳票のプリント出力の前に、拡大率の
逆数を縮小率としてプリント座標を縮小し、縮小したプ
リント座標に従って帳票をプリント出力する。こうして
縮小サイズでプリントした帳票を光学式コピー機16で
拡大コピーし、所望の大きなサイズの帳票を得る。な
お、この場合、上述の寸法又は座標補正方式を実施する
場合に、誤差補正演算にあたっては上記拡大率又は縮小
率を考慮するものとする。
(6-) Function of creating a large-sized form by enlarging copy Since the printable size is restricted depending on the type of the printer 14 used, when a desired large-sized form cannot be printed out. There is. In such a case, a form of a desired size is created using the enlarged copy function of the optical copy machine 16. As an example of the procedure, first, an OCR format information file is created by defining various types of information in a form creation process by designating the information as a desired large size. Next, before printing the completed form based on the created form information, the print coordinates are reduced using the reciprocal of the enlargement ratio as the reduction ratio, and the form is printed out according to the reduced print coordinates. The form printed in the reduced size is enlarged and copied by the optical copying machine 16 to obtain a form of a desired large size. In this case, when the above-described dimension or coordinate correction method is performed, the above-described enlargement ratio or reduction ratio should be considered in the error correction calculation.

【0046】〔帳票作成処理の具体例〕次に、帳票作成
処理の具体的なプログラム例を説明する。図9は、図1
のシステムにおける処理装置10によって実行される
「帳票作成処理プログラム」の一例の概略構造を示す。
この実施例に示された「帳票作成処理プログラム」は、
大別して、基準シート定義処理プログラム31、帳票作
成処理プログラム32、寸法補正プログラム33からな
っており、「基準シート」機能を利用して帳票作成処理
を行う点に特徴がある。基準シート機能以外の他の機能
については、前記「帳票作成処理の説明」の項で既に説
明したものと同様の処理を行う。従って、以下では、基
準シートの機能について特に詳しく説明する。
[Specific Example of Form Creation Processing] Next, a specific program example of the form creation processing will be described. FIG. 9 shows FIG.
1 shows a schematic structure of an example of a “form creation processing program” executed by the processing device 10 in the system of FIG.
The “form creation processing program” shown in this embodiment is:
It is roughly divided into a reference sheet definition processing program 31, a form creation processing program 32, and a dimension correction program 33, and is characterized in that the form creation processing is performed using the "reference sheet" function. With respect to functions other than the reference sheet function, the same processing as that already described in the section of “Description of form creation processing” is performed. Therefore, the function of the reference sheet will be described below in detail.

【0047】「基準シート」とは、帳票作成処理を容易
にするために本発明者らが案出した概念であり、帳票の
基となる基本の定型フォームのことである。基準シート
は、例えば、帳票のサイズ(A4,B4,特殊サイズ
等)、帳票の方向(縦,横)、対象OCR機種、使用プ
リンタ機種、などの前述の基礎的情報の組み合わせから
なっており、帳票の共通フォーマットとして使用できる
情報からなる。
The "reference sheet" is a concept devised by the present inventors for facilitating the form creation process, and is a basic fixed form that forms the basis of the form. The reference sheet is composed of a combination of the above-described basic information such as a form size (A4, B4, special size, etc.), a form direction (vertical, horizontal), a target OCR model, a used printer model, and the like. Consists of information that can be used as a common format for forms.

【0048】「基準シート」機能を利用した帳票作成処
理は、概ね、次のステップからなる。第1に、予め1又
は複数種の基準シートを定義(作成)し登録する処理を
行うステップであり、基準シート定義処理プログラム3
1によって、このステップの処理が実行される。第2
に、個別の帳票の定義(作成)に先立って、そのために
使用する基準シートを選択するステップであり、帳票作
成処理プログラム32の一部によって、このステップの
処理が実行される。第3に、選択した基準シートを基に
して、その上に、個別の帳票を詳細に定義する情報の指
定入力を行い、所望のフォームからなる個別帳票を完成
するステップであり、帳票作成処理プログラム32によ
って、このステップの処理が実行される。一旦作成した
帳票の寸法補正等の処理は、寸法補正処理プログラム3
3によって実行される。
The form creation process using the “reference sheet” function generally includes the following steps. First, there is a step of defining (creating) and registering one or more types of reference sheets in advance.
1 executes the processing of this step. Second
In addition, prior to the definition (creation) of an individual form, this is a step of selecting a reference sheet to be used for that purpose. A part of the form creation processing program 32 executes this step. Thirdly, based on the selected reference sheet, a step of designating and inputting information for defining an individual form in detail on the basis thereof to complete an individual form having a desired form. 32 executes the process of this step. Processing such as dimensional correction of the form once created is performed by the dimensional correction processing program 3
3 is performed.

【0049】基準シート定義処理プログラム31におけ
る処理の流れの一具体例は図10に示されている。帳票
作成処理プログラム32における処理の流れの一具体例
は図11に示されている。図11のフロー中で行われる
「その他の操作の処理」の流れの一具体例は図12に示
されている。寸法補正処理プログラム33における処理
の流れの一具体例は図13に示されている。
FIG. 10 shows a specific example of the processing flow in the reference sheet definition processing program 31. One specific example of the processing flow in the form creation processing program 32 is shown in FIG. FIG. 12 shows a specific example of the flow of the “processing of other operations” performed in the flow of FIG. One specific example of the processing flow in the dimension correction processing program 33 is shown in FIG.

【0050】まず、図10を参照して、基準シート定義
処理について説明する。ステップST1においては、基
準シート定義画面をディスプレイ11で表示する処理を
行なう。基準シート定義画面の表示例を示すと図14の
ようである。基準シートの構成要素は、同図に示されて
いるように、(1)基準シート名、(2)対象OCR装
置の機種名、(3)対象プリンタの機種名、(4)帳票
サイズ、(5)入力文字枠配置、(6)エッジマーク、
などの情報からなる。
First, the reference sheet definition processing will be described with reference to FIG. In step ST1, a process of displaying a reference sheet definition screen on the display 11 is performed. FIG. 14 shows a display example of the reference sheet definition screen. As shown in the drawing, the components of the reference sheet are (1) the name of the reference sheet, (2) the model name of the target OCR device, (3) the model name of the target printer, (4) the form size, and ( 5) input character frame arrangement, (6) edge mark,
It consists of such information.

【0051】次のステップST2では、基準シート定義
画面を見ながら、ユーザがキーボード12等を使用し
て、上記各基準シート構成要素の情報を適宜指定入力す
ることにより、所望の基準シートを定義する入力操作を
行なう。図14において、アンダーラインはカーソルを
示しており、カーソルを所望の位置に位置させることに
より、そこに記載されている内容の情報を選択/指定す
ることができる。なお、図14において「…名1」とか
「名称1」とか記載されているのは便宜的表記であり、
実際は、実際の名称が表示されるのが好ましい。また、
図14において、〔 〕で囲まれた領域が、ユーザ操作
によって選択/指定の対象となる領域を示す。予め用意
された情報をカーソルによって選択/指定するのみなら
ず、所望の文字情報や数値をキー入力できるようにして
もよい。
In the next step ST2, a desired reference sheet is defined by the user by appropriately designating and inputting information on each of the above-described reference sheet components using the keyboard 12 or the like while viewing the reference sheet definition screen. Perform input operation. In FIG. 14, an underline indicates a cursor, and by positioning the cursor at a desired position, information of the content described therein can be selected / designated. In FIG. 14, "... Name 1" or "name 1" is described for convenience only.
In practice, it is preferable that the actual name be displayed. Also,
In FIG. 14, an area surrounded by [] indicates an area to be selected / designated by a user operation. In addition to selecting / designating prepared information with a cursor, desired character information and numerical values may be input by key.

【0052】ステップST3では、上記定義入力操作に
応じて、必要な計算処理を行なうか否かを判定する。計
算すべき場合は、ステップST4に行き、入力範囲、印
字範囲、入力文字枠サイズ等を計算/若しくは再計算す
る。この計算処理に際しては、指定された対象OCR機
種名と対象プリンタ機種名などに応じた所定の制約条件
データなどが自動的に参照される。ステップST4の
後、ステップST1に戻り、計算結果に応じて画面表示
を書き換える。図14において、四角枠で囲まれた部分
が、ユーザの選択/指定操作に応じて上記ステップST
4で計算された結果が自動的に表示される領域である。
例えば、入力範囲や印字範囲は、指定したOCR機種と
プリンタ機種及び帳票サイズによって自動的に決定され
る。入力範囲とは、入力文字枠が配置可能な範囲のこと
であり、印字範囲とは、コメント文字を印字配置するこ
とが可能な範囲のことである。また、図14の例では、
入力文字枠は、全体の行数と列数を指定することによ
り、上記ステップST4で1つの入力文字枠の縦横サイ
ズが自動計算され、その結果が表示される。
In step ST3, it is determined whether or not necessary calculation processing is performed according to the definition input operation. If the calculation is to be performed, the process goes to step ST4 to calculate / recalculate the input range, print range, input character frame size, and the like. At the time of this calculation processing, predetermined constraint data corresponding to the specified target OCR model name and target printer model name are automatically referred to. After step ST4, the process returns to step ST1 and rewrites the screen display according to the calculation result. In FIG. 14, a portion surrounded by a square frame corresponds to the above-described step ST according to a user's selection / designation operation.
This is the area where the result calculated in step 4 is automatically displayed.
For example, the input range and the print range are automatically determined by the designated OCR model, printer model, and form size. The input range is a range in which an input character frame can be arranged, and the print range is a range in which a comment character can be printed. In the example of FIG.
By specifying the total number of rows and columns for the input character frame, the vertical and horizontal sizes of one input character frame are automatically calculated in step ST4, and the result is displayed.

【0053】計算処理を行なう必要がない場合は、ステ
ップST5に行き、定義終了を指示するキー入力がなさ
れたかをチェックする。NOであればステップST1に
戻るが、YESであればステップST6に行く。ステッ
プST6では、上記のようにして定義された基準シート
情報に基づき、ガイダンスメッシュのサイズと座標、エ
ッジマークの座標、エッジマーク囲いの座標、クリアエ
リアチェック用のパラメータなど、必要な各種データを
算出する処理を行なう。この計算処理に際しても、指定
された対象OCR機種名と対象プリンタ機種名などに応
じた所定の制約条件データなどが自動的に参照される。
If it is not necessary to perform the calculation processing, the flow goes to step ST5, and it is checked whether a key input for instructing the end of the definition has been made. If NO, the process returns to step ST1, but if YES, the process proceeds to step ST6. In step ST6, various necessary data such as guidance mesh size and coordinates, edge mark coordinates, edge mark surrounding coordinates, and clear area check parameters are calculated based on the reference sheet information defined as described above. Is performed. Also at the time of this calculation processing, predetermined constraint data corresponding to the specified target OCR model name and target printer model name and the like are automatically referred to.

【0054】ステップST7では、上記のようにして定
義及び必要データ類の自動作成が完了した基準シート情
報のファイル一式を出力し、磁気ディスク13等の記憶
装置に記憶する。なお、基準シート定義処理にあたって
は、対象OCR,対象プリンタ,入力文字枠サイズ等を
デフォルト値扱いすることも可能である。その場合、デ
フォルト値を人で修正できるようにしてもよい。
In step ST7, a set of reference sheet information files for which definition and necessary data have been automatically created as described above are output and stored in a storage device such as the magnetic disk 13. In the reference sheet definition process, the target OCR, the target printer, the input character frame size, and the like can be treated as default values. In that case, the default value may be modified by a person.

【0055】次に、図11を参照して、帳票作成処理に
ついて説明する。ステップST10においては、基準シ
ート/帳票選択画面をディスプレイ11で表示する処理
を行なう。基準シート/帳票選択画面の表示例を示すと
図15のようである。次のステップST11では、基準
シート/帳票選択画面を見ながら、ユーザがキーボード
12等を使用して、これから行なう帳票作成処理の基と
なる基準シート若しくは完成済(又は作成途中;要する
にファイル作成済)の帳票の中から所望のものを選択す
る操作を行ない、かつ、これから作成しようとする帳票
名を入力する操作を行なう。基準シート若しくはファイ
ル作成済の帳票のどちらでも選択することができ、どち
らを選択する場合でも、複数の基準シート又は複数のフ
ァイル済帳票の中から、所望のものを選択することがで
きる。新規の帳票ファイルを作成する場合は、基準シー
トを選択する。また、既存の完成済帳票のパラメータデ
ータを適宜変更して新規の帳票ファイルを作成すること
もできる。新規の帳票ファイルを作成する場合は、新規
の帳票名を入力する。また、ファイル作成済帳票のファ
イル名を変更せずに、そのパラメータデータを適宜追加
/変更することもできる。
Next, the form creation processing will be described with reference to FIG. In step ST10, a process of displaying a reference sheet / form selection screen on the display 11 is performed. FIG. 15 shows a display example of the reference sheet / form selection screen. In the next step ST11, while viewing the reference sheet / form selection screen, the user uses the keyboard 12 or the like to create a reference sheet or a completed (or in the middle of creation; in short, a file has been created) as a basis for a form creation process to be performed. The user performs an operation of selecting a desired form from among the forms described above, and performs an operation of inputting a form name to be created. Either the reference sheet or the file-created form can be selected. In either case, a desired one can be selected from a plurality of reference sheets or a plurality of filed forms. To create a new form file, select a reference sheet. In addition, a new form file can be created by appropriately changing the parameter data of an existing completed form. To create a new form file, enter a new form name. Also, the parameter data can be added / changed as appropriate without changing the file name of the file created form.

【0056】次のステップST12では、選択終了を指
示するキー入力等がなされたかをチェックする。NOで
あればステップST10に戻るが、YESであればステ
ップST13に行く。ステップST13では、基準シー
トが選択されたかどうかを確認し、YESであれば、ス
テップST14に行き、選択された基準シートの情報に
基づきガイダンスメッシュ表示用パラメータと入力範囲
及び印字範囲表示用パラメータを算出する。これによ
り、選択された基準シートのガイダンスメッシュ及び入
力範囲又は印字範囲がディスプレイ11で表示できるよ
うになる。その後、ステップST15に行く。ファイル
作成済帳票の場合は、既にこれらの表示パラメータ計算
がすんでいるので、ステップST14は行なわずにステ
ップST15に行く。
In the next step ST12, it is checked whether or not a key input for instructing the end of the selection has been made. If NO, the process returns to step ST10, but if YES, the process proceeds to step ST13. In step ST13, it is confirmed whether or not the reference sheet is selected. If YES, the process proceeds to step ST14, and the guidance mesh display parameter, the input range and the print range display parameter are calculated based on the information of the selected reference sheet. I do. Thereby, the guidance mesh and the input range or the print range of the selected reference sheet can be displayed on the display 11. After that, it goes to step ST15. In the case of the file created form, since these display parameter calculations have already been completed, the process goes to step ST15 without performing step ST14.

【0057】ステップST15では、帳票作成画面をデ
ィスプレイ11で表示する処理を行なう。帳票作成画面
の表示例を示すと図16のようである。図16の例で
は、入力範囲以外の領域に斜線を付し、入力範囲が明示
されるようになっている。これに限らず、印字範囲が明
示されるように表示モードを変更することも可能であ
る。次のステップST16では、帳票作成画面を見なが
ら、ユーザがキーボード12等を使用して、帳票を詳細
に定義するための各種パラメータ情報を入力する。この
帳票詳細定義情報の種類については、前出の実施例に関
連して前述した通りである。続くステップST17,S
T18,ST19では、ユーザの入力内容を判定し、夫
々に対応した処理をステップST20,ST21,ST
22で行なう。
In step ST15, a process of displaying a form creation screen on the display 11 is performed. FIG. 16 shows a display example of the form creation screen. In the example of FIG. 16, an area other than the input range is hatched to clearly indicate the input range. The display mode is not limited to this, and the display mode can be changed so that the print range is clearly indicated. In the next step ST16, while viewing the form creation screen, the user uses the keyboard 12 or the like to enter various parameter information for defining the form in detail. The type of the form detailed definition information is as described above in relation to the above-described embodiment. Subsequent steps ST17, S
In T18 and ST19, the input contents of the user are determined, and the processing corresponding to each is performed in steps ST20, ST21, ST21.
Perform at 22.

【0058】ステップST17では、ガイダンスメッシ
ュにおける任意のセル又はセル群を選択する入力操作が
行われたか否かを判定する。YESであれば、ステップ
ST20で、選択されたセル又はセル群の表示パラメー
タを作成し、ステップST15の帳票作成画面表示処理
に戻る。これによって、選択されたセル又はセル群を明
示するための所定の表示がなされる。
In step ST17, it is determined whether or not an input operation for selecting an arbitrary cell or cell group in the guidance mesh has been performed. If YES, in step ST20, display parameters of the selected cell or cell group are created, and the process returns to the form creation screen display process in step ST15. As a result, a predetermined display for specifying the selected cell or cell group is performed.

【0059】ステップST18では、入力フィールド指
定操作(入力文字フィールドとして指定する操作や、該
フィールドの属性を指定する操作など)が行われたか否
かを判定する。YESであれば、ステップST21に行
き、その入力フィールド指定操作の内容に応じた処理を
行なう。例えば、入力文字フィールドとして指定する操
作が行われた場合は、前ステップで選択されたセル又は
セル群を入力文字フィールドとして登録する処理を行な
う。また、入力文字フィールドの属性を指定する操作が
行われた場合は、その入力文字フィールドに対応して指
定された属性情報を登録する処理を行なう。また、同時
に、入力文字フィールドとして指定されたセル又はセル
群が、クリアエリアの条件や入力範囲の条件を満足させ
ているか等のエラーチェックを行なう。更に、上記の指
定内容やエラーチェック結果に応じて、入力文字フィー
ルド外形線、フィールド属性表示データ、エラー表示デ
ータなどの表示用パラメータを作成し、その後、ステッ
プST15の帳票作成画面表示処理に戻る。これによっ
て、指定内容やエラーチェック結果に応じた、入力文字
フィールド外形線、フィールド属性表示、エラー表示な
どの表示がなされる。
In step ST18, it is determined whether or not an input field designating operation (such as an operation to designate an input character field or an operation to designate an attribute of the field) has been performed. If "YES", the process proceeds to step ST21 to perform a process according to the content of the input field designation operation. For example, when an operation of designating an input character field is performed, a process of registering the cell or cell group selected in the previous step as an input character field is performed. When an operation for designating the attribute of the input character field is performed, a process for registering the attribute information designated corresponding to the input character field is performed. At the same time, an error check is performed to determine whether the cell or cell group specified as the input character field satisfies the clear area condition or the input range condition. Further, display parameters such as an input character field outline, field attribute display data, and error display data are created according to the specified contents and the error check result, and thereafter, the process returns to the form creation screen display process of step ST15. As a result, a display such as an outline of an input character field, a field attribute display, an error display, or the like is performed in accordance with the specified content or the error check result.

【0060】ステップST19では、コメント入力操作
(コメント文字の入力やコメント罫線の入力など)が行
われたか否かを判定する。YESであれば、ステップS
T22に行き、その入力内容に応じた処理を行なう。例
えば、入力されたコメント文字やコメント罫線を、前ス
テップで選択されたセル又はセル群に対応して登録する
処理を行なう。また、同時に、コメント入力用として指
定されたセル又はセル群が、クリアエリアの条件や印字
範囲の条件を満足させているか等のエラーチェックを行
なう。更に、入力指定内容やエラーチェック結果に応じ
て、コメント文字表示データ、コメント罫線表示デー
タ、エラー表示データなどの表示用パラメータを作成
し、その後、ステップST15の帳票作成画面表示処理
に戻る。これによって、入力指定内容やエラーチェック
結果に応じた、コメント文字、コメント罫線、エラー表
示などの表示がなされる。
In step ST19, it is determined whether or not a comment input operation (input of a comment character, input of a comment ruled line, etc.) has been performed. If YES, step S
Go to T22, and perform a process according to the input contents. For example, a process of registering the input comment character or comment ruled line corresponding to the cell or cell group selected in the previous step is performed. At the same time, an error check is performed to determine whether the cell or cell group designated for comment input satisfies the clear area condition and the print range condition. Further, display parameters such as comment character display data, comment ruled line display data, and error display data are created in accordance with the input designation content and the error check result, and thereafter, the process returns to the form creation screen display processing in step ST15. As a result, a display such as a comment character, a comment ruled line, or an error display is made according to the input designation contents and the error check result.

【0061】ステップST23では、帳票作成終了を指
示するキー入力がなされたかをチェックする。YESで
あれば処理を終了するが、NOであればステップST2
4に行き、その他の入力操作がなされたかを調べる。そ
の他の入力操作がなされた場合は、ステップST25に
行き、入力操作に対応する処理を行なう。その後、ステ
ップST15の帳票作成画面表示処理に戻る。
In step ST23, it is checked whether a key input for instructing the end of form creation has been made. If “YES”, the process ends. If “NO”, step ST2
Go to step 4 to check whether any other input operation has been performed. If another input operation has been performed, the process proceeds to step ST25, and processing corresponding to the input operation is performed. Thereafter, the process returns to the form creation screen display processing of step ST15.

【0062】図12は、図11のステップST25で実
行される「その他の操作」処理の具体例を示すものであ
る。ステップST26においては、表示モード選択操作
がなされたかを否かを判定する。YESの場合は、ステ
ップST27に行き、図17に示すような表示モード選
択画面をディスプレイ11で表示する。ステップST2
8では、この表示モード選択画面を見ながら、モニタ表
示、帳票表示、寸法補正表示の中から、ユーザが所望の
表示モードを選択することを可能にする。ステップST
29では、終了キー入力がなされたかをチェックする。
YESであればステップST30に行き、ユーザによっ
て選択されたモードで表示するようディスプレイ11の
表示を変更し、リターンする。NOであれば、ステップ
ST27に戻り、表示モード選択を継続する。
FIG. 12 shows a specific example of the "other operations" process executed in step ST25 of FIG. In step ST26, it is determined whether or not a display mode selection operation has been performed. In the case of YES, the process proceeds to step ST27, and a display mode selection screen as shown in FIG. Step ST2
8 allows the user to select a desired display mode from among monitor display, form display, and dimension correction display while looking at the display mode selection screen. Step ST
At 29, it is checked whether the end key has been input.
If YES, the process goes to step ST30, changes the display on the display 11 to display in the mode selected by the user, and returns. If NO, the process returns to step ST27 to continue the display mode selection.

【0063】なお、モニタ表示とは、帳票の表示のみな
らず各フィールドの属性を記述する表示も併せて行なう
表示モードである。帳票表示とは、作成した帳票のみを
表示する表示モードである。寸法補正表示とは、前述の
寸法又は座標補正方式に相当する処理(これを寸法補正
処理という)を行なうための画面をディスプレイ11で
表示するモードである。その一例は前記図7の(b)又
は図19のようであり、寸法を実測すべき部位を指定す
る表示を行なう。
The monitor display is a display mode for performing not only display of a form but also display describing the attribute of each field. The form display is a display mode in which only the created form is displayed. The dimension correction display is a mode in which a screen for performing processing corresponding to the above-described dimension or coordinate correction method (this is referred to as dimension correction processing) is displayed on the display 11. One example is as shown in FIG. 7B or FIG. 19, in which a display for designating a part whose dimensions are to be measured is performed.

【0064】図12に戻り、ステップST31において
は、印刷画面選択操作がなされたかを否かを判定する。
YESの場合は、ステップST32に行き、図18に示
すような印刷画面をディスプレイ11で表示する。ステ
ップST33では、この印刷画面を見ながら、帳票印
刷、モニタ印刷、寸法補正印刷の中から、ユーザが所望
の印刷モードを選択することを可能にする。ステップS
T34では、終了キー入力がなされたかをチェックす
る。YESであればステップST35に行き、指定され
た印刷モードによる印刷処理を行ない、その後、リター
ンする。NOであればステップST32に戻り、印刷画
面選択を継続する。
Returning to FIG. 12, in step ST31, it is determined whether or not a print screen selection operation has been performed.
In the case of YES, the process proceeds to step ST32, and a print screen as shown in FIG. In step ST33, the user can select a desired print mode from form printing, monitor printing, and dimension correction printing while viewing the print screen. Step S
At T34, it is checked whether the end key has been input. If YES, the process goes to step ST35 to perform the printing process in the designated print mode, and then returns. If NO, the process returns to step ST32 and print screen selection is continued.

【0065】なお、帳票印刷とは、作成した帳票のみを
印刷するモードである。モニタ印刷とは、帳票の印刷の
みならず各フィールドの属性を記述する表記も併せて印
刷するモードである。寸法補正印刷とは、寸法を実測す
べき部位を指定する表記を明示した帳票(例えば、前記
図7の(a)のような帳票又は図19のような画面の直
接プリント)を印刷するモードである。
The form printing is a mode for printing only the created form. The monitor printing is a mode for printing not only the form but also the notation describing the attribute of each field. The dimension correction printing is a mode for printing a form (for example, a form as shown in FIG. 7A or a direct print of a screen as shown in FIG. 19) in which a notation for designating a part to be measured is specified. is there.

【0066】ステップST36においては、OCRフォ
ーマットファイルを作成することを指示する操作がなさ
れたか否かを判定する。YESの場合は、ステップST
37に行き、作成した帳票の各種パラメータをOCRフ
ォーマット情報に変換するパラメータ変換処理を行な
い、変換されたOCRフォーマット情報と帳票名とから
なるOCRフォーマットファイルを作成し、出力する。
出力されたOCRフォーマットファイルは、磁気ディス
ク13等の記憶装置に記憶される。なお、寸法補正を行
なった場合は、補正値を考慮したフォーマットパラメー
タがファイルされる。ステップST38においては、帳
票ファイルを出力することを指示する操作がなされたか
否かを判定する。YESの場合は、ステップST39に
行き、作成した帳票の各種パラメータと帳票名とからな
る帳票ファィルを作成し、出力する。出力された帳票フ
ァイルは、磁気ディスク13等の記憶装置に記憶され
る。
In step ST36, it is determined whether or not an operation for instructing creation of an OCR format file has been performed. If YES, step ST
The process goes to 37 to perform a parameter conversion process of converting various parameters of the created form into OCR format information, and create and output an OCR format file including the converted OCR format information and the form name.
The output OCR format file is stored in a storage device such as the magnetic disk 13. When dimensional correction is performed, a format parameter in consideration of the correction value is filed. In step ST38, it is determined whether or not an operation to output a form file has been performed. In the case of YES, the process goes to step ST39 to create and output a form file including various parameters of the created form and the form name. The output form file is stored in a storage device such as the magnetic disk 13.

【0067】次に、図13を参照して寸法補正処理プロ
グラムについて説明する。この寸法補正処理プログラム
は、前述した寸法又は座標補正方式に従う処理に対応す
るものである。まず、ステップST40では、帳票選択
画面をディスプレイ11で表示する処理を行なう。帳票
選択画面においては、磁気ディスク13等の記憶装置に
おいて登録されているすべての帳票名がディスプレイ1
1で表示される。次のステップST41では、帳票選択
画面を見ながら、ユーザがキーボード12等を使用し
て、これから寸法補正を行なう帳票を選択する操作を行
なう。次のステップST42では、選択終了を指示する
キー入力等がなされたかをチェックする。NOであれば
ステップST40に戻るが、YESであればステップS
T43に行く。
Next, the size correction processing program will be described with reference to FIG. This dimension correction processing program corresponds to processing in accordance with the above-described dimension or coordinate correction method. First, in step ST40, a process of displaying a form selection screen on the display 11 is performed. On the form selection screen, all form names registered in the storage device such as the magnetic disk 13 are displayed on the display 1.
1 is displayed. In the next step ST41, while looking at the form selection screen, the user uses the keyboard 12 or the like to perform an operation of selecting a form for which dimensional correction is to be performed. In the next step ST42, it is checked whether or not a key input for instructing the end of the selection has been made. If NO, the process returns to step ST40, but if YES, step S40
Go to T43.

【0068】ステップST43では、前ステップで選択
された寸法補正対象となる帳票の表示を行ない、実測す
べき部位をユーザに対して示す。このとき、ディスプレ
イ11の表示モードは寸法補正表示モードに切換えら
れ、図19に示すような寸法補正画面が表示される。次
のステップST44では、ユーザが実測した帳票の縦横
寸法データの入力を受け付ける。ユーザは、図12のス
テップST35の処理によって予めプリント出力してあ
る帳票において、指定された部位間の寸法を実測し、こ
の実測データを寸法補正画面の表示に従って入力する。
In step ST43, the form selected for the dimension correction in the previous step is displayed, and the part to be measured is indicated to the user. At this time, the display mode of the display 11 is switched to the dimension correction display mode, and a dimension correction screen as shown in FIG. 19 is displayed. In the next step ST44, the input of the vertical and horizontal dimension data of the form actually measured by the user is accepted. The user actually measures the dimensions between the designated parts in the form printed out in advance by the processing of step ST35 in FIG. 12, and inputs the measured data in accordance with the display of the dimension correction screen.

【0069】ステップST45では、実測データの入力
が完了したかをチェックする。YESであればステップ
ST46に移行して、前述したような寸法補正計算及び
帳票データ等の変更演算を行なう。なお、この実施例で
は、寸法補正計算によって誤差補正したデータ(若しく
は前述の拡大コピー機能の場合は縮小補正したデータ)
を帳票データとして登録するよう帳票ファイルの座標デ
ータを変更するものとする。従って、この寸法補正処理
の後、図12のステップST35を経て、帳票を印刷す
る場合は、プリント誤差(若しくは拡大率)を補償した
帳票座標データが該帳票ファイルから読み出され、プリ
ント誤差の補償された(若しくは予定の拡大率分だけ縮
小する補償がなされた)帳票が印刷されることになる。
しかし、OCR読み取りデータの認識基準として使用さ
れるOCRフォーマットパラメータは、帳票の実際寸法
通りのものである必要があるから、図12のステップS
T37におけるフォーマットパラメータ変換計算におい
ては、帳票ファイルの帳票座標データをそのままOCR
フォーマットパラメータに変換するのではなく、寸法補
正処理によって補正した値を逆算して加味し、帳票の実
際寸法通りのOCRフォーマットパラメータを得、これ
をOCRフォーマットファイルに登録するものとする。
In step ST45, it is checked whether the input of the actual measurement data has been completed. If YES, the process shifts to step ST46 to perform the dimension correction calculation and the change calculation of the form data as described above. In this embodiment, the data corrected for the error by the dimensional correction calculation (or the data corrected for reduction in the case of the above-described enlarged copy function)
It is assumed that the coordinate data of the form file is changed so that is registered as the form data. Therefore, when printing a form via the step ST35 of FIG. 12 after this dimension correction processing, form coordinate data in which the print error (or enlargement ratio) has been compensated is read from the form file, and the print error is compensated. The completed (or compensated to reduce by the predetermined enlargement rate) form is printed.
However, since the OCR format parameters used as the recognition criteria of the OCR read data need to be the same as the actual dimensions of the form, step S in FIG.
In the format parameter conversion calculation in T37, the form coordinate data of the form file is
Instead of converting to a format parameter, the value corrected by the size correction process is calculated backward and added to obtain an OCR format parameter according to the actual size of the form, and this is registered in the OCR format file.

【0070】〔他の実施例〕上記実施例では、ガイダン
スメッシュを等間隔としているが、ガイダンスメッシュ
の行列配置を不等間隔に制御できるように処理プログラ
ムを構成してもよい。例えば、前述のように、Wind
ows版あるいはMac版スプレッドシートの場合は、
ガイダンスメッシュの行列配置を不等間隔に制御できる
ので、そのような汎用ソフトウェアを本発明のシステム
内に組み込んで利用することができる。その場合、次の
ような機能を追加的に実現することができる。
[Other Embodiments] In the above embodiment, the guidance meshes are arranged at equal intervals. However, the processing program may be configured so that the arrangement of the guidance meshes at irregular intervals can be controlled. For example, as described above, Wind
For ows or Mac spreadsheets,
Since the arrangement of the guidance mesh matrix can be controlled at irregular intervals, such general-purpose software can be incorporated into the system of the present invention and used. In that case, the following functions can be additionally realized.

【0071】(a)周辺座標制御メッシュ機能 帳票外形線やエッジマークなどの印刷位置座標の精度を
向上させるために、帳票外周の近傍におけるガイダンス
メッシュの間隔を自動的に又は手動的に可変制御する。
若しくは、この目的のために、追加のメッシュ線(行列
線)を挿入するようにしてもよい。すなわち、入力文字
枠を設定する領域ではガイダンスメッシュは等間隔であ
ることが望ましいが、帳票外周近傍では入力文字枠は通
常設定されないので、メッシュ間隔を不等間隔に制御で
きる。
(A) Peripheral coordinate control mesh function In order to improve the accuracy of the printing position coordinates such as the form outline and edge marks, the interval of the guidance mesh near the periphery of the form is automatically or manually variably controlled. .
Alternatively, additional mesh lines (matrix lines) may be inserted for this purpose. In other words, it is desirable that the guidance mesh is equally spaced in the area where the input character frame is set, but the input character frame is not normally set near the periphery of the form, so that the mesh interval can be controlled to be irregular.

【0072】(b)分離入力文字枠用メッシュ機能 入力文字枠の配置を定義するためのガイダンスメッシュ
を等間隔で設定する一方で、分離した入力文字枠の配置
を定義するためのメッシュ線を追加する。そのようにす
れば、前述例のように分離入力文字枠のための専用フォ
ントを用意する必要がない。また、このような追加のメ
ッシュ線は、分離入力文字枠の定義のためのみならず、
例えば、入力文字フィールドの境界に幾分のスペースを
設定する等の目的のためにも使用することができる。
(B) Mesh Function for Separated Input Character Frames While setting guidance meshes for defining the arrangement of input character frames at equal intervals, a mesh line for defining the arrangement of separated input character frames is added. I do. In this case, there is no need to prepare a dedicated font for the separated input character frame as in the above-described example. Also, such additional mesh lines are used not only for the definition of the separate input character frame,
For example, it can be used for the purpose of setting some space at the boundary of the input character field.

【0073】(c)複数の入力文字枠サイズが使用でき
る機能 入力文字枠を設定する領域で、ガイダンスメッシュを不
等間隔に設定することにより、行方向あるいは列方向を
共有しない入力文字枠は、互いに異なるサイズとするこ
とができる。この性質を利用して、1つの帳票上で複数
の入力文字枠サイズを使用することができる。
(C) Function in which a plurality of input character frame sizes can be used By setting guidance meshes at unequal intervals in an input character frame setting area, input character frames that do not share a row direction or a column direction can be used. The sizes can be different from each other. By utilizing this property, a plurality of input character frame sizes can be used on one form.

【0074】〔更に他の実施例〕帳票全体をガイダンス
メッシュでカバーして帳票作成処理を行なわずに、任意
の座標に文字や線分を配置して帳票作成処理を行うよう
にしてもよい。例えば、汎用の帳票ジェネレータソフト
ウェアをシステムに組み込めば、そのようなアプリケー
ションを達成できる。例えば、汎用の帳票ジェネレータ
ソフトウェアにおける、矩形枠線は対角線上の始点座標
と終点座標を指定することにより生成できる機能、ある
いはメッシュサイズを指定しておけば、指定した始点座
標を起点としたガイダンスメッシュが部分的に生成さ
れ、そのときの終点座標の指定が該ガイダンスメッシュ
交点に正確に一致していなくても近傍のメッシュ交点を
自動的に終点座標として選定して部分的ガイダンスメッ
シュを生成する機能、などを有利に利用してこの発明に
従う帳票作成処理を行なうことができる。
[Other Embodiment] Instead of covering the entire form with the guidance mesh and performing the form creation processing, the form creation processing may be performed by arranging characters and line segments at arbitrary coordinates. For example, such application can be achieved by incorporating general-purpose report generator software into the system. For example, in a general-purpose form generator software, a rectangular frame line can be created by specifying the start point coordinates and end point coordinates on the diagonal line, or if the mesh size is specified, the guidance mesh starting from the specified start point coordinates Is generated partially, and even if the specification of the end point coordinates at that time does not exactly match the guidance mesh intersection point, a function of automatically selecting a nearby mesh intersection point as the end point coordinate and generating a partial guidance mesh Form creation processing according to the present invention can be advantageously performed by utilizing the above-described methods.

【0075】〔寸法/座標補正方式の他の実施例〕プリ
ンタの入力/出力誤差を考慮した寸法/座標補正方式、
あるいは拡大(又は縮小)コピー機能を利用した拡大し
た(又は縮小した)サイズの帳票作成にあたっての誤差
補正方式は、上述した実施例では、コンピュータ側で計
算したOCR用フォーマットパラメータ情報については
補償演算の対象としていない(つまり作成したOCR用
フォーマットパラメータ情報に基づく寸法と実際にOC
Rにかけられる帳票の寸法とが一致している)が、これ
とは逆に、OCR用フォーマットパラメータ情報の方を
補償演算の対象とするように変形若しくは迂回してもよ
い。その場合は、上記実施例に示されたものにおける処
理の手順を適宜変更/入れ替えすればよい。
[Another Embodiment of Dimension / Coordinate Correction Method] A dimensional / coordinate correction method in consideration of input / output errors of a printer,
Alternatively, in the above-described embodiment, the error correction method for creating a form having an enlarged (or reduced) size using an enlargement (or reduction) copy function is based on the compensation calculation for the OCR format parameter information calculated on the computer side. Not applicable (that is, dimensions based on the created OCR format parameter information and actual
However, the OCR format parameter information may be modified or bypassed so that the compensation calculation is performed on the OCR format parameter information. In such a case, the procedure of the processing shown in the above embodiment may be appropriately changed / replaced.

【0076】例えば、ユーザーによって作成した帳票フ
ォーム定義情報に基づき帳票を実際に印刷出力する第1
のステップと、印刷出力された帳票に比例した寸法で縦
又は横に拡大又は縮小された寸法からなるOCR用の帳
票を提供する第2のステップ(ここでは、印刷出力され
た帳票をそのままOCR用の帳票としてもよいし;その
場合はプリンタの入出力誤差が修正の対象となる、印刷
出力された帳票を拡大又は縮小コピー又は適宜の誤差を
持つ比率のコピーをすることによってOCR用の帳票と
してもよい;その場合はコピー倍率又は誤差が修正の対
象となる)と、前記帳票フォーム定義情報をOCR用フ
ォーマットパラメータ情報に変換する第3のステップ
と、変換されたOCR用フォーマットパラメータ情報を
前記第2のステップの拡大又は縮小率を演算係数として
修正演算する第4のステップとを備え、修正演算された
OCR用フォーマットパラメータ情報をOCR読み取り
処理において使用するようにしてもよいものである。
For example, a first form for actually printing out a form based on form form definition information created by a user is provided.
And a second step of providing a form for OCR having dimensions that are enlarged or reduced vertically or horizontally in dimensions proportional to the form printed out (here, the form printed out is directly used for OCR In this case, the input / output error of the printer is to be corrected, and the printed output form is enlarged or reduced, or copied at a ratio having an appropriate error, so that it can be used as an OCR form. In such a case, the copy magnification or error is to be corrected), a third step of converting the form form definition information into OCR format parameter information, and converting the converted OCR format parameter information into the And a fourth step of performing a correction operation using the enlargement or reduction ratio of the second step as an operation coefficient. Parameter information in which may be used in the OCR reading process.

【0077】つまり、帳票フォーム定義情報の作成段階
では、実際のOCR帳票寸法とは異なる寸法で作成入力
を行ない、かつ、プリンタの入力制御値は補正せずに、
帳票フォーム定義情報をOCR用フォーマットパラメー
タ情報に変換したデータを、プリンタ出力誤差又は複写
倍率にに応じて修正することにより、修正されたOCR
用フォーマットパラメータ情報を得(この修正されたO
CR用フォーマットパラメータ情報に基づく寸法と実際
にOCRにかけられる帳票の寸法とが一致する)、この
修正されたOCR用フォーマットパラメータ情報をOC
R読み取り処理において使用するようにしてもよいもの
である。しかし、このような変形は、帳票フォーム定義
情報の作成段階では、実際のOCR帳票寸法とは異なる
寸法で作成入力を行なわねばならないことになるので、
多少使い勝手が悪くなることが予想されるので、最初に
説明した寸法/座標補正方式の迂回技術にすぎないとも
言える。しかし、そのような迂回技術も本発明の実施の
範囲に含まれることをここで明記しておく。
That is, at the stage of creating the form form definition information, the creation input is performed with dimensions different from the actual OCR form dimensions, and the input control values of the printer are not corrected,
By correcting the data obtained by converting the form definition information into the OCR format parameter information according to the printer output error or the copy magnification, the corrected OCR
Obtain format parameter information for this (this modified O
The dimensions based on the CR format parameter information match the dimensions of the form actually subjected to OCR), and the modified OCR format parameter information is
It may be used in the R reading process. However, such a modification means that at the stage of creating the form form definition information, it is necessary to perform creation input with dimensions different from actual OCR form dimensions.
Since the usability is expected to be somewhat deteriorated, it can be said that this is merely a bypass technique of the dimension / coordinate correction method described first. However, it is specified here that such a bypass technique is also included in the scope of the present invention.

【0078】[0078]

【発明の効果】 以上の通り、この発明によれば、帳票
の用紙サイズ、対象OCRの機種、対象プリンタの機
種、入力文字枠の基本的サイズなどの情報を含む帳票の
基礎的情報からなる基準シートファイルがユーザーに対
して自動的に提供され、ユーザーは、この基準シートフ
ァイルを基にして、所望の帳票詳細フォームを定義する
情報を入力することにより具体的な帳票ファイルを作成
することができるので、帳票作成作業を非常に簡略化す
ることができるようになる。従って、OCR用入力帳票
の作成作業が簡略化され、非常に使い易いシステムを提
供することができる。
As described above, according to the present invention, the form
Paper size, target OCR model, target printer model
A reference sheet file including basic information of a form including information such as a type and a basic size of an input character frame is automatically provided to a user, and the user can select a desired form based on the reference sheet file. Since a specific form file can be created by inputting information defining the detail form, the form creation operation can be greatly simplified. Therefore, the operation of creating the OCR input form is simplified, and a very easy-to-use system can be provided.

【0079】また、複数種類の基準シートファイルを提
供し、帳票作成作業にあたって、その中から所望の1つ
の基準シートファイルを選択し、選択した基準シートフ
ァイルを基にして、所望の帳票詳細フォームを定義する
情報を入力することにより具体的な帳票ファイルを作成
するようにすることにより、帳票作成作業をより一層簡
略化することができる。更に、所望の基準シートファイ
ルを自由に作成できるようにすることにより、ユーザー
のニーズに合った使い勝手のよいシステムを提供するこ
とができる。
Also, a plurality of types of reference sheet files are provided, and a desired reference sheet file is selected from the plurality of reference sheet files in the form creation operation, and a desired form detail form is created based on the selected reference sheet file. By creating a specific form file by inputting the information to be defined, the form creation operation can be further simplified. Furthermore, since a desired reference sheet file can be freely created, an easy-to-use system that meets the needs of the user can be provided.

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

【図1】本発明を実施する情報処理システムの全体的ハ
ードウェア構成例を示すブロック図。
FIG. 1 is a block diagram showing an example of the overall hardware configuration of an information processing system embodying the present invention.

【図2】OCR用入力帳票の一例を示す図。FIG. 2 is a diagram showing an example of an input form for OCR.

【図3】本発明に従う帳票作成処理の一実施例をその主
要手順について略示するフロー図。
FIG. 3 is a flowchart schematically showing a main procedure of an embodiment of a form creation process according to the present invention.

【図4】ディスプレイで表示されるガイダンスメッシュ
の表示例を示す図。
FIG. 4 is a diagram showing a display example of a guidance mesh displayed on a display.

【図5】入力文字フィールド指定方式のいくつかの例を
説明するための図。
FIG. 5 is a view for explaining some examples of an input character field designation method.

【図6】入力文字フィールドに割り当てられた属性を短
縮形で記述表記する方式のいくつかの例を示す図。
FIG. 6 is a diagram showing some examples of a method of describing and describing in short form an attribute assigned to an input character field.

【図7】寸法補正のために実測すべき帳票の部位を指示
する方式の一例を示す図であって、(a)はプリンタに
よって帳票見本をプリント出力して実測部位を指示する
例、(b)はディスプレイによって帳票の実測部位を指
示する例。
7A and 7B are diagrams illustrating an example of a method of designating a part of a form to be measured for dimension correction, in which FIG. 7A illustrates an example in which a form sample is printed out by a printer and a measured part is designated; The example in parentheses) indicates the actual measurement site of the form on the display.

【図8】量子化単位以下の座標制御を実現するために用
意する特殊フォント又はパターンのいくつかの例を示す
図。
FIG. 8 is a diagram showing some examples of special fonts or patterns prepared to realize coordinate control of a quantization unit or less.

【図9】図1のシステムにおいて実行される帳票作成処
理プログラムの概略構造を示すフロー図。
FIG. 9 is a flowchart showing a schematic structure of a form creation processing program executed in the system of FIG. 1;

【図10】図9における基準シート定義処理プログラム
の具体例を示すフロー図。
FIG. 10 is a flowchart showing a specific example of a reference sheet definition processing program in FIG. 9;

【図11】図9における帳票作成処理プログラムの具体
例を示すフロー図。
FIG. 11 is a flowchart showing a specific example of a form creation processing program in FIG. 9;

【図12】図11の帳票作成処理プログラムにおいて実
行されるその他の操作処理の具体例を示すフロー図。
FIG. 12 is a flowchart showing a specific example of other operation processing executed in the form creation processing program of FIG. 11;

【図13】図9における寸法補正処理プログラムの具体
例を示すフロー図。
FIG. 13 is a flowchart showing a specific example of a dimension correction processing program in FIG. 9;

【図14】図10の処理の過程でディスプレイで表示さ
れる基準シート定義画面の表示例を示す図。
FIG. 14 is a view showing a display example of a reference sheet definition screen displayed on a display in the course of the processing of FIG. 10;

【図15】図11の処理の過程でディスプレイで表示さ
れる基準シート/帳票選択画面の表示例を示す図。
FIG. 15 is a view showing a display example of a reference sheet / form selection screen displayed on the display in the course of the processing of FIG. 11;

【図16】図11の処理の過程でディスプレイで表示さ
れる帳票作成画面の表示例を示す図。
FIG. 16 is a view showing a display example of a form creation screen displayed on a display in the course of the processing of FIG. 11;

【図17】図12の処理の過程でディスプレイで表示さ
れる表示モード選択画面の表示例を示す図。
FIG. 17 is a view showing a display example of a display mode selection screen displayed on the display in the course of the processing of FIG. 12;

【図18】図12の処理の過程でディスプレイで表示さ
れる印刷画面の表示例を示す図。
FIG. 18 is a view showing a display example of a print screen displayed on a display in the course of the processing in FIG. 12;

【図19】図13の処理の過程でディスプレイで表示さ
れる寸法補正画面の表示例を示す図。
FIG. 19 is a view showing a display example of a dimension correction screen displayed on the display in the process of FIG. 13;

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

10 処理装置(パーソナルコンピュータ) 11 ディスプレイ 12 キーボート 13 磁気ディスク(記憶装置) 14 プリンタ 15 OCRモジュール 16 光学式コピー機 20 帳票 DESCRIPTION OF SYMBOLS 10 Processing device (personal computer) 11 Display 12 Keyboard 13 Magnetic disk (storage device) 14 Printer 15 OCR module 16 Optical copy machine 20 Report

フロントページの続き (56)参考文献 特開 平6−28518(JP,A) 特開 昭59−165187(JP,A) 特開 平6−162256(JP,A) 「ACOSソフトウェア ACOS− 4/MVP XE 日本語情報処理解説 書 DKZ71−4」,日本,日本電気, 4版,46−47 「ACOSソフトウェア ACOS− 4/MVP XE 日本語情報処理サー ビスプログラム説明書 DKA71− 6」,日本,日本電気,6版,263−268 (58)調査した分野(Int.Cl.7,DB名) G06K 9/00 - 9/82 Continuation of front page (56) References JP-A-6-28518 (JP, A) JP-A-59-165187 (JP, A) JP-A-6-162256 (JP, A) "ACOS Software ACOS-4 / MVP" XE Japanese Information Processing Manual DKZ71-4 ", NEC Corporation, 4th Edition, 46-47" ACOS Software ACOS-4 / MVP XE Japanese Information Processing Service Program Manual DKA71-6 ", NEC Corporation , 6th edition, 263-268 (58) Fields investigated (Int. Cl. 7 , DB name) G06K 9/00-9/82

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 OCR読み取り用の文字情報等を記入す
るために使用される帳票フォームの作成方法であって、帳票の用紙サイズ、対象OCRの機種、対象プリンタの
機種、入力文字枠の基本的サイズなどの情報を含む 帳票
の基礎的情報からなる基準シートファイルを提供する第
1のステップと、 この基準シートファイルを基にして、所望の帳票詳細フ
ォームを定義する情報を入力し、具体的な帳票ファイル
を作成する第2のステップとからなるOCR用帳票フォ
ーム作成方法。
1. A method for creating a form used to enter character information or the like for OCR reading, comprising a form size of a form, a model of an object OCR, and a model of an object printer.
A first step of providing a reference sheet file including basic information of a form including information such as a model and a basic size of an input character frame, and a desired form detail form is defined based on the reference sheet file. A second form of inputting information and creating a specific form file, the method for creating a form for OCR.
【請求項2】 OCR読み取り用の文字情報等を記入す
るために使用される帳票フォームの作成方法であって、帳票の用紙サイズ、対象OCRの機種、対象プリンタの
機種、入力文字枠の基本的サイズなどの情報を含む 帳票
の基礎的情報からなる複数種類の基準シートファイルを
提供する第1のステップと、 前記複数種類の基準シートファイルから1つの基準シー
トファイルを選択する第2のステップと、 選択された基準シートファイルを基にして、所望の帳票
詳細フォームを定義する情報を入力し、具体的な帳票フ
ァイルを作成する第3のステップとからなるOCR用帳
票フォーム作成方法。
2. A method for creating a form used to enter character information for OCR reading, etc., comprising a form size of the form, a model of the target OCR, and a model of the target printer.
A first step of providing a plurality of types of reference sheet files comprising basic information of a form including information such as a model, a basic size of an input character frame, and one reference sheet file from the plurality of types of reference sheet files An OCR form including a second step of selecting and a third step of inputting information defining a desired form detailed form based on the selected reference sheet file and creating a specific form file Form creation method.
【請求項3】 所望の帳票についての前記基礎的情報を
入力して、所望の基準シートファイルを作成するステッ
プを更に具えた請求項1又は2に記載のOCR用帳票フ
ォーム作成方法。
3. The OCR form creation method according to claim 1, further comprising a step of inputting the basic information on a desired form and creating a desired reference sheet file.
JP34092493A 1993-12-10 1993-12-10 OCR form form creation method Expired - Fee Related JP3346635B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34092493A JP3346635B2 (en) 1993-12-10 1993-12-10 OCR form form creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34092493A JP3346635B2 (en) 1993-12-10 1993-12-10 OCR form form creation method

Publications (2)

Publication Number Publication Date
JPH07160804A JPH07160804A (en) 1995-06-23
JP3346635B2 true JP3346635B2 (en) 2002-11-18

Family

ID=18341557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34092493A Expired - Fee Related JP3346635B2 (en) 1993-12-10 1993-12-10 OCR form form creation method

Country Status (1)

Country Link
JP (1) JP3346635B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4574908B2 (en) * 2001-08-01 2010-11-04 大日本印刷株式会社 Display input device and display input control program thereof
JP5583542B2 (en) * 2010-05-24 2014-09-03 株式会社Pfu Form processing system, OCR device, OCR processing program, form creation device, form creation program, and form processing method
JP6435636B2 (en) * 2014-05-15 2018-12-12 富士ゼロックス株式会社 Information processing apparatus and information processing program
JP6273339B1 (en) * 2016-12-08 2018-01-31 Ckd株式会社 Inspection device and PTP packaging machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
「ACOSソフトウェア ACOS−4/MVP XE 日本語情報処理サービスプログラム説明書 DKA71−6」,日本,日本電気,6版,263−268
「ACOSソフトウェア ACOS−4/MVP XE 日本語情報処理解説書 DKZ71−4」,日本,日本電気,4版,46−47

Also Published As

Publication number Publication date
JPH07160804A (en) 1995-06-23

Similar Documents

Publication Publication Date Title
US5864332A (en) Scalable edit window and displayable position indicators for an electronic typewriter
KR950006410B1 (en) Image display and processing method of formatted and document and apparatus therefor
KR860001071B1 (en) Method for editing document
JP3346635B2 (en) OCR form form creation method
JP3346634B2 (en) OCR form form creation and error correction method
JPH07160802A (en) Ocr slip form preparation processor
JPH0734204B2 (en) Form design system
JPH0435789B2 (en)
JP3205535B2 (en) OCR system
JPS59146332A (en) Form reading and printing program generating method using form design system
JPH01229673A (en) English and european writing printing control system
JPH09305599A (en) Layout processor
JP3404770B2 (en) Document processing device
JPS6177982A (en) Picture processing system
JPH07234868A (en) Document preparing device
JP2670469B2 (en) Document processing method
JP2592840B2 (en) Character processor
JPS6015179A (en) Document processor
JP2000125119A (en) Graphic processing method and graphic processor
JPH0896044A (en) Support system for production of form design/read program
JPH01129351A (en) Document processor
JPH05189424A (en) Device and method for editing document
JPH04664A (en) Document preparing device
JPH0744607A (en) Layout design device
JPH1040239A (en) Character processing device and method and storage medium storing readable program for computer

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees