JPS60114972A - Form format creation device - Google Patents
Form format creation deviceInfo
- Publication number
- JPS60114972A JPS60114972A JP59231307A JP23130784A JPS60114972A JP S60114972 A JPS60114972 A JP S60114972A JP 59231307 A JP59231307 A JP 59231307A JP 23130784 A JP23130784 A JP 23130784A JP S60114972 A JPS60114972 A JP S60114972A
- Authority
- JP
- Japan
- Prior art keywords
- line
- ruled line
- data
- heading
- image
- 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
Links
- 238000012545 processing Methods 0.000 claims description 29
- 238000012546 transfer Methods 0.000 claims description 22
- 238000000034 method Methods 0.000 description 21
- 230000015572 biosynthetic process Effects 0.000 description 12
- 238000003786 synthesis reaction Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 2
- 230000033772 system development Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/174—Form filling; Merging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、見出しラベルや罫線等からなる帳票のフォー
マット画像を作成する装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an apparatus for creating a format image of a form including heading labels, ruled lines, and the like.
従来、契約書や配達票等の帳票を編集する場合、予め、
帳票のフォーマット画像(見出しや罫線のみが記入され
、内容記入欄が空白)の全体データをファイルに格納し
ておき、このデータを読出して、この上に内容の画像デ
ータを合成していた。Traditionally, when editing documents such as contracts and delivery slips,
The entire data of the form format image of the form (only headings and ruled lines are filled in, the content entry field is blank) was stored in a file, this data was read out, and the content image data was synthesized on top of it.
この方法では、フォーマット画像全体のデータ(A4サ
イズの場合、500kB)をファイルに格納しておく必
要があるため、多くのファイル容量を要する。また、フ
ァイルからフォーマット画像データを読出す時に、多量
のデータ転送を必要とし、これに時間がかかる。This method requires a large file capacity because it is necessary to store the entire format image data (500 kB in the case of A4 size) in a file. Further, when reading formatted image data from a file, a large amount of data transfer is required, which takes time.
一方、予め、フォーマットを印刷した用紙に、内容デー
タを出力して、帳票を作成する方法がある。この方法で
は、多種類の帳票を作成するのに、多くの種類のフォー
マット用紙を印刷し準備しておく必要がある。−また、
帳票に対応して用紙を取替える必要もある。On the other hand, there is a method of creating a form by outputting content data onto a sheet of paper on which a format is printed in advance. In this method, in order to create many types of forms, it is necessary to print and prepare many types of format paper. -Also,
It is also necessary to change the paper according to the form.
また、罫線パターンデータを規則的に画像編集メモリ上
にDMA(ダイレクトメモリアクセス)転送して、罫線
を生成する方法がある。この方法では、たとえに、線素
パターンデータを縦に100ワード並べて縦線を引く場
合には、データ転送を100回繰り返えす必要がある。Another method is to generate ruled lines by regularly transferring ruled line pattern data onto an image editing memory using DMA (direct memory access). In this method, for example, if 100 words of line element pattern data are arranged vertically and a vertical line is drawn, data transfer must be repeated 100 times.
データ転送1同当すのオーバヘッドを1m5ecとする
と、この縦線1本引くのに100m5ecのオーバヘッ
ドを要することになる。Assuming that the overhead for one data transfer is 1m5ec, drawing this one vertical line requires an overhead of 100m5ec.
本発明は、上記のような従来の方法とは異なシ、高速の
DMA転送を行いうる「文書画像データの切出、合成装
置」(実願昭55−85178 )を用いて、罫線パタ
ーンデータの2次元折返し転送を行々い、従来のDMA
転送のオーバヘッドをなくし、帳票フォーマットの作成
を高速化することを目的とするものである。The present invention differs from the conventional method as described above, in that it uses a "Document image data cutting and compositing device" (Utility Application No. 85178/1985) capable of high-speed DMA transfer to create ruled line pattern data. Two-dimensional loop transfer is performed, and conventional DMA
The purpose is to eliminate transfer overhead and speed up the creation of form formats.
〔発明の概要〕1:
このため本発明は罫線パラメータテーブルと、罫線パタ
ーンを記憶するバッファメモリと、帳票フォーマットを
記憶するための画像編集メモリと、該バッファメモリ内
の罫線パターンを該画像編集メモリ内の所望位置にダイ
レクトメモリアクセスモードで転送するだめのデータ転
送装置と、該罫線ハラメータテーブル内の罫線パラメー
タに基づき、帳票フォーマットを形成する罫線パターン
をパラメータテーブルにより指定される間隔と本数でも
って、該画像編集メモリに繰り返し転送するように該デ
ータ転送装置を制御するための処理装置とを有するもの
である。[Summary of the Invention] 1: Therefore, the present invention provides a ruled line parameter table, a buffer memory for storing ruled line patterns, an image editing memory for storing a form format, and a ruled line pattern in the buffer memory is stored in the image editing memory. A data transfer device that transfers the data to a desired position in the document in direct memory access mode, and a ruled line pattern forming a form format based on the ruled line parameters in the ruled line parameter table, with the interval and number specified by the parameter table. , and a processing device for controlling the data transfer device so as to repeatedly transfer data to the image editing memory.
第1図は本発明によるシステムのブロック図で、第5図
は、この内の画像合成装置62を具体的に示したもので
ある。FIG. 1 is a block diagram of a system according to the present invention, and FIG. 5 specifically shows an image synthesis device 62 within the system.
以下では、第2図のフォーマット画像を例にして、この
フォーマット作成のための事前準備処理と1作成処理と
を、処理手順に従って説明する。Below, the format image of FIG. 2 is taken as an example, and the advance preparation process and first creation process for creating this format will be explained according to the processing procedure.
(フォーマット作成のための事前準備処理)(1) オ
パレータがタイプライタ1から、帳票フォーマットの罫
線に関するパラメータ(フォーマット番号31、罫線番
号32、線素パターン33、線本数34、線の位置座標
35、線間隔36、線サイズ37)を、処理装置2へ入
力する。(Advance preparation process for format creation) (1) The operator sends parameters related to the ruled lines of the form format from the typewriter 1 (format number 31, ruled line number 32, line element pattern 33, number of lines 34, line position coordinates 35, Line spacing 36 and line size 37) are input to the processing device 2.
〔ここで、罫線パラメ、−夕について説明する。〕フォ
ーマット番号31:帳票フォーマットごとに1つの番号
を対応づける。たとえば、第2図のフォーマットの番号
をIll として、他のフォーマットと区別する。[Here, we will explain the ruled line parameter, -. ]Format number 31: One number is associated with each form format. For example, the format of FIG. 2 is numbered Ill to distinguish it from other formats.
罫線番号32;フォーマット中の罫線ごとに番号を付け
、区別する。同一サイズの線で、その間隔が同じ線群に
は、同一の罫線番号を付ける。第2図の例では、縦線2
21と222にけrlJを、縦線223にはr2j’!
’r1横線231.232.233・・・・・・、には
「3」を、それぞれ罫線番号として付けた。Ruled line number 32: Give a number to each ruled line in the format to distinguish it. Groups of lines of the same size and with the same interval are assigned the same ruled line number. In the example in Figure 2, vertical line 2
Add rlJ to 21 and 222, and r2j' to vertical line 223!
'r1 horizontal lines 231, 232, 233, . . . are each given "3" as a ruled line number.
線素パターン33:画像入力装R8,ドツトプリンタ9
の解像度を、たとえば8ドツト/mmとする。また、処
理装置2のデータ転送単位を1ワード=16ビツトとす
る。そして、画素1ドツトをデータ1ビツトに対応させ
、黒い画素をビットの値Illで、白い画素をピットの
値「0」で表現するとする。第2図において、縦線の太
さを0、5 m mとしたい場合、JIIIlooOO
OOOOOOoo」の1ワード(16ビツト)のデータ
が線素パターンとなる。フォーマット画像の作成時に、
との線素データを画像編集メモリ上の所定位置に縦一列
に並べることによって、0.5mm(4ドツトが黒)の
太さの縦線が生成される。Line element pattern 33: Image input device R8, dot printer 9
Assume that the resolution is, for example, 8 dots/mm. Further, it is assumed that the data transfer unit of the processing device 2 is 1 word=16 bits. One dot of a pixel corresponds to one bit of data, and a black pixel is represented by a bit value Ill, and a white pixel is represented by a pit value "0". In Figure 2, if you want the thickness of the vertical line to be 0.5 mm, use JIIIlooOO
One word (16 bits) of data "OOOOOOOOoo" becomes a line element pattern. When creating a format image,
A vertical line with a thickness of 0.5 mm (4 dots are black) is generated by arranging the line element data of .
一方、太さ0.5 m mの横線を引きたい場合、[1
111111111111111Jの1ワード(16ビ
ツト)のデータが線素パターンとなる。On the other hand, if you want to draw a horizontal line with a thickness of 0.5 mm, use [1
One word (16 bits) of data 111111111111111J becomes a line element pattern.
フォーマット画像の作成時に、との線素データを、画像
編集メモリ7上の所定位置に横4列に並べることによっ
て、0.5mm(4ドツトが黒)の太さの横線が生成さ
れる。When creating a format image, a horizontal line with a thickness of 0.5 mm (four black dots) is generated by arranging the line element data of and in four horizontal rows at predetermined positions on the image editing memory 7.
線本数34;同一サイズの線で、その間隔が同じ線群を
引く場合に、その線の本数を指定する。Number of lines 34: Specify the number of lines when drawing a group of lines of the same size and the same interval.
第2図の横m231,232・・・・・の場合、線本数
の値は「11」である。In the case of horizontal lines m231, 232, . . . in FIG. 2, the value of the number of lines is "11".
紳の位置座標35.縦線の場合、線の上端の位置座標。Gen's location coordinates 35. For vertical lines, the position coordinates of the top of the line.
横線の場合、線の左端の位置座標。複数の縦線の場合、
一番左の線の上端の位置座標。複数の横線の場合、一番
上の線の左端の位置座標。For horizontal lines, the position coordinates of the left end of the line. For multiple vertical lines,
Position coordinates of the top of the leftmost line. For multiple horizontal lines, the position coordinates of the left edge of the top line.
これらの値によって、画像編集メモリ7上の線を生成す
べき位置を指定する。These values specify the position on the image editing memory 7 where a line is to be generated.
純間隔36;複数の縦線を引く場合、横の間隔361を
指定する。複数の横線を引く場合、縦の間隔362そ指
定する。単一の線を引く場合には1縦、横とも間隔は指
定しない。Pure spacing 36: When drawing multiple vertical lines, specify horizontal spacing 361. When drawing multiple horizontal lines, specify a vertical spacing of 362. When drawing a single line, do not specify vertical or horizontal spacing.
線サイズ37;線素パターン33の縦横に菰べるデータ
数を指定する。線素パターン(lワード−16ビ、ト)
の1データで縦1/8mm、横2mmの画像を表現する
。たとえば太さ0.5 m m 。Line size 37: Specify the number of data that can be displayed in the vertical and horizontal directions of the line element pattern 33. Line element pattern (l word - 16 bits, g)
An image of 1/8 mm in height and 2 mm in width is expressed with one piece of data. For example, the thickness is 0.5 mm.
長さ100mmの楕綜を引く場合、線サイズの横の値は
[50J 、縦の値は「4」である。ただし。When drawing an ellipse with a length of 100 mm, the horizontal value of the line size is [50J], and the vertical value is "4". however.
線素パターンに「1lllllllllllllll
Jである。一方、たとえば太さ0.5mm、長さ100
mmの縦線を引く場合、線サイズの横の値はDJ縦の値
「800Jである。ただし、線素パターンは「1111
.0O0000000000Jである。In the line element pattern "1llllllllllllllll
It is J. On the other hand, for example, the thickness is 0.5 mm and the length is 100 mm.
When drawing a vertical line of mm, the horizontal value of the line size is the DJ vertical value "800J. However, the line element pattern is "1111
.. It is 0O0000000000J.
〔以下、事前準備処理の説明をつづける〕(2)処理装
置2が、帳票フォーマットの罫線に関するパラメータの
値を、罫線パラメータテーブル30所定フイールドへ格
納する。[The explanation of the advance preparation process will be continued below.] (2) The processing device 2 stores the value of the parameter regarding the ruled line of the form format in a predetermined field of the ruled line parameter table 30.
(3) オペレータがタイプライタlから、帳票フォー
マットの見出し画像(第2図の例では、住所録211、
氏名212.住所213)に関するパラメータ(フォー
マット番号41.見出し番号42、見出し位置43、見
出しの大きさ44、見出し画像データの格納アドレス4
5)を、処理装置2へ入力する。(3) The operator writes the heading image of the form format (in the example in Figure 2, the address book 211,
Name 212. Address 213) related parameters (format number 41, heading number 42, heading position 43, heading size 44, heading image data storage address 4)
5) is input to the processing device 2.
〔ここで、見出しパラメータについて説明する。〕フォ
ーマット番号41;罫線パラメータのフォーマット番号
と同一である。[Here, the heading parameter will be explained. ] Format number 41: Same as the format number of the ruled line parameter.
見出し番号42;フォーマット中の見出しごとに番号を
付け、区別する。第2図の例の場合、住所録211の見
出し番号を「l」、氏名212の見出し番号を「2」、
住所2130見出し番号を[3J とした。Heading number 42: Each heading in the format is numbered and distinguished. In the example shown in Figure 2, the heading number for the address book 211 is "l", the heading number for the name 212 is "2",
The address 2130 heading number was set to [3J].
見出し位置43;帳票フォーマット上の各見出し画像の
合成位置を指定する。位置は、見出し画像の左上端点2
5の横および縦座標(第2図の例ではI X、、Y、)
で指定する。ただし、座標の原点を、帳票の左上端点2
4とする。Heading position 43: Specifies the position where each heading image is combined on the form format. The position is the top left corner point 2 of the headline image
5 horizontal and vertical coordinates (I X,,Y, in the example in Figure 2)
Specify with. However, the origin of the coordinates should be set to the upper left corner point 2 of the form.
Set it to 4.
見出しの大きさ44;見出し画像の大きさを指定する。Heading size 44: Specify the size of the heading image.
第2図の住所録211の例では、見出しの大きさの横サ
イズがα1、縦サイズがβ1 である0
見出し画像データの格納アドレス45;見出り画像ファ
イル1oの中1各見出し画像データを格納しておくが、
この格納アドレスを指定する。In the example of the address book 211 in FIG. 2, the horizontal size of the heading is α1 and the vertical size is β1.0 Headline image data storage address 45; I store it, but
Specify this storage address.
〔以下、事前準備処理の説明をつづける。〕(4)処理
装置2が、帳票フォーマットの見出しに関するパラメー
タの値を、見出しパラメータテーブル4の所定フィール
ドへ格納する。[The explanation of the advance preparation process will be continued below. (4) The processing device 2 stores the value of the parameter regarding the heading of the form format into a predetermined field of the heading parameter table 4.
(5)オペレータが、画像入力装置8がら、帳票フォー
マットの原紙を入力する。(5) The operator inputs the original paper in the form format using the image input device 8.
(6)画像入力装置8が、帳票フォー、ットの全体画像
データを、画像編集メモリ7へ転送する。(6) The image input device 8 transfers the entire image data of the form format to the image editing memory 7.
(7)処理装R2が、各見出し位置と大きさのデータを
画像切出装置61へ送る。(7) The processing device R2 sends data on the position and size of each heading to the image cutting device 61.
(8)画像切出装置61が1画像編集メモリ7上の帳票
フォーマットの全体画像データから、各見出しの位置と
大きさのデータに基づいて、各見出しの部分の画像デー
タを切出し、バッファメモリ5へ転送する。(8) The image cutting device 61 cuts out the image data of each heading part from the entire image data of the form format on the one-image editing memory 7 based on the data of the position and size of each heading, and Transfer to.
(9)処理装置2が、バッファメモリ5上の各見出しの
画像データを、見出し画像ファイル上の、(3)で指定
されたアドレスのエリアへ格納する。(9) The processing device 2 stores the image data of each heading on the buffer memory 5 into the area of the address specified in (3) on the heading image file.
〔以上の準備処理によって、罫線パラメータテーブル3
.見出しパラメータテーブル4、見出シ画像ファイルl
o、のそれぞれに、フォーマ丹作成処理に必要なデータ
を格納したことになる。〕(帳票7オーマツト作成処理
)
(1)オペレータが、タイプシイ月から帳票フォーマッ
トの番号を、処理装置2へ入力する。[By the above preparation process, the ruled line parameter table 3
.. Heading parameter table 4, heading image file l
This means that the data necessary for the forma tan creation process is stored in each of the .o and .o. ] (Form 7 format creation process) (1) The operator inputs the number of the form format from the type month to the processing device 2.
(2)処理装置2が、該当番号の帳票フォーマットの罫
線パラメータ(罫線番号32、線素)ζターン33、線
本数34、線の位置座標35、線間隔36、線サイズ3
7)を、罫線・くラメ−タテ−プル3から処理装置2へ
読出す。(2) The processing device 2 processes the ruled line parameters (ruled line number 32, line element) ζ turn 33, number of lines 34, line position coordinates 35, line spacing 36, line size 3 of the form format of the corresponding number.
7) is read out from the ruled line/framer table 3 to the processing device 2.
(3)たとえば、第2図の縦線221と222を生成す
るために、処理装置2が、罫線番号32「]」の線素パ
ターン「lll100OOOOO00000Jのデータ
を、線サイズの縦の値の数だけ、バッファメモリ5上に
並べてストアする。(3) For example, in order to generate the vertical lines 221 and 222 in FIG. , are stored side by side on the buffer memory 5.
(4)処理装置2が、画像合成装置62のレジスタおよ
びカウンタの初期データ群をデータノくスに乗せる。初
期データは次の通りO
レジスタ1:画像編集メモリ1行尚シの長さくワード)
固定値を処理装置2が
セット
レジスタ2:線サイズの横の値(ワード)レジスタ3;
線の位置座標の横(ワード)と縦(行)の値
カウンタl;線の゛ナイズの横×縦
カウンタ2:バッファメモリ5上の線素ノくターンの先
頭アドレス(固定値)
処理装置2が、命令デコーダ621に対して、デバイス
No、 、オーダを与える。(4) The processing device 2 puts the initial data group of the register and counter of the image synthesis device 62 on the data node. The initial data is as follows: Register 1: Image editing memory (1 line long word)
Fixed value set by processing device 2 Register 2: value (word) register 3 next to line size;
Horizontal (word) and vertical (row) value counter l of line position coordinates; Horizontal x vertical counter 2 of line size: Start address of line element turn on buffer memory 5 (fixed value) Processing device 2 gives the instruction decoder 621 the device number, , order.
命令デコーダは、与えられたデバイスNo、、オーダを
解読し、与えられたデバイスNo、が、本装置のデバイ
スNo、に一致する場合、解読結果に基づいて、所定の
レジスタまたはカウンタに信号を送る。かくして、上記
の初期データは所定のレジスタ622〜624またはカ
ウンタ625.626にセットされる。The instruction decoder decodes the given device number, order, and if the given device number matches the device number of this device, sends a signal to a predetermined register or counter based on the decoding result. . Thus, the above initial data is set in predetermined registers 622-624 or counters 625, 626.
処理装置2が、線素パターンの合成動作の起動を行なう
ために、命令デコーダ621に対して、デバイスNo、
オーダを与える。In order to start the line element pattern synthesis operation, the processing device 2 sends the device number,
Give an order.
命令デコーダ621は、デバイスNへ、オーダを解読し
、与えられたデバイスNo、が本装置のデバイスNo、
に一致する場合、解読結果に基づいて、制御装置628
に起動信号を送る。かくして、制御装置628が起動さ
れ、次の(5)の合成処理が行彦われる。制御装置62
8は処理終了後、処理装置2に対して、終了割込をかけ
る。The command decoder 621 decodes the order to device N, and determines that the given device number is the device number of this device.
If it matches, then based on the decoding result, the control device 628
sends a start signal to. Thus, the control device 628 is activated and the next (5) synthesis process is carried out. Control device 62
8 issues a termination interrupt to the processing device 2 after the processing is completed.
〔合成処理の詳細は、先に引用した出願全参照〕(5)
画像合成装置62が、バッファメモリ5上の線素パター
ンデータ列を、画像編集メモリ7上の所定位置(Hの位
置座標と線サイズで指定)へ転送する。この結果、第2
図の縦線221が生成される。[For details of the synthesis process, refer to the entire application cited above] (5)
The image synthesis device 62 transfers the line element pattern data string on the buffer memory 5 to a predetermined position (specified by the position coordinates of H and the line size) on the image editing memory 7. As a result, the second
A vertical line 221 in the diagram is generated.
(6)罫線番号「1」の2本目の縦線を生成するために
、処理装置2が、線の位置座標の横の値に横間隔の値を
加えて、線の位置座標の横の値を更新する。(6) In order to generate the second vertical line with ruled line number “1”, the processing device 2 adds the horizontal interval value to the horizontal value of the line position coordinate, and adds the horizontal value of the line position coordinate to the horizontal value of the line position coordinate. Update.
処理装置2が、画像合成装置62のレジスタおよびカウ
ンタの初期データをデータバスに乗せる。The processing device 2 puts the initial data of the registers and counters of the image synthesis device 62 onto the data bus.
初期データは次の通り。The initial data is as follows.
レジスタ1.レジスタ2は(4)と同じ。Register 1. Register 2 is the same as (4).
レジスタ3、線の位置座標の横は上記の更新値、縦は(
4)と同じ。Register 3, the horizontal position coordinate of the line is the updated value above, and the vertical is (
Same as 4).
カウンタ1.カウンタ2も(4)と同じ。Counter 1. Counter 2 is also the same as (4).
以下、(4)と同様の処理で、制御装置628が起動さ
れる。Thereafter, the control device 628 is activated in the same process as (4).
(7)制御装置628の起動された画像合成装置62が
、(3)でセットしたバッファメモリ5上の線素パター
ンデータを画像編集メモリ7上へ合成転送する。この結
果、第2図の縦線222が生成される。(7) The activated image synthesis device 62 of the control device 628 synthesizes and transfers the line element pattern data on the buffer memory 5 set in (3) onto the image editing memory 7. As a result, vertical line 222 in FIG. 2 is generated.
(8)第2図の縦線223(罫線番号「2」)の生成も
、(3)〜(5)と同様の処理で行なう。(8) The generation of the vertical line 223 (ruled line number "2") in FIG. 2 is also performed in the same process as (3) to (5).
(9)次に、たとえば、第2図の横線231゜232.
233、・・・・・・・・・を生成するために。(9) Next, for example, the horizontal line 231°232.
In order to generate 233,...
処理装置2が、罫線番号「3」の線素パターン[111
1111111111111」のデータを線の横サイズ
371の値に縦サイズ372の値を掛けた数だけ、バッ
ファメモリ5上に並べてストアする。The processing device 2 processes the line element pattern [111
1111111111111'' are stored in line on the buffer memory 5 in a number equal to the value of the horizontal size 371 of the line multiplied by the value of the vertical size 372.
(10) (4)(5)と同様の処理を行ない、横線2
31を生成する。(10) Perform the same processing as (4) and (5), and
31 is generated.
(11)罫線番号「3」の2本目の横線232を生成す
るために、処理装置2が線の位置の縦座標352に線の
縦間隔362の値を加えて(4)(5)と同様の処理を
行う。この結果、横線232が生成される。(11) In order to generate the second horizontal line 232 with ruled line number "3", the processing device 2 adds the value of the vertical line spacing 362 to the ordinate 352 of the line position, similar to (4) and (5). Process. As a result, a horizontal line 232 is generated.
(12) 3本目以降の横線233,234・・・・・
・・・・もs (ii)と同様の処理を、1本口から数
えて線の本数が、罫Wgハラメータの線本数34と一致
する1で繰返して生成する。(12) Third and subsequent horizontal lines 233, 234...
. . . is generated by repeating the same process as s (ii) with the number of lines counting from one opening being 1, which matches the number of lines 34 of the ruled Wg harammeter.
〔(1)〜(12)の処理によって、帳票フォーマット
中の罫線がすべて生成されたことになる。次に、見出し
画像の合成処理について説明する。〕(13)処理装置
2が、(1)で入力された番号のツメ−マットの見出し
パラメータ(見出し番号421見出し位置43.見出し
の大きさ44.見出し画像デ〜りの格納アドレス45)
を、見出しパラメータテーブル4から処理袋e2へ読出
す。[Through the processes (1) to (12), all the ruled lines in the form format are generated. Next, the headline image synthesis process will be described. ] (13) The processing device 2 inputs the heading parameters of the thumb mat of the number input in (1) (heading number 421 heading position 43. heading size 44. storage address 45 of heading image data)
is read from the heading parameter table 4 to the processing bag e2.
(14)処理装置2が、1つの見出し画像データの格納
アドレスを参照して、見出し画像ファイル10から、見
出し画像データを、バッファメモリ5上へ転送する。(14) The processing device 2 refers to the storage address of one heading image data and transfers the heading image data from the heading image file 10 onto the buffer memory 5.
(15)処理装置2か、画像合成装置62のレジスタお
よびカウンタの初期データをデータバスに乗せる。初期
データは次の通り。(15) Load the initial data of the registers and counters of the processing device 2 or the image synthesis device 62 onto the data bus. The initial data is as follows.
レジスタ1:画像編集メモリ1行当シの長さく固定値)
レジスタ2.見出しの大きさの横431の値レジスタ3
:見出し位置43の横と縦の値カウンタl二見出しの大
きさ44の横×縦カウンタ2:バッファメモリ5上の見
出し画像データの先頭アドレス(固定値)
以下、(4)と同様の処理で、制御装置628が起動さ
れる。Register 1: Fixed value (length per line of image editing memory) Register 2. Heading size horizontal 431 value register 3
: Horizontal and vertical value counter l of heading position 43 2 Width x vertical counter 2 of heading size 44 : Starting address of the heading image data on buffer memory 5 (fixed value) Hereinafter, the same process as (4) is performed. , the controller 628 is activated.
(]6)制御装jii628の起動された画像合成装置
62が、バッファメモリ上にある見出し画像データを画
像編集メモリ7上に合成転送する0(17)、(14)
〜(16)を、 全部の見出し画像データについて、繰
返す。(]6) The activated image synthesis device 62 of the control device jii 628 synthesizes and transfers the headline image data on the buffer memory onto the image editing memory 70 (17), (14)
-(16) are repeated for all the headline image data.
〔以上の処理によって、罫線の生成(11〜(12)と
見出し画像の合成(13)〜(16)とが行なわれ、帳
票のフォーマット画像が画像編集メモリ7上に作成され
たことになる。〕
このフォーマット画像データ上に、帳票の内容データ(
画像)を合成することによって、帳票全体の画像編集が
完了する。この全体の画像データをドツトプリンタ9に
よって印刷出力することによシ、フォーマット上に内容
データの記入された帳票を得ることができる。[Through the above processing, the generation of ruled lines (11 to (12)) and the synthesis of heading images (13) to (16) are performed, and a format image of the form is created on the image editing memory 7. ] On top of this format image data, the content data of the form (
By combining the images), image editing of the entire form is completed. By printing out this entire image data using the dot printer 9, a form with content data written on the format can be obtained.
(1)帳票フォーマットの罫線を規則的に生成するため
、従来のように、フォーマットの全体画像データをファ
イルに格納しておく必要がない。このため、必要なファ
イル容量を削減できる。また。(1) Since the ruled lines of the form format are generated regularly, there is no need to store the entire image data of the format in a file as in the past. Therefore, the required file capacity can be reduced. Also.
大量のフォーマット画像データをファイルから転送して
読出す必要がないため、帳票の編集に要する時間を短縮
できる。Since there is no need to transfer and read a large amount of formatted image data from a file, the time required to edit a form can be reduced.
(2)既め、フォーマットを印刷した用紙を用いる方法
に較べ、本発明の場合、フォーマット番号の指定だけで
、フォーマットの変更ができ、用紙を取替える必要がな
い。(2) Compared to the method of using paper with a format already printed on it, in the case of the present invention, the format can be changed simply by specifying the format number, and there is no need to replace the paper.
(3)バッファメモリ5上に生成した罫線の線素パター
ンのデータ列を1画像編集メモリ7上に転送して合成す
るのに、画像合成装置62を用いている。このため、線
素パターンデータ列の折返し転送が行なわれ、従来のD
MA転送よりも高速化されている。(3) The image synthesizing device 62 is used to transfer the data string of line element patterns of ruled lines generated on the buffer memory 5 to the one-image editing memory 7 and synthesize them. Therefore, the line element pattern data string is transferred back, and the conventional D
It is faster than MA transfer.
第1図は本発明によるシステムブロック図、第2図ない
し第4図は本発明の説明図、第5図は本発明のブロック
図である。
第1図
第 2 図
第4図
第1頁の続き
0発 明 者 津 原 進
@発明者町1)哲夫
@発明者田畑 邦晃
川崎市多摩区王禅寺1099I地 株式会社日立製作所
システム開発研究所内
川崎市多摩区王禅寺109幡地 株式会社日立製作所シ
ステム開発研究所内FIG. 1 is a system block diagram according to the present invention, FIGS. 2 to 4 are explanatory diagrams of the present invention, and FIG. 5 is a block diagram of the present invention. Figure 1 Figure 2 Figure 4 Continuation of page 1 0 Author Susumu Tsuhara @ Inventor Town 1) Tetsuo @ Inventor Kuniaki Tabata 1099I Ozenji, Tama-ku, Kawasaki City, Hitachi, Ltd. System Development Laboratory, Kawasaki City Hitachi, Ltd. System Development Laboratory, 109 Hatachi, Ozenji, Tama-ku
Claims (1)
ッファメモリと、帳票フォーマットを記憶するだめの画
像編集メモリと、該バッファメモリ内の罫線パターンを
該画像編集メモリ内の所望位置にダイレクトメモリアク
セスモードで転送するだめのデータ転送装置と、該罫線
パラメータテーブル内の罫線パラメータに基づき、帳票
フォー−δトを形成する罫線パターンを発生し、該バッ
ファメモリに送出し記憶せしめるとともに、該発生され
た罫線パターンを、該罫線パラメータテーブルにより指
定される間隔と本数でもって、該画像編集メモリに繰シ
返し転送するように該データ転送装置を制御するだめの
処理装置とを有する帳票フォーマット作成装置。A ruled line parameter table, a buffer memory for storing the ruled line pattern, a secondary image editing memory for storing the form format, and the ruled line pattern in the buffer memory are transferred to a desired position in the image editing memory in direct memory access mode. Generates a ruled line pattern forming a form format δ based on the ruled line parameters in the ruled line parameter table and sends the generated ruled line pattern to the buffer memory and stores the generated ruled line pattern, A form format creation device comprising a processing device that controls the data transfer device to repeatedly transfer data to the image editing memory at intervals and numbers specified by the ruled line parameter table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59231307A JPS60114972A (en) | 1984-11-05 | 1984-11-05 | Form format creation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59231307A JPS60114972A (en) | 1984-11-05 | 1984-11-05 | Form format creation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60114972A true JPS60114972A (en) | 1985-06-21 |
Family
ID=16921570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59231307A Pending JPS60114972A (en) | 1984-11-05 | 1984-11-05 | Form format creation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60114972A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63137363A (en) * | 1986-11-28 | 1988-06-09 | Fujitsu Ltd | Message edition processing system |
JPS63174171A (en) * | 1987-01-13 | 1988-07-18 | Nec Corp | Slip forming system |
-
1984
- 1984-11-05 JP JP59231307A patent/JPS60114972A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63137363A (en) * | 1986-11-28 | 1988-06-09 | Fujitsu Ltd | Message edition processing system |
JPS63174171A (en) * | 1987-01-13 | 1988-07-18 | Nec Corp | Slip forming system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5615316A (en) | Printing control method and apparatus | |
JPH0345076A (en) | Processing system for picture data | |
GB2238640A (en) | Multiple-bus controller for printer | |
JPS60114972A (en) | Form format creation device | |
JPH0438005B2 (en) | ||
JPH04259059A (en) | Document processor | |
EP0090802A4 (en) | A page modification method in a printer subsystem of the partial page buffer composing type. | |
JPH03156668A (en) | Document preparing device | |
JP2550562B2 (en) | Character display device | |
JP2744228B2 (en) | Image processing device | |
JPH0753466B2 (en) | Output device | |
JP2614251B2 (en) | Printer print control method | |
JPH0969088A (en) | Tabular data processor | |
JPH0747724A (en) | Printer | |
JPS5931752B2 (en) | printing device | |
JPS58119040A (en) | Print controller | |
JPH0596811A (en) | Printing method | |
JPS605385A (en) | Character processor | |
JPS63304365A (en) | Text data editing/output system for multi-media editing/ output device | |
JPH04305761A (en) | Word processor | |
JPS60136824A (en) | Printer control device | |
JPS5872239A (en) | Label printer system | |
JPS6364086A (en) | Output unit | |
JPH0581401A (en) | Picture editing device | |
JPH0580013B2 (en) |