JPH0444867A - Data control device for page printer - Google Patents
Data control device for page printerInfo
- Publication number
- JPH0444867A JPH0444867A JP15223990A JP15223990A JPH0444867A JP H0444867 A JPH0444867 A JP H0444867A JP 15223990 A JP15223990 A JP 15223990A JP 15223990 A JP15223990 A JP 15223990A JP H0444867 A JPH0444867 A JP H0444867A
- Authority
- JP
- Japan
- Prior art keywords
- address
- printing
- data
- character font
- font 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ページプリンタのプリンタバッファに格納さ
れたデータを制御するページプリンタ用データ制御装置
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data control device for a page printer that controls data stored in a printer buffer of a page printer.
ページプリンタは、画像を縦長用紙に印刷する所謂ポー
トレート印刷と、画像を横長用紙に印刷する所謂ランド
スケープ印刷を行なうことができる。しかし、文字をラ
ンドスケープ印刷を行なう場合には文字フォントデータ
を90度回転しなければならない場合があり、この場合
には、文字フォントデータを90度回転してプリンタバ
ッファに記憶させて印字データを作成しなければならな
い。本発明は、文字フォントデータをデュアルポートメ
モリに記憶させてポートレート印刷とランドスケープ印
刷を行なうようにしたものである。A page printer can perform so-called portrait printing, in which an image is printed on vertically long paper, and so-called landscape printing, in which the image is printed on horizontally long paper. However, when performing landscape printing of characters, it may be necessary to rotate the character font data by 90 degrees. In this case, the character font data must be rotated by 90 degrees and stored in the printer buffer to create print data. Must. According to the present invention, character font data is stored in a dual port memory to perform portrait printing and landscape printing.
これにより、文字のランドスケープ印刷を行なう場合に
は文字フォントデータを90度回転する必要がなくなる
。This eliminates the need to rotate character font data by 90 degrees when landscape printing of characters is performed.
〔従来の技術]
第5図は、従来のページプリンタ用データ制御装置の動
作を示す説明図であり、CGROM51には、文字の上
下左右が正規に配列された文字フォントデータが予め記
憶され、このような文字フォントデータにより縦長用紙
53に印刷するポートレート印刷と、横長用紙54に印
刷するランドスケープ印刷を選択的に行なう場合、文字
フォントデータがCGROM51から読み出され、プリ
ンタバッファ52に一時蓄積された後プリンタ機構に出
力される。[Prior Art] FIG. 5 is an explanatory diagram showing the operation of a conventional data control device for a page printer. In the CGROM 51, character font data in which the top, bottom, left, and right of the characters are normally arranged is stored in advance. When selectively performing portrait printing on portrait paper 53 and landscape printing on landscape paper 54 using character font data, the character font data is read from CGROM 51 and temporarily stored in printer buffer 52. It is then output to the printer mechanism.
従来、この種のページプリンタ用データ制御装置は、ポ
ートレート印刷を行なう場合、CGROM51の文字フ
ォントデータをそのまま読み出してプリンタバッファ5
2に記憶させる所謂張り付けを行ない、他方、横長用紙
54を縦長にセットしてランドスケープ印刷を行なう場
合、CGROM51の文字フォントデータを90度面回
転てプリンタバッファ52に記憶させる張り付けを行な
う。Conventionally, when performing portrait printing, this type of page printer data control device reads character font data from the CGROM 51 as is and stores it in the printer buffer 5.
On the other hand, when landscape printing is performed with a landscape paper 54 set vertically, character font data in a CGROM 51 is rotated by 90 degrees and pasted to be stored in a printer buffer 52.
したがって、ランドスケープ印刷を行なう場合、横長用
紙54が縦長にセットされると、プリンタバッファ52
に記憶された配置の文字フォントデータが印刷される。Therefore, when landscape printing is performed, if the landscape paper 54 is set vertically, the printer buffer 52
The character font data with the arrangement stored in is printed.
〔発明が解決しようとする課題〕
しかしながら、上記従来のページプリンタ用データ制御
装置では、横長用紙54を縦長にセットしてランドスケ
ープ印刷を行なう場合、CGROM51のフォントを9
0度面回転てプリンタバッファ52に記憶させる張り付
けを行なうので、書き込みアドレス発生回路などの回路
構成が複雑になり、また、書き込み速度が遅くなるとい
う問題点がある。[Problems to be Solved by the Invention] However, in the conventional page printer data control device described above, when landscape printing is performed with the horizontally long paper 54 set vertically, the font in the CGROM 51 is
Since the image is rotated by 0 degrees and pasted to be stored in the printer buffer 52, there are problems in that the circuit configuration such as the write address generation circuit becomes complicated and the writing speed becomes slow.
この原因は、必ずフォントを90度面回転て張り付けを
していることに起因する。The cause of this is that the font is always rotated 90 degrees before pasting.
してみると、ランドスケープ印刷を行なう場合、CGR
OM51のフォントを90度面回転なくとも実現できれ
ば回路構成が簡単になり、また、書き込み速度を向上す
ることができる。When doing landscape printing, CGR
If the OM51 font could be realized without 90 degree rotation, the circuit configuration would be simplified and the writing speed could be improved.
本発明の課題は、フォントを90度面回転なくともラン
ドスケープ印刷ができるようにすることである。An object of the present invention is to enable landscape printing without having to rotate the font by 90 degrees.
本発明の手段は次の通りである。 The means of the present invention are as follows.
デュアルポートメモリ1 (第1図のブロック図を参照
、以下同じ)は、文字フォントデータを記憶する。A dual port memory 1 (see the block diagram in FIG. 1, the same applies hereinafter) stores character font data.
アドレス発生手段2は、デュアルポートメモリ1に記憶
された各行の文字フォントデータを左から右へ順次読み
出すためのアドレスと、デュアルポートメモリ1に記憶
された各列の文字フォントデータを上から下へ順次読み
出すためのアドレスを選択的に発生する。The address generating means 2 generates an address for sequentially reading out the character font data of each line stored in the dual port memory 1 from left to right, and an address for sequentially reading out the character font data of each column stored in the dual port memory 1 from top to bottom. Selectively generate addresses for sequential reading.
[作 用] 本発明の手段の作用は次の通りである。[For production] The operation of the means of the invention is as follows.
今、画像を縦長用紙に印刷する所謂ポートレート印刷の
場合、アドレス発生手段2は、デュアルポートメモリ1
に記憶された各行の文字フォントデータを左から右へ順
次読み出すためのアドレスを発生する。他方、横長用紙
を縦長にセットして印刷する所謂ランドスケープ印刷を
行なう場合、アドレス発生手段2は、デュアルポートメ
モリ1に記憶された各列の文字フォントデータを上から
下へ順次読み出すためのアドレスを発生する。Now, in the case of so-called portrait printing in which an image is printed on portrait paper, the address generation means 2 is the dual port memory 1.
Generates an address for sequentially reading out the character font data of each line stored in from left to right. On the other hand, when performing so-called landscape printing in which horizontally long paper is set vertically and printed, the address generating means 2 generates an address for sequentially reading out character font data of each column stored in the dual port memory 1 from top to bottom. Occur.
したがって、フォントを90度面回転なくともランドス
ケープ印刷ができるようになる。Therefore, landscape printing can be performed without rotating the font by 90 degrees.
以下、一実施例を第2図乃至第4図を参照しながら説明
する。Hereinafter, one embodiment will be described with reference to FIGS. 2 to 4.
第2図は、ページプリンタ用データ制御装置の一実施例
を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of a data control device for a page printer.
第2図において、CPU (中央処理装置)11は、画
像を縦長用紙に印刷する所謂ポートレート印刷と、画像
を横長用紙に印刷する所謂ランドスケープ印刷の切換え
信号を切換え回路12に出力したり、CGROMI3の
読み出しアドレスをアドレスバス25に出力する。In FIG. 2, a CPU (Central Processing Unit) 11 outputs a switching signal between so-called portrait printing, in which an image is printed on portrait paper, and so-called landscape printing, in which the image is printed on landscape paper, to a switching circuit 12. The read address of is output to the address bus 25.
CGROMI 3には予め、各文字が1バイトで構成さ
れた文字フォントデータが記憶され、この文字フォント
データは、アドレスバス25上のアドレスにより印刷位
置に応じてデータバス21に読み出され、プリンタバッ
ファ15に格納される。Character font data in which each character consists of one byte is stored in advance in the CGROMI 3, and this character font data is read out to the data bus 21 according to the printing position by the address on the address bus 25, and is sent to the printer buffer. 15.
切換え回路12は、CPUIIにより命令されたモード
を記憶し、アドレス制御回路14は、切換え回路12に
記憶されたモードに応じて、アドレス発生回路16から
のデータ送出用アドレス24を変換し、アドレスバス2
3を介してプリンタバッファ工5に出力する。尚、アド
レス発生回路16は、印字データの各ラインの先頭がら
最後までのアドレスを発生する。The switching circuit 12 stores the mode commanded by the CPU II, and the address control circuit 14 converts the data sending address 24 from the address generation circuit 16 according to the mode stored in the switching circuit 12, and converts the data sending address 24 from the address bus 2
3 to the printer buffer 5. Note that the address generation circuit 16 generates addresses from the beginning to the end of each line of print data.
アドレス制御回路14は、切換え回路12に記憶された
モードがポートレート印刷モードである場合には、アド
レス発生回路16からのアドレスに対して縦方向のアド
レスを加算したり、又はアドレス線を入れ替えることに
よりポートレート印刷用の読み出しアドレスを発生し、
他方、切換え回路12に記憶されたモードがランドスケ
ープ印刷モードである場合には、アドレス発生回路16
からのアドレス線にアダー回路を追加したり、又はアド
レス線を入れ替えることによりランドスケープ印刷用の
読み出しアドレスを発生する。When the mode stored in the switching circuit 12 is the portrait printing mode, the address control circuit 14 adds a vertical address to the address from the address generation circuit 16 or switches the address lines. generates a read address for portrait printing,
On the other hand, if the mode stored in the switching circuit 12 is the landscape printing mode, the address generation circuit 16
A read address for landscape printing is generated by adding an adder circuit to the address line from , or by replacing the address line.
プリンタバッファ15は、デュアルポートRAM(ラン
ダムアクセスメモリ)で構成され、第3図(a)に示す
ように、各行の文字フォントデータ15aを左から右へ
順次パラレルデータバス21に出力するとともに、第3
図(b)に示すように各列の文字フォントデータ15a
を上から下へ順次シリアルデータバス22に出力するこ
とが可能である。The printer buffer 15 is composed of a dual port RAM (random access memory), and as shown in FIG. 3
As shown in Figure (b), character font data 15a for each column
can be sequentially output to the serial data bus 22 from top to bottom.
尚、各列の文字フォントデータ15aを上から下へ順次
出力する場合には、ロウ(列)アドレス単位で一旦内部
のシリアルメモリに転送される。In addition, when the character font data 15a of each column is outputted sequentially from top to bottom, it is once transferred to the internal serial memory in units of row (column) addresses.
ポートレート印刷を行なう場合は、プリンタバッファ1
5に格納されたフォントデータは、アドレス制御回路1
4からのアドレスによりデータバス21に読み出され、
パラレル−シリアル(P→S)変換器17によりシリア
ル信号に変換され、印字データとしてプリンタに出力さ
れる。When performing portrait printing, printer buffer 1
The font data stored in address control circuit 1
4 is read out to the data bus 21 by the address from
The signal is converted into a serial signal by a parallel-serial (P→S) converter 17, and output to the printer as print data.
他方、ランドスケープ印刷を行なう場合、プリンタバッ
ファ15に格納されたフォントデータは、アドレス制御
回路13からのアドレスによりシリアルデータバス22
に読み出され、ビットセレクタ18を介してプリンタに
出力される。On the other hand, when landscape printing is performed, the font data stored in the printer buffer 15 is transferred to the serial data bus 22 according to the address from the address control circuit 13.
The data is read out and output to the printer via the bit selector 18.
尚、タイミング制御回路19は、発振器(O20)20
からのクロックと、印字用の水平同期信号、垂直同期信
号、1ドツト分のビデオクロックによりタイミング信号
をプリンタバッファ15、アドレス発生回路16、P4
S変換器17に出力する。Note that the timing control circuit 19 includes an oscillator (O20) 20
The timing signal is sent to the printer buffer 15, address generation circuit 16, and P4 using the clock from the printer, the horizontal synchronization signal for printing, the vertical synchronization signal, and the video clock for one dot.
It is output to the S converter 17.
次に、上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.
先ず、第4図上段に示すように、縦長用紙21に印刷す
るポートレート印刷を行なう場合には、このポートレー
ト印刷と同一の配置となるように文字フォントデータを
CGROML3から読み出してプリンタバッファ15に
記憶させる。First, as shown in the upper part of FIG. 4, when performing portrait printing on portrait paper 21, character font data is read from CGROML3 and stored in printer buffer 15 so that the layout is the same as that of portrait printing. Make me remember.
次いで、アドレス制御回路14は、アドレス発生回路1
6からのアドレスに対して縦方向のアドレスを加算した
り、又はアドレス線を入れ替えることにより、8個のビ
デオクロック毎に1つのポートレート印刷用読み出しア
ドレスを発生する。Next, the address control circuit 14 controls the address generation circuit 1
One read address for portrait printing is generated every eight video clocks by adding the vertical address to the address from 6 or by replacing the address lines.
したがって、第3図(a)に示すように、プリンタバッ
ファ工5に記憶された各行の文字フォントデータ15a
がビデオクロックにより1バイト毎に左から右へ順次パ
ラレルデータバス21に読み出され、P−)S変換器1
7によりシリアル変換され、第4図上段に示すようなポ
ートレート印刷が行われる。Therefore, as shown in FIG. 3(a), character font data 15a of each line stored in the printer buffer 5 is
is sequentially read out to the parallel data bus 21 from left to right one byte at a time by the video clock, and the P-)S converter 1
7 to perform serial conversion, and portrait printing as shown in the upper part of FIG. 4 is performed.
ここで、8個のビデオクロック毎にプリンタバッファ1
5にアクセスすることができない場合には、パラレルデ
ータバス21の幅を増加すればよい。Here, one printer buffer is added every 8 video clocks.
5, the width of the parallel data bus 21 may be increased.
他方、第4図下段に示すように、横長用紙22を縦長に
セットしてランドスケープ印刷を行なう場合には、この
ランドスケープ印刷と同一の配置となるように文字フォ
ントデータをCC;ROM 13から読み出してプリン
タバ・ノファ15に記憶させる。したがって、この場合
にも、プリンタバッファ15に記憶された文字フォント
データ15aは回転していない配置であり、書き込みア
ドレスや書き込み速度は、ポートレート印刷の場合と路
間−である。On the other hand, as shown in the lower part of FIG. 4, when landscape printing is performed by setting the landscape paper 22 vertically, character font data is read out from the CC; ROM 13 so that the layout is the same as that of landscape printing. It is stored in the printer buffer 15. Therefore, in this case as well, the character font data 15a stored in the printer buffer 15 is arranged in a non-rotated manner, and the writing address and writing speed are the same as in the case of portrait printing.
次いで、アドレス制御回路14は、アドレス発生回路1
6からのアドレス線にアダー回路を追加したり、又はア
ドレス線を入れ替えることにより、8個のビデオクロッ
ク毎に1つのランドスケ−・ブ印刷用の読み出しアドレ
スを発生する。Next, the address control circuit 14 controls the address generation circuit 1
By adding an adder circuit to the address lines from 6 or by replacing the address lines, one read address for landscape printing is generated every 8 video clocks.
したがって、各列の文字フォントデータ15aが上から
下へ順次内部のシリアルメモリに転送され、ビデオクロ
ックにより1バイト毎に順次シリアルデータバス22に
読み出され、ビットセレクタ18により、現在印字して
いるラインのビットが選択され、第4図下段に示すよう
なランドスケープ印刷が行われる。Therefore, the character font data 15a of each column is sequentially transferred from top to bottom to the internal serial memory, sequentially read byte by byte to the serial data bus 22 by the video clock, and the bit selector 18 selects the data currently being printed. The line bits are selected, and landscape printing as shown in the lower part of FIG. 4 is performed.
したがって、上記実施例によれば、従来例のようにCG
ROMI 3のフォントを90度面回転てプリンタバッ
ファ15に記憶させる張り付けを行なわないので、回路
構成が簡単になり、また、書き込み速度を向上すること
ができる。Therefore, according to the above embodiment, unlike the conventional example, CG
Since the font of the ROMI 3 is not rotated by 90 degrees and pasted to be stored in the printer buffer 15, the circuit configuration is simplified and the writing speed can be improved.
この発明によれば、ランドスケープ印刷を行なう場合、
CGROMの文字フォントデータを90度面回転ないの
で、回路構成が簡単になり、また、書き込み速度を向上
することができる。According to this invention, when performing landscape printing,
Since the character font data in the CGROM is not rotated by 90 degrees, the circuit configuration is simplified and the writing speed can be improved.
第1図は本発明のブロック図、
第2図はページプリンタ用データ制御装置の一実施例を
示すブロック図、
第3図(a)、 (b)は第2図のプリンタバッファの
読み出し動作を示す説明図、
第4図は第2図のページプリンタ用データ制御装置の動
作を示す説明図、
第5図は従来のページプリンタ用データ制御装置の動作
を示す説明図である。
1・・・デュアルポートメモリ、
2・・・アドレス発生手段。Fig. 1 is a block diagram of the present invention, Fig. 2 is a block diagram showing an embodiment of a data control device for a page printer, and Figs. 3 (a) and (b) show the read operation of the printer buffer in Fig. 2. FIG. 4 is an explanatory diagram showing the operation of the page printer data control device shown in FIG. 2, and FIG. 5 is an explanatory diagram showing the operation of the conventional page printer data control device. 1...Dual port memory, 2...Address generation means.
Claims (1)
と、 デュアルポートメモリに記憶された各行の文字フォント
データを左から右へ順次読み出すためのアドレスと、デ
ュアルポートメモリに記憶された各列の文字フォントデ
ータを上から下へ順次読み出すためのアドレスを選択的
に発生するアドレス発生手段とを有するページプリンタ
用データ制御装置。[Claims] A dual port memory that stores character font data, an address for sequentially reading out character font data of each row stored in the dual port memory from left to right, and each column stored in the dual port memory. and address generating means for selectively generating addresses for sequentially reading out character font data from top to bottom.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15223990A JPH0444867A (en) | 1990-06-11 | 1990-06-11 | Data control device for page printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15223990A JPH0444867A (en) | 1990-06-11 | 1990-06-11 | Data control device for page printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0444867A true JPH0444867A (en) | 1992-02-14 |
Family
ID=15536133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15223990A Pending JPH0444867A (en) | 1990-06-11 | 1990-06-11 | Data control device for page printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0444867A (en) |
-
1990
- 1990-06-11 JP JP15223990A patent/JPH0444867A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH01136770A (en) | Printer | |
| JPH0444867A (en) | Data control device for page printer | |
| JP2502753B2 (en) | Image output device | |
| JPS6330256A (en) | Printer | |
| JP2613302B2 (en) | Reduction printing device | |
| KR870001230B1 (en) | Hangul(korean character),english character size control circuit by hardware character generator | |
| JP2560742B2 (en) | Character pattern generator | |
| JPS61117972A (en) | Printer | |
| KR890001867B1 (en) | Character image conversion method and device | |
| JPH02106363A (en) | Graphic information rotating circuit of printer | |
| JPS5872239A (en) | Label printer system | |
| JP2839768B2 (en) | Image rotation circuit | |
| JP2748004B2 (en) | Rotation processing method of character pattern group | |
| JPS61140986A (en) | Character rotation apparatus | |
| JPS63115196A (en) | Italic character generator | |
| JPH07319763A (en) | Address converter | |
| JPS6183048A (en) | Image data rotation device | |
| JPH0690610B2 (en) | Character pattern processing method | |
| JPH0358864A (en) | Printer | |
| JPH08314796A (en) | Control circuit for dynamic ram | |
| JPS6113287A (en) | Method and apparatus for printing character | |
| JPS61264384A (en) | Image processing circuit | |
| JP2002240261A (en) | Print buffer memory controller | |
| JPH10333853A (en) | Image data output circuit for page printer | |
| JPS636653A (en) | data transfer control device |