JPS61156190A - Character output system - Google Patents

Character output system

Info

Publication number
JPS61156190A
JPS61156190A JP59274663A JP27466384A JPS61156190A JP S61156190 A JPS61156190 A JP S61156190A JP 59274663 A JP59274663 A JP 59274663A JP 27466384 A JP27466384 A JP 27466384A JP S61156190 A JPS61156190 A JP S61156190A
Authority
JP
Japan
Prior art keywords
code
font
kanji
memory
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
Application number
JP59274663A
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 JP59274663A priority Critical patent/JPS61156190A/en
Publication of JPS61156190A publication Critical patent/JPS61156190A/en
Pending legal-status Critical Current

Links

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 Industrial Application] The present invention relates to a character output method that receives input character codes and control codes and outputs characters developed into image dot information.

〔従来の技術〕[Conventional technology]

従来、この種の漢字出力装置においては、通常1種類の
漢字コードしか受は付けず、外部装置側で漢字出力装置
に合せてコードコンバートを行ったり、あるいは外部装
置における漢字コードに合せて出力装置側でコードコン
バートを行っていた。ただし、後者の場合でも、JIS
  C6226(以下JIS6226と呼ぶ)コード、
例えばrX”2121”JをJEF、KEIS:I−ド
、例えばrX’AIAIJに変換するといった具合に、
単純に変換できるものや、JIS6226コードをシフ
トしたシフトJISコードに変換するといった。さらに
はマイクロコンピュータ用のO5(オペレーティングシ
ステム)での漢字コードのようにある一定の手続を実行
すれば変換できるものが多数を占めていた。
Conventionally, this type of kanji output device usually accepts only one type of kanji code, and the external device converts the code to match the kanji output device, or the output device converts the code to match the kanji code on the external device. Code conversion was done on the side. However, even in the latter case, JIS
C6226 (hereinafter referred to as JIS6226) code,
For example, convert rX"2121"J to JEF, KEIS:I-do, for example rX'AIAIJ.
There are things that can be simply converted, and things like converting JIS6226 code to shifted JIS code. Furthermore, many of the codes could be converted by executing certain procedures, such as Kanji codes in O5 (operating system) for microcomputers.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の漢字出力装置は、上記のように構成されているた
め、既に登録されている文字の漢字コードの部分に別の
文字の登録を行うとか、IBM漢字コードのように基本
的にJIS6226コードに自動変換することが不可能
なコード体系への対応ができず、高速印字、高速表示可
能な漢字出力装置におけるパフォーマンスを充分に機能
させることができない等の問題点があった。
Conventional kanji output devices are configured as described above, so it is necessary to register another character in the kanji code part of the already registered character, or to basically convert it to JIS6226 code like the IBM kanji code. There were problems such as the inability to support code systems that cannot be automatically converted, and the inability to fully utilize the performance of a kanji output device capable of high-speed printing and high-speed display.

この発明は、上記の問題点を解消するためになされたも
ので、外部記憶装置に記憶された各漢字コード体系に応
じてフォントパターンを展開するとともに、所望とする
フォントパターンを高速に出力できる文字出力方式を得
ることを目的とする。
This invention was made to solve the above problems, and it develops font patterns according to each kanji code system stored in an external storage device, and also allows characters to output desired font patterns at high speed. The purpose is to obtain an output method.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかる文字出力方式は、それぞれのフォント
パターンがあらかじめ書き込まれた外部記憶手段より各
漢字体系のコードデータに応じてそれぞれのフォントパ
ターンを読み出しフォントメモリに書き込ませるように
したものである。
The character output method according to the present invention reads each font pattern according to the code data of each Kanji system from an external storage means in which each font pattern is written in advance and writes it into a font memory.

〔作用〕[Effect]

外部装置より入力される各漢字体系のコードデータの解
釈を行い、解釈された漢字体系のフォントパターンをフ
ォントメモリに書き込む。
Interprets the code data of each kanji system input from an external device, and writes the font pattern of the interpreted kanji system into the font memory.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す文字出力方式を説明
するブロック図であり、1は受信用のインタフェースで
、外部装置からのコードデータを受は取る。2は制御デ
ータを指令する操作部、3は入力データ処理用のマイク
ロプロセッサであって、インタフェース1を介して入力
されたコードデータおよび操作部2より指令された制御
データを解釈してデータ処理を行う、4はページメモリ
で、表示、印字等の出力を行う文字データを1ページ分
蓄える。5は出力データ用のマイクロプロセッサであっ
て、フォントメモリ6よりフォントパターンを読み出し
、フレームメモリ7に書き込む、8は各種漢字体系のフ
ォントパターンがあらかじめ記憶された外部記憶装置で
あって、マイクロプロセッサ3の指令または操作部2か
らのフォント指定に応じて、それぞれのフォントパター
ンがフォントメモリ6に書き込まれる。
FIG. 1 is a block diagram illustrating a character output method according to an embodiment of the present invention. Reference numeral 1 denotes a receiving interface, which receives code data from an external device. Reference numeral 2 denotes an operation unit that commands control data, and 3 a microprocessor for processing input data, which interprets code data input through the interface 1 and control data commanded from the operation unit 2, and processes the data. 4 is a page memory that stores one page of character data for display, printing, etc. Reference numeral 5 denotes a microprocessor for output data, which reads font patterns from a font memory 6 and writes them into a frame memory 7. Reference numeral 8 denotes an external storage device in which font patterns of various kanji systems are stored in advance; Each font pattern is written into the font memory 6 in accordance with the command or the font designation from the operation unit 2.

次に動作について説明する。Next, the operation will be explained.

マイクロプロセッサ3は、あらかじめ電源投入時や操作
部2からの指示により外部記憶装置8より必要なフォン
トパターンを読み出し、フォントメモリに書き込む、外
部装置から入力されたコードデータはインタフェース1
を介してマイクロプロセッサ3に入力される。マイクロ
プロセッサ3は入力データを解釈して、印字レコードの
取り出し等の印字処理を行い、印字を行う文字の文字コ
ードを内部コードの形でページメモリ5へ書き込む、内
部コードは第2図に示されるように、3バイトから構成
されており、英数−カナ文字を出力する1バイトコード
データの場合は、3バイトのうち、先頭の1バイトを例
えば「x′00′」とし、漢字文字を出力する2バイト
コードの場合は、先頭の1バイトを例えば「x′01′
」とする、すなわち、英数・カナ文字を出力する1バイ
トコードデータの場合は、rX’oo’J。
The microprocessor 3 reads the necessary font pattern from the external storage device 8 in advance when the power is turned on or according to an instruction from the operation unit 2, and writes it into the font memory.The code data input from the external device is sent to the interface 1.
is input to the microprocessor 3 via. The microprocessor 3 interprets the input data, performs printing processing such as retrieving a print record, and writes the character code of the character to be printed in the form of an internal code to the page memory 5. The internal code is shown in FIG. In the case of 1-byte code data that consists of 3 bytes and outputs alphanumeric-kana characters, the first byte of the 3 bytes is set to ``x'00'', for example, and kanji characters are output. In the case of a 2-byte code, the first byte should be set to ``x'01'', for example.
'', that is, rX'oo'J for 1-byte code data that outputs alphanumeric characters and kana characters.

rX’00”Jの次に、外部装置より入力された漢字体
系の1バイトコードデータに対応する内部コードを付記
し、漢字文字を出力する2バイトコードの場合は、先頭
の1バイトをrX’01’Jの次に、外部装置より入力
された漢字体系の2バイトコードデータに対応する内部
コードを付記する。
After rX'00"J, add an internal code corresponding to the 1-byte code data of the Kanji system input from the external device. If it is a 2-byte code that outputs Kanji characters, the first 1 byte is written as rX' After 01'J, an internal code corresponding to the 2-byte code data in the Kanji system input from the external device is added.

マイクロプロセッサ3は、改ページコードを受は取ると
か、あるいは1ページの行数分のデータが入力された場
合、ページメモリ4をクローズし、出力用のマイクロプ
ロセッサ5ヘコードデータを渡す、マイクロプロセッサ
5はページメモリ4からコードデータを3バイトずつ取
り出し、先頭の1バイトにより、上述した1バイトコー
ドか2バイトコードかを区別し、この区別によりフレー
ムメモリ7から読み出されたイメージドツト情報をフレ
ームメモリ7に書き込むためのアドレス演算を行う、こ
のアドレス演算に応じて、マイク−ロプロセッサ5がフ
ォントメモリ6に記憶されたフォントパターン(イメー
ジドツト情報)を読み出し、フレームメモリ7にイメー
ジドツト情報を書き込みページ単位に構成する。
The microprocessor 3 is a microprocessor that receives and receives a page break code, or closes the page memory 4 when data for the number of lines on one page is input, and passes the code data to the microprocessor 5 for output. 5 takes out the code data from the page memory 4 3 bytes at a time, distinguishes between the above-mentioned 1-byte code and 2-byte code based on the first byte, and uses this distinction to frame the image dot information read from the frame memory 7. The microprocessor 5 reads out the font pattern (image dot information) stored in the font memory 6 and writes the image dot information in the frame memory 7 according to the address calculation. Configure by page.

外字やロゴのような文字の登録を行う場合は。When registering characters such as external characters and logos.

ある定まった文字の登録のシーケンスをマイクロプロセ
ッサ3が判断し、正当なプロセスを経て入力されたコー
ドデータを内部データに変換するとトモに、フォントメ
モリ7を操作して、文字の登録(イメージドツト情報)
を所定領域に行う。外部記憶装置8およびフォントメモ
リ6において、登録されていない領域はその旨を示す未
定義文字パターン、例えば三角とアルファベットのUと
を組み合せたパターンを書き込んでおく、そのため、文
字登録はコードrX’oo00”J〜コードrX”FF
FF’Jまで自由に行うことができ、プロセッサ3.5
は外部装置から印字データが入力された場合および内部
コードを受は取った場合に、受は取った文字が登録され
ているかどうかの判断を省略することができる。
The microprocessor 3 determines the registration sequence of a certain character, converts the input code data into internal data through a legitimate process, and then operates the font memory 7 to register the character (image dot information). )
is performed on a predetermined area. In the external storage device 8 and font memory 6, in areas that are not registered, an undefined character pattern is written to indicate that, for example, a pattern that combines a triangle and the letter U. Therefore, character registration is performed using the code rX'oo00. "J~Code rX" FF
You can freely perform up to FF'J, processor 3.5
When print data is input from an external device or when an internal code is received, it is possible to omit the judgment as to whether or not the received character is registered.

次に第3図を参照しながらこの発明の文字出力方式につ
いて説明する。
Next, the character output method of the present invention will be explained with reference to FIG.

第3図は第1図に示したフォントメモリ6に書き込まれ
る各漢字体系のフォントパターンを説明する図であり、
21はJIS6226コード体系、22はシフトJIS
コード体系、23はJEF(KEIS)コード体系、2
4はIBM漢字コード体系である。
FIG. 3 is a diagram explaining the font patterns of each kanji system written in the font memory 6 shown in FIG.
21 is JIS6226 code system, 22 is shift JIS
Code system, 23 is JEF (KEIS) code system, 2
4 is the IBM Kanji code system.

この図に示されるように、例えば文字「亜」の外部コー
ドは、JIS6226コード体系21では「x′302
1′」であり、シフトJISコード体系22ではrX’
889F’J であり、JEFコード体系23でt−k
 rX”BOAl ’J であり、IBM漢字コード体
系24ではrX’4867′」となる。このように、各
漢字体系毎に使用する文字の外部コードは若干の差があ
る。そこで、操作部2や初期設定により、漢字を含めた
文字のコード体系を、例えばJIS6226コード体系
21から例えばIBM漢字コード体系24に変更する指
令がなされると、プロセッサ3は外部記憶装置8より指
令されたIBM漢字コード体系24に応じたフォントパ
ターンをフォントメモリ6にロードする0次に、マイク
ロプロセッサ5がページメモリ4に書き込まれた内部コ
ード「x′014867’Jを読み出し、その内部コー
ドrX′014867 ”J に対t67t7トパター
ンをフォントメモリ6より読み出し、フレームメモリ7
に書き込む、ここで、印字指令がなされると、文字「亜
」が出力される。
As shown in this figure, for example, the external code for the character "A" is "x'302" in JIS6226 code system 21.
1', and rX' in Shift JIS code system 22.
889F'J, t-k in JEF code system 23
rX"BOAl'J, and in the IBM Kanji code system 24, it becomes rX'4867'. In this way, there are some differences in the external codes of characters used for each kanji system. Therefore, when a command to change the code system of characters including kanji characters from, for example, JIS6226 code system 21 to, for example, IBM Kanji code system 24 is issued through the operation unit 2 or initial settings, the processor 3 receives the command from the external storage device 8. Next, the microprocessor 5 reads the internal code "x'014867'J" written in the page memory 4, and reads the internal code rX'. 014867 Read the t67t7 pattern for ``J'' from the font memory 6 and store it in the frame memory 7.
Here, when a print command is issued, the character "A" is output.

このように、プロセッサ3,5は各漢字体系毎に外部コ
ードを内部コードにコードコンバートすることなく、フ
ォントメモリ6に読み出されたフォントパターンをフレ
ームメモリ7に書キ込ませるので、高速印字可能な出力
装置に対してスループットを下げることなく、イメージ
ドツト情報を転送できる。
In this way, the processors 3 and 5 write the font pattern read into the font memory 6 into the frame memory 7 without converting external codes into internal codes for each kanji system, allowing high-speed printing. Image dot information can be transferred to other output devices without reducing throughput.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明はそれぞれのフォントパ
ターンがあらかじめ書き込まれた外部記憶手段より各漢
字体系のコードデータに応じてそれぞれのフォントパタ
ーンを読み出しフォントメモリに書き込ませるようにし
たので、各漢字コード体系毎に外部コードを内部コード
にコードコンバートする操作を省くことができ、各漢字
コード体系のフォントパターンを高速に出力することが
できる利点を有する。
As explained above, in this invention, each font pattern is read from an external storage means in which each font pattern is written in advance in accordance with the code data of each kanji system, and written into the font memory. This method has the advantage that the operation of converting external codes into internal codes for each system can be omitted, and the font patterns of each Kanji code system can be output at high speed.

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

第1図はこの発明の一実施例を示す文字出力方式を説明
するブロック図、第2図は内部コードとフォントパター
ンとの対応を説明する図、第3図は第1図に示したフォ
ントメモリに書き込まれる各漢字体系のフォントパター
ンを説明する図である。 図中、1はインタフェース、2は操作部、3゜5はマイ
クロプロセッサ、4はページメモリ、6はフォントメモ
リ、7はフレームメモリ、8は外部記憶装置である。 第1図 第2図 弯 貝56226   シフトJIS J89F′ 18四F 3 図
FIG. 1 is a block diagram explaining a character output method showing an embodiment of the present invention, FIG. 2 is a diagram explaining the correspondence between internal codes and font patterns, and FIG. 3 is a font memory shown in FIG. 1. FIG. 2 is a diagram illustrating font patterns of each kanji system written in . In the figure, 1 is an interface, 2 is an operating section, 3.5 is a microprocessor, 4 is a page memory, 6 is a font memory, 7 is a frame memory, and 8 is an external storage device. Figure 1 Figure 2 56226 Shift JIS J89F' 184F 3 Figure

Claims (1)

【特許請求の範囲】[Claims] 入力される各漢字体系のコードデータを解釈して、フォ
ントメモリよりイメージドットデータを出力する装置に
おいて、それぞれのフォントパターンがあらかじめ書き
込まれた外部記憶手段より前記各漢字体系のコードデー
タに応じてそれぞれのフォントパターンを読み出し前記
フォントメモリに書き込むことを特徴とする文字出力方
式。
In a device that interprets input code data of each kanji system and outputs image dot data from a font memory, each font pattern is read from an external storage means in which each font pattern is written in advance according to the code data of each kanji system. A character output method characterized by reading out a font pattern and writing it into the font memory.
JP59274663A 1984-12-28 1984-12-28 Character output system Pending JPS61156190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59274663A JPS61156190A (en) 1984-12-28 1984-12-28 Character output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59274663A JPS61156190A (en) 1984-12-28 1984-12-28 Character output system

Publications (1)

Publication Number Publication Date
JPS61156190A true JPS61156190A (en) 1986-07-15

Family

ID=17544818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59274663A Pending JPS61156190A (en) 1984-12-28 1984-12-28 Character output system

Country Status (1)

Country Link
JP (1) JPS61156190A (en)

Similar Documents

Publication Publication Date Title
JP2942036B2 (en) Barcode printer
JPH0263763A (en) Printing apparatus
JPS61156190A (en) Character output system
JPH0330977A (en) Page printer control system
JPS602715B2 (en) Kanji bit pattern management method for kanji printers
JPS61156189A (en) Code conversion system
JPH0457197B2 (en)
JPS63118280A (en) Printer controller
JPH01145718A (en) Printer
JPS629435B2 (en)
JP3012269B2 (en) Printing control device
JPH02166513A (en) Printing controller
JPH0477277A (en) Printing device
JPS5856192A (en) Printer
JPH02102073A (en) Controller for printer
JPS629457A (en) Multi-mode processing system
JPS61156192A (en) Input/output controller
JPS61118263A (en) Letter development system to image memory
JPS61135274A (en) Controller for generation of character
JPH0378652B2 (en)
JPH06210927A (en) Printer
JPS6383824A (en) Printer controller
JPS62257867A (en) Printer
JPS6356689A (en) Writing control system for bit map memory
JPS61114295A (en) Character/graphic display