JPH02106363A - Graphic information rotating circuit of printer - Google Patents
Graphic information rotating circuit of printerInfo
- Publication number
- JPH02106363A JPH02106363A JP63258456A JP25845688A JPH02106363A JP H02106363 A JPH02106363 A JP H02106363A JP 63258456 A JP63258456 A JP 63258456A JP 25845688 A JP25845688 A JP 25845688A JP H02106363 A JPH02106363 A JP H02106363A
- Authority
- JP
- Japan
- Prior art keywords
- graphic information
- bits
- information
- read
- column
- 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
Links
- 238000010586 diagram Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 241000282461 Canis lupus Species 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000021395 porridge Nutrition 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は印字装置の図形−情報回転回路に関し、特に図
形を分解して得た画素の明暗情報を2進数のデータで表
現し、このデータを処理して図形を左゛右90°に回転
させる印字装置の図形情報回転回路に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a figure-information rotation circuit of a printing device, and in particular expresses brightness information of pixels obtained by decomposing a figure as binary data, and converts this data into binary data. The present invention relates to a graphic information rotation circuit for a printing device that rotates a graphic by 90 degrees left and right.
従来、印字装置により印字される文字又は数字は、その
図形が画素に分解された後各画素明暗情報が2進数(0
,1>に変換され、この2進数で表わされる図形情報が
キャラクタジェネレータに記憶される。そしてこれらの
図形を印字するときには、必要に応じてキャラクタジェ
ネレータから該当する文字又は数字の図形情報を読出し
、その文字又は数字を印字している。Conventionally, characters or numbers printed by a printing device are divided into pixels, and then the brightness information of each pixel is converted into a binary number (0
, 1>, and the graphic information expressed in binary numbers is stored in the character generator. When printing these figures, the graphic information of the corresponding letters or numbers is read out from the character generator as necessary, and the letters or numbers are printed.
印字装置で印字される文字の向きは、通常、その文字列
が横書きの文章になるように印字されるが、縦書きの文
章の印字を行うときには、印字する文字の向きを横書き
用の向きから縦書き用の向きに変更する必要がある。そ
のため、記憶装置から横書き用の図形情報を読出してか
ら、プログラムでその図形情報を右90’又は左90°
に回転させ縦書き用の図形情報に並び換えている。Normally, the character string printed by the printing device is printed in such a way that the character string is horizontally written, but when printing vertically written text, the direction of the characters to be printed is changed from the horizontal writing direction. You need to change the orientation for vertical writing. Therefore, after reading the graphic information for horizontal writing from the storage device, the program can write the graphic information 90' to the right or 90' to the left.
It is rotated and rearranged into graphic information for vertical writing.
上述した従来の印字装置の図形情報の回転の方法は、縦
書きの印字を行うときに、プログラムによって図形情報
を回転させているため、その処理に時間がかかり横書き
の印字の場合に比較し印字速度が遅くなるという問題点
がある。The method of rotating graphic information in the conventional printing device described above uses a program to rotate the graphic information when printing vertically, so the process takes time and the printing speed is slower than when printing horizontally. The problem is that the speed is slow.
本発明の目的は、縦書きの文章の印字を行うときに、横
書き用の文字の図形情報から縦書き用の文字の図形情報
を短時間に得られ、印字速度をあげることができる印字
装置の図形情報回転回路を提供することにある。An object of the present invention is to provide a printing device that can obtain graphical information of vertically written characters from graphical information of horizontally written characters in a short time and increase printing speed when printing vertically written text. An object of the present invention is to provide a graphic information rotation circuit.
本発明の印字装置の図形情報回転回路は、図形情報を記
憶する記憶部と、前記記憶部から図形情報を読出すため
の続出用アドレス信号を発生させるアドレス発生部と、
前記記憶部へ図形情報を書込むための書込用アドレス信
号と前記読出用アドレス信号とを選択するアドレス信号
選択部と、前記続出用アドレス信号により読出された図
形情報を格納するシフトレジスタ部とを備えて構成され
ている。A graphic information rotation circuit of a printing device according to the present invention includes: a storage section that stores graphic information; an address generation section that generates a successive address signal for reading graphic information from the storage section;
an address signal selection unit that selects a write address signal for writing graphic information to the storage unit and the read address signal; and a shift register unit that stores the graphic information read by the successive address signal. It is configured with.
〔実施例1〕
次に、本発明の第1の実施例について図面を参照して説
明する。[Example 1] Next, a first example of the present invention will be described with reference to the drawings.
第1図は本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.
第1図に示す印字装置の図形情報回転回路は、図形情報
を記憶する記憶部1、記憶部1から図形情報を読出すた
めの読出用アドレス信号を発生させるアドレス発生部3
、記憶部1へ図形情報を書込むための書込用アドレス信
号と読出用アドレス信号とを選択するアドレス信号選択
部2、記憶部1から読出された図形情報のビットを格納
するシフトレジスタ部4から構成されている。The graphic information rotation circuit of the printing device shown in FIG. 1 includes a storage section 1 that stores graphic information, and an address generation section 3 that generates a read address signal for reading graphic information from the storage section 1.
, an address signal selection section 2 that selects a write address signal and a read address signal for writing graphic information to the storage section 1, and a shift register section 4 that stores bits of the graphic information read from the storage section 1. It consists of
さらに、シフトレジスタ部4は、記憶部1から出力され
る図形情報のビットを選択する図形情報選択回路5、図
形情報選択回路5から出力される図形情報のビットを格
納するシフトレジスタ6から構成されている。Further, the shift register section 4 includes a graphic information selection circuit 5 that selects bits of graphic information outputted from the storage section 1, and a shift register 6 that stores bits of graphic information outputted from the graphic information selection circuit 5. ing.
次に、動作を説明する。Next, the operation will be explained.
印字装置により縦書きの文章で文字又は数字を印字する
とき、その文字又は数字の図形が画素に分解されビット
として記憶されているキャラクタジェネレータから、そ
の図形情報のビットを読出す。読出された図形情報のビ
ットは、データバス8を用いて記憶部1に書込まれるが
、そのとき書込み用アドレス信号により記憶部1の指定
の場所に書込まれる。このアドレス信号はアドレスバス
7とアドレス信号選択部2を経由して記憶部1に入力さ
れる。When a character or number is printed in a vertically written text by a printing device, the bits of the graphic information are read out from a character generator in which the graphic of the character or number is decomposed into pixels and stored as bits. The read graphic information bits are written into the storage section 1 using the data bus 8, and at this time, they are written to a designated location in the storage section 1 by a write address signal. This address signal is input to the storage section 1 via the address bus 7 and the address signal selection section 2.
第3図は図形情報のレイアウト図である。FIG. 3 is a layout diagram of graphic information.
記憶部1に記憶された図形情報は第3図(a)に示すよ
うに片仮名の「イ」の字とし、この「イ」の字を縦書き
の文章用に変換する場合を例にして以下の説明を行う。The graphic information stored in the storage unit 1 is the character "I" in katakana as shown in FIG. Explain.
第3図の図形情報は8ドツト×8ドツトの図形情報であ
り、記憶部1も8ビツト×8ビツト構成のRAMを使用
するので、アドレス発生部3が3ビツトのカウンタ、変
換位置情報が3ビツト、シフトレジスタ6が8ビツトで
構成されている。The graphic information in FIG. 3 is 8 dots x 8 dots, and the storage unit 1 also uses a RAM with an 8 bit x 8 bit configuration, so the address generator 3 uses a 3 bit counter and the conversion position information The shift register 6 consists of 8 bits.
外部から図形回転指令信号が与えられると、アドレス信
号選択部2が駆動され、アドレス発生部3から発生され
る続出用アドレス信号が選択されて記憶部1に供給され
る。アドレス発生部3は、クロック信号9により駆動さ
れ、変換位置情報信号10を出力すると共にアドレスが
「1」から「8」まで順次進んでいくアドレス信号を出
力する。このとき、アドレス発生部3がら出力され最初
「1」に設定された変換位置情報信号1oは、記憶部1
から読出されるビットが第1カラムのビットであること
を記憶部1に指示し、続出用アドレス信号により、第3
図(a)に示す第1カラムの8ビツトが上部から順次図
形情報選択回路5に読出され、シフトレジスタ6へ1ビ
ツトずつ入力される。When a figure rotation command signal is applied from the outside, the address signal selection section 2 is driven, and the successive address signal generated from the address generation section 3 is selected and supplied to the storage section 1. The address generator 3 is driven by a clock signal 9, outputs a converted position information signal 10, and outputs an address signal in which the address sequentially advances from "1" to "8". At this time, the converted position information signal 1o output from the address generator 3 and initially set to "1" is transferred to the storage section 1.
It instructs the storage unit 1 that the bit read from the first column is the bit of the first column, and the third
The 8 bits in the first column shown in FIG. 1A are sequentially read out from the top to the graphic information selection circuit 5 and input to the shift register 6 one bit at a time.
シフトレジスタ6へ入力された各ビットは、並列に外部
の印字部に転送されるが、このとき、この転送される8
ビツトが第3図(b)に示す図形情報の最下部の8ビツ
トの位置となるように転送される。Each bit input to the shift register 6 is transferred in parallel to an external printing section, but at this time, the transferred bits are
The bits are transferred to the bottom 8 bit positions of the graphic information shown in FIG. 3(b).
第1カラムが終了すると、次に「2」に設定された変換
位置情報信号10は、記憶部1から読出されるビットが
第2カラムのビットであることを記憶部1に指示し、読
出された第2カラムのビットは上記と同様にシフトレジ
スタ6へ入力される。この8ビツトは第3図(b)に示
す図形情報の下部から2行目の8ビツトとなるように転
送される。When the first column is completed, the conversion position information signal 10, which is then set to "2", instructs the storage unit 1 that the bit read from the storage unit 1 is the bit of the second column, and is read out. The bits in the second column are input to the shift register 6 in the same manner as described above. These 8 bits are transferred so as to become the 8 bits on the second row from the bottom of the graphic information shown in FIG. 3(b).
このようにして、第8カラムのビットまで読出され転送
されると、記憶部1に書込まれた第3図(a)に示す図
形情報が第3図(b)に示すように左に90°回転する
。In this way, when the bits in the 8th column are read and transferred, the graphic information shown in FIG. ° Rotate.
以上のように、印字装置において、図形情報の回転処理
をハードウェアにより行い、印字する文字の向きを横書
き用から縦書き用に変換することができ、印字速度をあ
げることができる。As described above, in the printing device, the rotation processing of graphic information is performed by hardware, and the orientation of characters to be printed can be changed from horizontal writing to vertical writing, thereby increasing the printing speed.
上記の説明では、左に90°回転させることで説明した
が、シフトレジスタ5へ入力された第1カラムの8ビツ
トを、第3図(C)に示す図形情報の最上部の8ビツト
の位置となるように転送すれば、右に90”回転させる
ことができる。In the above explanation, the 8 bits of the first column input to the shift register 5 are rotated 90 degrees to the left, but the 8 bits of the topmost 8 bits of the graphic information shown in FIG. If you transfer it so that it becomes, you can rotate it 90” to the right.
〔実施例2〕
次に、本発明の第2の実施例について図面を参照して説
明する。[Embodiment 2] Next, a second embodiment of the present invention will be described with reference to the drawings.
第2図は本発明の第2の実施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the invention.
第2図に示す印字装置の図形情報回転回路は、図形情報
を記憶する記憶部11、記憶部11から図形情報を読出
すための読出用アドレス信号を発生させるアドレス発生
部13、記憶部11へ図形情報を書込むための書込用ア
ドレス信号と続出用アドレス信号とを選択するアドレス
信号選択部2、記憶部11から読出された図形情報のビ
ットを格納するシフトレジスタ部14から構成されてい
る。The graphic information rotation circuit of the printing apparatus shown in FIG. It is composed of an address signal selection section 2 that selects a write address signal and a successive address signal for writing graphic information, and a shift register section 14 that stores bits of the graphic information read from the storage section 11. .
さらに、シフトレジスタ部14は、記憶部11から出力
される図形情報のビットを格納するシフトレジスタ16
a〜16hから構成されている。Further, the shift register unit 14 includes a shift register 16 that stores bits of graphic information output from the storage unit 11.
It is composed of a to 16h.
次に、動作を説明する。印字される文字又は数字の図形
情報が記憶部11に入力されるまでの動作は第1の実施
例の場合と同様である。Next, the operation will be explained. The operation until graphic information of characters or numbers to be printed is input into the storage section 11 is the same as in the first embodiment.
又、第1の実施例の場合と同様に、記憶部11に記憶さ
れた図形情報は第3図(a)に示すように片仮名の「イ
」の字とし、この「イ」の字を縦書きの文章用に変換す
る場合を例にして以下に説明する。Also, as in the case of the first embodiment, the graphic information stored in the storage unit 11 is a katakana character "I" as shown in FIG. The following is an example of converting to written text.
記憶部11も8ビツト×8ビツト構成のRAMを使用し
、アドレス発生部13が3ビツトのカウンタ、シフトレ
ジスタ16a〜16hがそれぞれ8ビツトで構成されて
いる。The storage section 11 also uses an 8-bit by 8-bit RAM, the address generating section 13 is a 3-bit counter, and the shift registers 16a to 16h are each composed of 8 bits.
外部から図形回転指令信号が与えられ、読出用アドレス
信号が記憶部11に供給されるまでは第1の実施例と同
じである。The process is the same as the first embodiment until a figure rotation command signal is applied from the outside and a read address signal is supplied to the storage section 11.
読出用アドレス信号により、第3図(a)に示す第1カ
ラムから第8カラムまでの8ビツトが記憶部11から読
出される。第1カラムのビットはシフトレジスタ16a
、又第8カラムのビットはシフトレジスタ16hという
ように、上部がら順次それぞれのシフトレジスタ16a
〜16hへ入力される。シフトレジスタ16a〜16h
へ入力された各ビットは、並列に外部の印字部に転送さ
れるが、シフトレジスタ16aがら転送される8ビツト
が第3図(b)に示される図形情報の最下部の8ビツト
となり、シフトレジスタ16hから転送される8ビツト
が第3図(b)に示す図形情報の最上部の8ビツトとな
るように転送される。In response to the read address signal, 8 bits from the first column to the eighth column shown in FIG. 3(a) are read from the storage section 11. The bits in the first column are in shift register 16a
, and the bits in the eighth column are sequentially transferred to each shift register 16a from the top, such as shift register 16h.
~16h is input. Shift registers 16a to 16h
Each bit input to the printer is transferred in parallel to the external printing unit, but the 8 bits transferred from the shift register 16a become the lowest 8 bits of the graphic information shown in FIG. The 8 bits transferred from the register 16h are transferred so as to become the top 8 bits of the graphic information shown in FIG. 3(b).
このように各カラムのビットが読出され転送されること
により、第3図(b)に示すように左に90°回転する
。By reading and transferring the bits of each column in this manner, the bits are rotated 90 degrees to the left as shown in FIG. 3(b).
本実施例では、記憶部11がら読出される各カラムのビ
ットはシフトレジスタ16a〜16hに並列に出力され
るので、第1の実施例と比較して変換の速さが8倍とな
る。In this embodiment, the bits of each column read from the storage section 11 are output in parallel to the shift registers 16a to 16h, so the conversion speed is eight times as fast as in the first embodiment.
以上説明したように、本発明は、縦書きの印字を行うと
きに、印字装置の図形情報の回転処理をプログラム処理
によらず、ハードウェア部により処理することにより、
印字する文字の向きを横書き用から縦書き用の向きに変
換するための時間を短縮し、印字速度をあげることがで
きるという効果を有する。As explained above, the present invention allows the rotation processing of graphic information of the printing device to be performed by the hardware unit, not by program processing, when performing vertical printing.
This has the effect of shortening the time required to convert the orientation of characters to be printed from horizontal writing to vertical writing, and increasing the printing speed.
第1図は本発明の第1の実施例のブロック図、第2図は
本発明の第2の実施例のブロック図、第3図は図形情報
のレイアウト図である。
1・・・・・・記憶部、2・・・・・・アドレス信号選
択部、3・・・・・・アドレス発生部、4・・・・・・
シフトレジスタ部、5・・・・・・図形情報選択回路、
6・・・・・・シフトレジスタ、7・・・・・・アドレ
スバス、8・・・・・・データバス、9・・・・・・ク
ロック信号、10・・・・・・変換位置情報信号、11
・・・・・・記憶部、13・・・・・・アドレス発生部
、14・・・・・・シフトレジスタ部、16a〜16h
・・・・・・シフトレジスタ。
2ニアF゛シス信号5秋部
ワ1アP’ Lズバス
/3ニア鮎ヌ児ゲ部
7f:57)−Lシ′λり耶
第 2 囚
Δ[憔舒
″T′H′シス信号温訳もp
アH’bス完生郁
シフF−Lシ゛ヌ7郁
口か情相泗駅口銘
シフトレジスタ
第 7
7:アF′シスハ゛ス
B゛プ゛タバス
ヲ: 7D・・/)1号
7o: 変徐狼1請褪侶易
図
(し)
粥 つ
図
(C)FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a block diagram of a second embodiment of the present invention, and FIG. 3 is a layout diagram of graphic information. 1...Storage section, 2...Address signal selection section, 3...Address generation section, 4...
Shift register section, 5...Graphic information selection circuit,
6...Shift register, 7...Address bus, 8...Data bus, 9...Clock signal, 10...Conversion position information signal, 11
... Storage section, 13 ... Address generation section, 14 ... Shift register section, 16a to 16h
...Shift register. 2 Near F System Signal 5 Autumn Section Wa 1 A P'L's Bass/3 Near Ayu Nuji Part 7f: 57) - L S'λ Translation is also p A H'b's complete life Ikushifu F-L scene 7 Ikuguchi or Josai station mouth name shift register No. 7 : Changing wolf 1 request for compensation (shi) porridge (C)
Claims (1)
を読出すための読出用アドレス信号を発生させるアドレ
ス発生部と、前記記憶部へ図形情報を書込むための書込
用アドレス信号と前記読出用アドレス信号とを選択する
アドレス信号選択部と、前記読出用アドレス信号により
読出された図形情報を格納するシフトレジスタ部とを備
えたことを特徴とする印字装置の図形情報回転回路。a storage section that stores graphic information; an address generation section that generates a read address signal for reading graphic information from the storage section; a write address signal for writing graphic information into the storage section; 1. A graphic information rotation circuit for a printing device, comprising: an address signal selection unit that selects a read address signal; and a shift register unit that stores graphic information read by the read address signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63258456A JPH02106363A (en) | 1988-10-14 | 1988-10-14 | Graphic information rotating circuit of printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63258456A JPH02106363A (en) | 1988-10-14 | 1988-10-14 | Graphic information rotating circuit of printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02106363A true JPH02106363A (en) | 1990-04-18 |
Family
ID=17320469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63258456A Pending JPH02106363A (en) | 1988-10-14 | 1988-10-14 | Graphic information rotating circuit of printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02106363A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH054382A (en) * | 1991-06-27 | 1993-01-14 | Tokyo Electric Co Ltd | Dot printer |
-
1988
- 1988-10-14 JP JP63258456A patent/JPH02106363A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH054382A (en) * | 1991-06-27 | 1993-01-14 | Tokyo Electric Co Ltd | Dot printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6235679B2 (en) | ||
JPS62299881A (en) | image display system | |
JPH0773920B2 (en) | n × n bit dot matrix 90 ° rotation circuit | |
JPH077260B2 (en) | Image data rotation processing apparatus and method thereof | |
JPH02106363A (en) | Graphic information rotating circuit of printer | |
JPS6242278B2 (en) | ||
KR890001867B1 (en) | Character image conversion method and device | |
JPS61156195A (en) | Image data rotation circuit | |
JPS6226548A (en) | Memory controller | |
JPS5897083A (en) | Vertical-horizontal conversion circuit | |
JPS6230436B2 (en) | ||
JPS606876Y2 (en) | Dot pattern display device | |
JP2748003B2 (en) | Character pattern rotation processing method | |
JP3059618B2 (en) | Image control device | |
JPS5814678B2 (en) | display device | |
JP2560742B2 (en) | Character pattern generator | |
JPS6227711B2 (en) | ||
JPS6183048A (en) | Image data rotation device | |
JPH0411283A (en) | Patter converting device | |
JPS6057373A (en) | Memory signal pattern rotation system | |
JPS6010293A (en) | Character pattern generator | |
JPS61140986A (en) | Character rotation apparatus | |
JPH0747326B2 (en) | Character pattern converter | |
JPH0281639A (en) | Print pattern generation method | |
JPH0486271A (en) | Pattern printing system |