JPH03227285A - Forms output editor - Google Patents
Forms output editorInfo
- Publication number
- JPH03227285A JPH03227285A JP2022021A JP2202190A JPH03227285A JP H03227285 A JPH03227285 A JP H03227285A JP 2022021 A JP2022021 A JP 2022021A JP 2202190 A JP2202190 A JP 2202190A JP H03227285 A JPH03227285 A JP H03227285A
- Authority
- JP
- Japan
- Prior art keywords
- code
- printer
- editing
- ruled line
- page printer
- 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.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000002194 synthesizing effect Effects 0.000 claims description 5
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000000926 separation method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、ページプリンタ用の帳票フォーマットを使用
して、シリアルプリンタ用の印刷データである機械コー
ドを作成することができる帳票出力編集装置に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a form output editing device that can create machine code, which is print data for a serial printer, using a form format for a page printer. .
(従来の技術)
帳票の印刷は、固定データである帳票フォーマットに、
可変データである帳票作成データを重ねあわせて、印刷
データである機械コードを作成している。この方式を、
フオームオーバレイ方式という。(Conventional technology) Printing of a form is based on a form format that is fixed data.
The machine code, which is print data, is created by overlapping variable data, such as form creation data. This method
This is called the form overlay method.
第2図(a)は、フオームオーバレイ方式のページプリ
ンタによる、従来の帳票出力編集装置の構成を示すブロ
ック図である。FIG. 2(a) is a block diagram showing the configuration of a conventional form output editing device using a form overlay type page printer.
第2図(b)は、フオームオーバレイ機能を持たないシ
リアルプリンタによる、従来の帳票出力装置の構成を示
すブロック図である。FIG. 2(b) is a block diagram showing the configuration of a conventional form output device using a serial printer without a form overlay function.
図示のように、ページプリンタ11と、シリアルプリン
タ12とについて、別個に帳票出力編集装置が構成され
る。As shown in the figure, separate form output editing devices are configured for the page printer 11 and the serial printer 12.
ページプリンタ11は、1ページ毎に帳票の印刷を行な
うもので、印刷するときの機械コードは、XY座標によ
り与えられる。The page printer 11 prints a form page by page, and the machine code for printing is given by XY coordinates.
シリアルプリンタ12は、1行毎に帳票の印刷を行なう
もので、印刷するときの機械コードは、各行のX座標に
より与えられる。The serial printer 12 prints a form line by line, and the machine code for printing is given by the X coordinate of each line.
このように、ページプリンタ11に対応した機械コード
と、シリアルプリンタ12に対応した機械コードとは、
異なるものとなっている。In this way, the machine code corresponding to the page printer 11 and the machine code corresponding to the serial printer 12 are
It's different.
次に、上述した各装置の動作を説明する。Next, the operation of each of the above-mentioned devices will be explained.
ページプリンタ11については、予めファイル21に作
成した帳票作成データF2をページプリンタ11側に送
信する。また、同様に作成した帳票作成データとそれに
対応する文字コードを帳票パッケージ上の処理E1で編
集し、ページプリンタll側に送信する。ページプリン
タ11側では、処理E4で帳票フォーマットと帳票作成
データを重ねあわせてフオームオーバレイ方式の印刷を
行なう。Regarding the page printer 11, the form creation data F2 created in advance in the file 21 is transmitted to the page printer 11 side. In addition, the similarly created form creation data and its corresponding character code are edited in process E1 on the form package and sent to the page printer II side. On the page printer 11 side, in process E4, the form overlay method printing is performed by overlapping the form format and the form creation data.
次に、シリアルプリンタについては、プリンタ側にフオ
ームオーバレイ機能が存在しないので、帳票フォーマッ
トFl’及び帳票作成データF2’について、文字コー
ドを帳票パッケージ上の処理E3で編集し、シリアルプ
リンタ12側に送信する。Next, as for serial printers, since there is no form overlay function on the printer side, the character code for the form format Fl' and form creation data F2' is edited in process E3 on the form package and sent to the serial printer 12 side. do.
(発明が解決しようとする課題)
しかしながら、上述した従来の装置には、次のような問
題点があった。(Problems to be Solved by the Invention) However, the conventional device described above has the following problems.
即ち、帳票フォーマット及び帳票作成データのそれぞれ
について、ページプリンタ用のものと、シリアルプリン
タ用のものの2種類が存在する。That is, there are two types of form format and form creation data: one for page printers and one for serial printers.
よって、今まで、ページプリンタへ出力していた帳票を
シリアルプリンタへ出力すること、またはその逆のこと
をするのは、不可能であった。即ち、帳票フォーマット
及び帳票作成データをページプリンタ及びシリアルプリ
ンタのそれぞれについて作成しなければならなかった。Therefore, until now, it has been impossible to output a form that was output to a page printer to a serial printer, or vice versa. That is, a form format and form creation data had to be created for each page printer and serial printer.
本発明は以上の点に着目してなされたもので、ページプ
リンタ用の帳票フォーマット及び帳票作成データからシ
リアルプリンタ用の帳票フォーマット及び帳票作成デー
タを自動的に作成し、シリアルプリンタでのフオームオ
ーバレイ印刷ができるようにした帳票出力編集装置を提
供することを目的とするものである。The present invention has been made with attention to the above points, and it automatically creates a form format and form creation data for a serial printer from a form format and form creation data for a page printer, and performs form overlay printing on the serial printer. The object of the present invention is to provide a form output/editing device that can perform the following operations.
(課題を解決するための手段)
本発明の帳票出力編集装置は、ページプリンタ用の帳票
フォーマット及び帳票作成データを格納した格納手段と
、当該格納手段内の帳票フォーマット及び帳票作成デー
タをページプリンタに対応した機械コードに変換する変
換手段と、これらのページプリンタに対応した機械コー
ド及び帳票作成データに対応した機械コードを合成する
合成手段と、当該合成手段により合成されたページプリ
ンタに対応した機械コードを、文字コードか横罫線コー
ドか縦罫線コードかのいずれかに分離する分離手段と、
前記ページプリンタに対応した文字コードを、シリアル
プリンタに対応した文字コードに編集する文字コード編
集手段と、前記ページプリンタに対応した横罫線コード
を、シリアルプリンタに対応した横罫線コードに編集す
る横罫線コード編集手段と、前記ページプリンタに対応
した縦罫線コードを、1行分だけシリアルプリンタに対
応した縦罫線コードに編集する縦罫線コード編集手段と
、当該縦罫線コード編集手段により1行分だけ編集され
たシリアルプリンタ用の縦罫線コードを行列順に入れ換
える部分ソート手段とから成ることを特徴とするもので
ある。(Means for Solving the Problems) A form output editing device of the present invention includes a storage unit that stores a form format and form creation data for a page printer, and a storage unit that stores a form format and form creation data for a page printer. A conversion means for converting into a compatible machine code, a synthesis means for synthesizing the machine code corresponding to the page printer and the machine code corresponding to the form creation data, and the machine code corresponding to the page printer synthesized by the synthesis means. a separating means for separating the code into either a character code, a horizontal ruled line code, or a vertical ruled line code;
a character code editing means for editing a character code compatible with the page printer into a character code compatible with a serial printer; and a horizontal ruled line that edits a horizontal ruled line code compatible with the page printer into a horizontal ruled line code compatible with the serial printer. a code editing means; a vertical ruled line code editing means for editing a vertical ruled line code compatible with the page printer into a vertical ruled line code compatible with a serial printer; and a vertical ruled line code editing means for editing only one line by the vertical ruled line code editing means. and partial sorting means for rearranging vertical ruled line codes for serial printers in matrix order.
(作用)
本発明の帳票出力編集装置においては、格納手段に格納
されたページプリンタ用の帳票フォーマット及び帳票作
成データが、それぞれ変換手段によりページプリンタに
対応した機械コードに変換される。これらの機械コード
によりページプリンタから帳票を印刷することができる
。また、これらの機械コードは、合成手段により、合成
され、分離手段により、文字、横罫線及び縦罫線の各機
械コードに順次分離される。そして、各機械コードは、
それぞれ文字、横罫線及び縦罫線の各編集手段により、
シリアルプリンタに対応した機械コードに編集される。(Operation) In the form output editing device of the present invention, the form format and form creation data for a page printer stored in the storage means are respectively converted by the conversion means into machine codes compatible with the page printer. These machine codes allow a page printer to print a form. Furthermore, these machine codes are synthesized by a synthesizing means, and separated into machine codes for characters, horizontal ruled lines, and vertical ruled lines in sequence by a separating means. And each machine code is
By each editing method of characters, horizontal ruled lines, and vertical ruled lines,
Edited into machine code compatible with serial printers.
ここで、縦罫線は、複数の行にまたがるものなので、そ
の機械コードを、まず、1行分の機械コードと他の機械
コードに分離した後、部分ソート手段によりソートを行
なう。このようにして、編集された機械コードによりシ
リアルプリンタから帳票を印刷することができる。Here, since the vertical ruled line spans a plurality of lines, the machine code is first separated into one line of machine code and other machine codes, and then sorted by the partial sorting means. In this way, a form can be printed from a serial printer using the edited machine code.
(実施例)
第1図は、本発明の帳票出力編集装置の構成を示すブロ
ック図である。(Embodiment) FIG. 1 is a block diagram showing the configuration of a form output editing device of the present invention.
図示の装置は、格納手段1と、変換手段2と、合成手段
3と、分離手段4と、文字コード編集手段5と、横罫線
コード編集手段6と、縦罫線コード編集手段7と、部分
ソート手段8とから成る。The illustrated device includes a storage means 1, a conversion means 2, a composition means 3, a separation means 4, a character code editing means 5, a horizontal ruled line code editing means 6, a vertical ruled line code editing means 7, and a partial sorting means. means 8.
格納手段1は、磁気ディスク装置等から成り、ページプ
リンタ用の帳票フォーマット及び帳票作成データを格納
する。The storage means 1 consists of a magnetic disk device or the like, and stores a form format and form creation data for a page printer.
変換手段2は、プロセッサ等から成り、格納手段1内の
帳票フォーマット及び帳票作成データをページプリンタ
11に対応した機械コードに変換する。The conversion means 2 includes a processor and the like, and converts the form format and form creation data in the storage means 1 into machine code compatible with the page printer 11.
合成手段3と、分離手段4と、文字コード編集手段5と
、横罫線コード編集手段6と、縦罫線コード編集手段7
と、部分ソート手段8とは、それぞれプロセッサ等から
成り、帳票編集部13を構成している。各手段の役割は
、以下の通りである。Composition means 3, separation means 4, character code editing means 5, horizontal ruled line code editing means 6, and vertical ruled line code editing means 7
and the partial sorting means 8 each consist of a processor, etc., and constitute the form editing section 13. The role of each means is as follows.
合成手段3は、ページプリンタ11に対応した機械コー
ド及び帳票作成データに対応した機械コードを合成する
。The synthesizing means 3 synthesizes a machine code corresponding to the page printer 11 and a machine code corresponding to the form creation data.
分離手段4は、合成手段3により合成されたページプリ
ンタ11に対応した機械コードを、文字コードか横罫線
コードか縦罫線コードかのいずれかに分離する。The separating means 4 separates the machine code corresponding to the page printer 11 synthesized by the synthesizing means 3 into either a character code, a horizontal ruled line code, or a vertical ruled line code.
文字コード編集手段5は、ページプリンタ11に対応し
た文字コードを、シリアルプリンタ12に対応した文字
コードに編集する。The character code editing means 5 edits the character code compatible with the page printer 11 into the character code compatible with the serial printer 12.
横罫線コード編集手段6は、ページプリンタ11に対応
した横罫線コードを、シリアルプリンタに対応した横罫
線コードに編集する。The horizontal ruled line code editing means 6 edits the horizontal ruled line code compatible with the page printer 11 into the horizontal ruled line code compatible with the serial printer.
縦罫線コード編集手段7は、ページプリンタ11に対応
した縦罫線コードを、1行分だけシリアルプリンタ12
に対応した縦罫線コードに編集する。The vertical ruled line code editing means 7 inputs the vertical ruled line code corresponding to the page printer 11 into the serial printer 12 by one line.
Edit to the vertical ruled line code that corresponds to .
部分ソート手段8は、縦罫線コード編集手段により1行
分だけ編集されたシリアルプリンタ用の縦罫線コードを
行列順に入れ換える部分ソートを行なう。Partial sorting means 8 performs a partial sorting of rearranging vertical ruled line codes for serial printers edited by one line by vertical ruled line code editing means in matrix order.
ページプリンタ11は、1ページ毎に帳票の印刷を行な
うもので、印刷するときの機械コードは、XY座標によ
り与えられる。The page printer 11 prints a form page by page, and the machine code for printing is given by XY coordinates.
シリアルプリンタ12は、1行毎に帳票の印刷を行なう
もので、印刷するときの機械コードは、各行のX座標に
より与えられる。The serial printer 12 prints a form line by line, and the machine code for printing is given by the X coordinate of each line.
このように、ページプリンタ11に対応した機械コード
と、シリアルプリンタ12に対応した機械コードとは、
異なるものとなっている。In this way, the machine code corresponding to the page printer 11 and the machine code corresponding to the serial printer 12 are
It's different.
第3図は、第1図の帳票出力編集部13の編集処理手順
を説明するフローチャートである。FIG. 3 is a flowchart illustrating the editing processing procedure of the form output editing section 13 shown in FIG.
まず、格納手段1から読み込んだ帳票フォーマットと、
帳票作成データの各フィールドをXY座標を基に合成手
段3によって合成(マージ)する(ステップSl)。こ
れにより、各フィールドは、複数の行としての行インタ
フェースにおいて、順に整列される。次に、行の先頭か
ら、フィールドの種類ごとに分離をさせて、各々の編集
処理を行なう(ステップS2、S3)。First, the form format read from storage means 1,
Each field of the form creation data is combined (merged) by the combining means 3 based on the XY coordinates (step Sl). This arranges each field in sequence in the row interface as multiple rows. Next, starting from the beginning of the line, fields are separated for each type and editing processing is performed for each field (steps S2 and S3).
例えば、文字フィールドならば、ステップS4で文字編
集を行ない、また、横罫線ならば、ステップS5で横罫
線編集を行なう。For example, if it is a character field, character editing is performed in step S4, and if it is a horizontal ruled line, horizontal ruled line editing is performed in step S5.
そして、縦罫線の場合は、行インタフェースのシリアル
プリンタでは、1行では、全てを印字できないので、次
のように、分割して印字する。即ち、ページプリンタで
は、縦罫線のデータは、列がどの列かの指定と、その縦
罫線が回行に亘るかの指定とから成る。一方、シリアル
プリンタでは、行ごとの印字しかできないので、ページ
プリンタにおける縦罫線のデータを分解しなければなら
ない。In the case of vertical ruled lines, a serial printer with a line interface cannot print the entire line in one line, so the line is divided and printed as follows. That is, in a page printer, vertical ruled line data consists of a designation of which column the vertical ruled line is and a designation of whether the vertical ruled line spans a line. On the other hand, since serial printers can only print line by line, data for vertical ruled lines in page printers must be separated.
即ち、まず、ステップS6で、1行分だけ、縦罫線を編
集し、次に、その縦罫線のフィールドをその1行分だけ
少ないものにする。そして、ステップS7でXY座標で
このフィールドを部分的にソートする。That is, first, in step S6, the vertical ruled line is edited by one line, and then the field of the vertical ruled line is reduced by that one line. Then, in step S7, this field is partially sorted by XY coordinates.
ステップS8ですべての編集が終わっていなければ、ス
テップS2に戻る。すべての編集が終われば、本編集処
理を終了する。If all editing is not completed in step S8, the process returns to step S2. When all editing is completed, the main editing process ends.
(発明の効果)
以上説明したように、本発明の帳票出力編集装置によれ
ば、ページプリンタ用の機械コードを編集してシリアル
プリンタ用の機械コードを作成するようにしたので、次
のような効果がある。(Effects of the Invention) As explained above, according to the form output editing device of the present invention, the machine code for the page printer is edited to create the machine code for the serial printer. effective.
即ち、帳票フォーマット等を一度設計して作成すると、
それを使用してページプリンタへもシリアルプリンタへ
も、フオームオーバレイ方式による帳票出力を行なうこ
とができる。また、物理的には、ページプリンタにより
帳票出力する場合にも、論理的には、ページプリンタに
より帳票出力するものとみなしてプログラミングを行な
うことができる。In other words, once you design and create a form format,
It can be used to output forms using the form overlay method to both page printers and serial printers. Furthermore, even if a form is physically output by a page printer, programming can be performed by assuming that the form is logically output by a page printer.
第1図は本発明の帳票出力編集装置の構成を示すブロッ
ク図、第2図は従来の帳票出力編集装置の構成を示すブ
ロック図、第3図は本発明の編集処理手順を説明するフ
ローチャートである。
1・・・格納手段、2・・・変換手段、3・・・合成手
段、4・・・分離手段、5・・・文字コード編集手段、
6・・・横罫線コード編集手段、
7・・・縦罫線コード編集手段、
8・・・部分ソート手段。
21
(0)
の
(0帳票出力編集装置
第2図FIG. 1 is a block diagram showing the configuration of a form output editing device of the present invention, FIG. 2 is a block diagram showing the configuration of a conventional form output editing device, and FIG. 3 is a flowchart explaining the editing processing procedure of the present invention. be. DESCRIPTION OF SYMBOLS 1... Storage means, 2... Conversion means, 3... Composition means, 4... Separation means, 5... Character code editing means,
6...Horizontal ruled line code editing means, 7...Vertical ruled line code editing means, 8...Partial sorting means. 21 (0) (0 form output editing device Figure 2
Claims (1)
タを格納した格納手段と、 当該格納手段内の帳票フォーマット及び帳票作成データ
をページプリンタに対応した機械コードに変換する変換
手段と、 これらのページプリンタに対応した機械コード及び帳票
作成データに対応した機械コードを合成する合成手段と
、 当該合成手段により合成されたページプリンタに対応し
た機械コードを、文字コードか横罫線コードか縦罫線コ
ードかのいずれかに分離する分離手段と、 前記ページプリンタに対応した文字コードを、シリアル
プリンタに対応した文字コードに編集する文字コード編
集手段と、 前記ページプリンタに対応した横罫線コードを、シリア
ルプリンタに対応した横罫線コードに編集する横罫線コ
ード編集手段と、 前記ページプリンタに対応した縦罫線コードを、1行分
だけシリアルプリンタに対応した縦罫線コードに編集す
る縦罫線コード編集手段と、当該縦罫線コード編集手段
により1行分だけ編集されたシリアルプリンタ用の縦罫
線コードを行列順に入れ換える部分ソート手段とから成
ることを特徴とする帳票出力編集装置。[Scope of Claims] A storage means that stores a form format and form creation data for a page printer, a conversion means that converts the form format and form creation data in the storage means into a machine code compatible with the page printer, and A synthesis means for synthesizing a machine code compatible with the page printer and a machine code corresponding to the form creation data, and a machine code compatible with the page printer synthesized by the synthesis means into a character code, horizontal ruled line code, or vertical ruled line code. character code editing means for editing a character code compatible with the page printer into a character code compatible with the serial printer; and character code editing means for editing the character code compatible with the page printer into a character code compatible with the serial printer. horizontal ruled line code editing means for editing a horizontal ruled line code compatible with the page printer; vertical ruled line code editing means for editing the vertical ruled line code compatible with the page printer into a vertical ruled line code compatible with a serial printer by one line; A form output editing device comprising: partial sorting means for rearranging vertical ruled line codes for serial printers edited by a vertical ruled line code editing means for one line in matrix order.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022021A JP2614339B2 (en) | 1990-02-02 | 1990-02-02 | Form output editing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022021A JP2614339B2 (en) | 1990-02-02 | 1990-02-02 | Form output editing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03227285A true JPH03227285A (en) | 1991-10-08 |
| JP2614339B2 JP2614339B2 (en) | 1997-05-28 |
Family
ID=12071334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022021A Expired - Lifetime JP2614339B2 (en) | 1990-02-02 | 1990-02-02 | Form output editing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2614339B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7677708B2 (en) | 2006-03-17 | 2010-03-16 | Ngk Insulators, Ltd. | Discharge device |
| US9832592B2 (en) | 2013-11-21 | 2017-11-28 | Fujitsu Limited | Radio communication device and radio communication method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01296335A (en) * | 1988-05-25 | 1989-11-29 | Fujitsu Ltd | Forms overlay table preparing system |
| JPH01316278A (en) * | 1988-06-15 | 1989-12-21 | Nec Corp | Definition system for ledger and form of japanese character printer |
-
1990
- 1990-02-02 JP JP2022021A patent/JP2614339B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01296335A (en) * | 1988-05-25 | 1989-11-29 | Fujitsu Ltd | Forms overlay table preparing system |
| JPH01316278A (en) * | 1988-06-15 | 1989-12-21 | Nec Corp | Definition system for ledger and form of japanese character printer |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7677708B2 (en) | 2006-03-17 | 2010-03-16 | Ngk Insulators, Ltd. | Discharge device |
| US9832592B2 (en) | 2013-11-21 | 2017-11-28 | Fujitsu Limited | Radio communication device and radio communication method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2614339B2 (en) | 1997-05-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63205257A (en) | Printing control system | |
| CA1169569A (en) | Method for editing spatially related data in an interactive text processing system | |
| JP2614339B2 (en) | Form output editing device | |
| US20040019848A1 (en) | Method for dynamically inserting and removing tab text | |
| JPS6321158A (en) | Printer output device | |
| US20040019854A1 (en) | Dynamically configurable page numbering system | |
| JPS63139751A (en) | Printing method in printing system | |
| JPH02158827A (en) | Generating processing system for data stream for print-output | |
| JP3022113B2 (en) | Text data editing processing method | |
| JP2674020B2 (en) | Optical character recognition device | |
| JPS58211284A (en) | Printer connecting device having editing function | |
| JP2594043B2 (en) | Ruled line creation device | |
| JP2002183654A (en) | Apparatus and method for converting form data into CSV data | |
| JPH0462586B2 (en) | ||
| JPS6189061A (en) | Printer | |
| JPH0550694A (en) | Form merge method | |
| JPS62269272A (en) | Editing system of image data and japanese character data | |
| JP2541221B2 (en) | Decorative pattern output method | |
| JPH038073A (en) | Half-tone dot meshing processing system for reduced caption | |
| JPH03192466A (en) | Document preparing system | |
| JPH01155483A (en) | character reading device | |
| JPS63247809A (en) | Composing/editing control system for message text | |
| JPH04170671A (en) | Document preparing machine | |
| JPS62269991A (en) | Character deformation printing processor | |
| JPH02121856A (en) | Printing system |