JPH04151731A - Slip source program preparing device - Google Patents

Slip source program preparing device

Info

Publication number
JPH04151731A
JPH04151731A JP2276821A JP27682190A JPH04151731A JP H04151731 A JPH04151731 A JP H04151731A JP 2276821 A JP2276821 A JP 2276821A JP 27682190 A JP27682190 A JP 27682190A JP H04151731 A JPH04151731 A JP H04151731A
Authority
JP
Japan
Prior art keywords
character
line
source program
address
slip
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
JP2276821A
Other languages
Japanese (ja)
Inventor
Hitomi Ikeda
仁美 池田
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Software Tohoku 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 TOHOKU NIPPON DENKI SOFTWARE KK, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP2276821A priority Critical patent/JPH04151731A/en
Publication of JPH04151731A publication Critical patent/JPH04151731A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To accurately and speedily prepare a slip source program by reading by sight the position and size of a line and a character on a slip designing sheet by a programer to prepare the slip source program. CONSTITUTION:The programer reads a slip design sheet 1 in which the frame of the slip is indicated by the line in preliminarily decided colors, for example, red and blue, by operating an OCR being an inputting means 3. When the read color line is red, it is defined as a ruled line, and when the left edge, right edge, top edge, and bottom edge of the line, or some of them, are combined, it is separately distinguished and judged. When the read color line is blue, it is defined as the character, the size of the character is discriminated, and the kind of the character is discriminated. Moreover, the position of either the ruled line or the character is stored as an X and Y coordinate, and a discriminated X and Y coordinate address is converted as a place and column by using an address and column conversion table. Thus, the slip source program can be speedily and exactly prepared based on obtained information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、帳表ソースプログラム作成装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a ledger source program creation device.

〔従来の技術〕[Conventional technology]

帳表を作成するとき、すでに帳表の枠を印刷しである専
用紙に印字するか、帳表の枠と帳表の内容を同時に印字
している。各帳表において、プログラマ−自身が帳表設
計シートを元に罫線位置や文字位置を読み取り、帳表ソ
ースプログラムを作成している。
When creating a ledger, the border of the ledger is already printed and printed on special paper, or the border of the ledger and the contents of the ledger are printed at the same time. For each ledger, the programmer himself reads the positions of ruled lines and characters based on the ledger design sheet and creates a ledger source program.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、プログラマ−自身が帳表設計シートを読み取っ
て帳表ソースプログラムを作成するとき、桁、カラムの
ずれや文字の誤りが生じる事があり、その修正にかなり
の工数を費やした。又、帳表ソースプログラマ−をコー
ディング、パンチするのに相当な時間かかかる。
However, when the programmer himself reads the ledger design sheet and creates the ledger source program, errors in digits, columns, and characters may occur, and it takes a considerable amount of man-hours to correct them. Also, it takes a considerable amount of time for a ledger source programmer to code and punch.

本発明は、このような問題点を解決し、帳表ソースプロ
グラムを正確、かつ迅速に作成することを目的とする。
The present invention aims to solve these problems and to create a ledger source program accurately and quickly.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の帳表ソースプログラム作成装置は、帳表設計シ
ートを読み込んで、帳表ソースプログラムを作成する帳
表ソースプログラム作成装置において、 予め定めた帳表に対する色線で識別した帳表設計シート
を読み込む入力手段と、 前記読み込んだ色線を判別し”C罫線の色か文字の色か
の区別をし罫線のときその線か左端、右端、上端、下端
、又はこれらの組み合わされたものか判定し、或いは文
字のときの大きさと文字種を判別するとともに、罫線7
文字のときそのX。
The book source program creation device of the present invention reads a book design sheet and creates a book source program. Distinguish the read input means and the read color line, distinguish whether it is a ruled line color or character color, and if it is a ruled line, determine whether the line is the left edge, right edge, top edge, bottom edge, or a combination of these. Or, in addition to determining the size and type of characters, the ruled line 7
When it's a letter, that X.

Y座標アドレスを決定する罫線・文字チェック部と、 前記X、Y座標アドレスを桁、カラムに変換するデータ
を予め格納しであるアドレス・カラム変換テーブルと、 前記罫線・文字チェック部から得られた前記X、Y座標
アドレスに従って前記アドレス・カラム変換テーブルを
介して帳表ソースプログラムを作成するデータ作成部と
を備えて構成される。
a ruled line/character checking unit that determines the Y coordinate address; an address/column conversion table that stores in advance data that converts the X, Y coordinate address into digits and columns; and a data creation section that creates a ledger source program via the address/column conversion table according to the X and Y coordinate addresses.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本実施例における動作を説明するフローチャート
である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart explaining the operation of this embodiment.

1は帳表設計シート、2は帳表ソースプログラム作成装
置、3は入力手段として0CR14は罫線・文字チェッ
ク部、5はデータ作成部、6はアドレス・カラム変換テ
ーブル、7は記憶部を表す。更に、アドレス・カラム変
換テーブル6には帳表上のアドレスを桁・カラムに変換
するためのデータか格納しである。
1 is a book table design sheet, 2 is a book table source program creation device, 3 is an input means, 0CR14 is a ruled line/character checking section, 5 is a data creation section, 6 is an address/column conversion table, and 7 is a storage section. Furthermore, the address/column conversion table 6 stores data for converting addresses on the ledger into digits/columns.

次に、第2図により動作を説明する。Next, the operation will be explained with reference to FIG.

ます、帳表のソースプログラム作成の依頼を受けたプロ
グラマ−は、入力手段3としてのOCRを操作して、帳
表の枠が予め定めた色、例えば赤、青の線で示された帳
表設計シート1の読み取りを行う(ステップ101)。
First, the programmer who receives the request to create the source program for the ledger operates the OCR as the input means 3 to create a ledger with the border of the ledger indicated in a predetermined color, for example, red and blue lines. The design sheet 1 is read (step 101).

例えば、1シ一ト分をOCR内に用意されたメモリ(図
示せず)に記憶しておき、これを順次出力する。読み取
った色線か赤色だった場合、罫線とみなしくステップ1
02)、線の左端、右端、上端、下端、或いはそれらの
うちいくつかが組み合わされているなら別個に区別して
判断する(ステップ103)。読み取った色線が青色の
とき文字とみなり(ステップ104)、文字の大きさを
判定しくステップ105)、文字種を判定する(ステッ
プ106)。
For example, one sheet is stored in a memory (not shown) provided in the OCR and sequentially output. If the read color line is red, it is considered a ruled line and step 1
02), if the left end, right end, top end, or bottom end of the line, or a combination of some of them, is determined separately (step 103). When the read color line is blue, it is regarded as a character (step 104), the size of the character is determined (step 105), and the type of character is determined (step 106).

更に、上記ステップ102又はステップ104で罫線或
いは文字位置をX、Y座標として記憶する(ステップ1
07)。次に帳表設計シートの終わりまで読んだかを判
定する(ステップ108)。
Furthermore, in step 102 or step 104, the ruled line or character position is stored as X, Y coordinates (step 1
07). Next, it is determined whether the book design sheet has been read to the end (step 108).

以上ステップ102から108までを帳表設計シートの
終わりまで行い、終了(ステップ108)の判断かYE
Sとなったら、ステップ107で判定したX、Y座標ア
ドレスを、アドレス・カラム変換テーブルを用いて桁、
カラムとして変換する(ステップ109〕。
Perform the above steps 102 to 108 until the end of the ledger design sheet, and decide whether to finish (step 108) or YES.
If S, the X, Y coordinate address determined in step 107 is converted into digits using the address/column conversion table.
Convert as a column (step 109).

最後に、ステップ104,106,107,109で得
られた情報を元に、帳表ソースプログラムを作成する。
Finally, a ledger source program is created based on the information obtained in steps 104, 106, 107, and 109.

この作成にあたっては、上記で得られたデータがそのま
ま帳表のソースステップに対応される。
In creating this, the data obtained above directly corresponds to the source step of the ledger sheet.

なお、このようにして作成した帳表ソースプログラムは
、その内容の一部を修正して、他の帳表ソースプログラ
ムを作成することもできる。
Note that the book source program created in this way can also be modified to partially modify its contents to create other book source programs.

〔発明の効果〕〔Effect of the invention〕

以上説明したような本発明によれば、プログラマ−が帳
表設計シート上の線1文字の位置、大きさを目で読み取
り、パンチの作業を行わなくても、帳表ソースプログラ
ムの作成を行うことができる。
According to the present invention as described above, a programmer can visually read the position and size of a single line character on a ledger design sheet and create a ledger source program without punching. be able to.

従って、線9文字の位置、大きさの読み取りミスを無く
することができ、作業の迅速さ、正確さが増大するとい
う効果がある。
Therefore, it is possible to eliminate misreading of the position and size of the nine line characters, and has the effect of increasing the speed and accuracy of the work.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本実施例の動作を示すフローチャートである。 1・・・帳表設計シート、2・・・帳表ソースプログラ
ム作成装置、3・・・入力手段、4・・・罫線・文字チ
ェック部、5・・・データ作成部、6・・・アドレス・
カラム変換テーブル、7・・・記憶部。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of this embodiment. DESCRIPTION OF SYMBOLS 1... Book table design sheet, 2... Book table source program creation device, 3... Input means, 4... Ruled line/character check section, 5... Data creation section, 6... Address・
Column conversion table, 7... storage section.

Claims (1)

【特許請求の範囲】 帳表設計シートを読み込んで、帳表ソースプログラムを
作成する帳表ソースプログラム作成装置において、 予め定めた帳表に対する色線で識別した帳表設計シート
を読み込む入力手段と、 前記読み込んだ色線を判別して罫線の色か文字の色かの
区別をし罫線のときその線が左端、右端、上端、下端、
又はこれらの組み合わされたものか判定し、或いは文字
のときの大きさと文字種を判別するとともに、罫線、文
字のときそのX、Y座標アドレスを決定する罫線・文字
チェック部と、 前記X、Y座標アドレスを桁、カラムに変換するデータ
を予め格納してあるアドレス・カラム変換テーブルと、 前記罫線・文字チェック部から得られた前記X、Y座標
アドレスに従って前記アドレス・カラム変換テーブルを
介して帳表ソースプログラムを作成するデータ作成部と
を備えて成ることを特徴とする帳表ソースプログラム作
成装置。
[Scope of Claims] A booklet source program creation device that reads a booklet design sheet and creates a booklet source program, comprising an input means for reading a booklet design sheet identified by a colored line for a predetermined booklet; The read color line is determined to distinguish whether it is a ruled line color or a character color, and if it is a ruled line, the line is the left edge, right edge, top edge, bottom edge,
or a combination of these, or determines the size and type of character in the case of a character, and determines the X, Y coordinate address in the case of a ruled line or a character; An address/column conversion table in which data for converting an address into digits and columns is stored in advance, and a book is displayed via the address/column conversion table according to the X, Y coordinate address obtained from the ruled line/character check section. 1. A ledger source program creation device, comprising: a data creation section that creates a source program.
JP2276821A 1990-10-16 1990-10-16 Slip source program preparing device Pending JPH04151731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2276821A JPH04151731A (en) 1990-10-16 1990-10-16 Slip source program preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2276821A JPH04151731A (en) 1990-10-16 1990-10-16 Slip source program preparing device

Publications (1)

Publication Number Publication Date
JPH04151731A true JPH04151731A (en) 1992-05-25

Family

ID=17574868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2276821A Pending JPH04151731A (en) 1990-10-16 1990-10-16 Slip source program preparing device

Country Status (1)

Country Link
JP (1) JPH04151731A (en)

Similar Documents

Publication Publication Date Title
JP4281414B2 (en) Barcode or two-dimensional code printing system, barcode or two-dimensional code font setting method, and barcode or two-dimensional code font setting program
JP2740335B2 (en) Table reader with automatic cell attribute determination function
JPH10275196A (en) Data input device
JPH04151731A (en) Slip source program preparing device
JPH0433628B2 (en)
JP2990942B2 (en) Optical character reader
JPH0696272A (en) Business form format definition body generating device
JPH05119937A (en) Format overlay device
JPH0279183A (en) Ocr form with recognizing information mark
JPH0529882Y2 (en)
JPH0538957Y2 (en)
JPH0639987A (en) Proof reading method for block copy
JP2939150B2 (en) Information processing method
JP2705972B2 (en) Document processing device
JPH04130973A (en) Data registering system for electronic filing
JPS63113787A (en) On-slip data input system for character recognition device
JPS58175047A (en) Input terminal device
JPS62250768A (en) Printing device
JPS62232027A (en) Printing system for graphics in line printer
JPS63220383A (en) Character input device
JPH04319790A (en) Optical character reader
JPS61147330A (en) Print system of graph numeric table
JPS61290579A (en) Character recognizing device
JPH04304584A (en) Device for reading character
JPS6235988A (en) Inputting system