JP2003132045A - Data processing device, print data processing method, storage medium and program - Google Patents

Data processing device, print data processing method, storage medium and program

Info

Publication number
JP2003132045A
JP2003132045A JP2001321612A JP2001321612A JP2003132045A JP 2003132045 A JP2003132045 A JP 2003132045A JP 2001321612 A JP2001321612 A JP 2001321612A JP 2001321612 A JP2001321612 A JP 2001321612A JP 2003132045 A JP2003132045 A JP 2003132045A
Authority
JP
Japan
Prior art keywords
field
data processing
character string
graphic
acquired
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
JP2001321612A
Other languages
Japanese (ja)
Inventor
Kenta Hara
健太 原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001321612A priority Critical patent/JP2003132045A/en
Publication of JP2003132045A publication Critical patent/JP2003132045A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To process for determining whether or not a designated object can be disposed without protruding from a field graphic in a short time. SOLUTION: The data processing device, as its feature, is composed such that, when given data are acquired from a database in a HD drive 206 and the object is processed and merged in a plurality of designated field graphics according to field information in the given data, a CPU 201 acquires the maximum width of designated font of the field graphic from the field information, based on the acquired maximum width of the designated font of the field graphic, derives the maximum length of a character string displayed for each field graphic, and previously determines whether or not the derived maximum length of the character string displayed for each field graphic is smaller than the width of the field graphic.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データベースより
所定のデータを取得し、該所定のデータ中のフィールド
情報に従ってオブジェクトを指定される複数のフィール
ド図形内に差込み印刷処理するデータ処理装置および印
刷データ処理方法および記憶媒体およびプログラムに関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device and print data for obtaining predetermined data from a database and performing an insert printing process on an object in a plurality of field figures designated according to field information in the predetermined data. The present invention relates to a processing method, a storage medium, and a program.

【0002】[0002]

【従来の技術】従来、この種のデータ処理装置における
差込印刷処理は、単ページもしくは複数ページに1レコ
ードのデータを埋め込んで印刷を行う印刷方式であり、
一度に複数レコードの印刷を行う。
2. Description of the Related Art Conventionally, the insertion printing process in this type of data processing apparatus is a printing method in which data of one record is embedded in a single page or a plurality of pages for printing.
Print multiple records at once.

【0003】図12,図13は、この種のデータ処理装
置における差込印刷処理状態を説明する図である。
FIG. 12 and FIG. 13 are views for explaining the insertion print processing state in this type of data processing apparatus.

【0004】従来の差込印刷においては、図12,図1
3に示すように差し込む文字列の長さがレコードによっ
て異なるため、フィールド枠と呼ばれるユーザに指定さ
れた枠から文字列がはみ出す可能性がある。
In the conventional merge printing, FIG. 12 and FIG.
As shown in FIG. 3, the length of the character string to be inserted differs depending on the record, and therefore the character string may extend out of the frame called the field frame designated by the user.

【0005】枠の幅を広げると枠から文字列がはみ出さ
ずにすむ可能性が高いが、印刷物によっては、枠の幅を
狭くする方が多量の情報を印刷することができるため、
可能な限り枠を狭くする必要がある場合がある。
When the width of the frame is widened, there is a high possibility that the character string will not run off from the frame, but depending on the printed matter, the narrower the width of the frame, the more information can be printed.
It may be necessary to make the frame as narrow as possible.

【0006】図14,図15は、この種のデータ処理装
置におけるフィールド枠はみ出しチェックプログラムの
起動指示処理動作を説明する表示画面例を示す図であ
り、図14は、差込印刷方式のプログラムの画面構成例
に対応し、指示項目1502を図示しないカーソルで指
示すると、図15に示すフィールド枠を文字列がはみ出
すかをチェックするメニュー表示例が図示しないディス
プレイに表示される状態に対応する。なお、図15にお
いて、1601は起動コマンドで、該起動コマンド16
01が選択指示されると、フィールド枠を文字列がはみ
出すかをチェックするプログラムが起動される。
FIG. 14 and FIG. 15 are diagrams showing examples of display screens for explaining the start instruction processing operation of the field frame protrusion check program in this type of data processing apparatus, and FIG. Corresponding to the screen configuration example, when the instruction item 1502 is designated by a cursor (not shown), a menu display example for checking whether a character string extends out of the field frame shown in FIG. 15 corresponds to a state displayed on the display (not shown). In FIG. 15, 1601 is a start command, and the start command 16
When 01 is instructed to be selected, a program for checking whether the character string extends outside the field frame is started.

【0007】また、従来の差込印刷においては、印刷物
のデザイン時に、枠から文字列がはみ出さないかどうか
を事前にチェックする機能があるものがある。図14の
差込印刷プログラム1501において、画面上のメニュ
ー1502を選択し、チェックをするための起動コマン
ド1601を選択することにより、図16に示すような
ダイアログ1401を表示し、Startボタン140
2を押下する。1503はテキストフィールドである。
Further, in the conventional insertion printing, there is one having a function of checking beforehand whether or not the character string does not protrude from the frame when designing the printed matter. In the merge print program 1501 of FIG. 14, by selecting the menu 1502 on the screen and selecting the start command 1601 for checking, a dialog 1401 as shown in FIG. 16 is displayed, and the Start button 140 is displayed.
Press 2. 1503 is a text field.

【0008】図17は、この種のデータ処理装置におけ
るデータベース構築例を示す図である。
FIG. 17 is a diagram showing an example of database construction in this type of data processing apparatus.

【0009】図17に示すように差込印刷プログラム3
03はデータベース1001からOS302を経由し差
込データを取得し、データエリアに格納されているフォ
ント情報に対応するフォントファイル1002から、O
S302を経由し、フォント詳細情報を取得し、文字列
と各文字の文字幅から、文字列の長さを計算し、フィー
ルドの幅と文字列の長さを比較して、フィールド枠をは
み出すかどうかチェックを行い、もしフィールドの枠を
はみ出す場合には、図16の領域1403にレコード番
号、フィールド名と共にフィールド枠を文字がはみ出し
た旨の文字列を表示する。なお、データファイル100
3は独自データを保存している。
As shown in FIG. 17, the insertion print program 3
03 acquires plug-in data from the database 1001 via the OS 302, and outputs O from the font file 1002 corresponding to the font information stored in the data area.
Obtain detailed font information via S302, calculate the length of the character string from the character string and the character width of each character, compare the field width with the character string length, and stick out the field frame. If it is checked, and if the field frame is projected, a character string indicating that the character has overflowed the field frame is displayed together with the record number and the field name in the area 1403 of FIG. The data file 100
3 stores unique data.

【0010】これにより、ユーザはフィールド枠を文字
列がはみ出すことを理解し、対応するフィールド図形の
フィールド枠の調整を行い、フィールド枠から文字列が
はみ出さないようにすることが可能となる。
This allows the user to understand that the character string extends out of the field frame, adjust the field frame of the corresponding field figure, and prevent the character string from protruding out of the field frame.

【0011】[0011]

【発明が解決しようとする課題】従来のデータ処理装置
における差込印刷処理方式の場合、フィールド枠から文
字列がはみ出すかどうか、全てのレコードでチェックす
ると、印刷するレコードの数が多い場合、膨大な時間が
かかる。このため、チェックするレコード件数を限定す
る場合もあるが、その場合は、チェックしなかったレコ
ードにおいてフィールド枠から文字列がはみ出す可能性
がある。
In the case of the insertion print processing method in the conventional data processing apparatus, if all the records are checked to see if the character string extends out of the field frame, a large number of records are printed. It takes a long time. Therefore, the number of records to be checked may be limited, but in that case, there is a possibility that the character string may overflow from the field frame in the unchecked records.

【0012】そして、フィールド枠から文字列がはみ出
す場合には、印字する文字サイズを小さくして、この問
題を回避する印刷方式もあるが、その場合は、文字列の
大きさのバランスが狂う等、印刷体裁が変わることが問
題になる場合もあり、その改善が切望されている。
There is also a printing method for avoiding this problem by reducing the size of characters to be printed when the character string extends out of the field frame, but in that case, the size of the character string is out of balance. In some cases, changing the print format may be a problem, and there is a strong demand for improvement.

【0013】本発明は、上記の問題点を解決するために
なされたもので、本発明の目的は、データベースより所
定のデータを取得し、該所定のデータ中のフィールド情
報に従ってオブジェクトを指定される複数のフィールド
図形内に差込印刷処理するデータ処理装置において、前
記フィールド情報よりフィールド図形の指定フォントの
最大幅を取得し、該取得される前記フィールド図形の指
定フォントの最大幅に基づき、各フィールド図形に表示
される文字列の最大長さを導出し、該導出される各フィ
ールド図形に表示される文字列の最大長さがフィールド
図形の幅より小さいかどうかを判定することにより、フ
ィールド図形に対して指定されたオブジェクトをはみ出
すことなく配置可能かどうかを短時間に判定処理するこ
とできるデータ処理装置および印刷データ処理方法およ
び記憶媒体およびプログラムを提供することである。
The present invention has been made to solve the above problems, and an object of the present invention is to acquire predetermined data from a database and specify an object according to field information in the predetermined data. In a data processing device for inserting print processing into a plurality of field figures, a maximum width of a designated font of the field figure is acquired from the field information, and each field is acquired based on the obtained maximum width of the designated font of the field figure. By deriving the maximum length of the character string displayed on the graphic and determining whether the maximum length of the derived character string displayed on each field graphic is smaller than the width of the field graphic, the field graphic is displayed. Data processing that can determine in a short time whether or not the specified object can be placed without protruding It is to provide an apparatus and a print data processing method and storage medium, and a program.

【0014】[0014]

【課題を解決するための手段】本発明に係る第1の発明
は、データベースより所定のデータを取得し、該所定の
データ中のフィールド情報に従ってオブジェクトを指定
される複数のフィールド図形内に差込み印刷処理するデ
ータ処理装置であって、前記フィールド情報よりフィー
ルド図形の指定フォントの最大幅を取得する取得手段
(図10に示すステップ(805))と、前記取得手段
により取得される前記フィールド図形の指定フォントの
最大幅に基づき、各フィールド図形に表示される文字列
の最大長さを求める導出手段(図10に示すステップ
(807))と、前記導出手段により導出される各フィ
ールド図形に表示される文字列の最大長さがフィールド
図形の幅より小さいかどうかを判定する第1の判定手段
(図10に示すステップ(808))とを有することを
特徴とする。
A first aspect of the present invention is to obtain predetermined data from a database, and perform an insertion print in a plurality of field figures in which an object is designated according to field information in the predetermined data. A data processing device for processing, the obtaining means (step (805) shown in FIG. 10) for obtaining the maximum width of the designated font of the field figure from the field information, and the designation of the field figure obtained by the obtaining means. Derivation means (step (807) shown in FIG. 10) for obtaining the maximum length of the character string displayed in each field graphic based on the maximum width of the font, and displayed in each field graphic derived by the derivation means. First judging means (step shown in FIG. 10) for judging whether the maximum length of the character string is smaller than the width of the field graphic. (808)) and characterized by having a.

【0015】本発明に係る第2の発明は、前記取得手段
によりフィールド図形の指定フォントの最大幅を取得で
きたか否かを判定する第2の判定手段(図10に示すス
テップ(806))と、前記第2の判定手段によりフィ
ールド図形の指定フォントの最大幅を取得できなかった
と判定した場合に、フィールド図形に表示される文字列
がフィールド図形の外接矩形を超えるかどうかの判定を
行う第3の判定手段と(図9に示すステップ910)を
有することを特徴とする。
A second aspect of the present invention is the second determination means (step (806) shown in FIG. 10) for determining whether or not the maximum width of the designated font of the field graphic has been acquired by the acquisition means. When it is determined by the second determining means that the maximum width of the designated font of the field graphic could not be acquired, it is determined whether the character string displayed in the field graphic exceeds the circumscribed rectangle of the field graphic. And the determination means (step 910 shown in FIG. 9).

【0016】本発明に係る第3の発明は、前記フィール
ド情報よりフィールドの桁数を取得できたか否かを判定
する第4の判定手段(図10に示すステップ(81
3))と、前記第4の判定手段によりフィールドの桁数
を取得できなかったと判定した場合に、全てのフィール
ド図形において、フィールド図形に表示される文字列が
フィールド図形の外接矩形を超えるかどうかの判定を行
う第5の判定手段(図9に示すステップ910)とを有
することを特徴とする。
A third invention according to the present invention is a fourth judging means (step (81 shown in FIG. 10) for judging whether or not the digit number of the field can be acquired from the field information.
3)), and if it is determined by the fourth determination means that the number of digits of the field could not be acquired, whether the character string displayed in the field graphic exceeds the circumscribed rectangle of the field graphic in all field graphics. And a fifth judgment means (step 910 shown in FIG. 9) for making the judgment.

【0017】本発明に係る第4の発明は、前記フィール
ドの桁数が可変長であった場合に、フィールド図形に表
示される文字列がフィールド図形の外接矩形を超えるか
どうかの判定を行う第6の判定手段を有することを特徴
とする。
In a fourth aspect of the present invention, when the number of digits in the field is variable, it is determined whether the character string displayed on the field graphic exceeds the circumscribed rectangle of the field graphic. It is characterized by having a judging means of 6.

【0018】本発明に係る第5の発明は、前記オブジェ
クトは、文字列,数値,イメージ等を含むことを特徴と
する。
A fifth invention according to the present invention is characterized in that the object includes a character string, a numerical value, an image and the like.

【0019】本発明に係る第6の発明は、データベース
より所定のデータを取得し、該所定のデータ中のフィー
ルド情報に従ってオブジェクトを指定される複数のフィ
ールド図形内に差込み印刷処理するデータ処理装置にお
ける印刷データ処理方法であって、前記フィールド情報
よりフィールド図形の指定フォントの最大幅を取得する
取得ステップ(図10に示すステップ(805))と、
前記取得ステップにより取得される前記フィールド図形
の指定フォントの最大幅に基づき、各フィールド図形に
表示される文字列の最大長さを求める導出ステップ(図
10に示すステップ(807))と、前記導出ステップ
により導出される各フィールド図形に表示される文字列
の最大長さがフィールド図形の幅より小さいかどうかを
判定する第1の判定ステップ(図10に示すステップ
(808))とを有することを特徴とする。
A sixth invention according to the present invention is a data processing apparatus for acquiring predetermined data from a database, and inserting and printing an object into a plurality of field figures designated according to field information in the predetermined data. A print data processing method, which comprises an acquisition step (step (805) shown in FIG. 10) of acquiring a maximum width of a designated font of a field graphic from the field information;
A derivation step (step (807) shown in FIG. 10) for obtaining the maximum length of the character string displayed in each field graphic based on the maximum width of the designated font of the field graphic acquired in the acquisition step; A first determination step (step (808) shown in FIG. 10) for determining whether or not the maximum length of the character string displayed in each field graphic derived by the step is smaller than the width of the field graphic. Characterize.

【0020】本発明に係る第7の発明は、前記取得ステ
ップによりフィールド図形の指定フォントの最大幅を取
得できたか否かを判定する第2の判定ステップ(図10
に示すステップ(806))と、前記第2の判定ステッ
プによりフィールド図形の指定フォントの最大幅を取得
できなかったと判定した場合に、フィールド図形に表示
される文字列がフィールド図形の外接矩形を超えるかど
うかの判定を行う第3の判定ステップ(図9に示すステ
ップ910)とを有することを特徴とする。
A seventh invention according to the present invention is a second judging step (FIG. 10) for judging whether or not the maximum width of the designated font of the field graphic can be acquired by the acquiring step.
(806)) and the second determination step, it is determined that the maximum width of the designated font of the field graphic cannot be acquired, and the character string displayed in the field graphic exceeds the circumscribed rectangle of the field graphic. And a third determination step (step 910 shown in FIG. 9) for determining whether or not it is.

【0021】本発明に係る第8の発明は、前記フィール
ド情報よりフィールドの桁数を取得できたか否かを判定
する第4の判定ステップ(図10に示すステップ(81
3))と、前記第4の判定ステップによりフィールドの
桁数を取得できなかったと判定した場合に、全てのフィ
ールド図形において、フィールド図形に表示される文字
列がフィールド図形の外接矩形を超えるかどうかの判定
を行う第5の判定ステップ(図9に示すステップ91
0)とを有することを特徴とする。
An eighth invention according to the present invention is the fourth judgment step (step (81 (81) shown in FIG. 10) for judging whether or not the number of digits of the field can be acquired from the field information.
3)), and if it is determined in the fourth determination step that the number of digits of the field could not be acquired, whether the character string displayed in the field graphic exceeds the circumscribed rectangle of the field graphic in all field graphics. The fifth determination step (step 91 shown in FIG. 9) for determining
0) and are included.

【0022】本発明に係る第9の発明は、前記フィール
ドの桁数が可変長であった場合に、フィールド図形に表
示される文字列がフィールド図形の外接矩形を超えるか
どうかの判定を行う第6の判定ステップを有することを
特徴とする。
A ninth invention according to the present invention is, in the case where the number of digits of the field is variable length, determining whether or not the character string displayed in the field graphic exceeds the circumscribed rectangle of the field graphic. It is characterized by having 6 determination steps.

【0023】本発明に係る第10の発明は、前記オブジ
ェクトは、文字列,数値,イメージ等を含むことを特徴
とする。
A tenth aspect of the present invention is characterized in that the object includes a character string, a numerical value, an image and the like.

【0024】本発明に係る第11の発明は、第6〜第1
0の発明のいずれかに記載された印刷データ処理方法を
実現するプログラムを記憶したコンピュータが読み取り
可能な記憶媒体であることを特徴とする。
The eleventh invention according to the present invention is the sixth to first inventions.
The present invention is a computer-readable storage medium that stores a program for implementing the print data processing method according to any one of the above-mentioned inventions.

【0025】本発明に係る第12の発明は、第6〜第1
0の発明のいずれかに記載された印刷データ処理方法を
実現するプログラムであることを特徴とする。
The twelfth invention of the present invention is the sixth to first inventions.
It is a program that realizes the print data processing method according to any one of the inventions.

【0026】[0026]

【発明の実施の形態】〔第1実施形態〕図1は、本発明
の第1実施形態を示すデータ処理装置の構成を説明する
ブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION [First Embodiment] FIG. 1 is a block diagram illustrating the configuration of a data processing apparatus according to a first embodiment of the present invention.

【0027】図1において、201はCPUで、基本I
/Oプログラム、OS、および差込印刷プログラムを実
行することによって種々のデータ処理を実行する。基本
I/OプログラムはROM202に書き込まれており、
OSは、ハードディスクドライブ(HD)ドライブ20
6に書き込まれている。そして、本制御装置の電源がO
Nされたときに、基本I/Oプログラム中のIPL(イ
ニシャルプログラムローディング)機能によりHD20
6からOSがRAM203に読み込まれ、OSの動作が
開始される。
In FIG. 1, 201 is a CPU, which is a basic I
Various data processes are executed by executing the / O program, the OS, and the merge print program. The basic I / O program is written in the ROM 202,
OS is a hard disk drive (HD) drive 20
Written in 6. Then, the power supply of this control device is O
When it is N, the HD20 is set by the IPL (Initial Program Loading) function in the basic I / O program.
The OS is loaded into the RAM 203 from 6 and the operation of the OS is started.

【0028】差込印刷プログラムは、図1に示される図
形操作方法による制御方法における動作の流れを示すフ
ローチャートに基づいてプログラムコード化されたもの
である。
The merge print program is program coded based on the flowchart showing the flow of the operation in the control method by the graphic operation method shown in FIG.

【0029】本実施形態の場合には、差込印刷プログラ
ム、および関連データはフレキシブルディスク(FD)
205中に記録されており、その記録されている内容の
構成を図2に示す。204はフレキシブルディスク(F
D)ドライブで、FD205に対する読み出しまた書き
込みを制御する。207はキーボード、208はディス
プレイ、209はプリンタ、210は内部バスである。
In the case of this embodiment, the insertion print program and the related data are the flexible disk (FD).
FIG. 2 shows the structure of the contents recorded in 205. 204 is a flexible disk (F
D) The drive controls reading or writing to the FD 205. Reference numeral 207 is a keyboard, 208 is a display, 209 is a printer, and 210 is an internal bus.

【0030】図2は、図1に示したフレキシブルディス
ク(FD)205のメモリマップを説明する図である。
FIG. 2 is a diagram for explaining the memory map of the flexible disk (FD) 205 shown in FIG.

【0031】図2において、FD205に記録された差
込印刷プログラム、および関連データは、図3に示すよ
うにデータ処理装置に設けられるFDドライブ204を
通じて本コンピュータシステムにロードすることができ
る。
In FIG. 2, the insertion print program and related data recorded in the FD 205 can be loaded into the computer system through the FD drive 204 provided in the data processing device as shown in FIG.

【0032】図3は、本発明に係るデータ処理装置に対
するプログラム等のデータロード処理方法を説明する図
である。
FIG. 3 is a diagram for explaining a data load processing method such as a program for the data processing device according to the present invention.

【0033】図3において、FD205をFDドライブ
204にセットすると、OS、および、基本I/Oプロ
グラムの制御のもとに、本差込印刷プログラム、およ
び、関連データがFD205から読み出され、RAM2
03にロードされて動作可能となる。
In FIG. 3, when the FD 205 is set in the FD drive 204, this insertion print program and related data are read out from the FD 205 under the control of the OS and the basic I / O program, and the RAM 2
It is loaded into 03 and becomes operable.

【0034】図4は、図1に示したRAM203のメモ
リマップを示す図であり、本差込印刷プログラムが、R
AM203にロードされ実行可能となった状態のメモリ
マップに対応する。
FIG. 4 is a diagram showing a memory map of the RAM 203 shown in FIG.
It corresponds to the memory map in a state where it is loaded into the AM 203 and becomes executable.

【0035】本実施形態では、FD205から、差込印
刷プログラム、および関連データを直接RAM203に
ロードして実行させる例を示したが、この他に、FD2
05から差込印刷プログラム、および関連データをいっ
たんHD206に格納(インストール)しておき、差込
印刷プログラムを動作させる時点で、HD206からR
AM203にロードするようにしてもよい。
In this embodiment, an example in which the insertion print program and related data are directly loaded from the FD 205 to the RAM 203 and executed is shown.
From 05, the insertion print program and related data are temporarily stored (installed) in the HD 206, and when the insertion print program is operated, the HD 206 reads the R
It may be loaded in the AM 203.

【0036】また、本差込印刷プログラムを記録する媒
体は、FD以外にCD−ROM、ICメモリカード等で
あってもよい。更に、本差込印刷プログラムをROM2
02に記録しておき、これをメモリマップの一部となる
ように構成し、直接CPU201で実行することも可能
である。
The medium for recording the merge print program may be a CD-ROM, an IC memory card or the like, in addition to the FD. In addition, this plug-in print program is stored in ROM2.
It is also possible to record it in 02, configure it so as to be a part of the memory map, and execute it directly by the CPU 201.

【0037】以下に本実施形態の動作の説明を行う。The operation of this embodiment will be described below.

【0038】先ず、従来の差込印刷方式と同様に、フィ
ールドのチェックを行う。差込印刷プログラムの独自デ
ータについては、既に図17のデータファイル1003
から、OS302を経由して、RAM203上のデータ
エリア304に、図5に示すように読み込まれているも
のとする。
First, the field is checked as in the conventional insertion printing method. For the unique data of the merge print program, the data file 1003 of FIG.
It is assumed that the data has been loaded into the data area 304 on the RAM 203 via the OS 302 as shown in FIG.

【0039】図5は、図1に示したRAM203に対す
る独自データファイルを差込印刷プログラム関連データ
上に展開した状態を説明するメモリマップである。
FIG. 5 is a memory map for explaining a state where the unique data file for the RAM 203 shown in FIG. 1 is expanded on the insertion print program-related data.

【0040】図5において、独自データは、データ全体
を管理するデータ管理情報1102、データベース10
01から取得した1レコードのデータを格納するレコー
ドデータ格納エリア1103とフィールド図形をはじめ
とする複数の図形データを格納する図形データエリア1
104で構成される。
In FIG. 5, the unique data is the data management information 1102 for managing the entire data and the database 10.
A record data storage area 1103 for storing the data of one record acquired from 01 and a graphic data area 1 for storing a plurality of graphic data including field graphics
It is composed of 104.

【0041】図6は、図5に示すデータ管理情報110
2のデータ構造を説明する図であり、図7は、図5に示
すレコードデータ格納エリア1103のデータ構造を説
明する図である。
FIG. 6 shows the data management information 110 shown in FIG.
2 is a diagram for explaining the data structure of No. 2, and FIG. 7 is a diagram for explaining the data structure of the record data storage area 1103 shown in FIG.

【0042】データ管理情報1102には、図6に示す
ように全図形の数を格納する領域OBJECTNUM1
301、フィールドの枠をはみ出すかどうかの判定が必
ず必要かどうかの判定フラグCHECKMUST130
2、フィールドの数を格納する領域FIELDNUM1
303等がある。レコードデータ格納エリア1103
は、図7で示す構造体で構成され、その構造体は、フィ
ールドの名前を示すFIELD NAME1701と、
フィールドの桁数を示すFIELD LEN1702
と、データベース1001から取得したレコードのフィ
ールドの文字列を格納する領域FIELD STRIN
G1703とで構成される。図形データの一例として、
図8にフィールド図形の例を示す。
In the data management information 1102, as shown in FIG. 6, an area OBJECTNUM1 for storing the number of all figures.
301, a determination flag CHECKMUST 130 for determining whether or not it is absolutely necessary to determine whether or not the frame of the field is projected
2. Field FIELDNUM1 for storing the number of fields
There are 303 etc. Record data storage area 1103
Is composed of the structure shown in FIG. 7, and the structure is FIELD NAME 1701 indicating the name of the field,
FIELD LEN1702 indicating the number of digits in the field
And an area FIELD STRIN for storing the character string of the field of the record acquired from the database 1001.
And G1703. As an example of graphic data,
FIG. 8 shows an example of a field figure.

【0043】図8は、本発明に係るデータ処理装置にお
けるフィールド図形のメモリマップを説明する図であ
る。
FIG. 8 is a diagram for explaining a memory map of field figures in the data processing apparatus according to the present invention.

【0044】図8において、フィールド図形は、外接矩
形(RECT)1202、フォント名(FONT NA
ME)1203、フォントサイズ(FONT SIZ
E)1204、フィールドチェック情報(CHECK)
1205、フィールドロジック(LOGIC)120
6、表示文字列(STRING)1207で構成されて
いる。
In FIG. 8, the field graphic is a circumscribed rectangle (RECT) 1202, a font name (FONT NA).
ME) 1203, font size (FONT SIZ
E) 1204, field check information (CHECK)
1205, field logic (LOGIC) 120
6 and a display character string (STRING) 1207.

【0045】まず、フィールド枠をはみ出すかどうかの
チェック処理について、図9,図10に示すフローチャ
ートに従って説明する。
First, the process of checking whether or not the field frame is projected will be described with reference to the flowcharts shown in FIGS.

【0046】図9は、本発明に係るデータ処理装置にお
ける第1のデータ処理手順の一例を示すフローチャート
であり、フィールド枠をはみ出すかどうかのチェック処
理手順に対応する。なお、(901)〜(914)は各
ステップを示す。
FIG. 9 is a flow chart showing an example of a first data processing procedure in the data processing apparatus according to the present invention, which corresponds to a check processing procedure for checking whether or not the field frame is projected. In addition, (901)-(914) shows each step.

【0047】最初に、あらかじめ設定してあるデータベ
ース図17の(1001)をオープンする(901)。
次にフォントの最大幅による事前チェック処理(詳細は
後述する)を行う(902)。
First, the preset database (1001) in FIG. 17 is opened (901).
Next, a preliminary check process (details will be described later) based on the maximum width of the font is performed (902).

【0048】このようしてフォントの最大幅による事前
チェック処理終了後(902)、データベース1001
からデータを取得する際に次のレコードがあるかどうか
どうか調べて(903)、全てのレコードが終了したと
判断した場合には、データベース1001をクローズし
て(913)、処理を終了する。
In this way, after the completion of the preliminary check processing by the maximum width of the font (902), the database 1001
When acquiring the data from, whether or not there is a next record is checked (903), and when it is determined that all the records are finished, the database 1001 is closed (913) and the process is finished.

【0049】一方、ステップ(903)において、次の
レコードがあると判断した場合には、1レコード分、デ
ータベースからレコードを取得し(904)、図5のレ
コードデータ格納エリア1103の図7に示した構造体
のFIELD STRING1703にフィールドの文
字列を順次格納する。
On the other hand, when it is determined in step (903) that there is a next record, one record is acquired from the database (904) and shown in FIG. 7 of the record data storage area 1103 of FIG. The character strings of the fields are sequentially stored in the FIELD STRING 1703 of the structure.

【0050】次に、RAM203上のフィールド図形カ
ウンタiを0で初期化し(905)、全てのフィールド
図形が終わったかどうかを、フィールド図形カウンタi
とフィールド図形の数を格納する領域OBJECTNU
M1301の比較により判断して(906)、iがOB
JECTNUM1301未満であると判断した場合は、
フィールド図形全てのチェックが終わっていないと判断
し処理を継続する。
Next, the field figure counter i on the RAM 203 is initialized to 0 (905), and it is checked whether or not all the field figures are finished.
Area for storing the number of fields and field figures
Judging by comparison of M1301 (906), i is OB
If it is judged to be less than JECTNUM 1301,
It is determined that all the field figures have not been checked, and the processing is continued.

【0051】一方、ステップ(906)で、iがOBJ
ECTNUM1301以上であると判断した場合は、フ
ィールド図形全てのチェックが終わったと判断し、次の
レコードがあるかの判定処理を行うため、ステップ(9
03)へ戻る。
On the other hand, in step (906), i is OBJ
If it is determined that the number of fields is ECTNUM 1301 or more, it is determined that all field graphics have been checked, and it is determined whether there is a next record.
Return to 03).

【0052】次に、データ管理情報1102のフィール
ドの枠をはみ出すかどうかの判定が必要かどうかの判定
フラグCHECKMUST1302が「0」かどうかを
判断して(914)、CHECKMUST1302が
「0」でないと判断した場合は、フィールドの枠をはみ
出すかどうかの判定の処理を行うため、ステップ(90
8)以降へ進む。
Next, it is judged whether the judgment flag CHECKKMUST 1302 indicating whether or not it is necessary to judge whether the field frame of the data management information 1102 is out of range is "0" (914), and it is judged that CHECKKMUST 1302 is not "0". If so, step (90)
8) Go to the subsequent steps.

【0053】一方、ステップ(914)で、CHECK
MUST1302が「0」であると判断した場合は、フ
ィールド図形1201のCHECK1205が「1」か
どうか判断して(907)、CHECK1205が
「1」でない場合は、フィールドの枠をはみ出すかどう
かの判定が必要ないため、次のフィールド図形を調べる
ために、iをカウントアップする(912)。
On the other hand, in step (914), CHECK
When the MUST 1302 determines that it is “0”, it is determined whether the CHECK 1205 of the field graphic 1201 is “1” (907). When the CHECK 1205 is not “1”, it is determined whether the field frame is overlaid. Since it is not necessary, i is counted up to check the next field graphic (912).

【0054】一方、ステップ(907)で、CHECK
1205が「1」であると判断した場合は、フィールド
の枠をはみ出すかどうかの判定が必要であるため、フィ
ールド図形の文字列の生成処理を行う(908)。フィ
ールド図形の文字列は、フィールド図形1201のLO
GIC1206に設定してあるフィールド名が、レコー
ドデータ格納エリア1103のレコードデータの配列の
FIELD NAME1701と一致した構造体のFI
ELD STRING1703をフィールド図形120
1のSTRING1207に設定する。このSTRIN
G1207の文字列の幅を、以下の方法で計算する。
On the other hand, in step (907), CHECK
If it is determined that 1205 is "1", it is necessary to determine whether to extend the frame of the field, and therefore, the process of generating the character string of the field graphic is performed (908). The character string of the field graphic is the LO of the field graphic 1201.
The FI of the structure in which the field name set in the GIC 1206 matches the FIELD NAME 1701 of the record data array in the record data storage area 1103.
ELD STRING 1703 as a field graphic 120
1 to 1STRING 1207. This STRIN
The width of the character string of G1207 is calculated by the following method.

【0055】まず、フィールド図形1201のフォント
名1203とフォントサイズ1204に対応するフォン
トファイル1002から、OS(302)を経由し、フ
ォント詳細情報を取得する。
First, detailed font information is acquired from the font file 1002 corresponding to the font name 1203 and font size 1204 of the field graphic 1201 via the OS (302).

【0056】次に、文字列STRING1207の各文
字に対応するフォント詳細情報の文字幅を加算し、文字
列の長さを計算する(909)。
Next, the character width of the font detailed information corresponding to each character of the character string STRING 1207 is added to calculate the length of the character string (909).

【0057】そして、ステップ(909)により計算さ
れた文字列の長さが、フィールド図形1201のREC
T1202から求められるフィールド図形の幅よりも大
きいかどうか判断して(910)、ステップ(909)
により計算された文字列の長さが、フィールド図形12
01のRECT1202から求められるフィールド図形
の幅よりも大きい場合には、フィールド枠を文字列がは
み出すと判断し、エラーの通知を図16に示される領域
1403に表示する(911)。
Then, the length of the character string calculated in step (909) is the REC of the field graphic 1201.
It is judged whether it is larger than the width of the field figure obtained from T1202 (910), and step (909)
The length of the character string calculated by
If the width is larger than the field figure width obtained from the RECT 1202 of 01, it is determined that the character string exceeds the field frame, and an error notification is displayed in the area 1403 shown in FIG. 16 (911).

【0058】一方、ステップ(910)において、ステ
ップ(909)により計算された文字列の長さが、フィ
ールド図形1201のRECT1202から求められる
フィールド図形の幅よりも大きくないと判断した場合に
は、フィールド枠を文字列がはみ出さないと判断し、次
のフィールド図形を調べるために、iをカウントアップ
して(912)、ステップ(906)へ戻る。
On the other hand, if it is determined in step (910) that the length of the character string calculated in step (909) is not larger than the width of the field graphic obtained from RECT 1202 of the field graphic 1201, the field It is determined that the character string does not overflow the frame, and in order to check the next field figure, i is incremented (912) and the process returns to step (906).

【0059】上記のように、従来の方式によれば、文字
列全体の長さを正確に判断しなければならない。しか
し、フォントの最大幅の事前チェック処理において、例
えどんな文字列がデータベースに格納されている場合に
おいても、フィールド枠を文字列がはみ出さない保証が
得られれば、文字列全体の長さをレコード毎に行うこと
はなく、チェック処理の時間の短縮を図ることが可能と
なる。
As described above, according to the conventional method, the length of the entire character string must be accurately determined. However, in the pre-check process of the maximum width of the font, even if any character string is stored in the database, if it can be guaranteed that the character string does not overflow the field frame, the total length of the character string is recorded. It is not necessary to carry out each time, and it is possible to shorten the check processing time.

【0060】以下にフォントの最大幅による事前チェッ
ク処理について図10に示すフローチャートに従って説
明する。
The pre-check process based on the maximum font width will be described below with reference to the flowchart shown in FIG.

【0061】図10は、本発明に係るデータ処理装置に
おける第2のデータ処理手順の一例を示すフローチャー
トであり、図9に示したステップ(902)におけるフ
ォントの最大幅による事前チェック処理の詳細手順に対
応する。なお、(801)〜(814)は各ステップを
示す。
FIG. 10 is a flow chart showing an example of the second data processing procedure in the data processing apparatus according to the present invention. The detailed procedure of the preliminary check processing by the maximum width of the font in step (902) shown in FIG. Corresponding to. Note that (801) to (814) indicate each step.

【0062】まず、データベースの各フィールドの桁数
をフィールド毎に取得する(801)。そして、フィー
ルドの桁数が取得できたかどうかを判断して(81
2)、もし、フィールドの桁数が設定されていないと判
断した場合には、データ管理情報1102のCHECK
MUST1302に「1」をセットし(814)、フォ
ントの最大幅による事前チェック処理を終了する。
First, the number of digits in each field of the database is acquired for each field (801). Then, it is judged whether the number of digits in the field has been acquired (81
2), if it is determined that the number of digits in the field is not set, CHECK of the data management information 1102
"1" is set in the MUST 1302 (814), and the pre-check process based on the maximum width of the font ends.

【0063】一方、ステップ(812)で、フィールド
の桁数が設定されていると判断した場合には、CHEC
KMUST1302に「0」をセットし(813)、そ
れぞれのフィールドのFIELD NAME1701に
フィールド名を設定し、FIELD LEN1702に
フィールドの桁数を設定する。
On the other hand, if it is determined in step (812) that the number of digits in the field has been set, then CHEC
“0” is set in the KMUST 1302 (813), the field name is set in the FIELD NAME 1701 of each field, and the number of digits of the field is set in the FIELD LEN 1702.

【0064】もし、フィールドが可変長の場合は、FI
ELD NAME1701にフィールド名を設定し、F
IELD LEN1702に「−1」を設定する(81
0)。
If the field has a variable length, FI
Set the field name in ELD NAME1701 and press F
Set "-1" to the IEEL LEN 1702 (81
0).

【0065】次に、フィールド図形の数を取得し(80
2)、RAM203上のフィールド図形カウンタiを
「0」で初期化し(803)、全てのフィールド図形が
終わったかどうかを、フィールド図形カウンタiとフィ
ールド図形の数を格納する領域OBJECTNUM13
01の比較により判断して(804)、iがOBJEC
TNUM1301未満であると判断した場合は、フィー
ルド図形全てのチェックが終わっていないと判断し処理
を継続する。
Next, the number of field figures is acquired (80
2), the field figure counter i on the RAM 203 is initialized to "0" (803), and whether or not all the field figures have been finished is determined by the area OBJECTNUM13 which stores the field figure counter i and the number of field figures.
Judging by comparison of 01 (804), i is OBJEC
If it is determined that the number is less than TNUM1301, it is determined that all the field graphics have not been checked, and the process is continued.

【0066】一方、ステップ(804)で、iがOBJ
ECTNUM1301以上であると判断した場合は、フ
ィールド図形全てのチェックが終わったと判断し、最大
幅による事前チェックの処理を終了する。
On the other hand, in step (804), i is OBJ
When it is determined that the size is ECTNUM 1301 or more, it is determined that all the field figures have been checked, and the pre-check processing based on the maximum width is ended.

【0067】フィールド図形1201のフォント名12
03とフォントサイズ1204から、そのフォントの最
大幅を取得し(805)、フォントの最大幅が取得でき
たかどうかを判断して(806)、フォントの最大幅が
取得できなかったと判断した場合には、フィールド図形
の文字列全体でフィールド枠を出たかどうかチェックす
る必要があると判断し、フィールド図形1201のCH
ECK1205に「1」を設定する。
Font name 12 of field graphic 1201
From 03 and the font size 1204, the maximum width of the font is acquired (805), it is determined whether the maximum width of the font can be acquired (806), and when it is determined that the maximum width of the font cannot be acquired, , It is judged that it is necessary to check whether or not the whole field character string is out of the field frame, and the CH of the field figure 1201 is checked.
“1” is set in the ECK1205.

【0068】一方、ステップ(806)で、フォントの
最大幅が取得できたと判断した場合には、フィールド図
形1201のLOGIC1206に設定してあるフィー
ルド名が、レコードデータ格納エリア1103のレコー
ドデータの配列のFIELDNAME1701と一致し
た場合には、そのFIELD LEN1702とフォン
トの最大長を掛け算し、フィールド文字列の最大長さを
求める(807)。
On the other hand, when it is determined in step (806) that the maximum width of the font has been acquired, the field name set in the LOGIC 1206 of the field graphic 1201 is the record data array in the record data storage area 1103. If it matches the FIELDELME 1701, the FIELDLEN 1702 is multiplied by the maximum font length to obtain the maximum length of the field character string (807).

【0069】なお、フィールド文字列の最大長さは、例
えどんな文字コードがフィールドデータとして入ってい
ても、これ以上は長くならないという長さである。
The maximum length of the field character string is such that no matter what character code is entered as field data, it will not be longer than this.

【0070】このフィールド文字列の最大長が、フィー
ルド図形1201の外接矩形RECT1202から算出
される、実際のフィールド図形の幅よりも小さいかどう
かを判断して(808)、フィールド図形の幅よりも小
さいと判断した場合には、フィールド図形の文字列全体
でフィールド枠を出たかどうかチェックする必要がない
と判断し、フィールド図形1201のCHECK120
5に「0」を設定する(809)。
It is determined whether the maximum length of this field character string is smaller than the actual width of the field figure calculated from the circumscribing rectangle RECT1202 of the field figure 1201 (808), and it is smaller than the width of the field figure. If it is determined that it is not necessary to check whether or not the entire field graphic character string is out of the field frame, the CHECK 120 of the field graphic 1201 is determined.
"0" is set to 5 (809).

【0071】一方、ステップ(808)で、フィールド
図形の幅よりも大きいと判断した場合には、フィールド
図形の文字列全体でフィールド枠を出たかどうかチェッ
クする必要があると判断し、フィールド図形1201の
CHECK1205に「1」を設定する(810)。
On the other hand, when it is determined in step (808) that the width is larger than the width of the field graphic, it is determined that it is necessary to check whether or not the entire field character string of the field graphic has left the field frame. “1” is set in the CHECK 1205 of 810 (810).

【0072】その後、フィールド図形カウンタiを加算
し(811)、次のフィールド図形を調べる。
Thereafter, the field figure counter i is incremented (811) to check the next field figure.

【0073】これにより、フィールド図形に指定される
フォントの最大幅の事前チェック処理を行うことによっ
て、例えどんな文字列がデータベースに格納されている
場合においても、フィールド枠を文字列がはみ出さない
保証が得られれば、文字列全体の長さをレコード毎に行
うことはなく、文字列はみ出しチェック処理に要する時
間を大幅に短縮することが可能となる。
Thus, by performing the pre-check processing of the maximum width of the font specified in the field graphic, it is guaranteed that the character string does not overflow the field frame even if any character string is stored in the database. Is obtained, the length of the entire character string is not determined for each record, and the time required for the character string protrusion check process can be significantly reduced.

【0074】〔第2実施形態〕上記第1実施形態におい
ては、1行の文字列に限定した実施形態の説明であった
が、フィールド図形が複数行で構成される場合であって
も、フォントの最大幅による事前チェックを行うことに
よって、チェック処理の時間の短縮を図ることが可能と
なる。
[Second Embodiment] In the first embodiment, the description has been given of the embodiment in which the character string is limited to one line. However, even when the field figure is composed of a plurality of lines, the font It is possible to reduce the time required for the check process by performing the preliminary check with the maximum width of the check.

【0075】以下、図11に示すメモリマップを参照し
て本発明に係るデータ処理装置を適用可能な印刷システ
ムで読み出し可能なデータ処理プログラムの構成につい
て説明する。
The configuration of the data processing program that can be read by the printing system to which the data processing apparatus according to the present invention can be applied will be described below with reference to the memory map shown in FIG.

【0076】図11は、本発明に係る本発明に係るデー
タ処理装置を適用可能な印刷システムで読み出し可能な
各種データ処理プログラムを格納する記憶媒体のメモリ
マップを説明する図である。
FIG. 11 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by a printing system to which the data processing device according to the present invention can be applied.

【0077】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not particularly shown, information for managing the program group stored in the storage medium, for example, version information, creator information, and the like, and information depending on the OS and the like on the program reading side, such as the program, are stored. In some cases, an icon or the like for identification and display is also stored.

【0078】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the above directory. In addition, a program for installing various programs in a computer, or a program for decompressing the program to be installed when it is compressed may be stored.

【0079】本実施形態における図9,図10に示す機
能が外部からインストールされるプログラムによって、
ホストコンピュータにより遂行されていてもよい。そし
て、その場合、CD−ROMやフラッシュメモリやFD
等の記憶媒体により、あるいはネットワークを介して外
部の記憶媒体から、プログラムを含む情報群を出力装置
に供給される場合でも本発明は適用されるものである。
The functions shown in FIGS. 9 and 10 in this embodiment are installed by a program installed from the outside.
It may be performed by the host computer. And in that case, CD-ROM, flash memory, FD
The present invention can be applied to a case where an information group including a program is supplied to the output device from a storage medium such as the above or from an external storage medium via a network.

【0080】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium recording the program code of the software that realizes the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MP of the system or apparatus is supplied.
It goes without saying that the object of the present invention can also be achieved by U) reading and executing the program code stored in the storage medium.

【0081】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0082】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピー(登録商標)ディス
ク,ハードディスク,光ディスク,光磁気ディスク,C
D−ROM,CD−R,磁気テープ,不揮発性のメモリ
カード,ROM,EEPROM等を用いることができ
る。
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, C
A D-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, an EEPROM or the like can be used.

【0083】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also the OS (operating system) running on the computer based on the instruction of the program code. It goes without saying that this also includes the case where the above) performs a part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0084】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, The CPU or the like provided in the function expansion board or function expansion unit performs a part or all of the actual processing,
It goes without saying that the processing includes the case where the functions of the above-described embodiments are realized.

【0085】[0085]

【発明の効果】以上説明したように、本発明に係る第1
〜第12の発明によれば、データベースより所定のデー
タを取得し、該所定のデータ中のフィールド情報に従っ
てオブジェクトを指定される複数のフィールド図形内に
差込印刷処理するデータ処理装置において、前記フィー
ルド情報よりフィールド図形の指定フォントの最大幅を
取得し、該取得される前記フィールド図形の指定フォン
トの最大幅に基づき、各フィールド図形に表示される文
字列の最大長さを導出し、該導出される各フィールド図
形に表示される文字列の最大長さがフィールド図形の幅
より小さいかどうかを判定することにより、フィールド
図形に対して指定されたオブジェクトをはみ出すことな
く配置可能かどうかを短時間に判定処理することできる
という効果を奏する。
As described above, the first aspect of the present invention
According to the twelfth aspect of the invention, in the data processing device, the predetermined field is obtained from the database, and the object is inserted into a plurality of field figures designated according to the field information in the predetermined data. The maximum width of the designated font of the field figure is acquired from the information, and the maximum length of the character string displayed in each field figure is derived based on the obtained maximum width of the specified font of the field figure. By determining whether the maximum length of the character string displayed in each field graphic is smaller than the width of the field graphic, it is possible to quickly determine whether the specified object can be placed in the field graphic without protruding. This has the effect of enabling determination processing.

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

【図1】本発明の第1実施形態を示すデータ処理装置の
構成を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a data processing device according to a first embodiment of the present invention.

【図2】図1に示したフレキシブルディスク(FD)の
メモリマップを説明する図である。
FIG. 2 is a diagram illustrating a memory map of the flexible disk (FD) shown in FIG.

【図3】本発明に係るデータ処理装置に対するプログラ
ム等のデータロード処理方法を説明する図である。
FIG. 3 is a diagram illustrating a data loading processing method such as a program for the data processing device according to the present invention.

【図4】図1に示したRAMのメモリマップを示す図で
ある。
FIG. 4 is a diagram showing a memory map of the RAM shown in FIG.

【図5】図1に示したRAMに対する独自データファイ
ルを差込印刷プログラム関連データ上に展開した状態を
説明するメモリマップである。
5 is a memory map for explaining a state in which a unique data file for the RAM shown in FIG. 1 is expanded on the insertion print program-related data.

【図6】図5に示すデータ管理情報のデータ構造を説明
する図である
6 is a diagram illustrating a data structure of data management information shown in FIG.

【図7】図5に示すレコードデータ格納エリアのデータ
構造を説明する図である。
7 is a diagram illustrating a data structure of a record data storage area shown in FIG.

【図8】本発明に係るデータ処理装置におけるフィール
ド図形のメモリマップを説明する図である。
FIG. 8 is a diagram illustrating a memory map of field graphics in the data processing device according to the present invention.

【図9】本発明に係るデータ処理装置における第1のデ
ータ処理手順の一例を示すフローチャートである。
FIG. 9 is a flowchart showing an example of a first data processing procedure in the data processing device according to the present invention.

【図10】本発明に係るデータ処理装置における第2の
データ処理手順の一例を示すフローチャートである。
FIG. 10 is a flowchart showing an example of a second data processing procedure in the data processing device according to the present invention.

【図11】本発明に係るデータ処理装置を適用可能な印
刷システムで読み出し可能な各種データ処理プログラム
を格納する記憶媒体のメモリマップを説明する図であ
る。
FIG. 11 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by a printing system to which the data processing device according to the present invention is applicable.

【図12】この種のデータ処理装置における差込印刷処
理状態を説明する図である。
FIG. 12 is a diagram illustrating an insertion print processing state in this type of data processing apparatus.

【図13】この種のデータ処理装置における差込印刷処
理状態を説明する図である。
FIG. 13 is a diagram illustrating an insertion print processing state in this type of data processing apparatus.

【図14】この種のデータ処理装置における差込印刷方
式のプログラムの画面構成例を説明する図である。
FIG. 14 is a diagram illustrating a screen configuration example of a program of an insertion printing method in this type of data processing device.

【図15】この種のデータ処理装置における差込印刷方
式のプログラムの画面構成例を説明する図である。
FIG. 15 is a diagram illustrating an example of a screen configuration of a program of an insertion printing method in this type of data processing device.

【図16】この種のデータ処理装置におけるフィールド
枠を文字列がはみ出すかをチェックする機能を起動する
コマンドの画面構成例を説明する図である。
FIG. 16 is a diagram illustrating a screen configuration example of a command that activates a function of checking whether a character string extends out of a field frame in this type of data processing device.

【図17】この種のデータ処理装置におけるデータベー
ス構築例を示す図である。
FIG. 17 is a diagram showing an example of database construction in this type of data processing apparatus.

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

201 CPU 202 ROM 203 RAM 204 FDドライブ 205 FD等の記憶媒体 206 HDドライブ 207 キーボード 208 ディスプレイ 209 プリンタ 210 制御バス 201 CPU 202 ROM 203 RAM 204 FD drive 205 FD and other storage media 206 HD drive 207 keyboard 208 display 209 printer 210 control bus

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 データベースより所定のデータを取得
し、該所定のデータ中のフィールド情報に従ってオブジ
ェクトを指定される複数のフィールド図形内に差込み印
刷処理するデータ処理装置であって、 前記フィールド情報よりフィールド図形の指定フォント
の最大幅を取得する取得手段と、 前記取得手段により取得される前記フィールド図形の指
定フォントの最大幅に基づき、各フィールド図形に表示
される文字列の最大長さを求める導出手段と、 前記導出手段により導出される各フィールド図形に表示
される文字列の最大長さがフィールド図形の幅より小さ
いかどうかを判定する第1の判定手段と、を有すること
を特徴とするデータ処理装置。
1. A data processing device which acquires predetermined data from a database and performs an insertion print process on a plurality of field figures in which an object is designated according to field information in the predetermined data, wherein the field is obtained from the field information. Acquisition means for acquiring the maximum width of the designated font of the figure, and derivation means for obtaining the maximum length of the character string displayed in each field figure based on the maximum width of the designated font of the field figure acquired by the obtaining means. And a first determining means for determining whether or not the maximum length of the character string displayed on each field graphic derived by the deriving means is smaller than the width of the field graphic. apparatus.
【請求項2】 前記取得手段によりフィールド図形の指
定フォントの最大幅を取得できたか否かを判定する第2
の判定手段と、 前記第2の判定手段によりフィールド図形の指定フォン
トの最大幅を取得できなかったと判定した場合に、フィ
ールド図形に表示される文字列がフィールド図形の外接
矩形を超えるかどうかの判定を行う第3の判定手段と、
を有することを特徴とする請求項1記載のデータ処理装
置。
2. A second method for determining whether or not the maximum width of a designated font of a field graphic has been acquired by the acquisition means.
And the second determining means determines whether the maximum width of the designated font of the field graphic could not be acquired, and whether the character string displayed on the field graphic exceeds the circumscribed rectangle of the field graphic. Third determination means for performing
The data processing device according to claim 1, further comprising:
【請求項3】 前記フィールド情報よりフィールドの桁
数を取得できたか否かを判定する第4の判定手段と、 前記第4の判定手段によりフィールドの桁数を取得でき
なかったと判定した場合に、全てのフィールド図形にお
いて、フィールド図形に表示される文字列がフィールド
図形の外接矩形を超えるかどうかの判定を行う第5の判
定手段と、を有することを特徴とする請求項1記載のデ
ータ処理装置。
3. A fourth determining means for determining whether or not the digit number of the field can be acquired from the field information, and a case where it is determined that the digit number of the field cannot be acquired by the fourth determining means, The data processing apparatus according to claim 1, further comprising: a fifth determination unit that determines whether or not a character string displayed in the field graphic exceeds a circumscribed rectangle of the field graphic in all field graphics. .
【請求項4】 前記フィールドの桁数が可変長であった
場合に、フィールド図形に表示される文字列がフィール
ド図形の外接矩形を超えるかどうかの判定を行う第6の
判定手段を有することを特徴とする請求項3記載のデー
タ処理装置。
4. A sixth determination means for determining whether or not the character string displayed on the field graphic exceeds the circumscribed rectangle of the field graphic when the number of digits of the field is variable. The data processing apparatus according to claim 3, wherein the data processing apparatus is a data processing apparatus.
【請求項5】 前記オブジェクトは、文字列,数値,イ
メージ等を含むことを特徴とする請求項1記載のデータ
処理装置。
5. The data processing apparatus according to claim 1, wherein the object includes a character string, a numerical value, an image and the like.
【請求項6】 データベースより所定のデータを取得
し、該所定のデータ中のフィールド情報に従ってオブジ
ェクトを指定される複数のフィールド図形内に差込み印
刷処理するデータ処理装置における印刷データ処理方法
であって、 前記フィールド情報よりフィールド図形の指定フォント
の最大幅を取得する取得ステップと、 前記取得ステップにより取得される前記フィールド図形
の指定フォントの最大幅に基づき、各フィールド図形に
表示される文字列の最大長さを求める導出ステップと、 前記導出ステップにより導出される各フィールド図形に
表示される文字列の最大長さがフィールド図形の幅より
小さいかどうかを判定する第1の判定ステップと、を有
することを特徴とする印刷データ処理方法。
6. A print data processing method in a data processing device, which obtains predetermined data from a database, and inserts and prints an object into a plurality of field figures designated according to field information in the predetermined data, An acquisition step of acquiring the maximum width of the designated font of the field figure from the field information; and a maximum length of a character string displayed in each field figure based on the maximum width of the designated font of the field figure acquired in the obtaining step. And a first determining step of determining whether or not the maximum length of the character string displayed in each field figure derived by the deriving step is smaller than the width of the field figure. Characteristic print data processing method.
【請求項7】 前記取得ステップによりフィールド図形
の指定フォントの最大幅を取得できたか否かを判定する
第2の判定ステップと、 前記第2の判定ステップによりフィールド図形の指定フ
ォントの最大幅を取得できなかったと判定した場合に、
フィールド図形に表示される文字列がフィールド図形の
外接矩形を超えるかどうかの判定を行う第3の判定ステ
ップと、を有することを特徴とする請求項6記載の印刷
データ処理方法。
7. A second determination step of determining whether or not the maximum width of the designated font of the field figure has been obtained in the acquisition step, and a maximum width of the designated font of the field figure is obtained in the second determination step. If you decide that you could not,
7. The print data processing method according to claim 6, further comprising a third determination step of determining whether the character string displayed on the field graphic exceeds a circumscribed rectangle of the field graphic.
【請求項8】 前記フィールド情報よりフィールドの桁
数を取得できたか否かを判定する第4の判定ステップ
と、 前記第4の判定ステップによりフィールドの桁数を取得
できなかったと判定した場合に、全てのフィールド図形
において、フィールド図形に表示される文字列がフィー
ルド図形の外接矩形を超えるかどうかの判定を行う第5
の判定ステップと、を有することを特徴とする請求項6
記載の印刷データ処理方法。
8. A fourth determination step of determining whether or not the number of digits of the field can be acquired from the field information, and a case of determining that the number of digits of the field cannot be acquired by the fourth determination step, In all field figures, it is judged whether the character string displayed in the field figure exceeds the circumscribed rectangle of the field figure.
7. The determining step according to claim 6 is included.
Print data processing method described.
【請求項9】 前記フィールドの桁数が可変長であった
場合に、フィールド図形に表示される文字列がフィール
ド図形の外接矩形を超えるかどうかの判定を行う第6の
判定ステップを有することを特徴とする請求項8記載の
印刷データ処理方法。
9. A sixth determination step of determining whether or not the character string displayed on the field graphic exceeds the circumscribed rectangle of the field graphic when the number of digits of the field is variable. A print data processing method according to claim 8.
【請求項10】 前記オブジェクトは、文字列,数値,
イメージ等を含むことを特徴とする請求項6記載の印刷
データ処理方法。
10. The object is a character string, a numerical value,
7. The print data processing method according to claim 6, further comprising an image and the like.
【請求項11】 請求項6〜10のいずれかに記載の印
刷データ処理方法を実現するプログラムを記憶したコン
ピュータが読み取り可能な記憶媒体。
11. A computer-readable storage medium that stores a program that implements the print data processing method according to claim 6.
【請求項12】 請求項6〜10のいずれかに記載の印
刷データ処理方法を実現するプログラム。
12. A program for realizing the print data processing method according to claim 6.
JP2001321612A 2001-10-19 2001-10-19 Data processing device, print data processing method, storage medium and program Pending JP2003132045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001321612A JP2003132045A (en) 2001-10-19 2001-10-19 Data processing device, print data processing method, storage medium and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001321612A JP2003132045A (en) 2001-10-19 2001-10-19 Data processing device, print data processing method, storage medium and program

Publications (1)

Publication Number Publication Date
JP2003132045A true JP2003132045A (en) 2003-05-09

Family

ID=19138801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001321612A Pending JP2003132045A (en) 2001-10-19 2001-10-19 Data processing device, print data processing method, storage medium and program

Country Status (1)

Country Link
JP (1) JP2003132045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071623A (en) * 2012-09-28 2014-04-21 Dainippon Screen Mfg Co Ltd Print data processing device, print data processing method and print data processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071623A (en) * 2012-09-28 2014-04-21 Dainippon Screen Mfg Co Ltd Print data processing device, print data processing method and print data processing program

Similar Documents

Publication Publication Date Title
US7673235B2 (en) Method and apparatus for utilizing an object model to manage document parts for use in an electronic document
US8826224B2 (en) Apparatus and method for supporting model-driven development
JP2005536783A (en) Section extraction tool for pdf documents
KR20120030522A (en) System and method for injecting run-time programming code in a printing device
JP2003058528A (en) Character processor, character processing method and program
US6922697B1 (en) Structured document preparation method and computer-readable recording medium on which a structured document is recorded
US6915512B1 (en) Software editing with indication of format and processing state of each process of the software
US20060136820A1 (en) Information processing apparatus and method for handling forms
US6629101B1 (en) Data processing method and apparatus, and storage medium
US7664776B1 (en) Methods and apparatus for dynamic form definition
JP2003132045A (en) Data processing device, print data processing method, storage medium and program
JP2003015827A (en) Device, method for processing character, computer program and storage medium
JP2001273125A (en) Method and system for automatically generating source program, and program recording medium therefor
JP3209910B2 (en) Print control device and print control method
JP4289785B2 (en) Data processing apparatus, form data processing method, and storage medium
JP3261307B2 (en) Printing apparatus and data processing method for printing apparatus
JP2008033647A (en) Document set forming device and document set forming method
JP3466792B2 (en) Drawing search method and apparatus
JP3173716B2 (en) Output device, information processing system and data output method
JP3464056B2 (en) Document information editing device
JPH0916432A (en) Trace data analysis system
JP2001101327A (en) Information processing method, information processor and printing system
JP2003006183A (en) Information processor, information processing method, program and computer-readable medium storing the program
US7075665B1 (en) Creating operating system fonts from printer font metrics
JP2002259684A (en) Preprocessing system for card issue data