JPH0285984A - Method and device for generating control program of optical reader - Google Patents

Method and device for generating control program of optical reader

Info

Publication number
JPH0285984A
JPH0285984A JP63243095A JP24309588A JPH0285984A JP H0285984 A JPH0285984 A JP H0285984A JP 63243095 A JP63243095 A JP 63243095A JP 24309588 A JP24309588 A JP 24309588A JP H0285984 A JPH0285984 A JP H0285984A
Authority
JP
Japan
Prior art keywords
control program
information
data
cad data
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63243095A
Other languages
Japanese (ja)
Inventor
Yoichi Naito
陽一 内藤
Seiichi Tochihara
聖一 栃原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP63243095A priority Critical patent/JPH0285984A/en
Publication of JPH0285984A publication Critical patent/JPH0285984A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve efficiency to generate a control program by automatically generating information obtained from document CAD data from the document CAD data, supplying the information not being obtained from the document CAD data with a screen interactive system in trial and error manner separately, and generating the control program by synthesizing the information. CONSTITUTION:The information obtained from the document CAD data generated in a document CAD system 1 is automatically generated from CAD data 2. Meanwhile, the control program 12 is generated by supplying and synthesizing the information not being obtained from the document CAD data by the screen interactive system in the trial and error manner. In such a way, it is possible to easily generate the control program for which the work to generate the program is complicated in a conventional system, which realizes high efficiency. Also, it is possible to dispense with checking for coding that has been performed in the conventional system.

Description

【発明の詳細な説明】 発明の目的; (産業上の利用分野) この発明は、OCR等の光学式読取装置の制御プログラ
ム作成システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial Application Field) The present invention relates to a control program creation system for an optical reader such as OCR.

(従来の技術) 従来技術について第1図を用いて説明する。(Conventional technology) The prior art will be explained using FIG. 1.

光学式読取装置6の制御プログラムは、■帳票からデー
タを読取る為のプログラム、■読取ったデータが正しい
かどうかをチェックするためのプログラム、■読取った
データをフロッピーディスク(FD)、lin気テープ
(MT)等の媒体に出力する為のプログラム、■読取っ
たデータをCRT画面若しくはプリンタに印字する為の
プログラムに大別される。このうち、上記■に関しては
、読取る文字を記入する文字枠の座標値を算出するのに
、実際に読取る帳票4の文字枠寸法や位置を定規で測定
していた。また、上記■〜■に関しては、個々の光学式
読取装置6に特有の制御プログラムを、システムエンジ
ニアの介在によってコーディングをしなければならなか
った。
The control program for the optical reading device 6 includes: ■ A program for reading data from a form, ■ A program for checking whether the read data is correct, and ■ A program for checking whether the read data is correct. (2) Programs for outputting to media such as MT); and (2) Programs for printing read data on a CRT screen or printer. Of these, regarding the above item (2), in order to calculate the coordinate values of the character frame in which the characters to be read are written, the size and position of the character frame of the form 4 to be actually read was measured with a ruler. Regarding items (1) to (2) above, a control program specific to each optical reading device 6 had to be coded with the intervention of a system engineer.

この様にして作成したは制御プログラムは制御プログラ
ム専用の制御プログラム用紙(FC用紙)5に記入し、
光学式読取装置6に読込ませるか又は光学式読取装置6
のキーボード(図示せず)から入力しなければならなか
った。
The control program created in this way is written on the control program form (FC form) 5 dedicated to the control program.
Read it into the optical reader 6 or read it into the optical reader 6
input from a keyboard (not shown).

このような従来技術においては、前記■の座標値算出は
印刷物を定規で測定しており、読取らせる箇所が多い場
所では作業が煩雑である。また、印刷物を直接測ってい
る為に、印刷物自体の紙の伸び縮みによる測定誤差や測
定自体の誤りが発生していた。また、前記■〜■につい
ても高度な知識を有するシステムエンジニア等が介在す
る必要があった。さらに、最終的にコーディング作業を
行なう為にコーディングミスも発生し、一つの制御プロ
グラムを作成するのに多大な労力を必要としていた。さ
らに又、コーディングが正しく行なわれているかどうか
を調べる為、読取テストを何度も行なう必要があった。
In such conventional technology, the coordinate value calculation described in (2) above is performed by measuring the printed matter with a ruler, which is a complicated work in a place where there are many places to be read. Furthermore, since the printed material is directly measured, measurement errors due to the expansion and contraction of the paper in the printed material and errors in the measurement itself occur. Furthermore, regarding the above-mentioned items (1) to (2), it was necessary for a system engineer or the like with advanced knowledge to intervene. Furthermore, coding errors occur during the final coding process, and a great deal of effort is required to create one control program. Furthermore, it was necessary to perform reading tests many times to check whether the coding was done correctly.

この発明は上述のような事情よりなされたものであり、
この発明の目的は、システムエンジニアの介在なく簡易
なシステムで制御プログラムを画面対話方式で容易に作
成できる制御プログラム作成方法及び装置を提供するこ
とにある。
This invention was made due to the circumstances mentioned above,
An object of the present invention is to provide a control program creation method and apparatus that can easily create a control program using a screen interactive method using a simple system without the intervention of a system engineer.

発明の構成; (課題を解決するための手段) 上記問題点を解決するために、この発明では、読取帳票
を印刷会社が印刷システムで作成する時に使用する帳票
CADシステムにおける読取帳票の帳票CADデータの
情報から作成できる制御プログラムデータは自動的に作
成し、さらに帳票CADデータから得られない情報は試
行錯誤的に画面対話方式で入力する事により、容易に作
成できる制御プログラム作成システムとしている。
Structure of the Invention; (Means for Solving the Problems) In order to solve the above-mentioned problems, the present invention provides form CAD data of a read form in a form CAD system used when a printing company creates a read form in a printing system. The control program creation system automatically creates control program data that can be created from the information, and further inputs information that cannot be obtained from form CAD data by trial and error using a screen interaction method, thereby making it easy to create a control program.

すなわち、この発明は光学式読取装置の制御プログラム
作成方法に関するもので、帳票CADシステムの帳票C
ADデータから得られる情報は当該帳票CADデータか
ら自動的に作成し、前記帳票CADデータから得られな
い情報は試行錯誤的に画面対話方式で別途与えることに
より合成して制御プログラムを作成することによって達
成される。また、表示装置、入力装置、外部媒体装置、
プリンタ装置1通信装置及びこれらを結合して制御する
コンピュータシステムを備え、帳票CADシステムのデ
ータから得られる情報を基に前記表示装置に制御プログ
ラム情報を表示し、前記入力装置の機能メニュー選択に
よって付加情報を試行錯誤的に入力し、これらを基に前
記コンピュータシステムの処理により制御プログラムを
自動生成し、前記外部媒体装置又は前記プリンタ装置1
通信装置に出力する機能を有することによって達成され
る。
That is, the present invention relates to a method for creating a control program for an optical reading device, and the present invention relates to a method for creating a control program for an optical reading device.
Information obtained from the AD data is automatically created from the form CAD data, and information that cannot be obtained from the form CAD data is synthesized by giving it separately through trial and error on-screen interaction to create a control program. achieved. In addition, display devices, input devices, external media devices,
Printer device 1 includes a communication device and a computer system that connects and controls these, displays control program information on the display device based on information obtained from data of the form CAD system, and adds information by selecting a function menu of the input device. Information is input by trial and error, and based on the information, a control program is automatically generated through processing by the computer system, and the control program is automatically generated by the external media device or the printer device 1.
This is achieved by having the function of outputting to a communication device.

(作用) この発明では、帳票CADシステムで作成された帳票C
ADデータから得られる情報は当該CADデータから自
動的に作成し、前記帳票CADデータから得られない情
報は、試行錯誤的に画面対話方式で別途与えることによ
って合成して制御プログラムを作成するようにしている
。これにより、従来制御プログラム作成の作業が煩雑で
あったものを容易に作成で籾、効率化を実現できる。ま
た、従来行なっていたコーディングのチェックが不要と
なる利点を有する。また、帳票CADデータに対して必
要な付加情報を与えることによって、OCI+で読取る
文字枠の位置情報をOCRの制御プログラム作成に適し
た単位系で得ることができるようにしている。
(Operation) In this invention, a form C created with a form CAD system
The information obtained from the AD data is automatically created from the CAD data, and the information that cannot be obtained from the form CAD data is synthesized by giving it separately through trial and error on-screen interaction to create a control program. ing. As a result, it is possible to easily create control programs, which have traditionally been complicated, and to improve efficiency. Further, there is an advantage that the coding check that was conventionally performed is not necessary. Furthermore, by providing necessary additional information to the form CAD data, position information of character frames read by OCI+ can be obtained in a unit system suitable for creating an OCR control program.

(実施例) この発明について、以下に実施例を挙げて更に詳細に説
明する。
(Example) This invention will be described in further detail by giving examples below.

この発明では第1図に示すように、帳票CADシステム
1で作成された帳票CADデータ2(たとえば文字枠情
報、帳票寸法)に筆記具の種類や記入文字の稲刈、読取
データの出力媒体やファイルレイアウトといった付加情
報ADを付加し、制御プログラム作成システム11で制
御プログラム12を作成する。作成された制御プログラ
ム12をフロッピーディスク13又は磁気テープ15に
格納して光学式読取装置6に与える。或いは制御プログ
ラム12はプリンタ出力16で制御プログラム用紙5に
書込み、目視の読取又はキーボード又はOCRリーダの
制御プログラム読取機能で入力するようにしても良い。
In this invention, as shown in FIG. 1, the form CAD data 2 (for example, character frame information, form dimensions) created by the form CAD system 1, the type of writing instrument, the input characters, the output medium and file of the read data, etc. Additional information AD such as a layout is added, and a control program 12 is created by a control program creation system 11. The created control program 12 is stored on a floppy disk 13 or magnetic tape 15 and provided to the optical reader 6. Alternatively, the control program 12 may be written on the control program paper 5 using the printer output 16 and may be input by visual reading or by using the control program reading function of a keyboard or OCR reader.

光学式読取装置6からは読取データ8が生成される。な
お、帳票CADシステム1としては、本出願人の出願に
よる特開昭62−126463号、特開昭62−134
757号、特開昭62−134760等を用いることが
でとる。
Read data 8 is generated from the optical reader 6 . Note that the form CAD system 1 is disclosed in Japanese Patent Application Laid-Open No. 62-126463 and Japanese Patent Application Laid-Open No. 62-134 filed by the present applicant.
No. 757, JP-A No. 62-134760, etc. can be used.

第2図はこの発明の制御プログラム作成システム11の
全体構成を示す。所要のメツセージ、制御プログラム等
を表示するCRT等の表示装置111と、各種メニュー
を有するデータ入力用の入力機構(タブレット、マウス
等)及びキーボードから成る入力装置113と、制御プ
ログラムや帳票CADのデータを読込み、又制御プログ
ラムを書き出す為のフロッピーディスク装置等の外部媒
体装置11イと、制御プログラムを紙へ印字出力する為
のプリンタ装置115 と、制御プログラムや帳票CA
Dのデータを通信回線を用いて人出力する為の通信装置
116と、上記各装置を結合して処理するコンピュータ
システム112 とから構成されている。なお、コンピ
ュータシステム112はソフトウェアで動作するもので
ある。
FIG. 2 shows the overall configuration of the control program creation system 11 of the present invention. A display device 111 such as a CRT that displays required messages, control programs, etc., an input device 113 consisting of an input mechanism (tablet, mouse, etc.) for inputting data with various menus and a keyboard, and control programs and form CAD data. An external media device 11 such as a floppy disk device for reading the control program and writing the control program, a printer device 115 for printing out the control program on paper, and the control program and form CA.
It consists of a communication device 116 for outputting the data of D using a communication line, and a computer system 112 that connects and processes the above-mentioned devices. Note that the computer system 112 is operated by software.

このような構成において、この発明システムでの処理を
第3図のシステムフローチャートを参照して説明する。
In such a configuration, the processing in the system of the present invention will be explained with reference to the system flowchart shown in FIG.

入力装置113 に設けられているキーボードを操作し
てシステムを起動させると(ステップ5100) 、表
示装置111にたとえば第4図の様な作業メニューが表
示される(ステップ5101)ので、オペレータは入力
装置113のキーボードより作業メニューの°’  l
)新規作成  、“2)修正”若しくは°゛3)終了”
を選択して入力する(ステップ5102)。
When the system is started by operating the keyboard provided on the input device 113 (step 5100), a work menu as shown in FIG. 4 is displayed on the display device 111 (step 5101), so the operator can use the input device °' l of the work menu from the keyboard of 113
) New creation, “2) Modify” or °゛3) Finish”
is selected and input (step 5102).

ここで、たとえば“3)終了”をキー入力で選択した場
合(ステップ5113)は、システムを終了させる。ま
た、  】)新規作成 パをキー入力で選択した場合(
ステップ5103)は、外部媒体装置114に帳票CA
Dシステム1で作成した帳票データが格納されている媒
体をセットし、当該帳票データをコンピュータシステム
112に読込む(ステップ5104)。コンピュータシ
ステム112は当該帳票データを基に、そこから制御プ
ログラム作成に必要な帳票寸法、読込む文字の文字枠の
位置座標。
Here, for example, if "3) End" is selected by key input (step 5113), the system is ended. Also, if you select 】) Create a new pa using the key input (
Step 5103) is to send the form CA to the external media device 114.
The medium storing the form data created by the D system 1 is set, and the form data is read into the computer system 112 (step 5104). Based on the form data, the computer system 112 determines the form dimensions necessary for creating a control program and the positional coordinates of the character frame of the characters to be read.

枠の高さ、幅方向寸法、枠の送りピッチ、枠の個数等の
情報を解析、i集し、制御プログラムを自動生成する(
ステップ5105)。しかし、前述の様に帳票CADシ
ステム1で読込んだデータのみでは制御プログラム作成
に必要な全てのデータを生成する事はできない。制御プ
ログラムを作成する為には、さらに光学式読取装置6で
読取らせる帳票のサイズ、用紙の種類(光学式読取装置
用の用紙かコピー機により複写した用紙か等)、・字種
(カナ文字、英字、数字、漢字、記号等)、帳票の読取
欄に記入した筆記具の種類(ボールペン、鉛筆又は活字
文字か等)、読取データの出力媒体の指定やファイルレ
イアウト等の情報が必要となる。
Analyzes and collects information such as frame height, width dimension, frame feed pitch, and number of frames, and automatically generates a control program (
Step 5105). However, as described above, it is not possible to generate all the data necessary for creating a control program using only the data read by the form CAD system 1. In order to create a control program, you must also specify the size of the form to be read by the optical reader 6, the type of paper (paper for the optical reader or paper copied by a copying machine, etc.), and character type (kana). (letters, alphabets, numbers, kanji, symbols, etc.), the type of writing instrument entered in the reading column of the form (ballpoint pen, pencil, typeface, etc.), the designation of the output medium for the scanned data, and the file layout, etc. are required. .

これら制御プログラムの作成に必要な補足情報は、表示
装置1111入力装置113を用いて画面対話方式でコ
ンピュータシステム112に入力する(ステップ510
6)。
Supplementary information necessary for creating these control programs is input into the computer system 112 in a screen interactive manner using the display device 1111 and the input device 113 (step 510).
6).

また、作業選択(ステップ5102)で°“2)修正゛
を選択した場合(ステップ5108)は、外部媒体装置
114に修正した印刷CADデータの媒体をセットし、
当該データをコンピュータシステム112に読込む(ス
テップ5109)。次に、読込んだデータから前述の新
規作成と同様に制御プログラムを自動生成しくステップ
5ilo) 、既に作成されている制御プログラムの媒
体を外部媒体装置114にセットし、当該制御プログラ
ムをコンピュータシステム112に読込む(ステップ5
ill)。この様にして生成した制御プログラム及び読
込んだ制御プログラムを表示装置111 、入力装置1
13を用いて画面対話方式で修正する(ステップ511
2)。この際、今回読込んだ制御プログラムには前回に
新規作成若しくは修正した時に帳票CADデータから生
成した制御プログラムも含まれている。もし、この前回
生成した制御プログラムと今回生成した制御プログラム
に相違がある場合は、ステップ5l12の修正時にその
旨を表示装置Illに表示してオペレータに知らせる。
In addition, if "2) Modification" is selected in the job selection (step 5102) (step 5108), set the medium of the modified print CAD data in the external media device 114,
The data is read into the computer system 112 (step 5109). Next, in order to automatically generate a control program from the read data in the same way as the above-mentioned new creation, step 5ilo) sets the medium of the control program that has already been created in the external media device 114, and transfers the control program to the computer system 112. (Step 5)
ill). The control program generated in this way and the read control program are displayed on the display device 111 and the input device 1.
13 using the screen interactive method (step 511
2). At this time, the control program read this time also includes the control program generated from the form CAD data when it was newly created or modified last time. If there is a difference between the control program generated last time and the control program generated this time, this fact is displayed on the display device Ill to notify the operator during the correction in step 5l12.

オペレータは表示された相違事項を考慮し、修正作業を
行なう。
The operator considers the displayed discrepancies and performs correction work.

このようにして新規作成、修正した制御プログラムは、
外部媒体装置114にセットされたフロッピーディスク
13やMT15等の媒体に出力するか、若しくはプリン
タ装置115により制御プログラム用紙5に出力される
か、さらには通信装置116を介してオンラインで光学
式読取装置6を制御するホストコンピュータ7、若しく
は直接光学式読取装量6に転送される。
The control program newly created or modified in this way is
It can be output to a medium such as the floppy disk 13 or MT 15 set in the external media device 114, or it can be output to the control program paper 5 by the printer device 115, or it can be output to an optical reader online via the communication device 116. 6 or directly to the optical reading unit 6.

この様にして作成した制御プログラムはオンライン、オ
フラインで光学式読取装置6に読込まれる。この制御プ
ログラムの制御のもとに光学式読取装置6により帳票を
読取り、所要の処理を行なうことによって読取データ8
が出力される。
The control program created in this way is read into the optical reader 6 online or offline. Under the control of this control program, the optical reading device 6 reads the form and performs the necessary processing to read the read data 8.
is output.

この発明では更に、帳票CADシステム1で作成された
帳票CADデータ2を基に、第10図及び第11図に示
すようなOCRで読取る文字枠の位置情報をOCRの制
御プログラム作成に適した単位系で得るようにしている
In the present invention, furthermore, based on the form CAD data 2 created by the form CAD system 1, the position information of the character frame read by OCR as shown in FIGS. I try to get it through the system.

すなわち、第5図に示すように帳票CADデータ2に対
して、読取るOCRリーグの名称や読取装置の基準点等
の補足情報を入力しくステップ5200) 、これによ
り第6図〜第9図に示すような出力データの単位系等を
考慮する。第6図はocnリーダの種類(A、It)に
より同一メーカであっても単位系が異なることを示して
おり、第7図はOCRリーダ毎に基準辺が左基準、右基
準の如く異なることを示している。また、第8図はライ
ンマーク30の有無により算出する寸法値りが異なるこ
とを示している。同図(A)はラインマーク30が有り
、この場合にはラインマーク30の端部より OCR文
字枠32までが寸法値しどなることを示し、同図(B)
はラインマーク30が無い場合で、帳票辺31とOCR
文字枠32とが寸法値しどなることを示している。
That is, as shown in FIG. 5, supplementary information such as the name of the OCR league to be read and the reference point of the reading device is input to the form CAD data 2 (step 5200), and as a result, the information shown in FIGS. 6 to 9 is input. Consider the unit system of output data, etc. Figure 6 shows that the unit system differs depending on the type of OCR reader (A, It) even if it is made by the same manufacturer, and Figure 7 shows that the reference side is different for each OCR reader, such as left reference and right reference. It shows. Further, FIG. 8 shows that the calculated dimension value differs depending on the presence or absence of the line mark 30. The same figure (A) shows that there is a line mark 30, and in this case, the dimension value varies from the end of the line mark 30 to the OCR character frame 32, and the same figure (B)
is the case where there is no line mark 30, and the form side 31 and OCR
This shows that the character frame 32 and the dimension values are different.

さらに、帳票CADの原点と読取帳票の原点が異なる場
合があり、OCRリーグで読取る帳票が元の帳票CAD
の一部分を切取って使用することがあり、このような場
合には原点が異なることになる。第9図はアンケートは
かきのように、帳票CADのデザインした元の帳票40
の一部をキリトリ線に沿って切取り、その切取った帳票
42の番号等44を0C1(リーダで読取らず場合を示
している。この場合、元の帳票40の原点は41であり
、読取帳票42の原点は43となっており、原点位置の
補正をする必要がある。上述のような補足情報に入力後
、帳票CADデータ2により OCR文字枠データを抽
出しくステップ520り 、第6図〜第9図のように基
準辺や単位系等が異なるために、入力されたOCRリー
ダ名を基にデータの単位系を変換する(ステップ520
2) 、その後に第10図および第11図に示すような
帳票・座標シートを出力しくステップ5203)、シス
テムエンジニアの手により光学式読取装置の制御プログ
ラムをコーディングする(ステップ5204)。第10
図はXYプロッタ等により帳票デザインと読取フィール
ドの項目番号が出力される様子を示しており、第11図
はプリンタ等より各読取項目の座標値が出力される様子
を示している。帳票CADデータから得られる情報とし
てはOCR文字枠位置、イメージ読取枠位置、  OC
R点丸位置があり、この発明のプリンタ(XYプロッタ
)で帳票デザインと共に第10図のような読取フィール
ドの項目番号(°“O1〜oa” )が出力される。こ
れは第11図の項目番号と対応しており、例えば項目番
号5の入金額のフィールドの座標値はY座標が”700
”、XIu標が“500”、文字数が6文字となってい
る。
Furthermore, the origin of the form CAD and the origin of the read form may be different, so the form read by OCR League is the original form CAD.
Sometimes a part of the image is cut out and used, and in such a case the origin will be different. Figure 9 shows the original form 40 designed using form CAD, as shown in the questionnaire.
A part of the form 40 is cut out along the Kiritori line, and the number 44 of the cut form 42 is 0C1 (this shows the case where it is not read by a reader. In this case, the origin of the original form 40 is 41, and the number 44 is not read by a reader. The origin of the form 42 is 43, and it is necessary to correct the origin position.After inputting the supplementary information as described above, proceed to step 520 to extract OCR character frame data using the form CAD data 2, as shown in FIG. ~As shown in Figure 9, since the reference sides and unit systems are different, the unit system of the data is converted based on the input OCR reader name (step 520).
2) After that, a form/coordinate sheet as shown in FIGS. 10 and 11 is output (step 5203), and the system engineer codes a control program for the optical reading device (step 5204). 10th
The figure shows how the form design and the item number of the read field are outputted by an XY plotter, etc., and FIG. 11 shows how the coordinate values of each readout item are outputted by a printer etc. Information obtained from form CAD data includes OCR character frame position, image reading frame position, OC
There is an R-point circle position, and the printer (XY plotter) of the present invention outputs the item number (°"O1 to oa") of the reading field as shown in FIG. 10 along with the form design. This corresponds to the item number in Figure 11. For example, the coordinate value of the deposit amount field of item number 5 has a Y coordinate of "700".
”, the XIu mark is “500”, and the number of characters is 6.

発明の効果; 上述の様にこの発明では、従来制御プログラム作成の作
業が煩雑であったものを、画面対話方式で試行錯誤的に
容易に作成できるので制御プログラム作成が効率化され
る。また、従来性なっていたコーディングが正しく行な
われているかどうかを調べる読取りテストが不要となる
利点もあり、出力データの単位系等にも対処できる。
Effects of the Invention: As described above, according to the present invention, the work of creating a control program, which was conventionally complicated, can be easily created by trial and error using a screen interaction method, thereby streamlining the creation of a control program. Another advantage is that there is no need for a conventional reading test to check whether coding is done correctly, and it is possible to deal with the unit system of output data.

・/・/

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の制御プログラム作成方法及びこの発明の
システムを用いた制御プログラム作成方法を示す比較図
、第2図はこの発明の制御プログラム作成装置のシステ
ム構成図、第3図はその制御プログラム作成の一例を示
すフローチャート、第4図はこの発明システムを起動し
た時のメニュー画面の例を示す図、第5図は補足情報の
入力による動作例を示すフローチャート、第6図〜第9
図はOCRリーダの規格の違いを説明するための図、第
10及び第11図は出力される帳票・座標シートの例を
示す図である。 1・・・帳票CADシステム、2・・・CADデザーC
ンデータ、3・・・印刷システム、6・・・光学式読取
装置、7・・・ホストコンピュータ、 11・・・制御
プログラム作成システム、12・・・制御プログラム。 比願人代理人   安 形 雄 = 図面の浄−駈内容によ更なし) 烙 2 回 苓 1 図 第 4 図 羊 づ 回 (,1ll) CB) 佑6 臼 茶 図 リーダ゛A リーダ゛b 手続補正書 (方式) 7、補゛子の内容 本願添付の図面の浄書、 別紙の通り (内容に 平成1年1月12日 変更なし) 昭和63年特許願第243095号。 2発明の名称 光学式読取装置σ制御プログラム作成方法及び装置 3補正をする者 事件との関係
FIG. 1 is a comparison diagram showing a conventional control program creation method and a control program creation method using the system of the present invention, FIG. 2 is a system configuration diagram of the control program creation device of the present invention, and FIG. 3 is the control program. Flowchart showing an example of creation; FIG. 4 is a diagram showing an example of the menu screen when the system of the invention is started; FIG. 5 is a flowchart showing an example of operation by inputting supplementary information; FIGS. 6 to 9
The figure is a diagram for explaining the difference in the standards of OCR readers, and FIGS. 10 and 11 are diagrams showing examples of outputted forms and coordinate sheets. 1...Form CAD system, 2...CAD designer C
3... Printing system, 6... Optical reading device, 7... Host computer, 11... Control program creation system, 12... Control program. Representative of the applicant Yasugata Yu = The drawings are clear - no changes have been made to the contents) 烙 2 Kairei 1 Figure No. 4 Hitsujizukai (,1ll) CB) Yu 6 Uscha map reader A Leader b Procedure Written amendment (method) 7. Contents of the interpolator: Engraving of the drawings attached to this application, as attached (contents unchanged as of January 12, 1999) Patent Application No. 243095, filed in 1988. 2. Name of the invention: Optical reading device σ control program creation method and device 3. Relationship with the person who makes corrections

Claims (1)

【特許請求の範囲】 1、光学式読取装置の制御プログラム作成方法において
、帳票CADシステムの帳票CADデータから得られる
情報は当該帳票CADデータから自動的に作成し、前記
帳票CADデータから得られない情報は試行錯誤的に画
面対話方式で別途与えることにより合成して制御プログ
ラムを作成するようにしたことを特徴とする光学式読取
装置の制御プログラム作成方法。 2、前記帳票CADデータに対して、補足情報を入力し
て出力データの単位系等を考慮するようにした請求項1
に記載の光学式読取装置の制御プログラム作成方法。 3、表示装置、入力装置、外部媒体装置、プリンタ装置
、通信装置及びこれらを結合して制御するコンピュータ
システムを備え、帳票CADシステムのデータから得ら
れる情報を基に前記表示装置に制御プログラム情報を表
示し、前記入力装置の機能メニュー選択によって付加情
報を試行錯誤的に入力し、これらを基に前記コンピュー
タシステムの処理により制御プログラムを自動生成し、
前記外部媒体装置又は前記プリンタ装置、通信装置に出
力する機能を有することを特徴とする制御プログラム作
成装置。 4、請求項3の制御プログラム作成装置において、前記
帳票CADシステムから得られる情報と、前記入力装置
より付加した情報、若しくは前記制御プログラムの修正
時において前記帳票CADシステムのCADデータから
今回生成した制御プログラムと、前記帳票CADシステ
ムのCADデータから前回生成した制御プログラムとの
間の相違を自動的にチェックする機能を有することを特
徴とする制御プログラム作成装置。 5、前記付加情報の中に、読取データの名称、読取帳票
の基準点等の補足情報を含め、これによりOCRで読取
る文字枠の位置情報をOCRの前記制御プログラム作成
に適した単位系で得ることができる請求項3に記載の制
御プログラム作成装置。
[Claims] 1. In a method for creating a control program for an optical reading device, information obtained from form CAD data of a form CAD system is automatically created from the form CAD data and cannot be obtained from the form CAD data. A method for creating a control program for an optical reading device, characterized in that the control program is created by synthesizing information by giving information separately through a screen interaction method through trial and error. 2. Claim 1, wherein supplementary information is input to the form CAD data to take into account the unit system, etc. of the output data.
A method for creating a control program for an optical reader described in . 3. Equipped with a display device, an input device, an external media device, a printer device, a communication device, and a computer system that connects and controls these, and transmits control program information to the display device based on information obtained from data of the form CAD system. display, input additional information by trial and error by selecting a function menu of the input device, and automatically generate a control program based on the information through processing of the computer system;
A control program creation device having a function of outputting to the external media device, the printer device, or the communication device. 4. The control program creation device according to claim 3, wherein the control program is generated from information obtained from the form CAD system and information added from the input device, or from CAD data of the form CAD system when modifying the control program. A control program creation device having a function of automatically checking for differences between a program and a control program previously generated from CAD data of the form CAD system. 5. Include supplementary information such as the name of the read data and the reference point of the read form in the additional information, thereby obtaining the position information of the character frame read by OCR in a unit system suitable for creating the control program for OCR. 4. The control program creation device according to claim 3, wherein:
JP63243095A 1988-06-01 1988-09-28 Method and device for generating control program of optical reader Pending JPH0285984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63243095A JPH0285984A (en) 1988-06-01 1988-09-28 Method and device for generating control program of optical reader

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP13482688 1988-06-01
JP63-134826 1988-06-01
JP63243095A JPH0285984A (en) 1988-06-01 1988-09-28 Method and device for generating control program of optical reader

Publications (1)

Publication Number Publication Date
JPH0285984A true JPH0285984A (en) 1990-03-27

Family

ID=26468811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63243095A Pending JPH0285984A (en) 1988-06-01 1988-09-28 Method and device for generating control program of optical reader

Country Status (1)

Country Link
JP (1) JPH0285984A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59165187A (en) * 1983-03-10 1984-09-18 Fujitsu Ltd Optical character reader

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59165187A (en) * 1983-03-10 1984-09-18 Fujitsu Ltd Optical character reader

Similar Documents

Publication Publication Date Title
JPS59223485A (en) Display
JPS59146332A (en) Form reading and printing program generating method using form design system
JPS6091479A (en) Form design system
JPS59212838A (en) Method for designing slips and vouchers
JPH0285984A (en) Method and device for generating control program of optical reader
JPS5916075A (en) Slip designing system
JP2947286B2 (en) Control program creation device for optical reader
JPH0235583A (en) Method and device for generating control program for optical reader
JPH0285925A (en) Method and device for producing control program of optical reader
JPH0399384A (en) Method for forming control program for optical reader
JPH0399385A (en) Method for forming control program for optical reader
JP2907454B2 (en) Method of creating control program for optical reader
JPH03240880A (en) Instruction frame check method for optical reader
JPH0399383A (en) Method for specifying reading line order in control program formation of optical reader
JPS62126465A (en) Slip design system
JPS62254268A (en) Slip designing system
JPS62126463A (en) Slip design system
JPS61288269A (en) Document design system
JPH02110655A (en) Document preparing device
JPS61288268A (en) Document design system
JPH01112465A (en) Document design system
JPH0198068A (en) Slip designing system
JPH06149966A (en) Drawing generator
JPS63157268A (en) Slip design system
JPH0196760A (en) Slip designing system