JPH05204907A - Business form preparing system - Google Patents

Business form preparing system

Info

Publication number
JPH05204907A
JPH05204907A JP4038741A JP3874192A JPH05204907A JP H05204907 A JPH05204907 A JP H05204907A JP 4038741 A JP4038741 A JP 4038741A JP 3874192 A JP3874192 A JP 3874192A JP H05204907 A JPH05204907 A JP H05204907A
Authority
JP
Japan
Prior art keywords
output
ruled line
graphic data
line
instructing
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
JP4038741A
Other languages
Japanese (ja)
Inventor
Hiroshi Soeda
寛 添田
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Kyushu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kyushu Ltd filed Critical NEC Software Kyushu Ltd
Priority to JP4038741A priority Critical patent/JPH05204907A/en
Publication of JPH05204907A publication Critical patent/JPH05204907A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To display a ruled line of a business form in a full line even in the case of preparing an undefined type business form, in the business form generat ing system. CONSTITUTION:When a ruled line output instruction (b) for instructing an output line of a ruled line is outputted from a program, a format ruled line output instructing means 1 outputs an output instructing signal (c) for showing its instruction contents. A graphic data converting means 2 derives coordinate values of a start point and an end point of the ruled line, based on an output line of the ruled line shot by the output instructing signal (c) and size of a character printed to paper 10, and outputs them as graphic data (d). The graphic data (d) is accumulated in a graphic data accumulating means 3, and thereafter, stored in an output file 7 by a graphic data store means 4. When character data (g) is outputted from the program, a text output instructing means 6 stores it in the output file 7. When a business form output instruction (h) is outputted from the program, a business form output means 8 outputs the graphic data (d) and the character data (g) stored in the output file 7 to the paper 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は帳票作成方式に関し、特
に、不定型帳票を作成する帳票作成方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form creating system, and more particularly to a form creating system for creating an irregular form.

【0002】[0002]

【従来の技術】予め印刷された帳票を用いずに、センタ
の日本語ページプリンタによってプログラムから出力さ
れる文字データを印字する時に帳票のイメージも同時に
印字するということは従来より行なわれている。このよ
うにすると、印刷された帳票を用意しておく必要がない
ので、経済的である。
2. Description of the Related Art It has been conventionally practiced to print an image of a form at the same time when character data output from a program is printed by a Japanese page printer of a center without using a preprinted form. This is economical because it is not necessary to prepare a printed form.

【0003】図2はこの種の従来の技術の一例を示すブ
ロック図であり、テキスト出力指示手段21と、出力用
ファイル22と、帳票出力手段23と、見出し文字,帳
票の枠を定義する見出し定義(帳票フォーマット),罫
線を定義する罫線定義が書式情報として予め登録されて
いる書式オーバレイ用ファイル24とから構成されてい
る。
FIG. 2 is a block diagram showing an example of this type of conventional technique. A text output instruction means 21, an output file 22, a form output means 23, a headline character, and a headline defining a frame of the form. A definition (form format) and a ruled line definition that defines a ruled line are composed of a format overlay file 24 registered in advance as format information.

【0004】テキスト出力指示手段21はプログラムか
ら文字データxが出力される毎に、文字データxを出力
用ファイル22に格納する。
The text output instruction means 21 stores the character data x in the output file 22 each time the program outputs the character data x.

【0005】1頁分の文字データxの出力が終了する
と、プログラムは帳票出力手段23に対して出力指示y
を出力する。
When the output of the character data x for one page is completed, the program instructs the form output means 23 to output y.
Is output.

【0006】これにより、帳票出力手段23は出力用フ
ァイル22の内容と、書式オーバレイ用ファイル24に
事前に登録されている書式情報zとを重ね合わせて用紙
25に印字する。
As a result, the form output means 23 superimposes the contents of the output file 22 and the format information z registered in advance in the format overlay file 24 and prints them on the paper 25.

【0007】このように、帳票が定型の場合はオーバレ
イ機能によりプログラムから出力される文字データと帳
票イメージとを同時に印字することができる。しかし、
罫線が任意行になる不定型帳票の場合は、事前に書式オ
ーバレイ用ファイル24に書式情報を登録しておくこと
ができないため、上述した従来の技術では対処すること
ができない。
As described above, when the form is a fixed form, the character data output from the program and the form image can be printed simultaneously by the overlay function. But,
In the case of an irregular form in which the ruled lines are arbitrary lines, the format information cannot be registered in the format overlay file 24 in advance, and therefore the above-described conventional technique cannot deal with it.

【0008】このため、不定型帳票のイメージと文字デ
ータとを同時に印字させる場合、従来はプログラムから
罫線の印字行に文字データである罫線コードを出力さ
せ、罫線も文字と同様に文字データである罫線コードを
用いて印字させるようにしている。
Therefore, when printing an image of an irregular form and character data at the same time, conventionally, a program outputs a ruled line code, which is character data, to a line for printing a ruled line, and the ruled line is also character data like a character. A ruled line code is used for printing.

【0009】[0009]

【発明が解決しようとする課題】上述したように、従来
は不定型帳票の罫線を文字データである罫線コードを用
いて印字するようにしているため、罫線が実線になら
ず、破線になってしまうという問題があった。
As described above, since the ruled lines of the irregular form are conventionally printed by using the ruled line code which is the character data, the ruled lines are not solid but broken. There was a problem that it would end up.

【0010】本発明の目的は不定型帳票を作成する場合
に於いても、罫線を実線にすることができる帳票作成方
式を提供することにある。
It is an object of the present invention to provide a form creation system in which a ruled line can be a solid line even when an irregular form is created.

【0011】[0011]

【課題を解決するための手段】本発明は上記目的を達成
するため、罫線の出力行を指示する罫線出力指示に応答
して前記罫線を示す図形データを出力する図形データ変
換手段と、該図形データ変換手段から出力された図形デ
ータに従って用紙に罫線を出力する帳票出力手段とを設
けたものである。
In order to achieve the above object, the present invention provides graphic data conversion means for outputting graphic data indicating a ruled line in response to a ruled line output instruction for instructing an output line of the ruled line, and the graphic data. Form output means for outputting ruled lines on a sheet in accordance with the graphic data output from the data conversion means is provided.

【0012】[0012]

【作用】罫線の出力行を指示する罫線出力指示に応答し
て図形データ変換手段が上記罫線を示す図形データを出
力する。上記図形データは例えば、罫線の始点,終点を
示す座標値から構成される。また、罫線の始点,終点の
座標値は罫線出力指示によって指示された罫線の出力行
と用紙に印字する文字の大きさに基づいて求められる。
The graphic data converting means outputs the graphic data indicating the ruled line in response to the ruled line output instruction for instructing the output line of the ruled line. The graphic data is composed of, for example, coordinate values indicating the starting point and the ending point of the ruled line. Further, the coordinate values of the starting point and the ending point of the ruled line are obtained based on the output line of the ruled line designated by the ruled line output instruction and the size of the character to be printed on the paper.

【0013】図形データ変換手段から出力された罫線を
示す図形データは帳票出力手段によって用紙上に出力さ
れる。
The graphic data indicating the ruled lines output from the graphic data conversion means is output on a sheet by the form output means.

【0014】[0014]

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

【0015】図1は本発明の実施例のブロック図であ
り、フォーマット罫線出力指示手段1と、図形データ変
換手段2と、図形データ蓄積手段3と、図形データ格納
手段4と、図形データ出力指示手段5と、テキスト出力
指示手段6と、出力用ファイル7と、帳票出力手段8
と、書式用ファイル9とから構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention. Format ruled line output instructing means 1, graphic data converting means 2, graphic data accumulating means 3, graphic data storing means 4, graphic data output instruction. Means 5, text output instruction means 6, output file 7, and form output means 8
And a format file 9.

【0016】フォーマット罫線出力指示手段1は罫線フ
ォーマット(帳票の枠)の出力を指示する罫線フォーマ
ット出力指示a,横罫線を何行目に出力するのかを指示
する罫線出力指示bがプログラムから出力される毎に、
その指示内容を示す出力指示信号cを出力する。
The format ruled line output instructing means 1 outputs a ruled line format output instruction a for instructing the output of a ruled line format (frame of a form) and a ruled line output instruction b for instructing which line a horizontal ruled line should be output. Every time
An output instruction signal c indicating the instruction content is output.

【0017】図形データ変換手段2は罫線フォーマット
の出力を指示する出力指示信号cが加えられた場合は、
予め定められている帳票の枠を示す図形データdを出力
する。尚、この帳票の枠を示す図形データdは、例え
ば、枠の4個の頂点の座標値及び頂点を実線で結ぶこと
を指示する情報とから構成される。
When the output instruction signal c for instructing the output of the ruled line format is added, the graphic data converting means 2
The graphic data d indicating the frame of a predetermined form is output. The graphic data d indicating the frame of this form is composed of, for example, the coordinate values of the four vertices of the frame and information instructing to connect the vertices with solid lines.

【0018】また、図形データ変換手段2は横罫線の出
力行を示す出力指示信号cが加えられた場合は、先ず、
横罫線の出力行と予め定められている印字する文字の大
きさとに基づいて横罫線の始点,終点の縦方向(Y軸方
向)の座標値を求める。その後、図形データ変換手段2
は横罫線の始点,終点の縦,横方向(X,Y方向)の座
標値と、それを実線で結ぶことを指示する情報とから構
成される図形データdを出力する。尚、横罫線の始点,
終点の横方向(X方向)の座標値は予め定められてい
る。
Further, when the output instruction signal c indicating the output line of the horizontal ruled line is added, the figure data conversion means 2 firstly
The coordinate values in the vertical direction (Y-axis direction) of the starting point and the ending point of the horizontal ruled line are obtained based on the output line of the horizontal ruled line and the predetermined size of characters to be printed. After that, the graphic data conversion means 2
Outputs the graphic data d consisting of the vertical and horizontal (X, Y direction) coordinate values of the start and end points of the horizontal ruled line and the information for instructing to connect them. In addition, the starting point of the horizontal ruled line,
The coordinate value of the end point in the horizontal direction (X direction) is predetermined.

【0019】図形データ変換手段2から出力された図形
データdは図形データ蓄積手段3に一旦蓄えられる。
The graphic data d output from the graphic data conversion means 2 is temporarily stored in the graphic data storage means 3.

【0020】プログラムは罫線フォーマット,横罫線の
出力指示が終了すると、図形データ出力指示eを出力す
る。
When the program finishes the ruled line format and horizontal ruled line output instructions, it outputs a graphic data output instruction e.

【0021】図形データ出力指示手段5はプログラムか
ら図形データ出力指示eが出力されると、図形データ格
納手段4に対して出力指示信号fを出力する。
When the graphic data output instruction e is output from the program, the graphic data output instruction means 5 outputs an output instruction signal f to the graphic data storage means 4.

【0022】これにより、図形データ格納手段4は図形
データ蓄積手段3に登録されている帳票フォーマット及
び横罫線を示す図形データdを読み出し、出力用ファイ
ル7に格納する。
As a result, the graphic data storage means 4 reads the graphic data d indicating the form format and horizontal ruled lines registered in the graphic data storage means 3 and stores it in the output file 7.

【0023】一方、テキスト出力指示手段6はプログラ
ムから文字データgが出力される毎に、文字データgを
出力用ファイル7に格納する。尚、見出し定義中の見出
し文字も文字データgによって表される。
On the other hand, the text output instruction means 6 stores the character data g in the output file 7 each time the character data g is output from the program. The headline character in the headline definition is also represented by the character data g.

【0024】上記した処理により、1頁分の図形データ
d,文字データgを出力用ファイル7に混在させて格納
すると、プログラムは帳票出力指示hを出力する。
When the graphic data d and the character data g for one page are mixed and stored in the output file 7 by the above processing, the program outputs the form output instruction h.

【0025】これにより、帳票出力手段8は出力用ファ
イル7に格納されている図形データd,文字データgを
読み込み、書式用ファイル9に定義されている書式情報
i(図形データd,文字データgの印字領域を示す情報
であり、例えば、用紙10の上端と印字開始位置との関
係を示す)に従って読み込んだ図形データd,文字デー
タgを用紙10に印字する。
As a result, the form output means 8 reads the graphic data d and character data g stored in the output file 7, and the format information i (graphic data d, character data g defined in the format file 9 is read. Of the graphic data d and the character data g read according to (for example, the relationship between the upper end of the sheet 10 and the print start position).

【0026】[0026]

【発明の効果】以上説明したように、本発明は、罫線の
出力行を指示する罫線出力指示に応答して、上記罫線を
示す図形データを作成し、その図形データに基づいて用
紙上に罫線を出力するものであるので、不定型帳票を作
成する場合も罫線を実線にすることができる効果があ
る。
As described above, according to the present invention, in response to the ruled line output instruction for instructing the output line of the ruled line, the graphic data indicating the ruled line is created, and the ruled line is printed on the paper based on the graphic data. Is output, there is an effect that the ruled line can be a solid line even when creating an irregular form.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来例のブロック図である。FIG. 2 is a block diagram of a conventional example.

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

1…フォーマット罫線出力指示手段 2…図形データ変換手段 3…図形データ蓄積手段 4…図形データ格納手段 5…図形データ出力指示手段 6,21…テキスト出力指示手段 7,22…出力用ファイル 8,23…帳票出力手段 9…書式用ファイル 10,25…用紙 24…書式オーバレイ用ファイル 1 ... Format ruled line output instructing means 2 ... Graphic data converting means 3 ... Graphic data accumulating means 4 ... Graphic data storing means 5 ... Graphic data output instructing means 6, 21 ... Text output instructing means 7, 22 ... Output files 8, 23 ... Form output means 9 ... Format file 10,25 ... Paper 24 ... Format overlay file

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 罫線の出力行を指示する罫線出力指示に
応答して前記罫線を示す図形データを出力する図形デー
タ変換手段と、 該図形データ変換手段から出力された図形データに従っ
て用紙に罫線を出力する帳票出力手段とを含むことを特
徴とする帳票作成方式。
1. A graphic data conversion unit for outputting graphic data indicating the ruled line in response to a ruled line output instruction for instructing an output line of the ruled line, and a ruled line on a sheet according to the graphic data output from the graphic data conversion unit. A form creation method comprising a form output means for outputting.
【請求項2】 前記罫線を示す図形データは罫線の始
点,終点の座標値を含むことを特徴とする請求項1記載
の帳票作成方式。
2. The form creation method according to claim 1, wherein the graphic data indicating the ruled line includes coordinate values of a start point and an end point of the ruled line.
【請求項3】 前記図形データ変換手段は罫線出力指示
によって指示された罫線の出力行と前記用紙に印字する
文字の大きさとに基づいて前記罫線の始点,終点の座標
値を求めることを特徴とする請求項2記載の帳票作成方
式。
3. The graphic data converting means obtains coordinate values of a starting point and an ending point of the ruled line based on an output line of the ruled line designated by a ruled line output instruction and a size of a character to be printed on the paper. The form creation method according to claim 2.
JP4038741A 1992-01-29 1992-01-29 Business form preparing system Pending JPH05204907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4038741A JPH05204907A (en) 1992-01-29 1992-01-29 Business form preparing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4038741A JPH05204907A (en) 1992-01-29 1992-01-29 Business form preparing system

Publications (1)

Publication Number Publication Date
JPH05204907A true JPH05204907A (en) 1993-08-13

Family

ID=12533746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4038741A Pending JPH05204907A (en) 1992-01-29 1992-01-29 Business form preparing system

Country Status (1)

Country Link
JP (1) JPH05204907A (en)

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
JPS583256B2 (en) Successful system
JPH05204907A (en) Business form preparing system
JPH04264915A (en) Form overlay printing system
JPS6321158A (en) Printer output device
JP2537184B2 (en) Document creating device having postcard address printing function
JP2770309B2 (en) Output message editing method
JPH06274591A (en) Routine format document entering device
JPS63209951A (en) Print method
JP4338249B2 (en) Printing system and image division font conversion method
JPH02127059A (en) Printer device
JP2817506B2 (en) Main character size maintenance method
JP2541221B2 (en) Decorative pattern output method
JPH05150920A (en) Form preparing system
JPS6215672A (en) Catalog editing system
JPH03105688A (en) Picture synthesizing method
JPH0768858A (en) Printer
JPH08202519A (en) Print controller
JPH096863A (en) Method and system for document image generation
JPH01190172A (en) Document printer
JPS6356476A (en) Printer controller
JPH02227721A (en) Print data display system
JPH04316171A (en) Picture processing method
JPH07239845A (en) External character registering device
JPH06251011A (en) Document preparing device and printing control method