JPH04185461A - Charactor pattern generator - Google Patents

Charactor pattern generator

Info

Publication number
JPH04185461A
JPH04185461A JP31535290A JP31535290A JPH04185461A JP H04185461 A JPH04185461 A JP H04185461A JP 31535290 A JP31535290 A JP 31535290A JP 31535290 A JP31535290 A JP 31535290A JP H04185461 A JPH04185461 A JP H04185461A
Authority
JP
Japan
Prior art keywords
output
dot
input
circuit
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
JP31535290A
Other languages
Japanese (ja)
Inventor
Kiyoaki Nishikawa
西川 潔明
Hitoshi Imamiya
今宮 斉
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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering Ltd
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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP31535290A priority Critical patent/JPH04185461A/en
Publication of JPH04185461A publication Critical patent/JPH04185461A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make it possible to decide whether dots are for printing or not for printing by means of an inexpensive hardware at high speed by providing an OR circuit wherein input from a first input terminal and output of a delay circuit are inputted and output is outputted to an AND circuit as other input. CONSTITUTION:There are provided a first input terminal 1 into which on-dot data is inputted, a second input terminal 2 into which off-dot data is inputted, an invertor 3 which reverses input of the terminal 2 and outputs said reversed input as output 11, an AND circuit 4 which takes in logical product of the output 11 of the invertor 3 and output 14 of an OR circuit 6 to output it as output 12, a delay circuit 5 which delays the output 12 of the circuit 4 to output it as output 13, the OR circuit 6 which takes in logical sum of the input of the terminal 1 and the output 15 of the circuit 5 to deliver it as output 14, and an output terminal 7 for outputting the output 12 of the circuit 4 as printing data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ドツトの集合である文字パターンで文字を表
わすプリンタ等に用いられる文字パターン発生器に関し
、特に文字パターンの展開方向に平行なドツト列ごとに
、1ドツトずつ順次印字データを出力する文字パターン
発生器に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character pattern generator used in printers and the like that represents characters using character patterns that are collections of dots, and particularly relates to character pattern generators that represent characters using character patterns that are collections of dots. The present invention relates to a character pattern generator that sequentially outputs print data one dot at a time for each column.

〔従来の技術〕[Conventional technology]

従来、この種の文字パターン発生器は、ビットマツプ形
式のものとアウトラインフォント形式のものがあった。
Conventionally, this type of character pattern generator has been available in bitmap format and outline font format.

ビットマツプ形式のものは、1ドツトを1ビツトに対応
させて文字パターンを記憶し、記憶された文字パターン
をそのまま出力するものであり、1文字を構成するドツ
トの数が増えるにつれて記憶すべきデータ量が増大し、
文字を拡大して印字しようとするときに、見かけ上ドツ
トの大きさが大きくなって見にくくなるという欠点があ
る。そこで、文字の輪郭線のデータのみを記憶し、印字
を行うときにそのつど、文字パターンを構成する各ドツ
トが印字するドツトか印字しないドツトかを輪郭線のデ
ータをもとに決定し、文字パターンを出力するアウトラ
インフォント形式のものが考え出された。
Bitmap format stores character patterns by associating 1 dot with 1 bit, and outputs the stored character pattern as is.As the number of dots that make up one character increases, the amount of data to be stored increases. increases,
There is a drawback that when attempting to enlarge and print characters, the dots appear to be larger in size, making them difficult to see. Therefore, only the data of the outline of the character is memorized, and each time when printing, it is determined whether each dot making up the character pattern is a dot to be printed or a dot not to be printed, based on the data of the outline of the character. An outline font format that outputs patterns was devised.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の文字パターン発生器のうち、アウトライ
ンフォント形式のものでは、輪郭線のデータをもとに文
字パターンを発生するときに、それぞれのドツトが輪郭
線の内側にあって印字を行うドツトなのか、輪郭線の外
側にあって印字を行わないドツトなのかの判断に時間が
かかり、印字速度が速いときに文字パターンの発生がそ
れに追いつかず、また文字パターンの発生に複雑なハー
ドウェアを必要として高価になるという欠点がある。
Among the conventional character pattern generators mentioned above, those in the outline font format generate character patterns based on outline data, with each dot located inside the outline for printing. It takes time to determine whether the dot is a dot or a dot that is outside the outline and will not be printed, and when the printing speed is high, character pattern generation cannot keep up with it, and complex hardware is required to generate the character pattern. The disadvantage is that it is expensive.

本発明の目的は、文字パターンを構成する各ドツトが印
字を行うドツトなのか印字を行わないドツトなのかの判
断を安価なハードウェアで高速に行うことによって、安
価で高速な文字パターン発生器を提供することにある。
An object of the present invention is to develop an inexpensive and high-speed character pattern generator by quickly determining whether each dot forming a character pattern is a dot for printing or a dot for not printing using inexpensive hardware. It is about providing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の文字パターン発生器は、 文字パターンの展開方向に平行なドツト列のドツトのう
ち印字しないドツトの次におかわる印字するドツトに対
応して”1”を入力する第1の入力端子と、 該ドツト列のドツトのうち印字するドツトの次におかれ
る印字しないドツトに対応して”1”を入力する第2の
入力端子と、 出力端子と、 第2の入力端子の入力を反転するインバータと、 入力を順次出力される印字データの1ト・ントに相当す
る時間遅延させて出力する遅延回路と、該インバータの
出力を一方の入力とし、出力を該遅延回路と該出力端子
に出力するアント回路と、 第1の入力端子からの入力と該遅延回路の出力を入力し
、出力を該アンド回路に他方の入力として出力するオア
回路とを有する。
The character pattern generator of the present invention has a first input terminal that inputs "1" in response to a dot to be printed that replaces a non-printed dot among the dots in a row of dots parallel to the development direction of the character pattern. , a second input terminal that inputs "1" corresponding to the unprinted dot placed after the printed dot among the dots in the dot row; an output terminal; and inverts the input of the second input terminal. an inverter, a delay circuit that delays an input by a time corresponding to one ton of sequentially output print data and outputs the output; the output of the inverter is used as one input, and the output is output to the delay circuit and the output terminal. and an OR circuit that inputs the input from the first input terminal and the output of the delay circuit, and outputs the output to the AND circuit as the other input.

〔作用〕[Effect]

初期状態では、第1の入力端子と第2の入力端子には”
0”が入力し、遅延回路の出力は”0”である。ここで
第1の入力端子の出力が”1“になると、オア回路の出
力とインバータの出力がともに“1”になるのでアンド
回路の出力は”1”になり、出力端子と遅延回路の入力
に”l”が出力される。次に、第1の入力端子の入力が
”0”になっても、遅延回路の出力は”1”であるので
オア回路6の出力は“1”でありアンド回路の出力は“
1”のままである。その後、第2の入力端子に”1“が
入力すると、インバータの出力がO′になフてアンド回
路の出力が”O“になり、出力端子と遅延回路の入力に
”0”が出力し、第2の入力端子が”0”になりでもオ
ア回路の出力は”O”のままなので、アンド回路は”0
”を出力し続ける。したがって、第1の入力端子に”1
“か入力してから第2の入力端子に”1”が入力するま
ての間、印字データか”1”である。
In the initial state, the first input terminal and the second input terminal have "
0" is input, and the output of the delay circuit is "0".Here, when the output of the first input terminal becomes "1", the output of the OR circuit and the output of the inverter both become "1", so the AND The output of the circuit becomes "1", and "l" is output to the output terminal and the input of the delay circuit.Next, even if the input of the first input terminal becomes "0", the output of the delay circuit is Since it is "1", the output of the OR circuit 6 is "1" and the output of the AND circuit is "1".
After that, when "1" is input to the second input terminal, the output of the inverter becomes O', the output of the AND circuit becomes "O", and the output terminal and the input of the delay circuit become O'. Even if the second input terminal becomes "0", the output of the OR circuit remains "O", so the AND circuit outputs "0".
” continues to be output. Therefore, “1” is output to the first input terminal.
The print data is "1" until "1" is input to the second input terminal after " is input."

(実施例〕 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の文字パターン発生器の構成
を示すブロック図、第2図(a)は16ドツト×15ド
ツトのドツト構成でrAJという文字を表わした図、第
2図(b) 、 (c)は第2図(a)のr A Jと
いう文字を左から右に展開するときのそれぞれオンドツ
トデータとオフドツトデータが”1”であるドツトを示
す区、第2図(d) 、 (e)は第2図(b) 、 
(c)に基づくオンドツトデータとオフドツトデータが
第1の入力端子1と第2の入力端子2に入力したときの
、そわぞれ出力端子7からの出力とオア回路6の出力1
4が”1“であるドツトを示す図、第3図は第2図(a
)の「A」という文字の下から3番目のドツト列21に
ついての本実施例のタイミングチャートである。
FIG. 1 is a block diagram showing the configuration of a character pattern generator according to an embodiment of the present invention, FIG. b) and (c) are the dots whose on-dot data and off-dot data are "1" when the characters r A J in Fig. 2 (a) are expanded from left to right, Fig. 2 (d), (e) are shown in Figure 2 (b),
When the on-dot data and off-dot data based on (c) are input to the first input terminal 1 and the second input terminal 2, the output from the output terminal 7 and the output 1 of the OR circuit 6, respectively.
A diagram showing a dot where 4 is "1", Figure 3 is similar to Figure 2 (a
) is a timing chart of this embodiment regarding the third dot row 21 from the bottom of the letter "A".

本実施例は、メモリ(図示せず)からオンドツトデータ
が入力する第1の入力端子1と、メモリ(図示せず)か
らオフドツトデータが入力する第2の入力端子2と、第
2の入力端子2の入力を反転し出力11として出力する
インバータ3と、インバータ3の出力11とオア回路6
の出力14との論理積をとって出力12として出力する
アンド回路4と、アント回路4の出力12を遅延して出
力13として出力する遅延回路5と、第1の入力端子1
の入力と遅延回路5の出力13との論理和をとって出力
14として出力するオア回路6と、アンド回路4の出力
■2を印字データとして出力する出力端子7とから構成
されている。印字データは、文字パターンの展開方向に
平行なドツト列ごとに、印字するドツトのときに”l”
、印字しないドツトのとき”0”であって、1ドツト分
ずつ順次出力される。遅延回路5は、出力端子7から順
次出力される印字データの1ビツトに相当する時間だけ
、入力したデータを遅延させて出力13から出力する。
This embodiment includes a first input terminal 1 to which on-dot data is input from a memory (not shown), a second input terminal 2 to which off-dot data is input from a memory (not shown), and a second input terminal 2 to which off-dot data is input from a memory (not shown). An inverter 3 that inverts the input of the input terminal 2 and outputs it as an output 11, an output 11 of the inverter 3, and an OR circuit 6
an AND circuit 4 which performs an AND with the output 14 of the ant circuit 4 and outputs the result as an output 12; a delay circuit 5 which delays the output 12 of the ant circuit 4 and outputs the result as an output 13; and a first input terminal 1.
It consists of an OR circuit 6 which takes the logical sum of the input of the input and the output 13 of the delay circuit 5 and outputs the result as an output 14, and an output terminal 7 which outputs the output 2 of the AND circuit 4 as print data. The print data is "l" when printing dots for each dot row parallel to the development direction of the character pattern.
, is "0" when a dot is not printed, and is output one dot at a time. The delay circuit 5 delays the input data by a time corresponding to one bit of print data sequentially output from the output terminal 7 and outputs the delayed data from the output 13.

ここで、オンドツトデータとオフドツトデータについて
説明する。
Here, on-dot data and off-dot data will be explained.

オンドツトデータとオフドツトデータはいずわもメモリ
に格納され、クロック(図示せず)と同期して、そわぞ
れ第1の入力端子1と第2の入力端子2に入力する。オ
ンドツトデータは、文字パターンの展開方向に平行なド
ツトのうち印字しないドツトの次にある印字するドツト
に対応する印字データを出力するタイミングで”1“で
あり、他のときは”0”である。オフドツトデータは、
前言己のドツト列のドツトのうち印字するドツトの次に
ある印字しないドツトに対応する印字データを出力する
タイミングで“1”であり、他のときは”0”である。
The on-dot data and the off-dot data are both stored in a memory and input to the first input terminal 1 and the second input terminal 2, respectively, in synchronization with a clock (not shown). The on-dot data is "1" at the timing when the print data corresponding to the dot to be printed next to the dot that is not printed among the dots parallel to the development direction of the character pattern is output, and is "0" at other times. be. Off-dot data is
It is "1" at the timing of outputting print data corresponding to the unprinted dot next to the printed dot among the dots in the previous dot row, and is "0" at other times.

第2図(a)は縦16ビツト横15ビツトのドツト構成
で表わした「A」の文字である。このrAJの文字を左
から右に展開するとき、水平方向の各ドツト列について
オンドツトデータが“1”となるタイミングに相当する
ドツトをそれぞれのドツト列について示すと、第2図(
b)のようになる。
FIG. 2(a) shows the letter "A" represented by a dot structure of 16 bits vertically and 15 bits horizontally. When the characters rAJ are expanded from left to right, the dots corresponding to the timings when the on-dot data becomes "1" for each horizontal dot row are shown in Figure 2 (
b)

同しくオフドツトデータが”1”になるタイミングに相
当するドツトを示すと、第2図(C)のようになる。な
お、この例の場合、縦が16ドツトあるので、水平方向
の16本のドツト列のそtぞれに対応して、16台の本
実施例の文字パターン発生器が設けられることになる。
Similarly, the dots corresponding to the timing when the off-dot data becomes "1" are shown in FIG. 2(C). In this example, since there are 16 vertical dots, 16 character pattern generators of this embodiment are provided corresponding to each of the 16 horizontal dot rows.

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

ここでは、第2図(a)のrA」という文字について、
下から3番目のドツト列21に対応して設けられた本実
施例の文字パターン発生器の動作を説明する。
Here, regarding the character "rA" in Figure 2 (a),
The operation of the character pattern generator of this embodiment provided corresponding to the third dot row 21 from the bottom will be explained.

第2図(b)で示されるオンドツトデータは、下から3
番目のドツト列21についてはr 010000000
000100 Jとなっていて、この順で第1の入力端
子1に入力する。第2図(C)で示されるオフドツトデ
ータは、下から3番目のドツト列21についてはr00
0]00000000001 Jとなっていて、この順
で第2の入力端子2に入力する。
The on-dot data shown in Figure 2(b) is 3 from the bottom.
For the th dot row 21, r 010000000
000100 J, and are input to the first input terminal 1 in this order. The off-dot data shown in FIG. 2(C) is r00 for the third dot row 21 from the bottom.
0]00000000001J, and are input to the second input terminal 2 in this order.

初期状態では、遅延回路5の出力I3は”0”である。In the initial state, the output I3 of the delay circuit 5 is "0".

ここでオンドツトデータとオフドツトデータの最初のデ
ータ(いずれも”0”)が第1の入力端子1と第2の入
力端子2に入力すると、インバータ3の出力11は”1
”であるがオア回路6の出力14が”0”であるので、
アンド回路4の出力12は”0“であり、出力端子7か
ら””0”を出力する。したがフて、1番目のドツトに
対応する印字データは”0”である。また、このとき遅
延回路5に”0”が入力される。2番目のオンドツトデ
ータとオフドツトデータはそれぞれ”1”と”0゛であ
る。これらが第1の入力端子lと第2の入力端子2に入
力すると、遅延回路5の出力13は ”0”であるが第
1の入力端子1の入力が”1°であるのでオア回路6の
出力14が”l゛になり、インバータ3の出力11も”
1”であるので、アンド回路4の出力12は1“になり
、出力端子7は”1“を出力し、遅延回路5に”1”が
入力する。したがって、2番目のドツトに対応する印字
データは”1′である。3番目のオンドツトデータとオ
フドツトデータはともに”0”であり、これらが入力す
ると、2番目のデータのときに遅延回路5に1“が入力
しているので出力13から”1゛が出力し、第1の入力
端子1の入力が@”0”であってもオア回路6の出力1
4は11”であり、インバータ3の8カ11が”1”で
あるのでアンド回路6の出力】2は”1”である。した
がって、出力端子7には”1”が出力し、遅延回路5に
は”1”が入力し、3番目のドツトに対応する印字デー
タは”1”である。4番目に入力するオンドツトデータ
とオフドツトデータはそれぞれ”0”と”1”である。
Here, when the first data (both "0") of the on-dot data and off-dot data is input to the first input terminal 1 and the second input terminal 2, the output 11 of the inverter 3 becomes "1".
”, but since the output 14 of the OR circuit 6 is “0”,
The output 12 of the AND circuit 4 is "0", and "0" is output from the output terminal 7. However, the print data corresponding to the first dot is "0". "0" is input to the delay circuit 5. The second on-dot data and off-dot data are "1" and "0", respectively. When these are input to the first input terminal l and the second input terminal 2, the output 13 of the delay circuit 5 is "0", but since the input of the first input terminal 1 is "1°", the OR circuit 6 Output 14 of inverter 3 becomes "l", and output 11 of inverter 3 also becomes "l".
1", the output 12 of the AND circuit 4 becomes 1", the output terminal 7 outputs "1", and the delay circuit 5 receives "1". Therefore, the print data corresponding to the second dot is "1".The third on-dot data and off-dot data are both "0", and when these are input, the delay circuit is activated when the second data is input. Since 1" is input to 5, "1" is output from output 13, and even if the input of first input terminal 1 is @"0", output 1 of OR circuit 6
4 is 11", and since 8 and 11 of the inverter 3 are "1", the output of the AND circuit 6]2 is "1". Therefore, "1" is output to the output terminal 7, and the delay circuit "1" is input to 5, and the print data corresponding to the third dot is "1".The on-dot data and off-dot data input fourth are "0" and "1", respectively.

3番目のデータの時に遅延回路5に“1′が入力してい
るので比カ13は”1”であり、オア回路6の8カ14
は”1”である。しかし、第2の入力端子2の入力が”
1”であるので、インバータ3の出力11が”0”とな
り、アンド回路4の出力12が”0”となって、出力端
子7は”0”を出力し、遅延回路5は“0“を入力する
。したがって、4番目のドツトに対応する印字データは
”0”である。5番目のオンドツトデータとオフドツト
データはともに ”O”である。4番目のデータのとき
に遅延回路5に”0”が入力されているので、遅延回路
5の出力13は”0”であり、こわは1番目のデータが
入力されるときと全く同しである。したがって、アント
回路6の出力I2は”0”となって、出力端子7は“0
”を出力し、遅延回路5は引き続き′0”を入力する。
Since "1' is input to the delay circuit 5 at the time of the third data, the ratio 13 is "1", and the 8 factors 14 of the OR circuit 6
is "1". However, the input of the second input terminal 2 is "
1", the output 11 of the inverter 3 becomes "0", the output 12 of the AND circuit 4 becomes "0", the output terminal 7 outputs "0", and the delay circuit 5 outputs "0". Therefore, the print data corresponding to the 4th dot is "0". Both the on-dot data and the off-dot data of the 5th are "O". Since "0" is input, the output 13 of the delay circuit 5 is "0", and the stiffness is exactly the same as when the first data is input. Therefore, the output I2 of the ant circuit 6 is “0” and the output terminal 7 becomes “0”.
``, and the delay circuit 5 continues to input ``0''.

したかって、5番目のドツトに対応する印字データは”
0”である。以下、オンドツトデータとオフドツトデー
タがともに“0“である限り、5番目のドツトに対応す
る動作と同じ動作を繰り返し、出力端子7からは”0”
を出力し続け、12番目までのドツトに対応する印字デ
ータは”0”のままである。13番目のオンドツトデー
タとオフドツトデータはそれぞれ”1′と”0′である
。このとき遅延回路5の出力】3は”0”であり、こわ
は2番目のデータが入力されたときと同じ状態であるの
で、アンド回路4の出力12は”1”となり、出力端子
7から”1”を出力し、遅延回路5は”!”を入力する
。これ以陣もオンドツトデータとオフドツトデータの値
に基づいて上述の動作を縁り返す。結局、第2図(a)
の「A」の文字の下から3番目のドツト列21に対応す
るオンドツトデータとオフドツトデータが入力したとき
、出力端子7がら出力される印字データはr 0110
o0000000110 J テある。第2図(a)ノ
「AJの文字°の下から3番目のドツト列21のドツト
について印字するドツトを”1”、印字をしないドツト
を”0”とすると、左がらr 01100000000
0110 Jとなり、出力端子7から出力する印字デー
タはこれと完全に一致する。なお、オア回路6の出力1
4は、r01]]00000000111 Jと変化し
、オア回路6の出力14をもとに印字すると仮定すると
、出力端子7から出力される印字データをもとに印字し
たときと比べ、1ドツト太くなって印字されることがわ
かる。
Therefore, the print data corresponding to the 5th dot is "
0".Hereafter, as long as both the on-dot data and off-dot data are "0", the same operation as that for the fifth dot is repeated, and the output terminal 7 outputs "0".
continues to be output, and the print data corresponding to up to the 12th dot remains "0". The 13th on-dot data and off-dot data are "1" and "0", respectively. At this time, the output [12] of the delay circuit 5 is "0", and the stiffness is in the same state as when the second data was input, so the output 12 of the AND circuit 4 is "1", and the output from the output terminal 7 is It outputs "1" and the delay circuit 5 inputs "!". Again, the above-described operation is repeated based on the values of the on-dot data and off-dot data. In the end, Figure 2(a)
When on-dot data and off-dot data corresponding to the third dot row 21 from the bottom of the letter "A" are input, the print data output from the output terminal 7 is r0110.
o0000000110 J There is. Regarding the dots in the third dot row 21 from the bottom of the letter AJ in Figure 2 (a), if the dots to be printed are ``1'' and the dots not to be printed are ``0'', then r from the left is 01100000000
0110 J, and the print data output from the output terminal 7 completely matches this. Note that the output 1 of the OR circuit 6
4 changes to r01]]00000000111 J, and assuming that it is printed based on the output 14 of the OR circuit 6, the dot will be 1 dot thicker than when it is printed based on the print data output from the output terminal 7. You can see that it is printed.

以上の説明は、第2図(a)の「AJの文字の下から3
番目のドツト列21の場合であるが、これを第2図(a
)の16本ある水平方向のドツト列の全てに適用し、第
2図(b) 、 (c)のオンドツトデータとオフドツ
トデータを入力したとき、そねぞわの入力端子7から出
力される印字データか”I”であるドツトを示したのか
第2図(d)であり、これをもとに印字すわば第2図(
a)のrAJの文字が完全に再現される。また、それぞ
れのオア回路6の出力14が”1″であるドツトを示し
たのが第2図(e)であり、これをもとに印字すれば第
2図(a)の「AJより横が1ドツト太くなることがわ
かる。オンドツトデータとオフドツトデータは、同一の
ドツトについて同時に1”とはならないように作成され
るが、縮小文字のための文字パターンを発生する場合、
通常の大きさの文字のオンドツトデータとオフドツトデ
ータから計算によって縮小文字のためのオンドツトデー
タとオフドツトデータを作成すると両者が同一のドツト
について同時に”1”になることがある。このとき、イ
ンバータ3の出力11が”o”になるので、アンド回路
4の出力12が“O”になり、8力端子7からは”0”
が出力され、このドツトは印字されないことになる。こ
のとき、オア回路6の出力14は。
The above explanation is based on
This is the case of the th dot row 21, which is shown in Fig. 2 (a
) is applied to all 16 horizontal dot rows, and when the on-dot data and off-dot data shown in Fig. 2 (b) and (c) are input, the output from input terminal 7 of Sonezawa is as follows. The print data that shows the dot "I" is shown in Figure 2 (d), and based on this, the print data shown in Figure 2 (
The letters rAJ in a) are completely reproduced. Also, Fig. 2(e) shows the dots where the output 14 of each OR circuit 6 is "1", and if printed based on this, the dots shown in Fig. 2(a) will be "horizontal from AJ". It can be seen that the dot becomes 1 dot thicker.On-dot data and off-dot data are created so that the same dot does not become 1" at the same time, but when generating a character pattern for a reduced character,
When on-dot data and off-dot data for reduced characters are created by calculation from on-dot data and off-dot data for normal-sized characters, both may become "1" for the same dot at the same time. At this time, the output 11 of the inverter 3 becomes "o", so the output 12 of the AND circuit 4 becomes "O", and the output from the 8-power terminal 7 becomes "0".
will be output, and this dot will not be printed. At this time, the output 14 of the OR circuit 6 is.

第1の入力端子1の入力か”1”なので、 ”工”であ
り、縮小した文字の文字パターンを発生させるときは、
オア回路6の出力14が”1”のとき印字し、 ”0”
のとき印字しないようにすれば、必要なドツトが印字さ
れないことによる文字のっふれを防ぐことができる。
Since the input of the first input terminal 1 is "1", it is "工", and when generating a character pattern of reduced characters,
Prints when output 14 of OR circuit 6 is “1” and “0”
By not printing when , it is possible to prevent characters from being blurred due to the necessary dots not being printed.

(発明の効果) 以上説明したように本発明は、オンドツトデータとオフ
ドツトデータを入力し、 ”1”であるオンドツトデー
タに対応するドツトから ”1”であるオフドツトデー
タに対応するドツトの直前のドツトまでを印字する印字
データを出方することにより、簡単なハードウェアでド
ツトの塗りつぶし動作を高速で行うことができるので、
安価でかつ高速で文字パターンが発生できるという効果
がある。
(Effects of the Invention) As explained above, the present invention inputs on-dot data and off-dot data, and converts the dot corresponding to the on-dot data that is "1" to the dot that corresponds to the off-dot data that is "1". By generating print data that prints up to the dot just before the dot, dot filling operations can be performed at high speed with simple hardware.
This method has the advantage of being able to generate character patterns at low cost and at high speed.

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

第1図は本発明の一実施例の文字パターン発生器の構成
を示すブロック図、第2図(a)は16トツトx15ド
ツトのドツト構成で「AJという文字を表わした図、第
2図(b) 、 (c)は第2図(a)のrAJという
文字を左から右に展開するときのそれぞれオンドツトデ
ータとオフドツトデータが“1”であるドツトを示す図
、第2図(d) 、 (e)は第2図(b) 、 (c
)に基づくオンドツトデータとオフドツトデータが第1
の入力端子lと第2の入力端子2に入力したときの、そ
れぞれ出力端子7からの出力とオア回路6の出力14が
”1”であるドツトを示す図、第3図は第2図(a)の
rA」という文字の下から3番目のドツト列21につい
ての本実施例のタイミングチャートである。 1・・・・・・・・第1の入力端子、 2・・・・・・・・第2の入力端子、 3・・・・・・・・インバータ、 4・・・・・・・・アント回路、 5・・・・・・・・遅延回路、 6・・・・・・・・オア回路、 7・・・・・・・・出力端子、 11〜14・・・・出力、 21・・・・・・・・下から3番目のドツト列。
FIG. 1 is a block diagram showing the configuration of a character pattern generator according to an embodiment of the present invention, and FIG. b) and (c) are diagrams showing the dots whose on-dot data and off-dot data are "1" when the character rAJ in Figure 2(a) is expanded from left to right, and Figure 2(d) is ), (e) are shown in Figure 2 (b), (c
) based on on-dot data and off-dot data are the first
Figure 3 is a diagram showing a dot in which the output from the output terminal 7 and the output 14 of the OR circuit 6 are "1" when input to the input terminal l and the second input terminal 2, respectively. 12 is a timing chart of the present embodiment regarding the third dot row 21 from the bottom of the character "rA" in a). 1...First input terminal, 2...Second input terminal, 3...Inverter, 4...... Ant circuit, 5...Delay circuit, 6...OR circuit, 7...Output terminal, 11-14...Output, 21. ......Third row of dots from the bottom.

Claims (1)

【特許請求の範囲】 1、ドットの集合である文字パターンで文字を表わし、
該文字パターンの展開方向に平行なドット列ごとに、印
字するドットのときに”1”、印字しないドットのとき
”0”である印字データを1ドットずつ順次出力する、
プリンタ等に用いられる文字パターン発生器であって、 該ドット列のドットのうち印字しないドットの次におか
れる印字するドットに対応して”1”を入力する第1の
入力端子と、 該ドット列のドットのうち印字するドットの次におかれ
る印字しないドットに対応して”1”を入力する第2の
入力端子と、 出力端子と、 第2の入力端子の入力を反転するインバータと、 入力を順次出力される該印字データの1ドットに相当す
る時間遅延させて出力する遅延回路と、該インバータの
出力を一方の入力とし、出力を該遅延回路と該出力端子
に出力するアンド回路と、 第1の入力端子からの入力と該遅延回路の出力を入力し
、出力を該アンド回路に他方の入力として出力するオア
回路とを有する文字パターン発生器。
[Claims] 1. A character is represented by a character pattern that is a set of dots,
For each dot row parallel to the development direction of the character pattern, print data is sequentially output one dot at a time, which is "1" for a dot to be printed and "0" for a dot not to be printed.
A character pattern generator used in a printer, etc., comprising: a first input terminal for inputting "1" corresponding to a dot to be printed placed next to a dot not to be printed among the dots in the dot row; a second input terminal that inputs "1" corresponding to a non-printed dot placed after a printed dot among the dots in the column; an output terminal; an inverter that inverts the input of the second input terminal; a delay circuit that outputs an input with a time delay corresponding to one dot of the print data that is sequentially output; and an AND circuit that uses the output of the inverter as one input and outputs the output to the delay circuit and the output terminal. , a character pattern generator having an OR circuit that receives an input from a first input terminal and an output of the delay circuit, and outputs the output to the AND circuit as the other input.
JP31535290A 1990-11-20 1990-11-20 Charactor pattern generator Pending JPH04185461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31535290A JPH04185461A (en) 1990-11-20 1990-11-20 Charactor pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31535290A JPH04185461A (en) 1990-11-20 1990-11-20 Charactor pattern generator

Publications (1)

Publication Number Publication Date
JPH04185461A true JPH04185461A (en) 1992-07-02

Family

ID=18064384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31535290A Pending JPH04185461A (en) 1990-11-20 1990-11-20 Charactor pattern generator

Country Status (1)

Country Link
JP (1) JPH04185461A (en)

Similar Documents

Publication Publication Date Title
JPH01174463A (en) Dot pattern correction method
JPH06344600A (en) Printing quality improving method and device for improving dot printing image quality
JPH0577491A (en) Printer device
US4426645A (en) Character generating system
JPH04185461A (en) Charactor pattern generator
JPS594706B2 (en) Print pattern generator
US5148517A (en) Print data generator
JPH05505502A (en) Expanding the image of thermal printers, etc.
JPS62212163A (en) Printing controller
JP2669336B2 (en) Printing equipment
JP2733347B2 (en) Output device
JP2560742B2 (en) Character pattern generator
JPH03112671A (en) Printer
JP2757986B2 (en) Print control device for serial dot printer
JPH01294055A (en) Printing correction in printer
KR890001318B1 (en) Control device of reasor printer and crt
JPS62162557A (en) Script character generation
JPS59129896A (en) Character pattern generator
JPS61189952A (en) Apparatus for generating character pattern
JPS59116782A (en) Generator for character signal or the like
JPH0444867A (en) Data control device for page printer
JPH08115072A (en) Dot display device
JPS6339064B2 (en)
JPS594710B2 (en) pattern generator
JPS63311867A (en) Character picture generator