JPH0454526A - Format converter - Google Patents
Format converterInfo
- Publication number
- JPH0454526A JPH0454526A JP16280990A JP16280990A JPH0454526A JP H0454526 A JPH0454526 A JP H0454526A JP 16280990 A JP16280990 A JP 16280990A JP 16280990 A JP16280990 A JP 16280990A JP H0454526 A JPH0454526 A JP H0454526A
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- format
- converter
- program
- data
- 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
Landscapes
- Digital Computer Display Output (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
この発明はフォーマット変換装置、特に計算機の周辺機
器である例えばCRTターミナル、プリンタ等の文字表
示装置に出力するデータのフォーマット変換装置に関す
るものである。[Detailed Description of the Invention] [Industrial Field of Application] This invention relates to a format conversion device, and particularly to a format conversion device for data output to character display devices such as computer peripherals such as CRT terminals and printers. .
[従来の技術]
第3図は従来のフォーマット変換装置を示すブロック図
であり、図において(1)は一定の処理を行うアプリケ
ーション プログラム、(2)は変換のだめの配置を決
める変換フォーマット、(3)はデジタル信号として格
納された変換データ、(4)は変換フt−マット(2)
、変換データ(3)に基づいてフォーマット変換を行う
フォーマット変換器、(5)はフォーマット変換された
データが供給される出力装置である。[Prior Art] FIG. 3 is a block diagram showing a conventional format conversion device. In the figure, (1) is an application program that performs certain processing, (2) is a conversion format that determines the arrangement of conversion stops, and (3) is a block diagram showing a conventional format conversion device. ) is the conversion data stored as a digital signal, (4) is the conversion format (2)
, a format converter that performs format conversion based on the converted data (3), and (5) an output device to which the format-converted data is supplied.
次に動作について説明する。出力装置(5)により表示
を行う場合には、見出し部分やスペース部分等の固定部
分とその他の可変部分に分けて表示するのが一般的であ
る。第4図はその表示例であり、(6)が見出し部分や
スペースを設定するための固定部分、(7)が日付など
の可変部分である。Next, the operation will be explained. When displaying using the output device (5), it is common to divide the display into fixed parts such as heading parts and space parts, and other variable parts. FIG. 4 shows an example of the display, in which (6) is a fixed part for setting headings and spaces, and (7) is a variable part such as the date.
変換フォーマット(2)にはこれらの固定部分と可変部
分があらかじめ登録してあり、これらに変換データ(3
)を付けてフォーマット変換器(4)に入力すると第4
図に示すような出力結果を出力装置(5)で得ることが
できる。These fixed parts and variable parts are registered in advance in the conversion format (2), and the conversion data (3) is added to these fixed parts and variable parts.
) and input it to the format converter (4), the fourth
An output result as shown in the figure can be obtained by the output device (5).
[発明が解決しようとする課題]
従来のフォーマット変換装置は以上のように構成されて
いたので、1つのブロックが1行もしくは2〜3行程度
の短いものであり、複数(例えば一画面分)を表示する
場合は変換フt−マット(2)および変換データ(3)
を切り換えてくり返し利用する必要があり、この結果、
アプリケーションプログラムの構造が複雑になるほか、
修正のためにアプリケージ1ンプログラムの変更を行う
必要があるなどの問題点があった。[Problems to be Solved by the Invention] Since the conventional format conversion device was configured as described above, one block is short, about 1 line or 2 to 3 lines, and multiple blocks (for example, one screen) are used. If you want to display the conversion format (2) and conversion data (3)
It is necessary to switch and use it repeatedly, and as a result,
In addition to the complexity of the application program structure,
There were problems such as the need to change the app application program in order to make corrections.
この発明は上記のような問題点を解決するためになされ
たもので、例えば25行(一画面分)程度の印字を1回
の動作で行うことのできるフォーマット変換装置を得る
ことを目的としている。This invention was made to solve the above-mentioned problems, and its purpose is to obtain a format conversion device that can print, for example, about 25 lines (for one screen) in one operation. .
[1題を解決するための手段]
この発明に係るフォーマット変換装置は変換フォーマッ
トおよび変換データにもとづいてフォーマット変換器か
ら文字データを出力するフォーマット変換装置において
、上記フォーマット変換器内に変換プログラムを内蔵し
、文字コード変換制御を行うようにしたものである。[Means for Solving Problem 1] A format conversion device according to the present invention is a format conversion device that outputs character data from a format converter based on a conversion format and conversion data, and a conversion program is built into the format converter. The system also controls character code conversion.
[作 用]
この発明においては、フォーマット変換器の内蔵する変
換プログラムはフォーマット変換のほかに条件判断、分
岐、くり返し、サブルーチンコールなどの基本的な命令
を組み込んであり、変換フt−マットの実行、不実行を
選択できるほか、同一フォーマットの(り返しも実行す
ることができる。[Function] In the present invention, the conversion program built into the format converter incorporates basic instructions such as condition judgment, branching, repetition, and subroutine calls in addition to format conversion, and executes the conversion format. , you can select not to execute it, and you can also execute (repetition of the same format).
[実施例]
以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例のブロック図であり、(1)、
(5)は前述したものと同じものである。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of one embodiment of this invention, (1),
(5) is the same as described above.
第1図において、(11)はアプリケーションプログラ
ム(1)と分離して設けら!L変換命令を内蔵した変換
フォーマット、(12)は変換フォーマット(11)に
対応した変換対象データと変換フォーマット(11)を
制御するデータからなる変換データ、(12)は変換プ
ログラムを内蔵し、この変換プログラムに基づいて変換
フォーマツ) (11)、変換データ(12)を実行し
て文字データを出力するフォーマット変換器である。In FIG. 1, (11) is provided separately from the application program (1)! A conversion format with a built-in L conversion command, (12) is conversion data consisting of conversion target data corresponding to the conversion format (11) and data that controls the conversion format (11), and (12) has a conversion program built-in. This is a format converter that executes conversion format (11) and conversion data (12) based on a conversion program and outputs character data.
次に動作について説明する。変換フォーマ・/ト(10
)には一画面分のフt−マットが登録されており、変換
フォーマット(10)中の変換命令がフォーマット変換
器(12)によって読み出され、フォーマット変換器(
12)は変換プログラムに従い、命令通りに変換フォー
マット(10)、変換データ(11)を実行しこの変換
結果を出力装置(5)へ出力する。第2図はこの実行に
よる変換データ(Uンと変換フォーマット(lO)との
関係を示したものである。Next, the operation will be explained. Conversion format/to (10
) is registered with a format for one screen, the conversion command in the conversion format (10) is read out by the format converter (12), and the format converter (
12) executes the conversion format (10) and conversion data (11) as instructed according to the conversion program, and outputs the conversion result to the output device (5). FIG. 2 shows the relationship between the conversion data (U) and the conversion format (lO) resulting from this execution.
なお、上記実施例では計算機周辺装置の出力装置を例に
上げて説明したが、汎用の文字通信装置にも適用できる
ことは云うまでもない。Although the above embodiment has been explained using an example of an output device of a computer peripheral device, it goes without saying that the present invention can also be applied to a general-purpose character communication device.
[発明の効果]
以上のように、この発明によれば、変換フォーマットお
よび変換データにもとづいてフォーマット変換器から文
字データを出力するフォーマット変換装置において、上
記フォーマット変換・器内に変換プログラムを内蔵し、
文字コード変換制御を行うようにしたので、大容量の変
換を一つの動作で実行できるほか、アプリケーションプ
ログラムと分離して変換フt−マットを作成することに
よリアプリケーションプログラムの構造を簡単にできる
と共にアプリケーションプログラムの並行生産が可能と
なり、また、変換フォーマットのみを変更することでイ
メージの異なる出力結果を得ることができ、メンテナン
ス性の良いアプリケーションプログラムを作ることがで
きる効果を奏する。[Effects of the Invention] As described above, according to the present invention, in a format conversion device that outputs character data from a format converter based on a conversion format and conversion data, a conversion program is built in the format conversion device. ,
Since character code conversion is controlled, a large amount of conversion can be executed in one operation, and the structure of the re-application program can be simplified by creating a conversion format separately from the application program. At the same time, it is possible to produce application programs in parallel, and by changing only the conversion format, output results with different images can be obtained, which has the effect of making it possible to create application programs with good maintainability.
第1図はこの発明によるフォーマット変換装置の一実施
例を示すブロック図、第2図はこの発明による変換フォ
ーマットと変換データとの関係を示す説明図、第3図は
従来のフォーマット変換装置を示すブロック図、第4図
は従来のフォーマットによる表示例を示す説明図である
。
図において、(10)は変換フォーマット、(11)は
変換データ、(12)はフォーマット変換器である。
なお、各図中同一符号は同−又は相当部品を示す。FIG. 1 is a block diagram showing an embodiment of a format conversion device according to the present invention, FIG. 2 is an explanatory diagram showing the relationship between the conversion format and conversion data according to the invention, and FIG. 3 shows a conventional format conversion device. The block diagram in FIG. 4 is an explanatory diagram showing an example of display in a conventional format. In the figure, (10) is a conversion format, (11) is conversion data, and (12) is a format converter. Note that the same reference numerals in each figure indicate the same or equivalent parts.
Claims (1)
ーマット変換器から文字データを出力するフォーマット
変換装置において、 上記フォーマット変換器内に変換プログラムを内蔵し、
文字コード変換制御を行うようにしたことを特徴とする
フォーマット変換装置。[Claims] A format conversion device that outputs character data from a format converter based on a conversion format and conversion data, the format converter having a built-in conversion program,
A format conversion device characterized by controlling character code conversion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16280990A JPH0454526A (en) | 1990-06-22 | 1990-06-22 | Format converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16280990A JPH0454526A (en) | 1990-06-22 | 1990-06-22 | Format converter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0454526A true JPH0454526A (en) | 1992-02-21 |
Family
ID=15761636
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16280990A Pending JPH0454526A (en) | 1990-06-22 | 1990-06-22 | Format converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0454526A (en) |
-
1990
- 1990-06-22 JP JP16280990A patent/JPH0454526A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0454526A (en) | Format converter | |
| JPH0254331A (en) | Display system | |
| JPH042966B2 (en) | ||
| JPS61148542A (en) | Maintenance system of data processor | |
| JPH0675881A (en) | Different machine kind terminal control and transmission control system | |
| JPH0212318A (en) | User interface preparing system | |
| JPH05224713A (en) | Display method for programmable controller | |
| JPH01244502A (en) | Pc program display system | |
| JPS61240322A (en) | Terminal equipment | |
| JPH0477784A (en) | System for controlling color of character on screen | |
| JPS6243707A (en) | Numerical controller | |
| JPS63244130A (en) | Information output print method | |
| JPH04205025A (en) | Display color control method for output unit | |
| JPS59222882A (en) | Display unit | |
| JPS6364158A (en) | Terminal control system | |
| EP0292647A3 (en) | Operator assistance method for data processing | |
| JPH0241252A (en) | Change device mechanism | |
| JPH03129517A (en) | Screen input/output operation defining system | |
| JPS63106078A (en) | Display method for character string echo of graphic processor | |
| JPH03130817A (en) | Key input control method | |
| JPH0267823A (en) | Pop up menu control system for operating system | |
| JPH01257399A (en) | Interactive arrangement method | |
| JPH0212365A (en) | Word processor | |
| JPS61170824A (en) | Setting device of data | |
| JPS63187318A (en) | Mode switching control system |