JPS62208090A - Image processor - Google Patents

Image processor

Info

Publication number
JPS62208090A
JPS62208090A JP61050430A JP5043086A JPS62208090A JP S62208090 A JPS62208090 A JP S62208090A JP 61050430 A JP61050430 A JP 61050430A JP 5043086 A JP5043086 A JP 5043086A JP S62208090 A JPS62208090 A JP S62208090A
Authority
JP
Japan
Prior art keywords
pattern
character
light
brightness
image processing
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
JP61050430A
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 JP61050430A priority Critical patent/JPS62208090A/en
Publication of JPS62208090A publication Critical patent/JPS62208090A/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 an image processing device, and particularly to an image processing device that visualizes and outputs characters or symbols.

[従来の技術] 従来、この種の画像処理装置の代表例として、例えば表
示装置や記録装置等がある。
[Prior Art] Conventionally, typical examples of this type of image processing apparatus include display devices, recording devices, and the like.

例えばドツト文字フォントを印刷する記録装置において
は、明度のついた文字を印刷するときには予め明度の付
いた文字のフォントパターンを用意してあって、外部よ
りに指示に従って明度の付いたパターンを選択して印刷
していた。
For example, in a recording device that prints dot character fonts, when printing characters with brightness, a font pattern for characters with brightness is prepared in advance, and a pattern with brightness is selected according to an external instruction. was printing.

それゆえ、明度の付いた文字フォントパターンがない、
記録装置では明度の付いた文字を印刷することができな
かった。
Therefore, there is no text font pattern with brightness,
The recording device could not print characters with brightness.

[発明が解決しようとする問題点] 本発明は上述した従来の技術に鑑みなされたもので、外
部よりの指示により明度の付いた文字を出力する要求が
あって、明度の付いた文字フォントパターンがないとき
には通常の文字パターンにイメージパターンで合成して
明度の付いた文字パターンを形成する画像処理装置を提
供することにある。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned conventional technology, and there is a request to output characters with brightness based on an external instruction, and a character font pattern with brightness is required. An object of the present invention is to provide an image processing device that synthesizes an image pattern with a normal character pattern to form a character pattern with brightness when there is no character pattern.

C問題点を解決するための手段] この問題を解決するための一手段として、例えば第1図
に示す本実施例の画像処理装置では、明度の付いたイメ
ージパターンを格納するパターンエリアと、通常の文字
パターンを記憶する通常文字フォント部と、明度の付い
た文字フォントパターン(以下、ライト文字フォントパ
ターン)を記憶するライト文字フォント部と、ライト文
字を出力するか否かを選択するライト文字フラグと、ラ
イト文字を形成するときに使用する格納エリアとを備え
る。
Means for Solving Problem C] As a means for solving this problem, for example, in the image processing apparatus of this embodiment shown in FIG. A normal character font section that stores character patterns, a light character font section that stores character font patterns with brightness (hereinafter referred to as light character font patterns), and a light character flag that selects whether or not to output light characters. and a storage area used when forming light characters.

[作用] かかる第1図の構成において、外部よりライト文字出力
要求のあって、要求された文字データに対応するライト
文字がない場合にライト文字を形成し、可視化して出力
することになる。
[Operation] In the configuration shown in FIG. 1, when there is an external write character output request and there is no light character corresponding to the requested character data, a light character is formed, visualized, and output.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

また、本実施例ではプリンタ等の記録装置に応用した例
について説明する。
Further, in this embodiment, an example in which the present invention is applied to a recording device such as a printer will be explained.

第1図は本実施例の応用例の記録装置のブロック図であ
る。
FIG. 1 is a block diagram of a recording apparatus as an application example of this embodiment.

図中、1は記録装置本体であり、2は外部のホストコン
ピュータである。3は記録装置本体1内の全てを制御す
るCPUである。4はホストコンピュータ2よりのデー
タを入力し、受信したデータを蓄える受信バッファであ
る。また5は後述する第2゛図に示されるフローチャー
トのプログラムが格納されているROMであり、内部に
第3図に示す様なライトパターン30を記憶するパター
ンエリア5aを設けである。また6は文字或いは記号等
のフォントパターンが格納されている文字フォントRO
Mであり、内部に通常の文字フォントパターンが記憶さ
れている通常文字フォント部と明暗の付いた文字フォン
トパターンが記憶されているライト文字フォント部とを
借えている。また7はCPU3が動作中にワークエリア
として使用するRAMであり、内+’;:iにROM 
S内のライトパターン30でライト文字を選択しである
か否かを判別するためのライト文字フラグ7aとライト
文字を形成するときに使用する格納エリア7bとを有す
る。また8は出力部であり、文字或いは記号等を記録用
紙に記録する。
In the figure, 1 is the main body of the recording apparatus, and 2 is an external host computer. Reference numeral 3 denotes a CPU that controls everything within the recording apparatus main body 1. 4 is a receiving buffer that inputs data from the host computer 2 and stores the received data. Reference numeral 5 denotes a ROM in which a program of a flowchart shown in FIG. 2, which will be described later, is stored, and a pattern area 5a for storing a write pattern 30 as shown in FIG. 3 is provided inside. 6 is a character font RO in which font patterns such as characters or symbols are stored.
M, and has a normal character font part in which a normal character font pattern is stored and a light character font part in which a character font pattern with brightness and darkness is stored. In addition, 7 is a RAM used as a work area while the CPU 3 is operating, and +';:i is a ROM.
It has a light character flag 7a for determining whether a light character is selected in the light pattern 30 in S, and a storage area 7b used when forming a light character. Further, 8 is an output section, which records characters, symbols, etc. on recording paper.

尚、以下の説明では、ライト文字フラグ7aが1”のと
きにライト文字印刷出力処理を実行し、“0”のときに
通常の文字の印刷処理をするものとするが、これら“1
″や”0”は判別できればいいわけだから、これに限定
されるものではない。
In the following explanation, it is assumed that light character print output processing is executed when the light character flag 7a is "1", and normal character printing processing is performed when it is "0".
It is sufficient to be able to distinguish between "" and "0", so the present invention is not limited to this.

以上の構成で、ライト文字フラグ7aが“1”のときに
例えば第3図に示されるライトパターン30 (32X
24ドツト)をパターンエリア5aより読出して第4図
(a)に示されるアルファベットの“A”のパターン4
1 (32X24ドツト)に論理積処理して印刷したと
きには第4図(b)に示されるライト文字42が形成さ
れることになる。
With the above configuration, when the light character flag 7a is "1", the light pattern 30 (32X
24 dots) is read out from the pattern area 5a to form pattern 4 of the alphabet "A" shown in FIG. 4(a).
1 (32×24 dots) and printed, a light character 42 shown in FIG. 4(b) will be formed.

以下、上述したライト文字42が形成されるまでの処理
を第2図に示すフローチャートに従って説明する。
Hereinafter, the process up to the formation of the above-mentioned light character 42 will be explained according to the flowchart shown in FIG.

まず、本装置に電源が供給されるとステップS1でRA
M7内のライト文字フラグ7aを0”クリアする。次に
ステップS2でホストコンピュータ2から送られてきた
データを受信バッファ4より読出す。ステップS3では
この読出したデータがライト文字開始命令コードである
か否かを判別する。このときの判断が“Y E S ”
のときには、ステップS10に移り、ライト文字フラグ
7aを“1″にセットしてステップS2に戻ることにな
る。
First, when power is supplied to this device, in step S1 the RA
The write character flag 7a in M7 is cleared to 0". Next, in step S2, the data sent from the host computer 2 is read from the reception buffer 4. In step S3, this read data is the write character start command code. Determine whether or not.The judgment at this time is “YES”.
In this case, the process moves to step S10, the light character flag 7a is set to "1", and the process returns to step S2.

また、ステップS3においてライト文字開始命令コード
でないと判断したときには、次のステップS4に移り、
そのデータがライト文字終了命令コードかどうかを判断
する。この判断で例えば“’Y E S”のときにはス
テップSitに移り、ライト文字フラグ7aをO″にリ
セットしてステップS2に戻る。
Further, if it is determined in step S3 that it is not a light character start instruction code, the process moves to the next step S4,
Determine whether the data is a light character end instruction code. If this judgment is, for example, "'YES", the process moves to step Sit, resets the light character flag 7a to O'', and returns to step S2.

さて、ステップS4でライト文字終了命令コードでない
と判断した場合にはステップS5に移る。ステップS5
においては入力したデータが文字コードか制御コード(
例えばラインフィードやキャリッジリターン等)である
か判別する。制御コードである場合にはステップS12
に穆り通常の印字処理を施してステップS2に戻る。ま
た文字コードである場合には、ステップS6でライト文
字フラグ7aが“1”か“0“かを判断する。
Now, if it is determined in step S4 that the code is not a light character end command code, the process moves to step S5. Step S5
, the input data is character code or control code (
For example, line feed, carriage return, etc.). If it is a control code, step S12
After that, normal printing processing is performed and the process returns to step S2. If it is a character code, it is determined in step S6 whether the light character flag 7a is "1" or "0".

ライト文字フラグ7aが“0”のときにはライト文字印
刷はしないわけであるからステップS12に穆り、文字
コードに対応するパターンをフォントROMa内の通常
文字フォント部6aより読出して出力部8に出力する通
常の文字印刷処理をする。
When the light character flag 7a is "0", light characters are not printed, so the process goes to step S12, and the pattern corresponding to the character code is read from the normal character font section 6a in the font ROMa and output to the output section 8. Performs normal character printing processing.

また、ステップS6でライト文字フラグ7aが1″のと
きにはステップS7に移り、人力された文字コードに対
応するライト文字があるか否かを判別する。ここで入力
した文字コードに対応するライト文字があると判断した
場合にはステップS8に移る。ステップS8では入力し
た文字コードにたいおする文字パターンをフォントRO
Me内のライト文字フォント部6bより読出し、ステッ
プS9でその読出したパターンを出力部8に出力して印
刷する。
Further, when the light character flag 7a is 1'' in step S6, the process moves to step S7, and it is determined whether there is a light character corresponding to the manually input character code.Here, if the light character corresponding to the input character code is If it is determined that there is a
The pattern is read from the light character font section 6b in Me, and in step S9, the read pattern is output to the output section 8 and printed.

また、ステップS7で入力した文字コードに対応するラ
イト文字パターンがないと判断した場合には、ステップ
S13に移る。ステップS13では、入力された文字コ
ードに対応する通常の文字パターンをフォントROMa
内の通常文字フォント部6aより読出して、一旦RAM
7内の格納エリア7bに格納する。次にステップS14
でプログラムROM5内のパターンエリア5aよりライ
トパターン30を読みだし、格納エリア7bに格納され
ている通常文字パターンと論理積をとり、出力部8に出
力して印刷処理を施す。
If it is determined in step S7 that there is no light character pattern corresponding to the input character code, the process moves to step S13. In step S13, a normal character pattern corresponding to the input character code is converted into a font ROMa.
from the normal character font section 6a in the
7 is stored in the storage area 7b. Next step S14
The write pattern 30 is read out from the pattern area 5a in the program ROM 5, ANDed with the normal character pattern stored in the storage area 7b, and outputted to the output section 8 for printing processing.

例えばステップS13,14において、ホストコンピュ
ータ2から入力さ、れた文字コードがアルファベットの
A“に対応するコード(アスキーコードで41H)のと
きには格納エリア7bには第4図(a)に示されるフォ
ントパターンが格納されて、ライトパターン30で論理
積演算を処理されることにより第4図(b)に示される
様なライト文字42が出力されることになる。
For example, in steps S13 and S14, if the character code input from the host computer 2 is a code corresponding to the alphabet A" (41H in ASCII code), the storage area 7b will contain the font shown in FIG. 4(a). When the pattern is stored and the logical product operation is processed using the write pattern 30, a write character 42 as shown in FIG. 4(b) is output.

以上、説明した様に本実施例によれば、ライト文字パタ
ーンが格納されていないと判断した場合に、外部よりラ
イト文字出力命令を受信した場合に通常文字パターンか
らライト文字を形成することが可能となる。
As described above, according to this embodiment, when it is determined that no light character pattern is stored, it is possible to form a light character from a normal character pattern when a light character output command is received from the outside. becomes.

また本実施例ではライトパターン30を1つだけ例にし
て説明したが、この他にいくつか設けて、それらの1つ
を選択する手段を新たに設けても構わなし、ライトパタ
ーンはライトパターン30に示す様な模様に限定される
ものでもない。
Further, although this embodiment has been described using only one light pattern 30 as an example, several other light patterns may be provided and means for selecting one of them may be newly provided. It is not limited to the pattern shown in the figure.

また、ライト文字を形成するときに本実施例ではプログ
ラムで論理正規を求めたが簡単な論′fgAM算なので
ハードウェアによっても容易に達成されるものである。
Furthermore, in this embodiment, when forming a light character, logical normalization is obtained by a program, but since it is a simple logic 'fgAM calculation, it can be easily achieved by hardware.

更に、ライトパターン及び文字パターンは本実施例では
32X24ドツトであるが、これもこれに限定されるも
のではない。
Furthermore, although the light pattern and character pattern are 32×24 dots in this embodiment, they are not limited to this either.

また、本実施例ではプリンタに応用した場合について説
明したが、例えばCRT上に実現しても一向にかまわな
い。
Furthermore, although this embodiment has been described with reference to the case where it is applied to a printer, it may also be implemented on, for example, a CRT.

[発明の効果] 以上、説明した様に本発明によれば、明度め付いた文字
を備えていないときには、装置自体で明度の付いた文字
或いは記号を形成することが可能となり、ホスト側が意
図する視角的に薄い文字を装置が持っているかどうかを
判断することがなく処理できる様にすることができる。
[Effects of the Invention] As explained above, according to the present invention, when the device does not have characters with brightness, it becomes possible to form characters or symbols with brightness on the device itself, so that the characters or symbols with brightness can be formed as intended by the host side. It is possible to process visually thin characters without having to judge whether the device has them or not.

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

第1図は本実施例の画像処理装置のブロック図、 第2図は本実施例の動作フローチャート、第3図はライ
トパターンの一例を示す図、第4図(a)は通常の文字
パターンを示す図、第4図(b)はライト文字形成処理
後のライト文字を示す図である。 図中、1・・・記録装置本体、2・・・ホストコンピュ
ータ、3・・−CPU、4−・・受信バッファ、5・・
・プログラムROM、5a・・・パターンエリア、6・
・・文字フォントROM、6a・・・通常文字フォント
部、6b・・・ライト文字フォント部、7・・・RAM
、7a・・・ライト文字フラグ、7b・・・格納エリア
、8・・・出力部である。 第1 図 第3図 第4図 (0) 第4区 (b)
Fig. 1 is a block diagram of the image processing device of this embodiment, Fig. 2 is an operation flowchart of this embodiment, Fig. 3 is a diagram showing an example of a light pattern, and Fig. 4(a) is a diagram showing a normal character pattern. The figure shown in FIG. 4(b) is a diagram showing the light characters after the light character formation process. In the figure, 1...recording device main body, 2...host computer, 3...-CPU, 4-...receiving buffer, 5...
・Program ROM, 5a... Pattern area, 6.
...Character font ROM, 6a...Normal character font section, 6b...Light character font section, 7...RAM
, 7a... Light character flag, 7b... Storage area, 8... Output section. Figure 1 Figure 3 Figure 4 (0) Ward 4 (b)

Claims (4)

【特許請求の範囲】[Claims] (1)外部よりの指令データにより文字或いは記号を所
定の出力装置に出力する画像処理装置において、少なく
とも文字或いは記号の通常パターンを記憶する記憶手段
と、所定の大きさのイメージパターンを少なくとも1つ
格納する格納手段と、明度の付いた文字或いは記号の明
度パターンが装備されているかどうかを検知する検知手
段と、前記記憶手段により記憶されている通常パターン
に前記格納手段により格納されているイメージパターン
を合成する合成手段と、前記出力装置に出力するパター
ンを前記通常パターンか明度パターンかを選択する選択
手段とを備え、該選択手段により明度パターンが選択さ
れ、かつ前記検知手段により前記指令データに対応する
前記明度パターンがないと判別したときに前記合成手段
により明度パターンを形成することを特徴とする画像処
理装置。
(1) An image processing device that outputs characters or symbols to a predetermined output device based on command data from the outside, including a storage means for storing at least a normal pattern of characters or symbols, and at least one image pattern of a predetermined size. a storage means for storing, a detection means for detecting whether a brightness pattern of characters or symbols with brightness is provided, and an image pattern stored by the storage means in the normal pattern stored by the storage means; and a selection means for selecting either the normal pattern or the brightness pattern as a pattern to be output to the output device, wherein the selection means selects the brightness pattern, and the detection means selects the brightness pattern from the command data. An image processing apparatus characterized in that when it is determined that there is no corresponding brightness pattern, the combining means forms a brightness pattern.
(2)合成手段は通常パターンとイメージパターンとの
論理積であることを特徴とする特許請求の範囲第1項記
載の画像処理装置。
(2) The image processing apparatus according to claim 1, wherein the synthesizing means is a logical product of a normal pattern and an image pattern.
(3)パターンはドットから構成されることを特徴とす
る特許請求の範囲第1項又は第2項記載の画像処理装置
(3) The image processing device according to claim 1 or 2, wherein the pattern is composed of dots.
(4)画像処理装置は外部からの指令により制御される
ことを特徴とする特許請求の範囲第1項記載の画像処理
装置。
(4) The image processing device according to claim 1, wherein the image processing device is controlled by an external command.
JP61050430A 1986-03-10 1986-03-10 Image processor Pending JPS62208090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61050430A JPS62208090A (en) 1986-03-10 1986-03-10 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61050430A JPS62208090A (en) 1986-03-10 1986-03-10 Image processor

Publications (1)

Publication Number Publication Date
JPS62208090A true JPS62208090A (en) 1987-09-12

Family

ID=12858651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61050430A Pending JPS62208090A (en) 1986-03-10 1986-03-10 Image processor

Country Status (1)

Country Link
JP (1) JPS62208090A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02235096A (en) * 1989-03-09 1990-09-18 Canon Inc Image forming device
JPH05313838A (en) * 1992-05-07 1993-11-26 Nec Corp Printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02235096A (en) * 1989-03-09 1990-09-18 Canon Inc Image forming device
JPH05313838A (en) * 1992-05-07 1993-11-26 Nec Corp Printer

Similar Documents

Publication Publication Date Title
US5562350A (en) Output apparatus that selects a vector font based on character size
JP3058168B2 (en) Character processing apparatus and method
JPS62208090A (en) Image processor
JPH0751380B2 (en) Printing reference position setting method in page printer
JP2572074B2 (en) Character processor
JP2711860B2 (en) Output control method and device
JP2626769B2 (en) Output control device and method
JPS59201870A (en) Printer
EP0785523B1 (en) Character pattern generator
JPH0596806A (en) Printing method and apparatus thereof
JPS60109888A (en) Character processor
JPS62208177A (en) Image processor
JPH07111727B2 (en) Document reader
JP2595399B2 (en) Document processing method
JP2977132B2 (en) Printer
JP2943929B2 (en) Character processor
JPS63242561A (en) Font reducing system
JPH06274150A (en) Document display method
JPH02235773A (en) Printer
KR19990074826A (en) How to Choose Fonts and Fonts for Your Printer
JPH05266015A (en) Word processor
JPH07137392A (en) Printer
JPH08241304A (en) Document processor
JPS62208088A (en) Image processor
JPH0542724A (en) Character generation device