JPH082665B2 - Character expansion control circuit - Google Patents

Character expansion control circuit

Info

Publication number
JPH082665B2
JPH082665B2 JP61188428A JP18842886A JPH082665B2 JP H082665 B2 JPH082665 B2 JP H082665B2 JP 61188428 A JP61188428 A JP 61188428A JP 18842886 A JP18842886 A JP 18842886A JP H082665 B2 JPH082665 B2 JP H082665B2
Authority
JP
Japan
Prior art keywords
character
pattern
buffer
address
line
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.)
Expired - Fee Related
Application number
JP61188428A
Other languages
Japanese (ja)
Other versions
JPS6345059A (en
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61188428A priority Critical patent/JPH082665B2/en
Publication of JPS6345059A publication Critical patent/JPS6345059A/en
Publication of JPH082665B2 publication Critical patent/JPH082665B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印刷制御方式に関し、特に英数字あるいは
漢字の印刷制御装置において、印刷する文字パターンを
一時記憶するパターンバッファの奥行きを小さくできる
文字展開方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method, and in particular, in a print control device for alphanumeric characters or kanji, characters that can reduce the depth of a pattern buffer for temporarily storing a character pattern to be printed. It is related to the deployment method.

〔従来の技術〕[Conventional technology]

従来の印刷制御装置におけるパターンバッファは、例
えば特開昭59−121432号公報に記載されているように、
印刷する文字パターンを全てパターンバッファに一旦格
納し、必要な部分だけを出力装置である用紙イメージメ
モリに転送している。すなわち、印刷すべき文字コード
をページバッファに格納した後、そのページバッファか
ら読み出された文字コードをキャラクタジェネレータの
アドレスに変換して、変換されたアドレスでキャラクタ
ジェネレータをアクセスすることにより、所望の文字パ
ターンを読み出す。印刷する文字パターンを文字展開制
御回路3がパターンバッファに展開した後、そのパター
ンバッファの内容を用紙イメージメモリに出力してい
る。
The pattern buffer in the conventional print control device is, for example, as described in JP-A-59-121432.
All the character patterns to be printed are temporarily stored in the pattern buffer, and only the necessary portions are transferred to the paper image memory which is the output device. That is, after the character code to be printed is stored in the page buffer, the character code read from the page buffer is converted into the address of the character generator, and the character generator is accessed at the converted address to obtain the desired character code. Read a character pattern. After the character expansion control circuit 3 expands the character pattern to be printed in the pattern buffer, the contents of the pattern buffer are output to the paper image memory.

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

しかし、従来の技術では、印刷する文字の高さに等し
い奥行きを持ったパターンバッファを備える必要がある
ため、金物量が多くなっている。すなわち、パターンバ
ッファには、1回に印刷する文字量、例えば1ライン分
の文字フォントパターンを一旦格納した後、出力装置に
転送されるが、その場合、“1"および“0"のフォントデ
ータ列を文字フォントパターンの形状に格納しなければ
ならないため、バッファメモリの奥行きは文字フォント
パターンの高さだけは最低必要である。
However, in the conventional technique, since it is necessary to provide a pattern buffer having a depth equal to the height of a character to be printed, the amount of hardware is large. That is, in the pattern buffer, the amount of characters to be printed at one time, for example, the character font pattern for one line is temporarily stored and then transferred to the output device. In that case, the font data of "1" and "0" is stored. Since the columns must be stored in the shape of the character font pattern, the minimum depth of the buffer memory is the height of the character font pattern.

また、パターンバッファの奥行きによって印刷できる
文字の高さが制限されるため、任意の大きさの文字を印
刷することができず、その結果、拡張性が小さいという
問題がある。例えば、英数字では5×8ドット、漢字で
は10×12ドット,または20×24ドット等の文字パターン
が使用されるが、その場合には、それぞれパターンバッ
ファの奥行きも、8,12,24ドットとなっている。
Further, since the height of characters that can be printed is limited by the depth of the pattern buffer, it is impossible to print characters of any size, and as a result, there is a problem that the expandability is small. For example, character patterns of 5 x 8 dots for alphanumeric characters, 10 x 12 dots for Chinese characters, or 20 x 24 dots are used. In that case, the depth of the pattern buffer is 8, 12, 24 dots, respectively. Has become.

本発明の目的は、このような従来の問題を改善し、パ
ターンバッファに文字パターンを格納する場合に、パタ
ーンバッファの奥行きを小さくしてパターンバッファの
金物量を減少させることができる印刷制御方式を提供す
ることにある。
An object of the present invention is to improve such a conventional problem and to provide a print control method capable of reducing the depth of the pattern buffer and reducing the amount of metal in the pattern buffer when storing a character pattern in the pattern buffer. To provide.

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

上記目的を達成するため、本発明の印刷制御方式は、
パターンバッファに循環動作を行う格納用アドレスポイ
ンタを具備し、複数行にかかる高さの原寸大、あるいは
拡大,縮小文字を上記パターンバッファに格納して、文
字展開処理を行う場合、最終アドレスより重複領域だけ
前のアドレスから格納を開始し、上記格納用アドレスポ
インタが循環して先頭アドレスに戻り、そのまま最終ア
ドレスまで文字パターンを格納して、先に格納した重複
領域の文字パターンに上書きすることに特徴がある。
In order to achieve the above object, the print control method of the present invention is
When the pattern buffer is equipped with a storage address pointer that performs a circular operation, and the actual size of the height that spans multiple lines, or the enlarged or reduced characters are stored in the pattern buffer and the character expansion processing is performed, the characters overlap from the final address. The storage starts from the previous address only, the storage address pointer circulates, returns to the first address, stores the character pattern up to the last address, and overwrites the previously stored character pattern in the overlapping area. There are features.

〔作用〕[Action]

本発明においては、パターンバッファに文字パターン
を格納する際に、文字展開中の行にかかる文字パターン
のみをパターンバッファに格納する。すなわち、原寸大
の文字フォントパターンをパターンバッファに格納する
ときには、文字展開中の行にかかる文字パターンのみを
パターンバッファに格納することにより、パターンバッ
ファの奥行きを行の高さと同じにすることができる。ま
た、拡大あるいは縮少した文字パターンをパターンバッ
ファに格納するときは、パターンバッファの格納用アド
レスポインタが循環することを利用する。拡大あるい
は、縮少文字は、原寸大の文字パターンの全ドットを拡
大あるいは縮少しなければ、拡大あるいは縮少された文
字パターンを得ることができないが、これをパターンバ
ッファに全て格納すると、パターンバッファの奥行きが
拡大あるいは縮少した文字パターンの高さだけ必要にな
る。そこで、拡大あるいは縮少した文字パターンの文字
展開中の行にかからない上側の文字パターンをパターン
バッファの途中から格納開始し、格納用アドレスポイン
タがパターンバッファの最終アドレスから先頭アドレス
に戻った後、パターンバッファの先頭アドレスから拡大
あるいは縮少文字の文字展開中の行にかかる文字パター
ンをパターンバッファの最終アドレスまで格納すると、
先にパターンバッファに格納した文字展開中の行にかか
らない上側の文字パターンが消去され、文字展開中の行
にかかる文字パターンだけをパターンバッファに残すこ
とができる。これにより、パターンバッファの奥行き
を、行の高さと同じにできる。
In the present invention, when storing a character pattern in the pattern buffer, only the character pattern relating to the line in which the character is being developed is stored in the pattern buffer. That is, when a full-scale character font pattern is stored in the pattern buffer, the depth of the pattern buffer can be made equal to the height of the line by storing only the character pattern for the line under character expansion in the pattern buffer. . Further, when storing an enlarged or reduced character pattern in the pattern buffer, it is used that the storage address pointer of the pattern buffer circulates. Enlarged or reduced characters cannot obtain an enlarged or reduced character pattern unless all dots of the full-scale character pattern are enlarged or reduced, but if all of these are stored in the pattern buffer, the pattern buffer Only the height of the character pattern with the expanded or reduced depth is required. Therefore, starting to store the upper character pattern that does not occupy the line being expanded of the expanded or contracted character pattern in the middle of the pattern buffer, and after the storage address pointer returns from the last address of the pattern buffer to the start address, the pattern If you store the character pattern that extends from the first address of the buffer to the line that is being expanded or reduced to the last address of the pattern buffer,
The upper character pattern that does not cover the line under character expansion stored in the pattern buffer is deleted, and only the character pattern related to the line under character expansion can be left in the pattern buffer. This allows the depth of the pattern buffer to be the same as the row height.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第3図は、本発明の一実施例を示す印刷制御装置のブ
ロック図である。第3図において、1は1ページ分の印
刷する文字情報を行単位に格納するためのページバッフ
ァ、2は印刷する文字フォントパターンを記憶している
キャラクタジェネレータ、3はページバッファ1とキャ
ラクタジェネレータ2より行単位に文字展開処理を行う
文字展開制御回路、4は文字展開制御回路3が文字展開
処理を行うときに一時記憶として使用するパターンバッ
ファ、5は1ビットが用紙の1ドットに対応している用
紙イメージメモリである。
FIG. 3 is a block diagram of a print control apparatus showing an embodiment of the present invention. In FIG. 3, reference numeral 1 is a page buffer for storing character information to be printed for one page in a line unit, 2 is a character generator that stores a character font pattern to be printed, 3 is a page buffer 1 and a character generator 2. A character expansion control circuit for performing character expansion processing on a line-by-line basis, 4 is a pattern buffer used as temporary storage when the character expansion control circuit 3 performs character expansion processing, and 5 is 1 bit corresponding to 1 dot of paper. Paper image memory

印刷する文字の文字情報がページバッファ1に1ペー
ジ分格納されると、その格納された文字情報を順次文字
展開制御回路3に読み出すと同時に、その文字情報ある
いはキャラクタジェネレータ2のアドレスに変換された
情報でキャラクタジェネレータ2をアクセスし、該当す
る文字フォント情報を文字展開制御回路3に読み出す。
そして、パターンバッファ4に対する文字展開制御回路
3の文字展開処理が終了すると、パターンバッファ4の
内容は用紙イメージメモリ5に転送される。
When one page of character information of a character to be printed is stored in the page buffer 1, the stored character information is sequentially read to the character expansion control circuit 3 and, at the same time, converted to the character information or the address of the character generator 2. The character generator 2 is accessed by the information, and the corresponding character font information is read out to the character expansion control circuit 3.
Then, when the character expansion processing of the character expansion control circuit 3 for the pattern buffer 4 is completed, the contents of the pattern buffer 4 are transferred to the paper image memory 5.

第4図は、第3図におけるパターンバッファの説明図
である。第4図において、41はバッファメモリであり、
奥行きは文字展開する行の高さと同じである。メモリ41
の幅は、処理し易い大きさでよい。42は格納用アドレス
ポインタ、43は取り出し用アドレスポインタである。メ
モリ41に格納される文字パターンは、格納用アドレスポ
インタ42で示されるアドレスに格納される。格納中にメ
モリ41の最終アドレスに達したときには、メモリ41の先
頭アドレスに戻って、文字パターンの格納が続行され
る。メモリ41から取り出される文字パターンは、取り出
し用アドレスポインタ43で示されるアドレスから取り出
される。文字パターンをパターンバッファ4から用紙イ
メージメモリ5に転送する処理は、取り出し用アドレス
ポインタ43へメモリ41の先頭アドレスを初期設定するこ
とにより、メモリ41の先頭アドレスから開始され、メモ
リ41の最終アドレスで終了する。
FIG. 4 is an explanatory diagram of the pattern buffer in FIG. In FIG. 4, 41 is a buffer memory,
The depth is the same as the height of the line where characters are expanded. Memory 41
The width may be such that it can be easily processed. Reference numeral 42 is a storage address pointer, and 43 is a retrieval address pointer. The character pattern stored in the memory 41 is stored at the address indicated by the storage address pointer 42. When the final address of the memory 41 is reached during the storage, the process returns to the start address of the memory 41 and the storage of the character pattern is continued. The character pattern extracted from the memory 41 is extracted from the address indicated by the extraction address pointer 43. The process of transferring the character pattern from the pattern buffer 4 to the paper image memory 5 is started from the start address of the memory 41 by initializing the start address of the memory 41 to the extraction address pointer 43, finish.

第5図は、第3図における用紙イメージメモリに対す
る文字展開処理の説明図である。文字展開制御回路3
が、文字展開処理を行った後の用紙イメージメモリ5の
一例を説明する。文字展開制御回路3は、M行目の文字
を全て展開すると、次にM+1行目、M+2行目、・・
・の順に文字展開する。第5図では、文字展開制御回路
3が最初にM行目の文字「A」の上部、次に文字「C」
の上部、以下、M+1行目の文字「A」の中部、文字
「B」、文字「C」の中部、M+2行目の文字「A」の
下部、文字「C」の下部の順に文字展開処理を行い、文
字パターンをパターンバッファ4に格納し、それが用紙
イメージメモリ5に転送される。ここで、文字「C」は
原寸大の文字パターン、文字「A」は原寸大から拡大し
た文字パターン、文字「B」は原寸大から縮少した文字
パターンである。これ以降は、複数行にかかる文字をパ
ターンバッファ4に格納する処理について、説明する。
FIG. 5 is an explanatory diagram of character expansion processing for the paper image memory in FIG. Character expansion control circuit 3
However, an example of the paper image memory 5 after the character expansion processing will be described. When the character expansion control circuit 3 expands all the characters on the Mth line, then the M + 1th line, the M + 2th line, ...
・ The character is expanded in the order of. In FIG. 5, the character expansion control circuit 3 first displays the upper part of the character "A" on the Mth line, and then the character "C".
Character expansion processing in the order of the upper part of the following, the middle part of the character "A" on the M + 1th line, the character "B", the middle part of the character "C", the lower part of the character "A" on the M + 2th line, and the lower part of the character "C". And stores the character pattern in the pattern buffer 4, which is transferred to the paper image memory 5. Here, the character "C" is a full-scale character pattern, the character "A" is a character pattern enlarged from the original size, and the character "B" is a character pattern reduced from the original size. Hereinafter, a process of storing characters in a plurality of lines in the pattern buffer 4 will be described.

第7図は、文字「C」のパターンバッファへの格納状
態を示す図である。ここでは、文字展開制御回路3が、
文字「C」の原寸大パターンをパターンバッファ4に格
納する様子を説明する。M行目の文字「C」の上部の文
字展開処理では、パターンバッファ4の先頭アドレスか
ら白パターンを格納し、M行目中における文字「C」の
パターの先頭位置からは、文字「C」のパターンをパタ
ーンバッファ4の最終アドレスまで格納する(第7図
(a)参照)。M+1行目の文字「C」の中部の文字展
開処理では、パターンバッファ4の先頭アドレスから、
M+1行目にかかる文字「C」のパターンを最終アドレ
スまで格納する(第7図(b)参照)。M+2行目の文
字「C」の下部の文字展開処理では、パターンバッファ
4の先頭アドレスから、M+2行目にかかる文字「C」
のパターンを格納し、文字「C」のパターンの最終位置
まで格納した後は、白パターンをパターンバッファ4に
最終アドレスまで格納する(第7図(c)参照)。
FIG. 7 is a diagram showing how the character “C” is stored in the pattern buffer. Here, the character expansion control circuit 3
The manner in which the full size pattern of the character "C" is stored in the pattern buffer 4 will be described. In the character expansion processing on the upper part of the character "C" on the M-th line, a white pattern is stored from the start address of the pattern buffer 4, and the character "C" is read from the start position of the pattern of the character "C" on the M-th line. Is stored up to the final address of the pattern buffer 4 (see FIG. 7 (a)). In the character expansion processing of the middle part of the character “C” on the M + 1th line, from the start address of the pattern buffer 4,
The pattern of the character "C" on the M + 1th line is stored up to the final address (see FIG. 7 (b)). In the character expansion processing below the character “C” on the M + 2th line, the character “C” on the M + 2th line from the start address of the pattern buffer 4
After storing the pattern of No. 1 to the final position of the pattern of the character "C", the white pattern is stored to the final address in the pattern buffer 4 (see FIG. 7 (c)).

第6図は、本発明の文字パターン拡大処理の説明図で
ある。一般に、文字パターンの拡大は、文字の縦方向、
横方向それぞれについて行われるが、ドットの補間が行
われるため、実際に拡大してみなければ、拡大した文字
パターンを得ることはできない。しかし、文字パターン
は拡大の前後では相似であるため、原寸大パターンを拡
大方式上都合のよいところから拡大すれば、拡大した文
字パターンを途中から得ることができる。
FIG. 6 is an explanatory diagram of the character pattern enlargement processing of the present invention. In general, enlargement of a character pattern is
Although it is performed in each of the horizontal directions, since dot interpolation is performed, it is not possible to obtain an enlarged character pattern without actually enlarging it. However, since the character patterns are similar before and after the enlargement, the enlarged character pattern can be obtained halfway by enlarging the full-scale pattern from a position convenient for the enlargement method.

第6図においては、文字「A」の原寸大パターンを3
分割して拡大することにより、l0→L0,l1→L1,l2→L2
それぞれ拡大される。
In FIG. 6, the full-scale pattern of the letter “A” is 3
By dividing and expanding, it is expanded to l 0 → L 0 , l 1 → L 1 , l 2 → L 2 , respectively.

一方、文字パターンを分割して拡大するならば、つま
りl0の部分を単独にL0に、l1の部分を単独にL1に、また
l2の部分を単独にL2に、それぞれ拡大するときには、Δ
012のように重複する部分が生じる。また、
拡大された文字パターンが、第6図に示すように、M行
目からM+2行目にかかる場合、M+1行目の文字展開
ではΔの範囲、M+2行目の文字展開ではΔの範囲
の文字パターンが、それぞれM行目、M+1行目の文字
展開処理のときに用紙イメージメモリ5に転送されてい
るため、重複することになり不要となる。これらの不要
文字パターンをパターンバッファ4に格納したとして
も、用紙イメージメモリ5に転送する必要はない。そこ
で、パターンバッファ4の格納用アドレスポインタ42の
循環する機能を利用して、パターンバッファ4で不要文
字パターンを消去することにする。
On the other hand, if the character pattern is divided and expanded, that is, the l 0 part is independently L 0 , the l 1 part is individually L 1 , and
When individually expanding the part of l 2 to L 2 ,
Overlapping portions such as 0 , Δ 1 , Δ 2 , and Δ 3 occur. Also,
As shown in FIG. 6, when the enlarged character pattern extends from the Mth line to the M + 2th line, the character expansion on the M + 1th line is in the range of Δ 1 , and the character expansion on the M + 2th line is in the range of Δ 3 . Since the character patterns have been transferred to the paper image memory 5 at the time of the character expansion processing on the Mth line and the M + 1th line, respectively, they are redundant and unnecessary. Even if these unnecessary character patterns are stored in the pattern buffer 4, it is not necessary to transfer them to the paper image memory 5. Therefore, the unnecessary character pattern is erased in the pattern buffer 4 by utilizing the circulating function of the storage address pointer 42 of the pattern buffer 4.

第8図、第9図および第10図は、それぞれ本発明のパ
ターンバッファに対して、文字パターンを格納する状態
を示す図である。
FIG. 8, FIG. 9 and FIG. 10 are diagrams showing a state in which character patterns are stored in the pattern buffer of the present invention.

第8図では、文字展開制御回路3が文字「A」の原寸
大パターンの上部を拡大して、パターンバッファ4に格
納する状態を示している。パターンバッファ4の先頭ア
ドレスから白パターンを格納し、M行中における文字
「A」の拡大したパターンの先頭位置からは、文字
「A」の拡大したパターンをパターンバッファ4の最終
アドレスまで格納する。
FIG. 8 shows a state in which the character expansion control circuit 3 enlarges the upper portion of the full-scale pattern of the character “A” and stores it in the pattern buffer 4. The white pattern is stored from the start address of the pattern buffer 4, and the expanded pattern of the character “A” is stored from the start position of the expanded pattern of the character “A” in the M line to the final address of the pattern buffer 4.

第9図では、文字展開制御回路3が文字「A」の原寸
大パターンの中部を拡大して、パターンバッファ4に格
納するM+1行目の文字展開の状態を示している。第6
図に示したように、文字「A」の原寸大パターンのl1
範囲を拡大すると、拡大した文字パターンのL1の範囲を
得るが、そのうちΔの範囲は既に文字展開済みである
ため、不要である。そこで、第9図(a)に示すよう
に、パターンバッファ4の(最終アドレス−Δ)のア
ドレスから文字「A」の拡大したパターンを格納する。
格納用アドレスポインタ42は、循環機能を持っているた
め、パターンバッファ4は最終アドレスの次に先頭アド
レスに戻る。パターンバッファ4に対してそのまま最終
アドレスまで文字「A」の拡大したパターンを格納する
と、第9図(b)に示すようになる。すなわち、パター
ンバッファ4の最終アドレスからΔだけ戻ったアドレ
スよりM+1行目の格納処理を開始するので、Δの部
分は上書きされて消去される。従って、第9図(b)に
示すように、M+1行目の最初のアドレスでは、Δ
次の部分から格納されることになる。この結果、パター
ンバッファ4にM+1行目にかかる文字「A」の拡大し
たパターンが格納され、同時に不要な範囲Δの文字パ
ターンが消去されている。これを用紙イメージメモリ5
に転送すれば、文字「A」のM+1行目にかかる文字パ
ターンの展開が終了する。
In FIG. 9, the character expansion control circuit 3 expands the middle part of the full-scale pattern of the character “A” and stores it in the pattern buffer 4 in the character expansion state of the (M + 1) th line. Sixth
As shown in the figure, when the range of l 1 of the full-scale pattern of the character “A” is expanded, the range of L 1 of the expanded character pattern is obtained, but the range of Δ 1 has already been expanded. , Is unnecessary. Therefore, as shown in FIG. 9A, an enlarged pattern of the character "A" is stored from the address (final address-Δ 1 ) of the pattern buffer 4.
Since the storage address pointer 42 has a circulation function, the pattern buffer 4 returns to the head address after the last address. When the enlarged pattern of the character "A" is stored in the pattern buffer 4 as it is up to the final address, it becomes as shown in FIG. 9 (b). That is, since the storage processing of the M + 1th row is started from the address returned by Δ 1 from the final address of the pattern buffer 4, the Δ 1 portion is overwritten and erased. Therefore, as shown in FIG. 9 (b), at the first address of the M + 1th row, the data is stored from the portion following Δ 1 . As a result, the enlarged pattern of the character “A” on the M + 1th line is stored in the pattern buffer 4, and at the same time, the unnecessary character pattern in the range Δ 1 is erased. This is the paper image memory 5
, The development of the character pattern on the (M + 1) th line of the character “A” is completed.

第10図では、文字展開制御回路3が文字「A」の原寸
大パターンの下部を拡大してパターンバッファ4に格納
するM+2行目の文字展開の状態を示している。M+1
行目と同じように、Δの範囲は既に文字展開済みであ
るため、不要である。そこで、第10図(a)に示すよう
に、パターンバッファ4の(最終アドレス−Δ)のア
ドレスから文字「A」の拡大したパターンを格納する。
格納用アドレスポインタ42がパターンバッファ4の最終
アドレスから先頭アドレスに戻り、文字「A」の拡大し
たパターンの最終位置まで格納した後、白パターンをパ
ターンバッファ4の最終アドレスまで格納すると、第10
図(b)のようになる。すなわち、Δの範囲が上書き
されるとともに、第10図(b)に示すように、M+2行
目にはΔの次のアドレスから格納されることになる。
その結果、パターンバッファ4にはM+2行目にかかる
文字「A」の拡大した文字パターンが格納され、同時に
不要な範囲Δの文字パターンが消去されている。これ
を用紙イメージメモリ5に転送すれば、文字「A」のM
+2行目にかかる文字パターンの展開が終了する。
FIG. 10 shows the character expansion state of the M + 2th line in which the character expansion control circuit 3 enlarges the lower part of the full-scale pattern of the character “A” and stores it in the pattern buffer 4. M + 1
As in the case of the line, since the range of Δ 3 has already been expanded into characters, it is unnecessary. Therefore, as shown in FIG. 10 (a), an enlarged pattern of the character "A" is stored from the (final address- [Delta] 3 ) address of the pattern buffer 4.
When the storage address pointer 42 returns from the final address of the pattern buffer 4 to the first address, stores it up to the final position of the enlarged pattern of the character "A", and then stores the white pattern up to the final address of the pattern buffer 4,
It becomes like FIG. That is, the range of Δ 3 is overwritten, and as shown in FIG. 10B, the data is stored from the address next to Δ 3 in the M + 2th row.
As a result, the pattern buffer 4 stores the enlarged character pattern of the character “A” on the M + 2th line, and at the same time erases the unnecessary character pattern in the range Δ 3 . If this is transferred to the paper image memory 5, M of the character "A"
The expansion of the character pattern on the + 2nd line ends.

第1図は、本発明の一実施例を示す展開制御回路の詳
細ブロック図である。第1図において、31はページバッ
ファ1から転送された文字情報を格納する汎用レジス
タ、32は格納あるいは読み出しアドレス等を計算するた
めの演算器、33はマイクロ命令を解読して、例えば汎用
レジスタ31を読み書きしたり、演算器32で演算を行う等
の処理を実行する命令実行制御部、34はページバッファ
1またはキャラクタジェネレータ2からMバスを介して
送られてきたアドレス情報を格納するためのMバスアド
レスレジスタ、35は同じくMバスを介して送られてきた
データを格納するためのMバスデータレジスタであっ
て、文字展開制御回路3がMバスを介してMバスに接続
されるメモリを読むときに使用される。36は拡大/縮少
回路であって、文字展開制御回路3がキャラクタジェネ
レータ2から読み込んだ文字パターンの拡大/縮少処理
を行う。37はシフト/マージ回路であり、拡大/縮少回
路36で拡大/縮少した文字パターンのシフトを行った
り、パターンバッファ4に格納されている文字パターン
と拡大/縮少した文字パターンのマージを行う。38はF
バスアドレスレジスタ、39はFバスデータレジスタであ
って、文字展開制御回路3がFバスを介してパターンバ
ッファ4の内容を用紙イメージメモリ5に転送するとき
に使用される。41はキャラクタジェネレータ2から読み
出した文字パターンを展開するためのパターンバッフ
ァ、42はパターンバッファ41にデータを格納するための
格納用アドレスポインタである。なお、第4図に示す読
み出し用アドレスポインタ43は、記載を省略している。
FIG. 1 is a detailed block diagram of an expansion control circuit showing an embodiment of the present invention. In FIG. 1, 31 is a general-purpose register for storing the character information transferred from the page buffer 1, 32 is an arithmetic unit for calculating a storage or read address, and 33 is a micro-instruction for decoding, for example, the general-purpose register 31. An instruction execution control unit for executing processing such as reading and writing of data and performing operations in the arithmetic unit 32, 34 is an M memory for storing address information sent from the page buffer 1 or the character generator 2 via the M bus. Similarly, a bus address register 35 is an M bus data register for storing data sent via the M bus, and the character expansion control circuit 3 reads a memory connected to the M bus via the M bus. Sometimes used. An enlarging / reducing circuit 36 enlarges / reduces the character pattern read by the character expansion control circuit 3 from the character generator 2. A shift / merge circuit 37 shifts the enlarged / reduced character pattern by the enlargement / reduction circuit 36 and merges the enlarged / reduced character pattern with the character pattern stored in the pattern buffer 4. To do. 38 is F
A bus address register 39 is an F bus data register, which is used when the character expansion control circuit 3 transfers the contents of the pattern buffer 4 to the paper image memory 5 via the F bus. Reference numeral 41 is a pattern buffer for expanding the character pattern read from the character generator 2, and 42 is a storage address pointer for storing data in the pattern buffer 41. The read address pointer 43 shown in FIG. 4 is omitted.

第2図は、第1図の文字展開制御回路の動作フローチ
ャートであって、文字展開制御回路3が文字パターンを
拡大して用紙イメージメモリ5に転送する動作を示して
いる。先ず、文字展開制御回路3は、Mバスを介してペ
ージバッファ1から文字情報を読み込み、これを汎用レ
ジスタ31に退避する(101)。文字情報から文字サイズ
と行中における文字パターンの位置を計算する。このと
き、文字が拡大文字であったり、かつその行に拡大文字
の途中から文字展開する場合には、第9図と第10図に示
したように、重複領域ΔおよびΔも同時に計算して
おく(102)。文字サイズに合わせて拡大/縮少回路36
を初期化して、行中における文字パターンの位置に合わ
せてシフト/マージ回路37を初期化する(103)。拡大
文字を先頭から文字展開するときには、メモリ41の先頭
アドレスを格納用アドレスポインタ42に設定する。な
お、拡大文字の途中から文字展開するときには、Δ
よびΔを考慮したアドレスを格納用アドレスポインタ
42に設定する(104)。Mバスを介してキャラクタジェ
ネレータ2から文字パターンを読み込み、拡大/縮少回
路36で拡大し(105)、シフト/マージ回路37でシフト
し、さらにパターンバッファ4の内容とマージし(10
6)、パターンバッファ4にこれを格納する(107)。次
に、パターンバッファ4が文字パターンで一杯になった
か否かを判定し(108)、一杯になったときには、パタ
ーンバッファ4の内容を用紙イメージメモリ5に転送す
る(110)。1行分の文字パターンを用紙イメージメモ
リ5に転送するまでこの動作を繰り返し行う(111)。
パターンバッファ4が文字パターンで一杯になっていな
いときには、一杯になるまで繰り返しパターンバッファ
4に文字パターンを格納する(109)。パターンバッフ
ァ4が文字パターンで一杯になっていないときでも、1
行の終りでは、パターンバッファ4の内容を用紙イメー
ジメモリ5に転送する(112)。
FIG. 2 is an operation flowchart of the character expansion control circuit shown in FIG. 1, and shows an operation in which the character expansion control circuit 3 enlarges a character pattern and transfers it to the paper image memory 5. First, the character expansion control circuit 3 reads character information from the page buffer 1 via the M bus and saves it in the general-purpose register 31 (101). The character size and the position of the character pattern in the line are calculated from the character information. At this time, if the character is an expanded character and the character is expanded into the line from the middle of the expanded character, the overlapping areas Δ 1 and Δ 3 are calculated at the same time as shown in FIGS. 9 and 10. (102). Expansion / reduction circuit 36 according to the character size
Are initialized, and the shift / merge circuit 37 is initialized according to the position of the character pattern in the line (103). When expanding characters from the beginning, the starting address of the memory 41 is set in the storage address pointer 42. When expanding characters from the middle of an enlarged character, an address considering Δ 1 and Δ 3 is used as a storage address pointer.
Set it to 42 (104). A character pattern is read from the character generator 2 via the M bus, enlarged by the enlargement / reduction circuit 36 (105), shifted by the shift / merge circuit 37, and merged with the contents of the pattern buffer 4 (10).
6) It is stored in the pattern buffer 4 (107). Next, it is determined whether or not the pattern buffer 4 is full of character patterns (108), and when full, the contents of the pattern buffer 4 are transferred to the paper image memory 5 (110). This operation is repeated until the character pattern for one line is transferred to the paper image memory 5 (111).
When the pattern buffer 4 is not full of character patterns, character patterns are repeatedly stored in the pattern buffer 4 until it is full (109). 1 even when the pattern buffer 4 is not full of character patterns
At the end of the line, the contents of the pattern buffer 4 are transferred to the paper image memory 5 (112).

第2図では、文字パターンを拡大した場合について述
べているが、縮少した場合についても全く同じようにし
て処理することができる。
In FIG. 2, the case where the character pattern is enlarged is described, but the case where the character pattern is contracted can be processed in exactly the same manner.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、複数行にかか
る大きさの文字パターンを用紙イメージメモリに展開す
る場合、文字展開中の行にかかる文字パターンだけをパ
ターンバッファに格納するので、パターンバッファの奥
行きを行の高さと等しくでき、その結果、パターンバッ
ファの金物量を少なくすることができる。
As described above, according to the present invention, when a character pattern having a size of a plurality of lines is developed in the paper image memory, only the character pattern of the line being developed is stored in the pattern buffer. Can be equal to the row height, and as a result, the amount of metal in the pattern buffer can be reduced.

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

第1図は本発明の一実施例を示す文字展開制御回路のブ
ロック図、第2図は第1図の回路の動作フローチャー
ト、第3図は本発明の一実施例を示す印刷制御装置のブ
ロック構成図、第4図は第3図におけるパターンバッフ
ァの詳細構成図、第5図は用紙イメージメモリに対する
文字展開処理の説明図、第6図は本発明における文字パ
ターンの拡大処理の説明図、第7図は原寸大の文字パタ
ーンをパターンバッファに格納する状態を示す図、第8
図、第9図および第10図はそれぞれ本発明におけるM行
目、M+1行目、M+2行目のパターンバッファへの格
納説明図である。 1:ページバッファ、2:キャラクタジェネレータ、3:文字
展開制御回路、4:パターンバッファ、5:用紙イメージメ
モリ、41:メモリ、42:格納用アドレスポインタ、43:取
り出し用アドレスポインタ。
FIG. 1 is a block diagram of a character expansion control circuit showing an embodiment of the present invention, FIG. 2 is an operation flowchart of the circuit of FIG. 1, and FIG. 3 is a block of a print control apparatus showing an embodiment of the present invention. Configuration diagram, FIG. 4 is a detailed configuration diagram of the pattern buffer in FIG. 3, FIG. 5 is an explanatory diagram of a character expansion process for a paper image memory, and FIG. 6 is an explanatory diagram of a character pattern enlargement process in the present invention. FIG. 7 is a diagram showing a state in which a full-size character pattern is stored in the pattern buffer, and FIG.
FIG. 9, FIG. 9 and FIG. 10 are explanatory diagrams of storage in the pattern buffers of the M-th row, the M + 1-th row and the M + 2-th row in the present invention, respectively. 1: Page buffer, 2: Character generator, 3: Character expansion control circuit, 4: Pattern buffer, 5: Paper image memory, 41: Memory, 42: Storage address pointer, 43: Extraction address pointer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字パターンを記憶する記憶するキャラク
タジェネレータと、前記文字パターンを一時格納する1
行分の幅のパターンバッファと、該上記パターンバッフ
ァに対し循環動作で格納位置を示す格納用アドレスポイ
ンタとを備え、複数行にかかる高さの原寸大、あるいは
拡大,縮小された文字パターンを分割して前記パターン
バッファに順次格納し、外部へ出力する文字展開制御回
路において、 複数行にかかる原寸大の文字パターンの分割されたそれ
ぞれの領域に拡大して前記パターンバッファに格納する
場合、前記パターンバッファの最終アドレスよりも、拡
大処理により生じる重複領域の分だけ前のアドレスから
格納を開始し、前記格納用アドレスポインタが循環して
先頭アドレスに戻り、そのまま最終アドレスまで文字パ
ターンを格納して、先に格納した重複領域の文字パター
ンに上書きすることを特徴とする文字展開制御回路。
1. A character generator for storing a character pattern, and 1 for temporarily storing the character pattern.
A pattern buffer having a width for a line and a storage address pointer for indicating a storage position in a circular operation with respect to the pattern buffer are provided, and a full-sized or enlarged or reduced character pattern having a height of a plurality of lines is divided. In the character expansion control circuit for sequentially storing in the pattern buffer and outputting to the outside, in the case of enlarging and storing in the pattern buffer in each of the divided areas of the full-size character pattern that spans a plurality of lines, The storage starts from an address that is before the last address of the buffer by the overlap area generated by the enlargement process, the storage address pointer circulates and returns to the first address, and the character pattern is stored as it is until the last address. A character expansion control circuit characterized by overwriting a character pattern in an overlapping area stored previously.
JP61188428A 1986-08-13 1986-08-13 Character expansion control circuit Expired - Fee Related JPH082665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61188428A JPH082665B2 (en) 1986-08-13 1986-08-13 Character expansion control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61188428A JPH082665B2 (en) 1986-08-13 1986-08-13 Character expansion control circuit

Publications (2)

Publication Number Publication Date
JPS6345059A JPS6345059A (en) 1988-02-26
JPH082665B2 true JPH082665B2 (en) 1996-01-17

Family

ID=16223500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61188428A Expired - Fee Related JPH082665B2 (en) 1986-08-13 1986-08-13 Character expansion control circuit

Country Status (1)

Country Link
JP (1) JPH082665B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59121432A (en) * 1982-12-16 1984-07-13 Fujitsu Ltd Print data buffering system of printer

Also Published As

Publication number Publication date
JPS6345059A (en) 1988-02-26

Similar Documents

Publication Publication Date Title
JPS61249175A (en) Graphic processor
US4707153A (en) Printer controller
US4683552A (en) System for on-line and off-line display
JPH082665B2 (en) Character expansion control circuit
JPS642952B2 (en)
US4835529A (en) Output display apparatus
JPS63108381A (en) Raster computation circuit
KR970002108B1 (en) Laser-printer bit map font
JP3035126B2 (en) Information processing device
JPS5958536A (en) Printer control system
JPS59167748A (en) Information storage device
JP2737845B2 (en) Character processing method and apparatus
JPH1044530A (en) Printing control apparatus, information-processing apparatus, printing apparatus, and method for processing print information
JP2877391B2 (en) Outline character expansion method
JPS60263984A (en) Dot data development system
JPS5944088A (en) Compound display
JPH03112668A (en) Printer
JPH03271800A (en) Special processing logogram character generating system
JPH0450896A (en) Plotting circuit
JPH0594170A (en) Vector font plotting device
JPH08123956A (en) Image processing device
JPH0815795B2 (en) Printer print control method
JPH04255897A (en) Character output controller
JPH0590563U (en) Outline font expansion device
JPH0584229B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees