JPH0426137B2 - - Google Patents

Info

Publication number
JPH0426137B2
JPH0426137B2 JP59036804A JP3680484A JPH0426137B2 JP H0426137 B2 JPH0426137 B2 JP H0426137B2 JP 59036804 A JP59036804 A JP 59036804A JP 3680484 A JP3680484 A JP 3680484A JP H0426137 B2 JPH0426137 B2 JP H0426137B2
Authority
JP
Japan
Prior art keywords
data
register
bits
address
character
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 - Lifetime
Application number
JP59036804A
Other languages
Japanese (ja)
Other versions
JPS60209880A (en
Inventor
Fumiaki Harada
Seiji Inuyama
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59036804A priority Critical patent/JPS60209880A/en
Publication of JPS60209880A publication Critical patent/JPS60209880A/en
Publication of JPH0426137B2 publication Critical patent/JPH0426137B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Description

【発明の詳細な説明】 発明の技術分野 本発明は、ノンインパクトプリンタのイメージ
メモリの書込み制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a write control device for an image memory of a non-impact printer.

従来技術と問題点 ノンインパクトプリンタは、印字すべき文字の
ドツトパターンデータを文字発生器(CG)より
得、該データに従つて例えばレーザ光を制御して
用紙上に該文字を印字する。文字、こゝでは漢
字、は30×30ドツトなどのドツトパターンで表わ
されるが、1行の文字列のドツトパターンをドツ
トライン(横方向ドツト列)毎に読出してレーザ
光の制御を行なう方式の他、1ページ分の文字群
のドツトパターンを一対のイメージメモリの一方
に展開し、展開完了で印字開始し、同時に他方の
イメージメモリへの次の1ページ分文字群の展開
を始め、こうしてイメージメモリを交互に使用し
ながら連続印字する方式もある。本発明は後者に
係り、該イメージメモリ上の微細に指定された位
置への文字データ(ドツトパターンデータ)格納
を高速に実行可能にするものである。
Prior Art and Problems A non-impact printer obtains dot pattern data of characters to be printed from a character generator (CG) and prints the characters on paper by controlling, for example, a laser beam according to the data. Characters, in this case kanji, are represented by dot patterns such as 30 x 30 dots, but there are other methods in which laser light is controlled by reading out the dot pattern of one line of character strings for each dot line (horizontal dot row). , develops the dot pattern of one page's worth of characters into one of the pair of image memories, starts printing when the development is completed, and at the same time begins to develop the next page of characters into the other image memory. There is also a method that prints continuously while using alternately. The present invention relates to the latter, and makes it possible to store character data (dot pattern data) at precisely specified positions on the image memory at high speed.

イメージメモリ上への文字データ格納は、1ド
ツト(文字データで言えば1ビツト)ずつ行なう
ならこれは通常のメモリ書込みと同じで、格納問
題はないが、極めて多数のドツトパターンデータ
を1ビツトずつ行なつたのでは所要時間が大にな
る。そこで複数ビツトずつ纏めて書込むという方
式がとられ、該複数ビツトとしては例えば32ビツ
トが採用される。これはメモリのワード長を32ビ
ツトとし、1つのアドレス信号で該32ビツトの1
ワードがアクセスされるようにすることで実行で
きる。
If character data is stored in the image memory one dot at a time (in character data, one bit), this is the same as normal memory writing and there is no storage problem, but if an extremely large number of dot pattern data is stored one bit at a time, If you do that, it will take a lot of time. Therefore, a method is adopted in which a plurality of bits are written at once, and the plurality of bits is, for example, 32 bits. This assumes that the word length of the memory is 32 bits, and one address signal is used to address one of the 32 bits.
This can be done by allowing the word to be accessed.

1文字のドツトラインは上述のように30ビツト
とし、文字間に2ビツトを当てれば、上記32ビツ
トは1文字分のドツトライン長(横幅)になる。
1ページ分のX−Y2次元イメージメモリ上で考
えると、X方向の各ライン(X方向の線またはド
ツト列をラインという)が32ビツト毎に区切ら
れ、各区分の先頭ビツトにアドレスが与えられ、
Y方向で30ライン分が1文字分であるから、各30
ラインのうちの最上部のラインの上記区分の先頭
ビツトのアドレスが各文字の先頭アドレスにな
る。
The dot line of one character is 30 bits as described above, and if 2 bits are applied between characters, the 32 bits will become the dot line length (width) of one character.
When considering one page of X-Y two-dimensional image memory, each line in the X direction (a line or row of dots in the X direction is called a line) is divided into 32-bit units, and an address is given to the first bit of each division. ,
Since 30 lines in the Y direction is one character, each 30
The address of the first bit of the above section on the top line becomes the first address of each character.

1ページ分の文字は当該ページの始端つまり左
上端から終端つまり右下端まで密に詰つているこ
ともあるが、多くは空白部があるのが普通であ
る。特に見出しなどは左右が空き、上下も若干も
しくはかなり空いているのが普通である。かゝる
こと即ち文字の配置は各文字を座標指定すること
により行なう。文字位置を指定する座標に前記の
先頭アドレスを用いることができるが、これでは
上記の32ビツト毎の離散的アドレスしか指定する
ことはできない。関ビツト単位で座標指定するこ
とができれば、文字位置は相当に微細に指定で
き、任意の好ましいフオーマツトに仕上げること
ができる。しかし書込みは上記の32ビツト単位で
あり、これにより高速化が図れる。
The characters for one page may be densely packed from the beginning or upper left edge of the page to the end or lower right edge of the page, but usually there are blank spaces. Especially for headings, there is usually space on the left and right, and a little or a lot of space above and below. This is done by specifying the coordinates of each character. Although the above-mentioned start address can be used as the coordinates for specifying the character position, it is only possible to specify the above-mentioned discrete address every 32 bits. If coordinates can be specified in bit units, character positions can be specified very precisely, and any desired format can be created. However, writing is done in units of 32 bits as mentioned above, which increases the speed.

発明の目的 本発明はかゝる問題に対処し、高速で書込みが
でき、かつ微細な文字位置指定ができる、イメー
ジメモリへの印字データ格納装置を提供しようと
するものである。
OBJECTS OF THE INVENTION The present invention addresses these problems and provides a device for storing print data in an image memory, which allows high-speed writing and fine character position specification.

発明の構成 本発明は、イメージメモリに対してnビツト単
位にデータを書き込むために、nビツトのデータ
がセツトされる第1のデータレジスタと、n×m
ビツトの文字パターンデータを入力とする第2の
データレジスタと、各々nビツトのデータがセツ
トされる、m+1個のシフトレジスタと、前記第
2のデータレジスタにセツトされたn×mビツト
の文字パターンデータの表示位置を示すXアドレ
ス及びアドレスを入力とするアドレスレジスタ
と、前記アドレスレジスタにセツトされたXアド
レスに基づいて、前記イメージメモリに対して設
定されたnビツト単位の書き込み区切り位置から
前記n×mビツトの文字パターンデータの先頭ビ
ツト書き込み位置のシフト量を求め、前記n×m
ビツトの文字パターンデータを前記シフト量分だ
けずらして前記m+1個のシフトレジスタに書き
込ませる手段と、前記m+1個のシフトレジスタ
に書き込まれた文字パターンデータを、各シフト
レジスタ毎に順次選択して前記第1のデータレジ
スタに入力させるマルチプレクサと、を備え、前
記第1のデータレジスタにnビツト単位のデータ
が入力される毎に、当該nビツトのデータを前記
イメージメモリに書き込むようにしたことを特徴
とするが、次に実施例を参照しながらこれを詳細
に説明する。
Structure of the Invention The present invention provides a first data register in which n bits of data are set, and an n×m register in order to write data in units of n bits to an image memory.
A second data register that receives bit character pattern data as input, m+1 shift registers in which n bits of data are each set, and an n×m bit character pattern set in the second data register. Based on the X address that indicates the data display position and the address register that receives the address as input, and the X address set in the address register, the n Find the shift amount of the first bit writing position of the character pattern data of ×m bits, and
means for shifting the bit character pattern data by the shift amount and writing it into the m+1 shift registers; and means for sequentially selecting the character pattern data written in the m+1 shift registers for each shift register and and a multiplexer for inputting data to a first data register, and each time n-bit data is input to the first data register, the n-bit data is written to the image memory. Next, this will be explained in detail with reference to examples.

発明の実施例 第1図は本発明の実施例を示すブロツク図で、
IMMは印刷イメージメモリ、CGは文字発生器で
ある。またYARはYアドレスレジスタ、XARは
Xアドレスレジスタ、ARはアドレスレジスタ、
GFRはグラフイツクレジスタ、CCはクロツク制
御回路、DRはデータレジスタ、SRはシフトレジ
スタ、MPXはマルチプレクサ、DORはデータ出
力レジスタである。
Embodiment of the invention FIG. 1 is a block diagram showing an embodiment of the invention.
IMM is print image memory and CG is character generator. Also, YAR is the Y address register, XAR is the X address register, AR is the address register,
GFR is a graphics register, CC is a clock control circuit, DR is a data register, SR is a shift register, MPX is a multiplexer, and DOR is a data output register.

印字すべき1ページ中の各文字のコードおよび
位置データが図示しないメモリなどから1文字ず
つ逐次出力され、その文字コードがアドレスレジ
スタARにセツトされて文字発生器CGをアクセ
スするアドレスとなり、また位置データA1のう
ちのXアドレスがレジスタXARに、Yアドレス
がYARにセツトされてイメージメモリIMMのア
クセスアドレスとなる。文字には大きさがある
が、CGに格納する文字パターンデータは9ポ用
であり1文字32×30ドツトである。レジスタAR
に格納した文字コード文字発生器CGをアクセス
すると当該文字の最初の(最上部の)1ドツトラ
イン分32ビツトが読み出され、データバスDBを
通してデータレジスタDRに格納され、次にレジ
スタARはインクリメント機構により+1され、
これにより次のドツトラインの32ビツトデータが
データバスDBを通つてデータレジスタDRへ格
納され、かゝる処理が30回繰り返されて1文字分
のドツトパターンがCGより取出される。
The code and position data of each character in one page to be printed are sequentially output character by character from a memory (not shown), and the character code is set in the address register AR to become the address to access the character generator CG, and the position data is The X address of the data A1 is set in the register XAR, and the Y address is set in YAR, which becomes the access address of the image memory IMM. Characters have different sizes, but the character pattern data stored in the CG is for 9 dots, and each character is 32 x 30 dots. register AR
When the character code character generator CG stored in is accessed, the first (top) 1 dot line of 32 bits of the character is read out and stored in the data register DR via the data bus DB, and then the register AR is incremented by the increment mechanism. +1 by
As a result, the 32-bit data of the next dot line is stored in the data register DR via the data bus DB, and this process is repeated 30 times to extract one character's worth of dot patterns from the CG.

印字できる文字の大きさは本例では9ポ、7
ポ、12ポであるが、文字発生器CGに入つている
のは中間の9ポであり、7ポ、12ポに対しては拡
大、縮小により対処する。この拡大、縮小はデー
タレジスタDRからシフトレジスタSRへ各ドツト
ラインのパターンデータを移す過程で行なう。即
ちデータレジスタDRのシフトロツクを止めてシ
フトレジスタSRのシフトクロツクを加えるとデ
ータの2度読みが行なわれるから文字パターンの
拡大になり、逆にシフトレジスタSRのシフトク
ロツクを止めてデータレジスタDRのシフトクロ
ツクを加えると重ね書き、ビツト切捨てが行なわ
れるから文字パターンの縮小になる。レジスタ
DR,SRのシフトクロツクを共に加えておけば拡
大も縮小もなく、単なる等尺コピーになる。かゝ
るクロツク制御を回路CCが行なう。また重ね書
き及び2度読みは、文字パターンの、それをして
も目立たない部分で行なうのがよく、この目立た
ない部分は文字毎に異なる。そこで書く文字毎に
どこで重ね書き/2度書きを行なうかの制御デー
タが用意されており、グラフイツクフラグレジス
タGFRには該制御データが当該文字の1ドツト
ライン分ずつ取込まれ、制御回路CCにクロツク
制御データを供給する。
In this example, the sizes of characters that can be printed are 9 points and 7 points.
However, the character generator CG contains the middle 9 points, and deals with 7 points and 12 points by enlarging and reducing them. This expansion and reduction is performed during the process of transferring the pattern data of each dot line from the data register DR to the shift register SR. In other words, if the shift clock of the data register DR is stopped and the shift clock of the shift register SR is added, the data is read twice, resulting in an enlarged character pattern, and conversely, the shift clock of the shift register SR is stopped and the shift clock of the data register DR is added. Since the character pattern is overwritten and bits are truncated, the character pattern is reduced. register
If you add both DR and SR shift clocks, there will be no enlargement or reduction, and it will become a simple isometric copy. Circuit CC performs such clock control. Further, it is preferable to overwrite and read twice in an inconspicuous part of the character pattern, and this inconspicuous part differs from character to character. Control data is prepared for where to overwrite/double write for each character to be written, and the control data for each dot line of the character is taken into the graphics flag register GFR and sent to the control circuit CC. Provides clock control data.

印字文字の位置データA1はメモリIMMのXア
ドレス及びYアドレスからなるが、これは第2図
に示す如きものである。即ちイメージメモリ
IMMは左上端を原点とするX−Y平面であると
考えることができ、印字文字1つは矩形枠Aで表
わさせる。X軸に付した目盛は前述の32ビツト毎
の区切りであり、Y軸に付した目盛は20ライン毎
に付した便宜上のものである。矩形枠Aの広さは
横(X)32ビツト、縦(Y)30ラインである。
かゝる矩形枠即ち印字文字領域の始端アドレス
x,yが位置データA1に含まれるXアドレス及
びYアドレスである。このXアドレスはビツト単
位であつて区切り単位ではなく、従つて図示xの
ように区切りSの痛感にくることもある。Yアド
レスはライン(Y方向のビツト)単位であるか
ら、Xアドレスのように区切りの中間ということ
はない。そこでレジスタYARにセツトされたY
アドレスはそのまゝメモリIMMのアクセスアド
レスとなる。これに対してレジスタXARのXア
ドレスは下位5ビツトを除く残りのビツト(これ
は区切りSのアドレスを示す)がメモリIMMへ
導かれ、アクセスアドレスとなる。
The print character position data A1 consists of the X address and Y address of the memory IMM, as shown in FIG. i.e. image memory
The IMM can be considered to be an X-Y plane with the origin at the upper left corner, and one printed character is represented by a rectangular frame A. The scale marked on the X-axis is a division of every 32 bits as described above, and the scale marked on the Y-axis is marked every 20 lines for convenience. The width of rectangular frame A is 32 bits horizontally (X) and 30 lines vertically (Y).
The starting addresses x and y of this rectangular frame, ie, the print character area, are the X address and Y address included in the position data A1. This X address is in units of bits and not in units of divisions, so the division S may be felt as shown by x in the figure. Since the Y address is in units of lines (bits in the Y direction), it is not in the middle of the division like the X address. Therefore, Y is set in register YAR.
The address remains the access address of the memory IMM. On the other hand, the remaining bits of the X address of the register XAR except for the lower 5 bits (this indicates the address of the delimiter S) are led to the memory IMM and become the access address.

Xアドレスの下位5ビツトは区切りSで区画さ
れた32ビツト区分内の各ビツトのアドレスを示
す。これは更に4分割し、各8ビツトのブロツク
4個とする。従つて下位5ビツトの上位(全体か
ら見れば中位)2ビツトU2はブロツクの、下位
3ビツトD3はブロツク内各ビツトのアドレスを
示す。本発明ではこの5ビツトを用いてレジスタ
上で移動させて、印字文字の1ドツトラインの上
記区分上位置を変え、これにより印字文字の先頭
アドレスxが第2図に示す如き指定位置にくるよ
うにする。更にこの移動処理は、上記のブロツク
の選択と、ブロツク内、8ビツト以下のシフト操
作で行ない、所要時間が可及的に少なくて済むよ
うにする。
The lower 5 bits of the X address indicate the address of each bit within the 32-bit section divided by the separator S. This is further divided into four blocks, each consisting of four 8-bit blocks. Therefore, the upper two bits U2 of the lower five bits (the middle one in terms of the whole) indicate the address of the block, and the lower three bits D3 indicate the address of each bit within the block. In the present invention, these 5 bits are used to move on the register to change the position of the one-dot line of the printed character on the above classification, so that the first address x of the printed character comes to the designated position as shown in Figure 2. do. Further, this movement process is performed by selecting the block described above and shifting within the block by 8 bits or less, so that the required time is kept as short as possible.

シフトレジスタSRは上記のブロツク内シフト
に供するもので、レジスタDRからの5バイト
(拡大されると32ビツト即ち4バイトは5バイト
になる)に、シフト用のスペースとして1バイト
加えた6バイトの容量を持ち、レジスタDRから
の1ドツトライン分データを入力されたのち、下
位3ビツトD3によるシフト操作を行なう。こう
してシフトされたレジスタSRの6バイトデータ
はマルチプレクサMPXに加わり、上位(又は中
位)2ビツトU2によるバイト選択処理を受け
る。
Shift register SR is used for the above-mentioned intra-block shift, and is 6 bytes, which is the 5 bytes from register DR (32 bits when expanded, i.e. 4 bytes become 5 bytes) plus 1 byte for shift space. It has a large capacity, and after receiving one dot line worth of data from the register DR, performs a shift operation using the lower three bits D3. The 6-byte data of the register SR thus shifted is applied to the multiplexer MPX and subjected to byte selection processing by the upper (or middle) 2 bits U2.

第2図bでこれを説明するに、印字文字の先頭
アドレスxが図示のように、ある区分Siの第3ブ
ロツクB2の第7ビツトにあつたとすると、この
場合当該文字の1ドツトラインのDLは区分Siと
次の区分Sjに跨つて存在し、その左端、右端は空
白部となる(一般には左端には先行する文字が、
また右端には後続する文字がくる)。こゝでは1
ドツトラインDLは4バイト、つまり文字サイズ
は9ポで拡大も縮小も受けなかつたとする。この
4バイトのデータはシフトレジスタSRに下から
詰められに示すように該レジスタの上2バイト
を残して下4バイトを満たす。この文字の先頭ア
ドレスxの下位5ビツトはその上位2ビツトU2
が10、下位3ビツトD3が110であり(いずれも
2進数)、レジスタSRで該下位3ビツトの8の補
数010だけシフトを行ない、の状態にする。即
ちデータは、6バイトのシフトレジスタSRの上
14ビツト、下2ビツトを空けた中間の32ビツトに
詰つている。かゝるシフトレジスタの内容をマル
チプレクサMPXで、上位2ビツトU2と、メモ
リアクセス回路MACからの書込みが1回目か、
2回目か、3回目かを示す2ビツト信号W2に従
つて取出す。即ち第2図bの例では区分Siに入る
10ビツトが1回目に書込まれ、区分Sjに入る22ビ
ツトが2回目に書込まれる。3回目書込みは拡大
された場合に行なわれる。印字文字の先頭アドレ
スxが区切りSから始まり、バイト数は4という
場合は1回の書込みで充分であり、従つて書込み
が何回になるから先頭アドレスと1ドツトライン
のバイト数により定まる。第2図bから明らかな
ように1ドツトラインDLの左側10ドツトを、そ
の左方に22箇の0をつけて区分Siへ32ビツト同時
書込みし、次いで該ドツトラインDLの右側22ビ
ツトを右方に10箇の0をつけて区分Sjへ書込めば
該ドツトラインDLを指定された通り、先頭アド
レスxより書込むことができる。
To explain this with reference to Fig. 2b, if the first address x of a printed character falls on the 7th bit of the 3rd block B2 of a certain category Si as shown in the figure, then in this case, the DL of the 1-dot line of the character exists across the division Si and the next division Sj, and its left and right ends are blank spaces (generally, the left end contains the preceding character,
Subsequent characters will be placed on the right edge). Here 1
Assume that the dot line DL is 4 bytes, that is, the character size is 9 points, and is not subject to enlargement or reduction. These 4 bytes of data are stuffed into the shift register SR from the bottom, leaving the top 2 bytes of the register and filling the bottom 4 bytes, as shown in FIG. The lower 5 bits of the first address x of this character are its upper 2 bits U2
is 10, and the lower 3 bits D3 are 110 (both are binary numbers), and the lower 3 bits are shifted by the 8's complement number 010 in the register SR, resulting in the following state. In other words, the data is on the 6-byte shift register SR.
It is packed into 32 bits in the middle with 14 bits and the bottom two bits left open. The contents of the shift register are written to the upper 2 bits U2 by the multiplexer MPX, and the memory access circuit MAC writes the contents for the first time.
It is extracted according to the 2-bit signal W2 indicating whether it is the second or third time. In other words, in the example in Figure 2b, it falls into category Si.
10 bits are written the first time, and 22 bits falling in section Sj are written the second time. The third writing is performed when the image is enlarged. If the start address x of the print character starts from the delimiter S and the number of bytes is 4, one writing is sufficient, and therefore, the number of times the writing is required is determined by the start address and the number of bytes of one dot line. As is clear from Fig. 2b, 10 dots on the left side of the 1-dot line DL are written with 22 zeros on the left side, and 32 bits are simultaneously written into the section Si, and then 22 bits on the right side of the dot line DL are written on the right side. If 10 zeros are added and written to the section Sj, the dot line DL can be written from the start address x as specified.

第3図でマルチプレクサMPXでの処理を説明
するに、このMPXは6バイトのシフトレジスタ
SRから指定された4バイトを取出して4バイト
のデータ出力レジスタDORへ格納する。こゝで
は6バイトのシフトレジスタSRの各バイトの読
出し出力をa,b,……fとし、MPXの4群の
入力端子には図示のようにこれらの出力が加わ
り、該MPXの出力端O1〜O4からその1つが取出
されてレジスタDORの各バイトへ図示のように
下から逐次詰め込まれる。マルチプレクサMPX
への入力の組は図示のように9種類あり(従つて
これを選択するビツトはU2の2ビツトとW2の
2ビツトの計4ビツト)、はa,b,c,d、
は0,a,b,c、は0,0,a,b,……
はf,0,0,0である。第2図の例のように
レジスタSRの上1バイト残して下5バイトにデ
ータが入る場合はa=0であり、b〜fにデータ
がある。そして先頭アドレスの下位5ビツトの上
位2ビツトU2が10の場合はMPXでは1回目は
入力の組が選択され、レジスタDORには0,
a,b,cの4バイトが書込まれる。この0とa
の2バイトはオール0であり、そしてバイトbは
上6ビツトが無条件0である。2回目はMPXの
入力のの組が取出され、レジスタDORにはd,
e,fバイトが書込まれる。このfバイトの下位
2ビツトは無条件0である。
To explain the processing in the multiplexer MPX in Figure 3, this MPX is a 6-byte shift register.
Extracts the specified 4 bytes from SR and stores them in the 4-byte data output register DOR. Here, the read outputs of each byte of the 6-byte shift register SR are a, b, ... f, and these outputs are added to the four groups of input terminals of MPX as shown in the figure, and the output terminal O of MPX is One of them is taken out from 1 to O4 and sequentially stuffed into each byte of register DOR from the bottom as shown. multiplexer mpx
As shown in the figure, there are 9 types of input sets (therefore, the bits for selecting these are 2 bits of U2 and 2 bits of W2, a total of 4 bits), are a, b, c, d,
is 0, a, b, c, is 0, 0, a, b, ...
is f,0,0,0. As in the example shown in FIG. 2, when data is stored in the upper 1 byte of register SR and the lower 5 bytes, a=0, and there is data in b to f. If the upper 2 bits U2 of the lower 5 bits of the start address are 10, the input set is selected for the first time in MPX, and the register DOR is 0,
Four bytes a, b, and c are written. This 0 and a
The two bytes of are all 0, and the upper 6 bits of byte b are unconditionally 0. The second time, the input set of MPX is taken out, and the register DOR contains d,
e, f bytes are written. The lower two bits of this f byte are unconditionally 0.

レジスタDORはメモリIMMの書込みデータレ
ジスタとなり、そして書込む前に当該4バイトの
読出しが行なわれ、その読出し出力がレジスタ
DORのデータと論理和をとられてその論理和出
力が該レジスタに再セツトされ、これが区分Siに
対する書込みデータとなる。前述のように区分Si
の、先頭アドレスxより左方の部分は先行文字の
後半である場合があるから、上記操作で先行文字
の後半が消えることなく、今回文字の前半が区分
Siに確実に書込まれることになる。今回文字の後
半については単なる書込みでよいが、同じ動作と
するためにやはり読出してその出力データとレジ
スタDORの格納データとの論理和をとり、それ
をレジスタDORへ再セツトし、かゝるレジスタ
DORの内容により区分Sjに対する書込みを行な
う。この場合の読出しデータはオール0であるか
ら、論理をとつても格別支障はない。
The register DOR becomes the write data register of the memory IMM, and before writing, the 4 bytes are read and the read output is sent to the register.
It is logically ORed with the data in DOR, and the logical sum output is reset in the register, and this becomes the write data for section Si. Classification Si as mentioned above
The part to the left of the first address
It will definitely be written to Si. This time, the latter half of the character can be simply written, but in order to perform the same operation, it is also read out, the output data is ORed with the data stored in the register DOR, and it is reset to the register DOR.
Write to section Sj according to the contents of DOR. Since the read data in this case is all 0, there is no particular problem with the logic.

発明の効果 以上説明したように本発明によれば印刷イメー
ジメモリへ印字データを微細に位置指定可能に、
そしてシフト回数を少なく、従つて高速に格納す
ることができ、甚だ有効である。
Effects of the Invention As explained above, according to the present invention, it is possible to precisely specify the position of print data in the print image memory.
The number of shifts can be reduced and storage can therefore be performed at high speed, which is extremely effective.

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

第1図は本発明の実施例を示すブロツク図、第
2図および第3図は動作説明図である。 図面でIMMは印刷イメージメモリ、CGは文字
発生器、DRはデータレジスタ、XARはXアドレ
スレジスタ、YARはYアドレスレジスタ、D3
は下位ビツト、U2は中位ビツト、W2は何回目
の書込みかを示すデータ、SRはシフトレジスタ、
MPXはマルチプレクサである。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are operation explanatory diagrams. In the drawing, IMM is print image memory, CG is character generator, DR is data register, XAR is X address register, YAR is Y address register, D3
is the lower bit, U2 is the middle bit, W2 is the data indicating how many times it is written, SR is the shift register,
MPX is a multiplexer.

Claims (1)

【特許請求の範囲】 1 イメージメモリに対してnビツト単位にデー
タを書き込むために、nビツトのデータがセツト
される第1のデータレジスタと、 n×mビツトの文字パターンデータを入力とす
る第2のデータレジスタと、 各々nビツトのデータがセツトされる、m+1
個のシフトレジスタと、 前記第2のデータレジスタにセツトされたn×
mビツトの文字パターンデータの表示位置を示す
Xアドレス及びアドレスを入力とするアドレスレ
ジスタと、 前記アドレスレジスタにセツトされたXアドレ
スに基づいて、前記イメージメモリに対して設定
されたnビツト単位の書き込み区切り位置から前
記n×mビツトの文字パターンデータの先頭ビツ
ト書き込み位置のシフト量を求め、前記n×mビ
ツトの文字パターンデータを前記シフト量分だけ
ずらして前記m+1個のシフトレジスタに書き込
ませる手段と、 前記m+1個のシフトレジスタに書き込まれた
文字パターンデータを、各シフトレジスタ毎に順
次選択して前記第1のデータレジスタに入力させ
るマルチプレクサと、 を備え、前記第1のデータレジスタにnビツト単
位のデータが入力される毎に、当該nビツトのデ
ータを前記イメージメモリに書き込むようにした
ことを特徴とするイメージメモリの書込み制御装
置。
[Claims] 1. In order to write data in units of n bits to the image memory, a first data register to which n bits of data is set, and a first data register to which n×m bits of character pattern data is input. 2 data registers, each set with n bits of data, m+1
and n× shift registers set in the second data register.
An address register that inputs an X address indicating the display position of m-bit character pattern data and an address, and writing in n-bit units set to the image memory based on the X address set in the address register. Means for determining the shift amount of the first bit writing position of the n×m bit character pattern data from the delimiting position, and shifting the n×m bit character pattern data by the shift amount and writing it into the m+1 shift registers. and a multiplexer that sequentially selects the character pattern data written in the m+1 shift registers for each shift register and inputs it to the first data register, An image memory write control device characterized in that each time a unit of data is input, n-bit data is written into the image memory.
JP59036804A 1984-02-28 1984-02-28 Write controller of image memory Granted JPS60209880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59036804A JPS60209880A (en) 1984-02-28 1984-02-28 Write controller of image memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59036804A JPS60209880A (en) 1984-02-28 1984-02-28 Write controller of image memory

Publications (2)

Publication Number Publication Date
JPS60209880A JPS60209880A (en) 1985-10-22
JPH0426137B2 true JPH0426137B2 (en) 1992-05-06

Family

ID=12479967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59036804A Granted JPS60209880A (en) 1984-02-28 1984-02-28 Write controller of image memory

Country Status (1)

Country Link
JP (1) JPS60209880A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2613302B2 (en) * 1990-03-12 1997-05-28 沖電気工業株式会社 Reduction printing device
JP3033844B2 (en) * 1990-11-28 2000-04-17 株式会社日立製作所 Printing control device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58192078A (en) * 1982-05-06 1983-11-09 株式会社リコー Bit image memory processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58192078A (en) * 1982-05-06 1983-11-09 株式会社リコー Bit image memory processing system

Also Published As

Publication number Publication date
JPS60209880A (en) 1985-10-22

Similar Documents

Publication Publication Date Title
JPS6073671A (en) Pattern processor
JPH0426137B2 (en)
JPS594706B2 (en) Print pattern generator
JP2502530B2 (en) Printer
JPS5816189B2 (en) Character pattern generation method
US5471562A (en) Printer having a bit shift function
JPS5936316B2 (en) Printing or display device
JP2846357B2 (en) Font memory device
JPS61129683A (en) Character generation system
JPS6218275A (en) Printing control apparatus
JPH0832472B2 (en) Print control device
JPS59116782A (en) Generator for character signal or the like
JP2898000B2 (en) Character data expansion processor
JPH0596811A (en) Printing method
JPS59204880A (en) Dot pattern shift apparatus
JPS59197083A (en) Crt display unit
JPS6031178A (en) Display controller
JPS61215583A (en) Character pattern rotation system
JPS59217387A (en) Method of generating printed pattern
JPS61175049A (en) Printing control device
GB2242297A (en) Transforming patterns of characters/graphics
JPS584187A (en) Character rotation method
JPS6191692A (en) Pattern output unit
JPS60159886A (en) Character pattern generation system
KR930014203A (en) How to Implement Hangul Image of Printer