JPS63292189A - Character output apparatus - Google Patents

Character output apparatus

Info

Publication number
JPS63292189A
JPS63292189A JP62127007A JP12700787A JPS63292189A JP S63292189 A JPS63292189 A JP S63292189A JP 62127007 A JP62127007 A JP 62127007A JP 12700787 A JP12700787 A JP 12700787A JP S63292189 A JPS63292189 A JP S63292189A
Authority
JP
Japan
Prior art keywords
code
character
input
information
output
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
JP62127007A
Other languages
Japanese (ja)
Inventor
雄一 樋口
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 JP62127007A priority Critical patent/JPS63292189A/en
Publication of JPS63292189A publication Critical patent/JPS63292189A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [a業上の利用分野] 本発明は入力情報を処理して文字パターンで出力する文
字出力装置に関し、特に必要に応じ入力情報のコード値
を数値で出力することの可能ないわゆるダンプ機能を備
えた文字出力装置に関する。
[Detailed Description of the Invention] [Field of Application in Business A] The present invention relates to a character output device that processes input information and outputs it as a character pattern, and particularly to a character output device that processes input information and outputs it as a character pattern. The present invention relates to a character output device equipped with a so-called dump function.

[従来の技術] 従来のこの種の文字出力装置では、入力系や出力系等の
トラブルのチェック、あるいは定期保守検査などにおい
て、データ源から伝送された入力情報のコード値の全て
を必要に応じ16進表示で記録紙上にべた印字出力する
ことが行われている。
[Prior Art] In conventional character output devices of this type, all code values of input information transmitted from a data source are processed as needed when checking for troubles in the input system, output system, etc., or during periodic maintenance inspections. Solid printout is performed on recording paper in hexadecimal format.

[発明が解決しようとする問題点] しかしながら、このような従来装置では、それぞれ出力
可能な文字パターンのコード体系が一般に一種類に限定
されていたので、異なるコード体系の入力情報が入力し
た場合には、使用者の意図する文字パターンと異なる文
字パターンが出力され、適切な入力情報の検査を行うこ
とができないという欠点があった。
[Problems to be Solved by the Invention] However, in such conventional devices, the encoding system for each character pattern that can be outputted is generally limited to one type, so when input information of different encoding systems is input, This has the drawback that a character pattern different from the character pattern intended by the user is output, and it is not possible to properly check input information.

例えば、第6図には、装置がASCIIコードのみを取
扱える時に、EBCDICコードの入力情報の入力があ
った場合のダンプ出力例を示したが、本図に示すように
、EBCDICコード体系では5a、5b、5c、5j
For example, Figure 6 shows an example of the dump output when EBCDIC code input information is input when the device can only handle ASCII codes. , 5b, 5c, 5j
.

5eの入力コードはそれぞれ!、$、*、)、;に対応
するはずであるが、装置がASCIIコード体系で表示
するようになっているので、Z、[、¥。
The input codes for 5e are different! , $, *, ), ;, but since the device is designed to display them using the ASCII code system, Z, [, ¥.

〕と出力されてしまい、入力情報のチェックができなく
なってしまう。
] is output, making it impossible to check the input information.

本発明は、上述の欠点を除去し、異なる複数のコード体
系の入力情報のダンプ出力を適切に実行可能な文字出力
装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character output device capable of eliminating the above-mentioned drawbacks and appropriately dumping input information of a plurality of different code systems.

[問題点を解決するた、めの手段] かかる目的を達成するため、本発明は、入力情報を格納
する記憶手段と、入力情報のコード体系の種類を識別す
る識別手段と、識別手段により識別されたコード体系の
種類に基づいて、記憶手段から読み出した入力情報の入
力コード値および対応の文字パターン情報を出力する文
字パターン変換手段とを具備したことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a storage means for storing input information, an identification means for identifying the type of code system of the input information, and an identification method using the identification means. The present invention is characterized by comprising character pattern converting means for outputting an input code value of input information read from the storage means and corresponding character pattern information based on the type of code system determined.

[作 用] 本発明は、入力データのコード体系の種類を識別して、
そのコード体系の種類に合せて入力データのダンプ出力
を行うようにしているので、入力受信データの誤りを迅
速に検出でき、データ検証作業が容易となる。
[Function] The present invention identifies the type of coding system of input data,
Since input data is dumped and output according to the type of code system, errors in received input data can be detected quickly, and data verification work is facilitated.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明実施例の基本構成を示す。本図において
、aは入力情報を格納する記憶手段、bは入力情報のコ
ード体系の種類を識別する識別手段である。Cは文字パ
ターン変換手段であり、識別手段すにより識別されたコ
ード体系の種類に基づいて、記憶手段aから読み出した
入力情報の人力コード値および対応の文字パターン情報
を出力する。
FIG. 1 shows the basic configuration of an embodiment of the present invention. In this figure, a is a storage means for storing input information, and b is an identification means for identifying the type of code system of the input information. C is a character pattern conversion means, which outputs the manual code value of the input information read from the storage means a and the corresponding character pattern information based on the type of code system identified by the identification means.

第2図は本発明実施例の回路構成を示す。本図において
、1はそれぞれあらかじめ定めた特定のコード体系の文
字情報を出力するホストコンピュータ等のデータ源であ
り、情報出力の最初において使用コード体系の種類を示
す識別コードを出力するものとする。2はデータ源1か
らの情報を伝送する回線である。
FIG. 2 shows a circuit configuration of an embodiment of the present invention. In the figure, reference numeral 1 denotes a data source such as a host computer that outputs character information of a predetermined specific code system, and outputs an identification code indicating the type of code system used at the beginning of information output. 2 is a line for transmitting information from data source 1;

3は符号4〜12の部分から構成される文書処理部であ
る。4は回線2を通じてデータ源1からの入力情報を一
時格納する入力バッファ、5はROM (リードオンリ
メモリ)6にあらかじめ格納した第5図に示すような制
御手順に従りて本発明に係る制御演算を実行するCPU
 (中央演算処理装置)、7はCPt15のワークエリ
アとして使用するRA14 (ランダムアクセスメモリ
)である。
Reference numeral 3 denotes a document processing section consisting of parts 4 to 12. Reference numeral 4 indicates an input buffer for temporarily storing input information from the data source 1 through the line 2, and 5 indicates a control according to the present invention according to the control procedure shown in FIG. CPU that executes calculations
(Central Processing Unit), 7 is RA14 (Random Access Memory) used as a work area of CPt15.

また、8はデータ源1から入力した入力情報のコード体
系の種類を検索するためのコード体系レジスタ、9は該
当のコード体系毎に第3図および第4図に示すようにフ
ォント情報および文字パターンがあらかじめ格納されて
いる文字パターン発生機である。10は出力される文字
コードとその出力座標位置および文字fffi(ゴシッ
ク、イタリック等)がページ単位で一時格納させるペー
ジバッファ、11はページバッファ10の記憶内容を文
字パターン発生機9を用いて文字パターンに変換して、
出力イメージで展開するイメージバッファである。12
はイメージバッファ11からの文字パターン展開データ
を受は取り、印字信号(ビデオ信号)に変換して出力す
るプリンタインタフェース、13はcpusにダンプ出
力の指示を行うダンプ指示キー、14はプリンタインタ
フェース12かうの出力に応じて、用紙等の被記録媒体
上に文字パターンで情報出力を実際に行うプリンタ部で
ある。プリンタ部14としてはインクジェットプリンタ
、熱転写プリンタ、レーザビームプリンタ等の各種のプ
リンタが使用できる。
Further, 8 is a code system register for searching the type of code system of the input information inputted from the data source 1, and 9 is a code system register for searching the type of code system of the input information inputted from the data source 1, and 9 is the font information and character pattern for each applicable code system as shown in Figures 3 and 4. is a character pattern generator that is pre-stored. 10 is a page buffer in which the output character code, its output coordinate position, and characters fffi (gothic, italic, etc.) are temporarily stored in page units; 11 is a page buffer in which the stored contents of the page buffer 10 are converted into a character pattern using a character pattern generator 9; Convert it to
This is an image buffer to be expanded with the output image. 12
13 is a printer interface that receives character pattern development data from the image buffer 11, converts it into a print signal (video signal), and outputs it; 13 is a dump instruction key that instructs the CPU to output a dump; 14 is the printer interface 12; This is a printer unit that actually outputs information in the form of a character pattern onto a recording medium such as paper according to the output of the printer. As the printer section 14, various printers such as an inkjet printer, a thermal transfer printer, and a laser beam printer can be used.

第3図は上述の文字パターン発生機9の配置構成(メモ
リマツプ)例を示し、ここで21は入力コード体系に対
応した各文字セットの情報がどこから開始されるかのア
ドレスが記憶されたフォント情報部、22は各フォント
のパターン情報等が格納されたフォント格納部である。
FIG. 3 shows an example of the arrangement (memory map) of the above-mentioned character pattern generator 9, where 21 is font information in which the address of where the information of each character set corresponding to the input code system starts is stored. A section 22 is a font storage section in which pattern information and the like of each font are stored.

フォント格納部22はコード体系の種類、例えばJIS
 コード(J ) 、ASII:II コード(A )
 、EBCDICコード(E)等の複数のコード体系毎
に設けられている。
The font storage section 22 stores the type of code system, for example, JIS.
Code (J), ASII:II code (A)
, EBCDIC code (E), etc. are provided for each of a plurality of code systems.

第4図は第3図のフォント格納部22の内部構成例を示
す。ここで、22−1は入力コードに対応したその文字
セットのコード体系、文字の幅、文字の高さ、文字種等
の情報が格納された文字セット情報部、22−2は各コ
ードに対する文字パターンが格納されている文字セット
パターン格納部である。
FIG. 4 shows an example of the internal configuration of the font storage section 22 shown in FIG. Here, 22-1 is a character set information section storing information such as the code system, character width, character height, character type, etc. of the character set corresponding to the input code, and 22-2 is the character pattern for each code. This is the character set pattern storage area where is stored.

次に、第5図のフローチャートを参照して第2図の本発
明実施例の動作例を説明する。
Next, an example of the operation of the embodiment of the present invention shown in FIG. 2 will be explained with reference to the flowchart shown in FIG.

まず、待機ルーチンにおいて、データ源1からデータ送
信があると、本プログラムが開始され、受信データを入
力バッファ4に一時格納する(ステップSl)。その後
、データ源1からの受信が終了すると、入力バッファ4
から入力コード単位で受信データの読み出しを開始しく
ステップS2)、最初に送られるコード体系識別コード
を基に入力文字コードのコード体系の種類をコード体系
レジスタ8を参照することにより判別し、入力情報のコ
ード体系の種類を決定する(ステップ53)。
First, in the standby routine, when data is transmitted from the data source 1, this program is started and the received data is temporarily stored in the input buffer 4 (step Sl). After that, when reception from data source 1 is completed, input buffer 4
In step S2), the type of code system of the input character code is determined by referring to the code system register 8 based on the first sent code system identification code, and the input information is read out in units of input codes. The type of coding system is determined (step 53).

次に、ダンプ指示キー13のキー人力がONであるか否
かを判定しくステップS4)、ダンプ体系がなければ、
決定した。コード体系でのパターン変換による通常の出
力処理を実行する(ステップS5)。
Next, it is determined whether or not the manual key of the dump instruction key 13 is turned on (step S4), and if there is no dump system,
Decided. Normal output processing by pattern conversion in the code system is executed (step S5).

ダンプ出力がダンプ指示キー13で指示されているとき
には、入力バッファ4から次のデータを読み込み(ステ
ップS6)、読み込んだデータが制御命令か否かを判定
しくステップS7)、制御命令であれば、決定したコー
ド体系での制御用パターンの格納アドレスを文字パター
ン発生機9のフォント情報部21で検索しくステップS
8)、検索したパターンアドレスと入力コードとをペー
ジバッファ10へ書き込む(ステップ510)、一方、
入力バッファ4から読み込んだコードが制御命令以外の
文字コードであれば、決定したコード体系での文字パタ
ーン格納アドレスを文字パターン発生@9のフォント情
報部21で検索しくステップS9) 、検索り。
When dump output is instructed by the dump instruction key 13, the next data is read from the input buffer 4 (step S6), and it is determined whether the read data is a control command (step S7); if it is a control command, In step S, the font information unit 21 of the character pattern generator 9 is searched for the storage address of the control pattern in the determined code system.
8), write the searched pattern address and input code to the page buffer 10 (step 510);
If the code read from the input buffer 4 is a character code other than a control command, the character pattern storage address in the determined code system is searched in the font information section 21 of the character pattern generation @9 (step S9).

たパターンアドレスを入力コードとともに、また位置情
報や文字セット情報部22−1から得た文字の種類等と
ともにページバッファ10へ書き込む(ステップ510
)。
The pattern address obtained is written to the page buffer 10 together with the input code, position information, character type obtained from the character set information section 22-1, etc. (step 510).
).

続いて、大力バッファ4から次のデータを読み込み(ス
テップ511)、読み込んだコードがデータエンドを示
すコードであるか否かを判定しくステップ512)、否
定判定ならば上述のステップS7へ戻って、ステップ5
7〜S ’l 2までの処理をステップ512で肯定判
定となるまで繰り返す。
Next, the next data is read from the power buffer 4 (step 511), and it is determined whether or not the read code is a code indicating the data end (step 512). If the determination is negative, the process returns to step S7 described above. Step 5
The processes from 7 to S'l2 are repeated until an affirmative determination is made in step 512.

その後、入力バッファ4から読み込んだコードがデータ
エンドとなりたときには、文字パターン発生機9の文字
セットパターン格納部22−2を参照してページバッフ
ァ10の内容を文字パターンに変換し、出力イメージバ
ッファ11上に展開する(ステップ513)。イメージ
バッファ11への展開が終了したらイメージバッファ1
1からインタフェイス12を通じてプリンタ部14へ文
字パターンでの印字信号(ビデオ信号)を出力し、用紙
等の被記録媒体上にダンプ出力印字をさせる(ステップ
514)。その後、待機ルーチンに戻る。
Thereafter, when the code read from the input buffer 4 reaches the data end, the contents of the page buffer 10 are converted into a character pattern by referring to the character set pattern storage section 22-2 of the character pattern generator 9, and the output image buffer 11 converts the contents of the page buffer 10 into a character pattern. Expand on top (step 513). When the expansion to image buffer 11 is completed, image buffer 1
1 outputs a print signal (video signal) in the form of a character pattern to the printer section 14 through the interface 12, and causes dump output printing to be performed on a recording medium such as paper (step 514). Then it returns to the wait routine.

プリンタ14での出力結果のフォーマットとしては例え
ば第6図に示すように左側31に16進コードでの入力
コード値の表示、右側32にその人力コードが表わす文
字パターン出力が表示される。なお、本例では、コード
体系に合わせて文字パターンが出力されるので、入力コ
ード体系に合致した文字パターンのダンブリストが得ら
れる。
For example, as shown in FIG. 6, the format of the output result from the printer 14 is such that the input code value is displayed in hexadecimal code on the left side 31, and the character pattern output represented by the manual code is displayed on the right side 32. Note that in this example, since character patterns are output according to the code system, a dumb list of character patterns that match the input code system can be obtained.

本実施例では制御コードの出力表示において、あらかじ
め定めた特定の制御コード用文字パターンを使用するよ
うにしたが、さらにその文字パターンや人力コード値表
示に網かけ等の出力処理を施せば、制御コード以外の文
字データとの区別がより容易となる。また、出力系とし
てはプリンタに限らず、CRTなどの表示装置にも適用
可能である。
In this embodiment, a predetermined specific character pattern for the control code is used in the output display of the control code, but if further output processing such as shading is applied to the character pattern and the manual code value display, the control It becomes easier to distinguish from character data other than codes. Furthermore, the output system is not limited to printers, but can also be applied to display devices such as CRTs.

[発明の効果] 以上説明したように、本発明によれば、入力データのコ
ード体系の種類を識別して、そのコード体系の種類に合
せて人力データのダンプ出力を行うようにしているので
、入力受信データの誤りを迅速に検出でき、データ検証
作業が容易となる等の効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, the type of coding system of input data is identified and the dump output of human data is performed in accordance with the type of coding system. Errors in input received data can be detected quickly, data verification work becomes easier, and other effects can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明実施例の基本構成を示すブロック図、 第2図は本発明の一実施例の回路構成を示すブロック図
、 第3図は第2図の文字パターン発生機の構成を示す配置
構成図、 第4図は第3図のフォント格納部の詳細を示す配置構成
図、 第5図は第2図の本発明実施例の動作例を示すフローチ
ャート、 第6図は従来の入力情報のダンプ出力状悪例を示す説明
図である。 1・・・データ源、 3・・・文字処理部、 4・・・人力バッファ、 5・・・cpu 。 8・・・コード体系レジスタ、 9・・・文字パターン発生機、 10…ベージバツフア、 11・・・イメージバッファ、 13・・・ダンプ指示キー、 14・・・プリンタ部。 実施例9墓本構成の7017図 第1図 実施例1の文字ノでターン売主益の償成1示オ龜己置1
1戊図第3図 実慶例f)各フズント@r−納音pの積載1ホす配置襦
成図入力情報のり゛ンア出力状課51に示す言j!、朗
図第6図
Figure 1 is a block diagram showing the basic configuration of an embodiment of the present invention, Figure 2 is a block diagram showing the circuit configuration of an embodiment of the present invention, and Figure 3 is a diagram showing the configuration of the character pattern generator shown in Figure 2. 4 is a layout configuration diagram showing details of the font storage section in FIG. 3; FIG. 5 is a flowchart showing an example of the operation of the embodiment of the present invention in FIG. 2; FIG. 6 is a diagram showing conventional input information. FIG. 2 is an explanatory diagram showing an example of a bad dump output state. 1... Data source, 3... Character processing section, 4... Human power buffer, 5... CPU. 8... Code system register, 9... Character pattern generator, 10... Page buffer, 11... Image buffer, 13... Dump instruction key, 14... Printer section. Example 9 Figure 7017 of grave book composition
1 Figure 3 Practical example f) Loading of each fusunt@r-note p 1 Hose arrangement diagram Input information information The words shown in the output form section 51! , Rozu Figure 6

Claims (1)

【特許請求の範囲】 1)a)入力情報を格納する記憶手段と、 b)前記入力情報のコード体系の種類を識別する識別手
段と、 c)該識別手段により識別されたコード体系の種類に基
づいて、前記記憶手段から読み出した前記入力情報の入
力コード値および対応の文字パターン情報を出力する文
字パターン変換手段と を具備したことを特徴とする文字出力装置。
[Scope of Claims] 1) a) storage means for storing input information; b) identification means for identifying the type of code system of the input information; and c) information on the type of code system identified by the identification means. 1. A character output device comprising: character pattern converting means for outputting an input code value of the input information read from the storage means and corresponding character pattern information based on the storage means.
JP62127007A 1987-05-26 1987-05-26 Character output apparatus Pending JPS63292189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62127007A JPS63292189A (en) 1987-05-26 1987-05-26 Character output apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127007A JPS63292189A (en) 1987-05-26 1987-05-26 Character output apparatus

Publications (1)

Publication Number Publication Date
JPS63292189A true JPS63292189A (en) 1988-11-29

Family

ID=14949377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127007A Pending JPS63292189A (en) 1987-05-26 1987-05-26 Character output apparatus

Country Status (1)

Country Link
JP (1) JPS63292189A (en)

Similar Documents

Publication Publication Date Title
US4881180A (en) Character image generating circuit
JP2740568B2 (en) Printing equipment
JP2861404B2 (en) Printing device
JPS63292189A (en) Character output apparatus
US5345518A (en) Pattern generator
JP2713707B2 (en) Character output device
JPH05313636A (en) Image supply device
JPH05224846A (en) Printing and recording device
JPS602715B2 (en) Kanji bit pattern management method for kanji printers
JP2737883B2 (en) Output control device
JPS63272145A (en) Dump output device
US6577313B1 (en) Image data control apparatus
JP3437209B2 (en) Image recording device
JP2614251B2 (en) Printer print control method
JPH113189A (en) Printer
JPH02286382A (en) Printing apparatus
JPS6111844A (en) Recorder
JP2715475B2 (en) Graphic output device
JPS62199458A (en) Apparatus for processing document
JPH10119384A (en) Image forming apparatus
JPS6385922A (en) Printer device
JPH0542744A (en) Printer device
JPH0461782B2 (en)
JPH06246999A (en) Printer
JPS6322671A (en) Printer