JP3143290B2 - Form creation device - Google Patents

Form creation device

Info

Publication number
JP3143290B2
JP3143290B2 JP05276899A JP27689993A JP3143290B2 JP 3143290 B2 JP3143290 B2 JP 3143290B2 JP 05276899 A JP05276899 A JP 05276899A JP 27689993 A JP27689993 A JP 27689993A JP 3143290 B2 JP3143290 B2 JP 3143290B2
Authority
JP
Japan
Prior art keywords
data
unit
search
character string
computer
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 - Lifetime
Application number
JP05276899A
Other languages
Japanese (ja)
Other versions
JPH07129585A (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 JP05276899A priority Critical patent/JP3143290B2/en
Publication of JPH07129585A publication Critical patent/JPH07129585A/en
Application granted granted Critical
Publication of JP3143290B2 publication Critical patent/JP3143290B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パーソナルコンピュー
タやワープロなど文書処理機能を有するコンピュータを
用いて帳票を作成し、表示画面に表示したり印刷する場
合に好適な帳票作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form creation apparatus suitable for creating a form using a computer having a document processing function such as a personal computer or a word processor, and displaying the form on a display screen or printing.

【0002】[0002]

【従来の技術】従来この種の帳票装置では帳票に記載す
る罫線などの書式オーバーレイを予め作成しておき、書
式オーバーレイに合致するよう各種の帳票データを表示
している。
2. Description of the Related Art Conventionally, in this type of form apparatus, a form overlay such as a ruled line described in a form is created in advance, and various form data are displayed so as to match the form overlay.

【0003】最近では出力される帳票も莫大な量となっ
ている。そこで、帳票データ例えば数値データを大型コ
ンピュータから帳票作成装置に送信するシステムも出現
してきた。
[0003] In recent years, the output forms have become enormous. Therefore, a system for transmitting form data, for example, numerical data from a large-sized computer to a form creation device has also emerged.

【0004】このための帳票作成方法としては、特開平
1−22372号、特開平2−2052号、特開平4−
369023号が提案されている。これらの提案は書式
オーバーレイと可変データの印字位置の対応づけに関す
るものであり、これらの提案の帳票作成方法を用いるこ
とによって新たな帳票を作成する場合に有効となってい
た。
[0004] For this purpose, a form creation method is disclosed in Japanese Patent Application Laid-Open Nos. 1-222372, 2-22052 and 4-4-2.
No. 369023 has been proposed. These proposals relate to the correspondence between the format overlay and the print position of the variable data, and have been effective when a new form is created by using the form creation method of these proposals.

【0005】[0005]

【発明が解決しようとする課題】従来この種の文書作成
装置では文書処理機能を用いることによってユーザ自身
が書式オーバーレイを容易に修正できる。これに対し
て、帳票データを送信する大型コンピュータではプログ
ラムにより帳票データを送信するので帳票データの個数
やデータタイプの変更に対応しにくいという問題があっ
た。より具体的には、複数個の帳票データを送信する場
合、データの送信順序、各データのタイプを予め送信プ
ログラム中で規定しておかなければならない。したがっ
て、特定のデータが不要になったり、逆にデータを追加
する場合、送信プログラムを変更する必要がある。特
に、大型コンピュータに複数の帳票作成装置が接続され
る場合には、帳票データの送信プログラムも大規模とな
り、修正には多大の労力とコンピュータ技術者の熟練さ
が要求される。
Conventionally, in this type of document creation apparatus, the user can easily correct the format overlay by using a document processing function. On the other hand, a large-sized computer for transmitting form data transmits form data by a program, so that there is a problem that it is difficult to cope with a change in the number or data type of form data. More specifically, when transmitting a plurality of form data, the data transmission order and the type of each data must be defined in advance in the transmission program. Therefore, when specific data becomes unnecessary or when data is added, the transmission program needs to be changed. In particular, when a plurality of form creation devices are connected to a large-sized computer, the form data transmission program also becomes large-scale, and a large amount of labor and skill of a computer engineer are required for correction.

【0006】そこで本発明の目的は、上述の点に鑑み
て、帳票データ送信側のコンピュータの送信プログラム
の修正労力を緩和することの可能な帳票作成装置を提供
することにある。
SUMMARY OF THE INVENTION It is an object of the present invention, in view of the above, to provide a form creation apparatus capable of reducing the effort of modifying a transmission program of a form data transmission side computer.

【0007】[0007]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、外部の計算機から帳票デ
ータを取り込んで帳票を作成する帳票作成装置におい
て、前記帳票データの特徴を示す検索定義を記憶する記
憶部と、前記帳票データを含み、前記計算機により作成
されたテキスト形態のデータを取り込む帳票データ取り
込み部と、前記記憶部の検索定義が示す特徴を持つ帳票
データを当該取り込まれたデータの中から検索により抽
出する検索部とを具えたことを特徴とする。
In order to achieve the above object, a first aspect of the present invention is a form creation apparatus for creating a form by taking form data from an external computer. A storage unit for storing a search definition indicated by the search unit; a form data acquisition unit including the form data to capture data in a text format created by the computer; and a form data having characteristics indicated by the search definition in the storage unit. And a search unit for extracting from the obtained data by a search.

【0008】請求項2の発明は、外部の計算機から帳票
データを取り込んで帳票を作成する帳票作成装置におい
て、前記帳票データの特徴を示す検索定義を記憶する記
憶部と、前記帳票データ含み、前記計算機により作成さ
れたテキスト形態のデータを取り込む帳票データ取り込
み部と、前記記憶部の検索定義が示す特徴を持つ帳票デ
ータおよび該帳票データと特定の位置関係にあるデータ
当該取り込まれたデータの中から検索により抽出する
検索部とを具えたことを特徴とする。請求項3の発明
は、前記検索部により抽出されたデータを使用して新た
な帳票を作成する編集部をさらに具えたことを特徴とす
る。
According to a second aspect of the present invention, there is provided a form creation apparatus for creating a form by fetching form data from an external computer. A form data capturing unit for capturing data in text form created by a computer, form data having characteristics indicated by the search definition in the storage unit, and data having a specific positional relationship with the form data
And a search unit for extracting the data from the fetched data by a search. The invention of claim 3
Is newly created using the data extracted by the search unit.
It is further characterized by an editing unit for creating simple forms.
You.

【0009】[0009]

【作用】請求項1の発明では、印刷目的や保存目的で計
算機において作成された文書テキストの中から特定の文
字列、例えば、所定の数値範囲内にあることを示す数字
文字列を帳票データとして取り出す。
According to the first aspect of the present invention, a specific character string, for example, a numerical character string indicating that the character string is within a predetermined numerical range, is included in the document text created by the computer for the purpose of printing or saving as the form data. Take out.

【0010】請求項2の発明では、印刷目的や保存目的
で計算機において作成された文書テキストの中から特定
の文字列、例えば、特定の単位を示す文字列および隣接
などの特定位置関係にある数字文字列を帳票データとし
て取り出す。
According to the second aspect of the present invention, a specific character string, for example, a character string indicating a specific unit and a numeral having a specific positional relationship such as an adjacent character, are selected from document texts created in a computer for printing or storage purposes. Extract a character string as form data.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1および図2は本発明実施例のの基本構
成を示す。
FIGS. 1 and 2 show a basic configuration of an embodiment of the present invention.

【0013】図1および図2において、10は帳票作成
装置に送る帳票データの作成源となる計算機である。計
算機10が作成する帳票データは印刷装置に出力可能な
テキスト形式のデータであることに本実施例の特徴があ
る。なお、テキストデータとは文書を構成する文字コー
ド列および改行等を示す制御コードで構成されるデータ
のことである。
In FIGS. 1 and 2, reference numeral 10 denotes a computer which is a source of form data to be sent to a form creation device. The present embodiment is characterized in that the form data created by the computer 10 is text format data that can be output to a printing device. Note that the text data is data composed of a character code string constituting a document and a control code indicating a line feed or the like.

【0014】12は計算機10から送られる帳票データ
を装置内に取り込む帳票データ取り込み部である。14
は装置内部に取り込まれ、記憶装置(本発明の記憶部)
内に保存された帳票生データである。16は帳票生デー
タを所定の書式の帳票データに変換する帳票データ変換
部である。18は記憶装置内に格納された帳票変換定義
である。帳票生データ14のファイルの中に格納された
データ内のチャネルコード、機能コード、半角コード、
全角コードに関する情報と、文字コードを文節にグルー
ピングするための情報とを帳票変換定義18のファイル
にも格納する。
Reference numeral 12 denotes a form data taking-in unit for taking form data sent from the computer 10 into the apparatus. 14
Is stored in the device and is stored in the storage device (the storage unit of the present invention).
It is the form raw data stored in. Reference numeral 16 denotes a form data conversion unit that converts form raw data into form data in a predetermined format. Reference numeral 18 denotes a form conversion definition stored in the storage device. Channel code, function code, half-width code, etc. in the data stored in the file of form raw data 14
Information on full-width codes and information for grouping character codes into phrases are also stored in the file of the form conversion definition 18.

【0015】ここでチャネルコードとは印刷装置に記録
用紙の行送りを指示する制御コードである。機能コード
はファンクションコードとも呼ばれ、予め定められた処
理の実行を指示するコードである。半角、全角コードは
文字の大きさを指示するコードである。
Here, the channel code is a control code for instructing the printing apparatus to feed the recording paper line by line. The function code is also called a function code, and is a code for instructing execution of a predetermined process. Half-width and full-width codes are codes that indicate the size of characters.

【0016】20は変換処理後の帳票データ(変換帳票
データと呼ぶことにする)である。22は所定の文字列
を検索する文字列検索部(本発明の検索部)である。2
4は検索条件を規定したファイルである。26は検索結
果のファイルである。28は帳票生データ14のファイ
ルから抽出されたデータを用いて帳票を再編成する帳票
編集部である。
Reference numeral 20 denotes form data after conversion processing (hereinafter, referred to as converted form data). Reference numeral 22 denotes a character string search unit (search unit of the present invention) for searching for a predetermined character string. 2
Reference numeral 4 denotes a file defining search conditions. Reference numeral 26 denotes a search result file. A form editing unit 28 reorganizes the form using data extracted from the file of the form raw data 14.

【0017】30は編集を行う定義を記載した編集定義
ファイルである。32は作成された編集帳票データであ
る。34は編集帳票データを表示するためのイメージ合
成を行う帳票表示部である。36は編集帳票データを印
刷する帳票印刷部である。38は表示装置、40は入力
装置、42は印刷装置である。
Reference numeral 30 denotes an edit definition file in which definitions for editing are described. Reference numeral 32 denotes the created edit form data. Reference numeral 34 denotes a form display unit for performing image composition for displaying edited form data. A form printing unit 36 prints the edited form data. 38 is a display device, 40 is an input device, and 42 is a printing device.

【0018】46は書式オーバーレイ、すなわち、帳票
データと合成する表示パターンのファイルである。44
はこの書式オーバーレイを作成する書式オーバーレイ作
成部である。
Reference numeral 46 denotes a format overlay, that is, a display pattern file to be combined with the form data. 44
Is a format overlay creation unit for creating this format overlay.

【0019】以上は本実施例の機能的な構成であるが、
具体的なシステム構成を図3に示す。
The above is the functional configuration of the present embodiment.
FIG. 3 shows a specific system configuration.

【0020】図3は本発明を適用した帳票作成装置の具
体的なシステム構成を示す。図3において、計算機10
に相当するホストコンピュータ200がLAN150を
介して帳票作成装置100に接続している。帳票作成装
置100は以下の回路により構成される。
FIG. 3 shows a specific system configuration of a form creation apparatus to which the present invention is applied. In FIG. 3, the computer 10
Is connected to the form creation apparatus 100 via the LAN 150. The form creation device 100 includes the following circuits.

【0021】CPU101はROM102に格納された
システムプログラムに基づき、装置全体の制御を実行す
る。CPU101はまた図6〜図7,図9に示す制御手
順を実行し、この制御手順に基づき書式の異なる帳票を
システムRAM103上で作成する。後述するがCPU
101が図1の帳票データ変換部16、文字列検索部2
2、帳票編集部28、書式オーバーレイ作成部44とし
て動作する。ROM2はCPU101が実行するプログ
ラム(制御手順)の他、装置制御に用いるパラメータ値
を保存記憶する。
The CPU 101 controls the entire apparatus based on a system program stored in the ROM 102. The CPU 101 also executes the control procedures shown in FIGS. 6 to 7 and 9 and creates forms having different formats on the system RAM 103 based on the control procedures. CPU to be described later
101 is the form data conversion unit 16 and the character string search unit 2 in FIG.
2. It operates as the form editing unit 28 and the format overlay creating unit 44. The ROM 2 stores, in addition to programs (control procedures) executed by the CPU 101, parameter values used for device control.

【0022】システムRAM103はCPU101の情
報処理に用いるデータやCPU101の情報処理結果を
一時記憶する。システムRAM103はイメージ格納領
域を有し、CRT(表示装置)108に表示するイメー
ジデータをも格納する。このイメージデータ格納領域が
CPU101とともに図1の帳票表示部34として動作
する。
The system RAM 103 temporarily stores data used for information processing of the CPU 101 and information processing results of the CPU 101. The system RAM 103 has an image storage area and also stores image data to be displayed on a CRT (display device) 108. This image data storage area operates as the form display unit 34 in FIG.

【0023】ハードデイスク(記憶装置)104は帳票
生データ等の受信データや編集処理後の帳票データを記
憶する。ハードデイスク104が図1の帳票データ1
4、帳票変換定義18、変換帳票データ20、検索結果
26および編集帳票データ32のファイルを記憶する記
憶装置に相当する。
A hard disk (storage device) 104 stores received data such as raw form data and form data after editing processing. The hard disk 104 is the form data 1 in FIG.
4, a form conversion definition 18, converted form data 20, search result 26, and a storage device for storing files of edited form data 32.

【0024】印字装置105はCPU101により作成
された帳票を印刷する。通信インターフェース106は
図1の帳票データ取り込み部12としてLAN150を
介してホストコンピュータ200との間で情報通信を行
う。
The printing device 105 prints a form created by the CPU 101. The communication interface 106 performs information communication with the host computer 200 via the LAN 150 as the form data capturing unit 12 in FIG.

【0025】キーボード107からは図1の入力装置4
0としてCPU101への動作指示や、各種の情報の入
力を行う。CRT108はCPU101(または表示用
コントローラ)によりシステムRAM103から読み出
された帳票のイメージを表示する。CRT108が図1
の表示装置として動作する。
The input device 4 shown in FIG.
As 0, an operation instruction to the CPU 101 and input of various information are performed. The CRT 108 displays an image of a form read from the system RAM 103 by the CPU 101 (or a display controller). CRT 108 is shown in FIG.
Operate as a display device.

【0026】このように構成された図1および図2のシ
ステム構成の動作を次に説明する。
The operation of the system configuration shown in FIGS. 1 and 2 will now be described.

【0027】計算機10は図4に示す処理を行って帳票
をテキストの形態で出力する。すなわち、ホストコンピ
ュータ10は帳票アプリケーションプログラム500を
実行してプリントファイル502を作成する。プリント
ファイルの構造の一例を図5に示す。プリントファイル
502は帳票を構成する1行毎の文字コードおよび制御
コードを1レコード(コードの集合1組を示す名称)と
してホストコンピュータ内に格納される。
The computer 10 performs the processing shown in FIG. 4 and outputs the form in the form of a text. That is, the host computer 10 executes the form application program 500 to create the print file 502. FIG. 5 shows an example of the structure of the print file. The print file 502 stores a character code and a control code for each line constituting a form as one record (a name indicating one set of codes) in the host computer.

【0028】レコードは文字コードおよび制御コードは
例えば日本工業規格(JIS)の漢字コードや2進化1
0進数(EBCDIC)コードが混在する。これら印字
情報の印字位置を示す印字位置情報は帳票書式定義50
4のファイルに含まれる。
The record is a character code and the control code is, for example, a kanji code of Japanese Industrial Standard (JIS) or a binary code.
There are mixed decimal (EBCDIC) codes. The print position information indicating the print position of these print information is a form format definition 50.
4 files.

【0029】計算機10は出力プログラム506により
上記プリントファイル502および上記帳票書式504
を入力し、編集変換後ファイルを作成する。計算機10
は書式オーバーレイ作成プログラムにより書式オーバー
レイソースコード516から書式オーバーレイオブジェ
クト510に変換する。書式オーバーレイソースコード
516は帳票設計時に作成される。計算機10は作成さ
れた書式オーバーレイオブジェクト510および編集変
換後ファイル508をプリンタ出力プログラム512に
より不図示の印刷装置に出力する。
The computer 10 uses the output program 506 to print the print file 502 and the form 504.
To create a file after editing and conversion. Computer 10
Is converted from the format overlay source code 516 to the format overlay object 510 by the format overlay creation program. The format overlay source code 516 is created at the time of form design. The computer 10 outputs the created format overlay object 510 and the edited and converted file 508 to a printing device (not shown) by the printer output program 512.

【0030】本実施例は印刷装置に出力する編集変換後
ファイル508、すなわち、テキストデータを帳票作成
装置側でも利用して、所定の書式に再編集することに特
徴がある。編集変換後ファイル508の構成を図5を用
いて説明する。編集変換後ファイル508はプリントフ
ァイル502と同様に1行を1レコードとし、レコード
の先頭に印字行を決定するチャネル制御コードが格納さ
れる。なお、印字行の指定の中にはページ替えの指定も
含まれている。その後ろに印字データが格納される。印
字データには印字データの種類や使用フォントを指示す
る機能コードが先頭に付加される。
The present embodiment is characterized in that the post-edit conversion file 508 output to the printing apparatus, ie, the text data, is also used on the form creation apparatus side to re-edit the file into a predetermined format. The configuration of the file 508 after editing and conversion will be described with reference to FIG. As in the print file 502, the post-edit conversion file 508 uses one line as one record, and stores a channel control code for determining a print line at the head of the record. It should be noted that the designation of the print line includes the designation of a page change. After that, the print data is stored. A function code indicating the type of the print data and the font to be used is added to the head of the print data.

【0031】このような編集変換後ファイル508を帳
票作成装置1が帳票データ取り込み部12(図3の通信
インターフェース106)を介して受け取ると、編集変
換後ファイル508は編集生データ14として内部記憶
装置(図3のハードデイスク104)に格納される。
When the form creation device 1 receives the edited and converted file 508 via the form data fetching unit 12 (the communication interface 106 in FIG. 3), the edited and converted file 508 is converted into the edited raw data 14 in the internal storage device. (The hard disk 104 in FIG. 3).

【0032】帳票データ変換部16(図3のCPU10
1)は帳票変換定義18にしたがって帳票再配置のため
の変換処理を実行する。より具体的には図7の処理手順
により帳票生データ14の中から機能コードまたは空白
文字で区切られる文字列群に分割し、分割した文字列を
再配置のために図6の制御手順によりページ、章、行で
グルーピング(分類分け)する。
The form data conversion unit 16 (CPU 10 in FIG. 3)
1) executes a conversion process for form rearrangement according to the form conversion definition 18. More specifically, the form raw data 14 is divided into a group of character strings separated by a function code or a blank character by the processing procedure of FIG. 7, and the divided character strings are re-arranged by the control procedure of FIG. , Chapters, and lines.

【0033】図6および図7の詳細手順は実際にはCP
U101が実行可能なプログラム言語で記載されている
が説明の都合上機能的に表現している。
The detailed procedure in FIGS. 6 and 7 is actually a CP
Although U101 is described in an executable program language, it is functionally represented for convenience of explanation.

【0034】帳票変換部16は帳票生データ14の第1
ページ第1節第1行に読み出し行を設定し、以下、順に
レコード単位で帳票生データを読み出してゆく(S10
〜S90のループ処理)。読み出されたレコードの中に
行の終了を示す特定コードを検出する毎に帳票変換部1
6はこれまでに読み出したレコードをまとめることによ
り1行分の文字列を帳票生データ14の中から抽出する
(S70)。また、読み出されたレコードの中に節変わ
りを示す、図10の条件を満足する特定コードを検出し
て帳票生データ14の節の区切れを検出する(S8
0)。
The form converter 16 converts the first form raw data 14
A readout line is set in the first line of the first section of the page, and the raw form data is sequentially read out in units of records (S10).
To loop processing of S90). Each time a specific code indicating the end of a line is detected in the read record, the form conversion unit 1
6 extracts a character string for one line from the form raw data 14 by combining the records read so far (S70). In addition, a specific code that satisfies the condition shown in FIG. 10 is detected in the read record to satisfy the condition of FIG.
0).

【0035】以上の処理を実行することにより帳票変換
部16は節毎に帳票生データを取り出し、変換帳票デー
タ20として記憶装置(ハードデイスク104)内に記
憶して行く(図1参照)。
By executing the above processing, the form conversion unit 16 takes out the form raw data for each section and stores it as converted form data 20 in the storage device (hard disk 104) (see FIG. 1).

【0036】一方、CPU101が文字列検索部22と
して動作するときは、検索定義24に指定された条件を
満たす文字列を抽出して検索結果26を作成する。検索
の対象としては上述の処理で分割抽出された文字列を取
り扱う。
On the other hand, when the CPU 101 operates as the character string search unit 22, it extracts a character string that satisfies the conditions specified in the search definition 24 and creates a search result 26. The character string divided and extracted in the above-described processing is handled as a search target.

【0037】このための検索条件の一例を図11に示
す。なお、検索定義24へは検索条件を満たす文字列が
持つ情報がそのまま転記されている。たとえば、特定の
タイトル、用語などがNo.1の判定式により検出され
る。また、数字の文字コード列は数値コードに変換さ
れ、No.5〜No.9の判定式により数値の大きさに
応じて比較対象の文字列が弁別される。以上の処理によ
り、帳票の中に含まれる帳票の再配置に用いる文字列や
数値データを検出することができる。
FIG. 11 shows an example of search conditions for this purpose. The information of the character string that satisfies the search condition is transcribed to the search definition 24 as it is. For example, if a specific title, term, or the like is No. It is detected by the determination formula of 1. In addition, the character code string of the number is converted into a numerical code. 5-No. The character string to be compared is discriminated according to the magnitude of the numerical value by the determination formula of No. 9. With the above processing, it is possible to detect a character string and numerical data used for rearranging a form included in the form.

【0038】図6の処理手順を帳票変換部16が開始す
ると、分割されたデータの先頭から単一データが順次に
読み出され、空白(スペース)コードのデータが検出さ
れた場合は(S130)、空白コードの前後は行、文
節、ページの区切れと判断され、帳票変換部16は空白
コードの前の文字列に対して、行、文節、ページの区切
れを示す情報を分割された文字列に付加して記憶装置に
格納する。なお、行、文節、ページの区切れの種別は空
白コードに伴う句点コードコードやタブコードを調べる
ことにより識別できることが周知であるので詳細な説明
を省略する。
When the form conversion unit 16 starts the processing procedure of FIG. 6, single data is sequentially read from the head of the divided data, and when data of a blank (space) code is detected (S130). , Before and after the blank code are determined to be line, phrase, and page breaks, and the form conversion unit 16 compares the character string before the blank code with information indicating the line, phrase, and page breaks in the divided character. It is added to the column and stored in the storage device. It is well known that the types of line, phrase, and page breaks can be identified by examining a period code code and a tab code accompanying a blank code, and thus detailed description is omitted.

【0039】帳票編集部28として動作するときのCP
U101は予め用意された編集定義30にしたがって検
索結果26のファイルに格納された文字列に基づき編集
に必要なデータを変換帳票データ20の中から順次に抽
出し、抽出した変換帳票データ20を図3のシステムR
AM103上で再配置する。この再配置処理により新た
な編集帳票データ32が作成され、ハードデイスク10
4に格納される。
The CP when operating as the form editing unit 28
U101 sequentially extracts data necessary for editing from the conversion form data 20 based on the character string stored in the file of the search result 26 according to the editing definition 30 prepared in advance, and converts the extracted conversion form data 20 into a diagram. System R of 3
Rearrange on the AM 103. By this rearrangement processing, new editing form data 32 is created, and the hard disk 10
4 is stored.

【0040】この再配置処理に用いられる編集定義30
の構造の一例を図8に示す。編集定義30は編集情報、
固定部情報、可変部情報に別れる。上記編集情報は作成
対象の編集帳票データ32の名称等の情報である。。上
記固定部情報はヘッダ等、変更がない固定の文字列であ
る。固定部情報は帳票のページが変更されたタイミング
で出力されるもの、後述の可変部情報を印字する直前で
出力するもの、ページの最終位置で出力されるものに分
かれる。なお、図8中の1印字データは文字列である。
The edit definition 30 used for this rearrangement process
FIG. 8 shows an example of the structure of FIG. The edit definition 30 is edit information,
It is divided into fixed part information and variable part information. The editing information is information such as the name of the editing form data 32 to be created. . The fixed part information is a fixed character string such as a header that does not change. The fixed part information is classified into one that is output when the page of the form is changed, one that is output immediately before printing the variable part information described later, and one that is output at the last position of the page. Note that one print data in FIG. 8 is a character string.

【0041】可変部情報の中の印字情報は検索結果26
から取り込んだ特定文字列に基づき変換帳票データ20
から収集することができる印字情報の種類と、その出力
方法を示す情報を有する。本実施例では上記特定文字列
が含まれる行または(分)節や、空白行の情報を印字情
報により指定して出力することができる。また、検索さ
れた文字列に基づき、相対的に求まる文字列を、例え
ば、検索結果の次の位置で印字するという形式を採るこ
とによって、相対的な位置(特定の位置関係)の文字列
を指定カラム位置に再配置して出力することもできる。
このような再配置処理を行うための指定情報をも印字情
報は含む。
The print information in the variable part information is the search result 26
Conversion form data 20 based on a specific character string taken from
It has information indicating the type of print information that can be collected from the server and the output method. In this embodiment, it is possible to output information by designating information on a line or a (minute) segment containing the specific character string or a blank line by using print information. Also, by adopting a format in which a character string relatively obtained based on the searched character string is printed at the next position of the search result, for example, a character string at a relative position (specific positional relationship) is obtained. It can also be relocated to the specified column position and output.
The print information also includes designation information for performing such rearrangement processing.

【0042】以上のような編集定義30を用いて新たに
再編集を実行する帳票編集部28、すなわち、CPU1
01の処理手順を図9に示す。図9の制御手順により帳
票編集部28は編集定義30に基づきページ先頭固定部
出力、可変部出力前固定部の出力、可変部出力後の固定
部出力、ページ最終固定部の出力等の各指示の有無を判
定し(S340、S360、S390、S420)、指
示のあった編集処理を実行する。なお、固定部の出力指
示のないものに関しては出力は行われない。可変部の出
力は1回の処理で、図8の可変部印字情報数で指定され
た印字情報が全て印字される。
The form editing unit 28 for newly executing re-editing using the above-described editing definition 30, ie, the CPU 1
01 is shown in FIG. According to the control procedure of FIG. 9, the form editing unit 28 instructs the output of the fixed portion at the top of the page, the output of the fixed portion before output of the variable portion, the output of the fixed portion after output of the variable portion, the output of the fixed portion at the end of the page, etc. Is determined (S340, S360, S390, S420), and the instructed editing process is executed. Note that the output is not performed for those for which there is no output instruction from the fixed unit. The output of the variable portion is printed once, and all print information specified by the variable portion print information number in FIG. 8 is printed.

【0043】ユーザは、予め入力装置(図3のキーボー
ド107)を用いて固定使用する文字列や罫線指定を入
力する。
The user previously inputs a fixedly used character string or a ruled line using an input device (keyboard 107 in FIG. 3).

【0044】CPU101が書式オーバーレイ作成部4
4として動作する場合、書式オーバーレイ作成部44は
ユーザにより入力された情報に基づき従来のワープロな
どの文書処理装置と同様の文書処理を行って、編集帳票
データ32を記載するための書式オーバーレイのファイ
ル46を作成しておく。
The CPU 101 makes the format overlay creating section 4
4, the format overlay creation unit 44 performs the same document processing as a conventional document processing device such as a word processor based on information input by the user, and generates a format overlay file for describing the edited form data 32. 46 is created in advance.

【0045】ユーザが入力装置40から帳票の印字の要
求を入力すると、帳票表示部34(この場合、帳票表示
用プログラムを実行するCPU101)は制御を帳票印
字用プログラムに引き渡し、帳票印字部36として帳票
のイメージを作成して印字装置42に印字出力させる。
より具体的には、ハードデイスク104上の編集データ
32およびオーバーレイデータ46がイメージデータに
変換され、システムRAM103内で合成される。合成
されたイメージデータが印字装置105に転送されて印
字処理が実行される。なお、ユーザが帳票の表示処理を
指示した場合は、イメージ形態の帳票データがCRT1
08に転送され、表示される。印字処理は連続的に処理
されるが、表示処理は帳票のページ単位で行われ、ユー
ザが入力装置40からページの切り換え指定を入力する
毎に実行される。
When the user inputs a request to print a form from the input device 40, the form display unit 34 (in this case, the CPU 101 executing the form display program) passes control to the form print program, and the form print unit 36 An image of the form is created and printed by the printing device 42.
More specifically, the edit data 32 and the overlay data 46 on the hard disk 104 are converted into image data and synthesized in the system RAM 103. The synthesized image data is transferred to the printing device 105, and the printing process is executed. When the user instructs the form display processing, the form data in the image form is displayed on the CRT1.
08 and displayed. The printing process is continuously performed, but the display process is performed for each page of the form, and is performed every time the user inputs a page switching designation from the input device 40.

【0046】以上説明したように、本実施例ではテキス
ト形態の帳票データを帳票作成装置1が受信し、帳票作
成装置1側では帳票データの中の特定文字列および関連
文字列を抽出する。したがって、帳票データを送信する
計算機10側では、データの送信配列順序に考慮を払う
必要がない。また、印字に用いる帳票データを帳票作成
装置1側に送信するので、計算機10では、従来のよう
に印刷用と帳票作成装置用の2種の帳票データを作成す
る必要がなくなる。
As described above, in this embodiment, the form creation device 1 receives text form data, and the form creation device 1 extracts a specific character string and a related character string from the form data. Therefore, the computer 10 transmitting the form data does not need to pay attention to the data transmission order. In addition, since the form data used for printing is transmitted to the form creation device 1, the computer 10 does not need to create two types of form data for printing and for the form creation device as in the related art.

【0047】さらに、計算機10側では複数の帳票作成
装置1の各々のために異なる帳票出力プログラムを作成
する必要はない。各帳票作成装置1側が自分が欲する文
字列をテキスト形態の帳票データの中から検索処理によ
り抽出するので、抽出対象の文字列の位置や送信順序を
計算機10側が帳票作成装置1側に知らせる必要がない
ことに留意されたい。
Further, it is not necessary for the computer 10 to create a different form output program for each of the plurality of form creation apparatuses 1. Since each form creation device 1 extracts the character string that the user wants from the form data in the text form by the search processing, the computer 10 needs to inform the form creation device 1 of the position of the character string to be extracted and the transmission order. Note that there is no.

【0048】本実施例のほかに次の例を実施できる。The following example can be carried out in addition to this embodiment.

【0049】1)本実施例では、計算機10から抽出し
た文字列と帳票作成装置1側で作成した書式オーバーレ
イとを合成して、表示、印刷する可視出力例を示した
が、上記抽出した文字列の再配置のみ行って、可視出力
することも可能である。この場合は、帳票単独の出力モ
ード、書式オーバーレイ合成モードを設けておき、ユー
ザが入力装置40からモード指定を行う。さらに、帳票
生データ14を可視出力するモード、検索結果26を可
視出力するモード、変換帳票データを可視出力するモー
ドを設け、ユーザのモード指定によりモードに対応のデ
ータをCPU101の制御により可視出力することもで
きる。
1) In the present embodiment, an example of visible output in which the character string extracted from the computer 10 and the format overlay created by the form creation device 1 are combined and displayed and printed has been described. It is also possible to perform visible output only by rearranging the columns. In this case, a form-only output mode and a format overlay combining mode are provided, and the user specifies the mode from the input device 40. Further, a mode for visually outputting the form raw data 14, a mode for visually outputting the search result 26, and a mode for visually outputting the converted form data are provided, and the data corresponding to the mode is visually output under the control of the CPU 101 according to the user's mode designation. You can also.

【0050】2)本実施例では受信の帳票データの中の
数字の文字列をその数字の範囲を識別することによって
抽出しているが数字に付随する単位、例えば、円、%、
¥、rpm、V等の各種単位を識別してこれらの単位に
付随する数字文字列を抽出できる。また、これらの単位
を数字文字列とともに再編集する文字列に使用すること
ができることは言うまでもない。この場合は検索定義2
4の中に単位を示す文字列を記載しておき、文字列検索
部22が単位および単位に隣接する数字の文字列を検索
する。
2) In this embodiment, a character string of a numeral in the received form data is extracted by identifying the range of the numeral, but a unit attached to the numeral, for example, a circle,%,
Various units such as $, rpm, V, etc. can be identified and a numeric character string attached to these units can be extracted. Needless to say, these units can be used for a character string to be re-edited together with a numerical character string. In this case, search definition 2
A character string indicating a unit is described in 4 and the character string search unit 22 searches for a character string of a unit and a number adjacent to the unit.

【0051】3)本実施例で使用した検索定義24、帳
票変換定義18、編集定義30を選択的に計算機側から
帳票作成装置1に送信するようにしてもよい。この場合
の送信回数は1回のみである。
3) The search definition 24, the form conversion definition 18, and the edit definition 30 used in the present embodiment may be selectively transmitted from the computer to the form creation apparatus 1. In this case, the number of transmissions is only one.

【0052】4)本実施例では印刷目的で計算機10に
より作成された文書テキストを帳票作成装置1において
受信するが、印刷目的だけでなく保存目的で作成された
文書テキストを受信するようにしてもよい。
4) In the present embodiment, the document text created by the computer 10 for printing is received by the form creation device 1. However, the document text created not only for printing but also for storage may be received. Good.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
計算機から受信した文書などのテキストから所望の帳票
データを検索により抽出して帳票の作成に用いることが
できるので、計算機側では文字列の送信順序に配慮する
必要がなく送信の帳票データの増減の影響を受けること
もない。
As described above, according to the present invention,
Since desired form data can be extracted from texts such as documents received from the computer by searching and used to create forms, it is not necessary for the computer to consider the order of transmission of character strings, and it is possible to increase or decrease the form data transmitted. It is not affected.

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

【図1】本発明実施例の基本構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図2】本発明実施例の基本構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図3】本発明実施例の具体的なシステム構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing a specific system configuration according to the embodiment of the present invention.

【図4】計算機10側の処理手順を示す説明図である。FIG. 4 is an explanatory diagram showing a processing procedure on the computer 10 side.

【図5】テキストの内容を示す説明図である。FIG. 5 is an explanatory diagram showing the contents of a text.

【図6】帳票の作成に関わる処理内容を示すフローチャ
ートである。
FIG. 6 is a flowchart showing processing contents related to creation of a form.

【図7】帳票の作成に関わる処理内容を示すフローチャ
ートである。
FIG. 7 is a flowchart showing processing contents related to creation of a form.

【図8】編集定義30の内容を示す説明図である。8 is an explanatory diagram showing the contents of an edit definition 30. FIG.

【図9】帳票の作成に関わる処理内容を示すフローチャ
ートである。
FIG. 9 is a flowchart showing processing contents related to creation of a form.

【図10】グルーピング条件を示す説明図である。FIG. 10 is an explanatory diagram showing grouping conditions.

【図11】検索条件を示す説明図である。FIG. 11 is an explanatory diagram showing search conditions.

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

1 帳票作成装置 2 帳票データ取り込み部 10 計算機 22 文字列検索部 24 検索定義 REFERENCE SIGNS LIST 1 form creation device 2 form data import unit 10 computer 22 character string search unit 24 search definition

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部の計算機から帳票データを取り込ん
で帳票を作成する帳票作成装置において、 前記帳票データの特徴を示す検索定義を記憶する記憶部
と、 前記帳票データ含み、前記計算機により作成されたテキ
スト形態のデータを取り込む帳票データ取り込み部と、 前記記憶部の検索定義が示す特徴を持つ帳票データを当
該取り込まれたデータの中から検索により抽出する検索
部とを具えたことを特徴とする帳票作成装置。
1. A form creation device for creating form by taking form data from an external computer, comprising: a storage unit for storing a search definition indicating a characteristic of the form data; and a form created by the computer including the form data. A form comprising: a form data fetching unit that fetches data in text form; and a search unit that extracts form data having characteristics indicated by the search definition in the storage unit from the fetched data by searching. Creating device.
【請求項2】 外部の計算機から帳票データを取り込ん
で帳票を作成する帳票作成装置において、 前記帳票データの特徴を示す検索定義を記憶する記憶部
と、 前記帳票データ含み、前記計算機により作成されたテキ
スト形態のデータを取り込む帳票データ取り込み部と、 前記記憶部の検索定義が示す特徴を持つ帳票データおよ
び該帳票データと特定の位置関係にあるデータ当該取
り込まれたデータの中から検索により抽出する検索部
具えたことを特徴とする帳票作成装置。
2. A form creation device for taking form data from an external computer to create a form, comprising: a storage unit for storing a search definition indicating characteristics of the form data; and a form created by the computer including the form data. a form data capture unit for capturing the data of the text form, are extracted by searching the data in a specific positional relationship with the form data and該帳form data having the characteristics indicated by the search definition of the storage unit from among the data fetched the Search section and
A form creation device characterized by comprising:
【請求項3】 前記検索部により抽出されたデータを使
用して新たな帳票を作成する編集部をさらに具えたこと
を特徴とする請求項1または請求項2に記載の帳票作成
装置。
3. Using the data extracted by the search unit.
Editing section to create a new report using
3. Form creation according to claim 1 or 2, characterized in that
apparatus.
JP05276899A 1993-11-05 1993-11-05 Form creation device Expired - Lifetime JP3143290B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05276899A JP3143290B2 (en) 1993-11-05 1993-11-05 Form creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05276899A JP3143290B2 (en) 1993-11-05 1993-11-05 Form creation device

Publications (2)

Publication Number Publication Date
JPH07129585A JPH07129585A (en) 1995-05-19
JP3143290B2 true JP3143290B2 (en) 2001-03-07

Family

ID=17575944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05276899A Expired - Lifetime JP3143290B2 (en) 1993-11-05 1993-11-05 Form creation device

Country Status (1)

Country Link
JP (1) JP3143290B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6756102B2 (en) * 2015-12-28 2020-09-16 セイコーエプソン株式会社 Information processing device, information processing method of information processing device, and information processing system

Also Published As

Publication number Publication date
JPH07129585A (en) 1995-05-19

Similar Documents

Publication Publication Date Title
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
US20040083241A1 (en) Image displaying program product and an image displaying apparatus
JP2002236569A (en) Method for digitally printing composite document
JP3143290B2 (en) Form creation device
JPH08202731A (en) Image processing method
CA2342068A1 (en) Converting method for converting documents between different locales
JP2006171851A (en) Document file analysis system, document file analysis method, and program
JP3122417B2 (en) Information display method and information processing device
JP2004318766A (en) Information retrieval device, program and storage medium
JP2000076226A (en) Document data editing system
JP7314627B2 (en) CONTROL DEVICE, IMAGE FORMING APPARATUS, CONTROL METHOD AND CONTROL PROGRAM
JP2003132078A (en) Database construction device, method therefor, program thereof and recording medium
JP2001202362A (en) Character editing processor
JP4334987B2 (en) DTP editing apparatus having area designation function and data cutout function
JP2011070294A (en) Image processing system, information processor, image processor and program
JP3647183B2 (en) Image processing apparatus and method
JP3952009B2 (en) Translation memory system, translation method, and program for translation memory system
JP2000280435A (en) Delivered data checking system
JPH05314108A (en) Document editor
JP5390880B2 (en) External character bitmap data extraction method
JP4522155B2 (en) Information processing apparatus, display control method thereof, program, and storage medium
JP2000029655A (en) Printer and recording medium
JPS6359658A (en) Document processor
JPH0682379B2 (en) Document creation / editing device
JPH0895963A (en) Document processor with edge character printing function

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001124

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 13

EXPY Cancellation because of completion of term