JPH03155268A - Picture output controller - Google Patents

Picture output controller

Info

Publication number
JPH03155268A
JPH03155268A JP1293868A JP29386889A JPH03155268A JP H03155268 A JPH03155268 A JP H03155268A JP 1293868 A JP1293868 A JP 1293868A JP 29386889 A JP29386889 A JP 29386889A JP H03155268 A JPH03155268 A JP H03155268A
Authority
JP
Japan
Prior art keywords
memory
page
image data
output
bitmap image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1293868A
Other languages
Japanese (ja)
Inventor
Hiromi Kataoka
片岡 洋海
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1293868A priority Critical patent/JPH03155268A/en
Publication of JPH03155268A publication Critical patent/JPH03155268A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output the picture data of continuous pages at high speed by executing control so that the bit map picture data of the following page can be stored in the outputted bit map picture data area of a memory. CONSTITUTION:A line address comparator 161 latches line address data to be outputted from a CPU. The line address comparator 161 outputs an RDY signal. During a period to output the bit map picture data in a page memory to a line memory at the time of printing, this RDY signal shows that the printing source data of the next page stored in an input buffer can be developed to the bit map picture data and stored in the page memory.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ホストコンピュータ等の外部機器からの出力
データを−Hメモリに保存して、ビットマツプ画像デー
タとして、例えばプリンタや表示装置などの出力装置に
出力する画像出力制御装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention stores output data from an external device such as a host computer in a -H memory, and outputs it as bitmap image data to a printer, display device, etc. The present invention relates to an image output control device for outputting to a device.

[従来の技術] 従来のレーザビームプリンタ等の記録制御装置を第8図
に示す。ここでは、ホストコンピュータやワードプロセ
ッサ等の外部機器から出力される印字データをホストI
/F (インターフェース)部105より入力して、ワ
ークメモリ104bに一時的に格納する。その後、プロ
グラムメモリ103aに記憶されている制御プログラム
に従って実行される演算処理部(通常、CPUで構成さ
れている)101によって、ワークメモリ104bに記
憶されているコードデータが、ビットマツプ画像データ
に展開されてページメモリ104aへ格納される。この
場合、ビットマツプ展開すべきデータがテキスト文字で
あれば、CPU 101はフォントメモリl 03bに
格納されている文字コードに一致するフォントデータを
読出して、ビットマツプ画像データを作成する。
[Prior Art] A conventional recording control device such as a laser beam printer is shown in FIG. Here, print data output from an external device such as a host computer or word processor is sent to the host interface.
/F is input from the (interface) unit 105 and temporarily stored in the work memory 104b. Thereafter, the code data stored in the work memory 104b is developed into bitmap image data by the arithmetic processing unit (usually composed of a CPU) 101, which is executed according to the control program stored in the program memory 103a. and stored in the page memory 104a. In this case, if the data to be developed into a bitmap is a text character, the CPU 101 reads font data matching the character code stored in the font memory l03b and creates bitmap image data.

また、補助演算処理部102は浮動小数点演算部やビッ
トブロック転送部などから構成され、ビットマツプ画像
データの生成を高速化している。
Further, the auxiliary arithmetic processing section 102 is composed of a floating point arithmetic section, a bit block transfer section, etc., and speeds up the generation of bitmap image data.

1ページ分のビットマツプ画像データが生成された後、
プリンタから出力される同期信号、特に、水平同期信号
に同期してページメモリ104aに格納されたビットマ
ツプ画像データが逐次読み出されて、プリンタI/F部
106よりプリンタに出力されてページ画像が出力され
る。
After one page of bitmap image data is generated,
The bitmap image data stored in the page memory 104a is sequentially read out in synchronization with the synchronization signal output from the printer, especially the horizontal synchronization signal, and is output to the printer from the printer I/F unit 106 to output a page image. be done.

こうして、1ページ分のビットマツプ画像データがプリ
ンタI/F部106より出力されて画像が形成された後
、CPU 101はワークメモリ104b中に次ページ
の印字データが格納されているかを調べ、格納されてい
ればページメモリ1゜4aの前ページのビットマツプ画
像データをクリアした後、上記と同様にして、次ページ
のビットマツプ画像データを生成してページメモリ10
4a中に格納する。そして、プリンタインターフェース
部106を通してプリンタに出力する。
In this way, after one page of bitmap image data is output from the printer I/F unit 106 and an image is formed, the CPU 101 checks whether the print data for the next page is stored in the work memory 104b and determines whether the print data for the next page is stored. If so, clear the bitmap image data of the previous page in page memory 1゜4a, generate the bitmap image data of the next page in the same way as above, and store it in page memory 10.
Store in 4a. Then, it is output to a printer through the printer interface unit 106.

ここで、連続するページの画像記録を高速化するための
方法として、ページメモリ104aが1ページ分の記憶
容量である場合に、プリンタにビットマツプ画像データ
を出力中に、次ページの記録データが複雑な描画を行う
プログラム等で構成されている場合は、その中間コード
を生成している。また、プリント中のページに出現した
テキスト文字のうち、出現頻度の高いものに対してワー
クメモリ104bに配置されているフォントキャッシュ
へのビットマツプ画像データの再配置を行うことにより
、現ページのビットマツプ画像データがプリンタへ出力
された後に行われる、次ページのビットマツプ画像デー
タの生成を高速化している。
Here, as a method for speeding up image recording of consecutive pages, when the page memory 104a has a storage capacity of one page, while outputting bitmap image data to the printer, the recording data of the next page is complicated. If it consists of a program that performs some kind of drawing, the intermediate code is generated. Furthermore, by relocating bitmap image data to the font cache located in the work memory 104b for text characters that appear frequently on the page being printed, the bitmap image of the current page is This speeds up the generation of bitmap image data for the next page, which is performed after data is output to the printer.

一方、ページメモリ104aが複数ページ分の容量を有
している場合は、現ページのビットマツプ画像データを
出力している時に、次ページのビットマツプ画像データ
を生成して他のページメモリ領域へ格納することにより
、連続しているページのプリントを高速化させている。
On the other hand, if the page memory 104a has a capacity for multiple pages, while outputting the bitmap image data of the current page, bitmap image data of the next page is generated and stored in another page memory area. This speeds up printing of consecutive pages.

[発明が解決しようとする課題] しかしながら上記従来例において、まずページメモリl
 04bが1ページ分の記憶容量しか有していない場合
を考える。この場合は、印字速度を高めるために、プリ
ンタへビットマツプ画像データを出力しているときに、
次ページの印字データ(コード)から中間コードを生成
したり、ワークメモリ104b中に配置されているフォ
ントキャッシュの再配置を行っている。しかし、これに
より作業用メモリが余分に必要となりワークメモリ10
4bのサイズが太き(なってしまう。また、生成された
中間コードからビットマツプ画像データを生成するにし
ても、その展開時間は無視することはできない長さであ
る。そして、中間コードを生成し格納するためのメモリ
サイズを太き(すれば、それだけフォントキャッシュと
して使用するメモリサイズが小さくなり、テキストデー
タなどを出力する場合、スルーブツトが低下する欠点が
ある。
[Problem to be solved by the invention] However, in the above conventional example, first the page memory l
Consider the case where 04b has a storage capacity of only one page. In this case, in order to increase the printing speed, when outputting bitmap image data to the printer,
It generates an intermediate code from the print data (code) of the next page and rearranges the font cache located in the work memory 104b. However, this requires extra working memory and the working memory is 10
4b becomes thick (becomes thick).Furthermore, even if bitmap image data is generated from the generated intermediate code, the development time is too long to ignore. The larger the memory size for storage, the smaller the memory size used as a font cache, which has the disadvantage of lowering throughput when outputting text data, etc.

次に、ページメモリ104aが複数ページのメモリサイ
ズである場合について考える。連続ページをプリントす
る場合は、前述した1ページ分のページメモリを有して
いる場合に比べて画像記録処理のスルーブツトが飛躍的
に向上する。しかし、複数ページの画像データを記録す
るメモリ容量が必要となるため、DRAM等のメモリコ
ストが高(なり、プリンタ全体のコストが高くなってし
まうという問題があった。
Next, consider a case where the page memory 104a has a memory size of multiple pages. When printing consecutive pages, the throughput of image recording processing is dramatically improved compared to the case where the page memory for one page is provided as described above. However, since a memory capacity is required to record multiple pages of image data, there is a problem in that the cost of memory such as DRAM is high, and the cost of the entire printer becomes high.

本発明は上記従来例に鑑みてなされたもので、メモリコ
ストを低(抑え、しかも連続ページの画像データを高速
に出力できる画像出力制御装置を提供することを目的と
する。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide an image output control device that can reduce memory costs and output continuous pages of image data at high speed.

[課題を解決するための手段] 上記目的を達成するために本発明の画像出力制御装置は
以下の様な構成からなる。即ち、外部機器からの出力デ
ータを入力し、一旦メモリに保存して、ビットマツプ画
像データとして画像出力装置に出力する画像出力制御装
置であって、前記メモリは少な(とも1ページ分のビッ
トマツプ画像データを格納し、前記ビットマツプ画像デ
ータを前記メモリより読出して出力する出力手段と、前
記出力手段による出力時、前記メモリにおける出力済み
のビットマツプ画像データ領域に、後続のページのビッ
トマツプ画像データを記憶するように制御する制御手段
とを有する。
[Means for Solving the Problems] In order to achieve the above object, the image output control device of the present invention has the following configuration. That is, it is an image output control device that inputs output data from an external device, temporarily stores it in a memory, and outputs it to an image output device as bitmap image data. output means for storing and reading the bitmap image data from the memory and outputting the bitmap image data, and storing the bitmap image data of the subsequent page in the outputted bitmap image data area in the memory when the output means outputs the bitmap image data. and control means for controlling.

[作用] 以上の構成において、メモリは少なくとも1ページ分の
ビットマツプ画像データを格納し、ビットマツプ画像デ
ータを、そのメモリより読出して出力する。この出力時
、そのメモリにおける出力済みのビットマツプ画像デー
タ領域に、後続のページのビットマツプ画像データを記
憶するように動作する。
[Operation] In the above configuration, the memory stores at least one page of bitmap image data, and reads the bitmap image data from the memory and outputs it. At the time of this output, the bitmap image data of the subsequent page is stored in the outputted bitmap image data area of the memory.

[実施例〕 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[プリンタ制御部の説明(第1図、第2図)]第1図は
本実施例のプリンタ制御部の概略構成を示すブロック図
である。
[Description of Printer Control Unit (FIGS. 1 and 2)] FIG. 1 is a block diagram showing a schematic configuration of the printer control unit of this embodiment.

第1図において、10はこの制御装置全体を制御するC
PUで、プログラムメモリllaに記憶された制御プロ
グラムに従って装置全体を制御している。11はROM
部で、プログラムメモリ11a、フォントメモリllb
とで構成されている。ここで、フォントメモリllbは
文字コードに対応してビットマツプフォントあるいはア
ウトラインフォント等の形式からなるフォントデータを
記憶している。RAM部12は、1ページ分のビットマ
ツプ画像デ°−夕を記憶するページメモリ121、ワー
クメモリ122とを含み、ワークメモリ122にはホス
トコンピュータより入力した記録データをコードで記憶
する大力バッファ123、ビットマツプ展開された文字
パターン情報を一時記憶するフォントキャッシュメモリ
124、ページメモリ121のどのラインデータを出力
するかを示すラインポインタ125、どのラインまでの
データが人力されたかを示す入力ラインポインタ126
などを含んでいる。
In FIG. 1, 10 is a C that controls the entire control device.
The PU controls the entire device according to a control program stored in the program memory lla. 11 is ROM
In the section, a program memory 11a, a font memory llb
It is made up of. Here, the font memory llb stores font data in the form of bitmap fonts, outline fonts, etc. in correspondence with character codes. The RAM section 12 includes a page memory 121 that stores bitmap image data for one page, and a work memory 122. The work memory 122 includes a large capacity buffer 123 that stores recording data input from the host computer in code. A font cache memory 124 that temporarily stores bitmap-developed character pattern information, a line pointer 125 that indicates which line data in the page memory 121 is to be output, and an input line pointer 126 that indicates up to which line data has been manually input.
Contains such as.

14はホストインターフェース(I/F)部で、図示し
ないホストコンピュータ等から出力された印字コードや
、ページ記述言語等で記述された印字ソースデータが、
このホストI/F部14を介して入力される。15はプ
リンタインターフェース(I/F)部で、図示しないプ
リンタ装置と、この制御装置との間での各種情報のやり
とりを実行している。これら各種情報としては、プリン
タにプリント開始を指示するPRNT信号、プリンタに
出力する記録データ(VDO)や、プリンタより入力さ
れる垂直同期信号(TOP)、水平同期信号(ビームデ
イテクト信号BD)などがある。
Reference numeral 14 denotes a host interface (I/F) section through which print codes output from a host computer (not shown) and print source data written in a page description language, etc.
It is input via this host I/F section 14. Reference numeral 15 denotes a printer interface (I/F) unit that exchanges various information between a printer device (not shown) and this control device. These various types of information include the PRNT signal that instructs the printer to start printing, the recording data (VDO) output to the printer, the vertical synchronization signal (TOP) input from the printer, the horizontal synchronization signal (beam detect signal BD), etc. There is.

17はラインメモリで、プリンタに出力する1912分
のビットマツプ画像データを記憶している。このライン
メモリ17に記憶された画像データは、VDO14とし
てプリンタインターフェース部15に出力される。13
はプリンタインターフェース部15より出力される画像
データの読出し信号(V D RD)である。16は第
2図に詳細を示すページメモリ制御回路で、ラインメモ
リ17より1ラインの読出し終了信号(LNEND)1
8を入力し、CPUl0との間で各種制御信号を入出力
して、ページメモリ121の読出し制御を実行している
。この制御回路16の動作については、詳しく後述する
17 is a line memory that stores 1912 minutes of bitmap image data to be output to the printer. The image data stored in this line memory 17 is outputted to the printer interface unit 15 as a VDO 14. 13
is an image data read signal (V D RD) output from the printer interface unit 15 . Reference numeral 16 denotes a page memory control circuit whose details are shown in FIG.
8 and inputs and outputs various control signals to and from the CPU10 to execute read control of the page memory 121. The operation of this control circuit 16 will be described in detail later.

以上の構成により、ホストコンピュータより出力された
印字データはワークメモリ12の入力バッファ123に
順次格納される。この人力バッファ123は複数ページ
のコード情報を記憶することができる。その後、プログ
ラムメモリllaの制御プログラムにより実行制御され
るCPU 10により、入力バッファ123に格納され
た印字ソースデータが、プリンタへ出力すべきビットマ
ツプ画像データに展開されてページメモリ121に格納
される。ここで、大力バッファ123に記憶された印字
データ(コード)あるいは印字プログラムがテキスト文
字を含んでいる場合、CPU10は、フォントメモリl
lb中に格納されているビットマツプフォントあるいは
アウトラインフォントの形式からなるフォントデータを
用いて、テキスト文字コードのサイズおよび書体・解像
度に対応するビットマツプ画像データを生成する。
With the above configuration, print data output from the host computer is sequentially stored in the input buffer 123 of the work memory 12. This manual buffer 123 can store multiple pages of code information. Thereafter, the print source data stored in the input buffer 123 is expanded into bitmap image data to be output to the printer and stored in the page memory 121 by the CPU 10 whose execution is controlled by the control program in the program memory lla. Here, if the print data (code) or print program stored in the power buffer 123 includes text characters, the CPU 10 stores the font memory l.
Bitmap image data corresponding to the size, font, and resolution of the text character code is generated using font data in the form of bitmap fonts or outline fonts stored in lb.

第2図はページメモリ制御回路16の内部構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing the internal configuration of the page memory control circuit 16.

第2図において、161はラインアドレス比較器で、デ
ータバスを通してCPU 10より出力されるラインア
ドレスデータをDSTB 1信号によりラッチしている
。このラインアドレスデータは、ページメモリ121よ
り読出されてラインメモリ17に記憶されるラインアド
レスを示している。このラインアドレスは、後述するラ
インカウンタ163の出力値と比較され、ラッチされた
値がカウンタ163のカウント値より小さい場合にレデ
ィ信号(RDY:ページメモリ121への画像データ書
込み可信号)をCPUl0に出力している。163はラ
インカウンタで、ラインメモリ17より出力されるLN
ENDをカウントして、記録されたライン数を計数して
いる。162はページ終了比較器で、CPU 10から
出力されるページ終了ラインアドレスデータをDSTB
2信号によりラッチし、ラインカウンタ163のカウン
ト値と等しい場合にはページ終了信号(PEND)をC
PUl0に出力している。
In FIG. 2, 161 is a line address comparator which latches line address data output from the CPU 10 through the data bus using the DSTB1 signal. This line address data indicates a line address read from the page memory 121 and stored in the line memory 17. This line address is compared with the output value of a line counter 163, which will be described later, and if the latched value is smaller than the count value of the counter 163, a ready signal (RDY: image data write enable signal to the page memory 121) is sent to the CPU10. It is outputting. 163 is a line counter, LN output from the line memory 17
The number of recorded lines is counted by counting END. 162 is a page end comparator which converts the page end line address data output from the CPU 10 into DSTB.
If it is equal to the count value of the line counter 163, the page end signal (PEND) is latched by the C2 signal.
It is output to PU10.

ここで、ラインアドレス比較器161より出力されるR
DY信号は、前述したように、プリント時において、ペ
ージメモリ121中のビットマツプ画像データがライン
メモリ17へ出力される期間中に、入力バッファ123
に記憶されている次ページの印字ソースデータをビット
マツプ画像データに展開してページメモリ121に格納
できることを指示する信号である。また、CLR信号は
、ページメモリ121の1ページ分のビットマツプ画像
データがプリンタへ出力された(PEND信号がアクテ
ィブになった)後に、ラインカウンタ163をクリアす
るための信号で、CPLIIOの制御により出力される
Here, R output from the line address comparator 161
As described above, the DY signal is input to the input buffer 123 during the period in which the bitmap image data in the page memory 121 is output to the line memory 17 during printing.
This signal indicates that the print source data for the next page stored in the page memory 121 can be developed into bitmap image data and stored in the page memory 121. The CLR signal is a signal for clearing the line counter 163 after one page of bitmap image data in the page memory 121 is output to the printer (the PEND signal becomes active), and is output under the control of the CPLIIO. be done.

[動作説明 (第1図〜第6図)] 第3図は本実施例のプリンタ制御部による印字制御処理
示すフローチャートである。ここでは、単一ページのみ
のビットマツプ画像データの生成とプリント動作を示し
ており、この場合は、入力バッファ123に複数ページ
分の印字ソースが存在しない場合のシーケンスである。
[Operation Description (FIGS. 1 to 6)] FIG. 3 is a flowchart showing print control processing by the printer control section of this embodiment. Here, the generation and printing operation of bitmap image data for only a single page is shown, and in this case, the sequence is when the input buffer 123 does not have print sources for a plurality of pages.

第3図において、CPUl0は入力バッファ123の印
字ソースデータ(コード)を基にフォントメモリllb
のフォントデータを参照してビットマツプ画像データを
生成してページメモリ121に格納する。こうして、ス
テップS2で1ページ分のビットマツプ画像データの生
成が終了するとステップS3に進み、プリンタI/F部
15よりプリンタにプリント信号(PRNT)を出力し
て、プリント動作開始を指示する。
In FIG. 3, the CPU 10 uses the font memory llb based on the print source data (code) of the input buffer 123.
bitmap image data is generated with reference to the font data of , and is stored in the page memory 121. In this way, when the generation of bitmap image data for one page is completed in step S2, the process proceeds to step S3, where the printer I/F section 15 outputs a print signal (PRNT) to the printer to instruct it to start a print operation.

その後、ステップS4でプリンタより出力される垂直同
期信号(TOP)を入力するとステップS5に進み、ペ
ージメモリ121よりlライン分のビットマツプ画像デ
ータを読出してラインメモリ17へ格納する。次にステ
ップS6に進み、ブリンクI/F部15は、プリンタか
らの水平同期信号(B D)をトップマージン分だけカ
ウントした後、BD倍信号同期してプリンタI/F部1
5によって生成されたラインメモリ17のリード信号(
VDRD)によって、ラインメモリ17中のビットマツ
プ画像データ14 (VDO)を読出す。そして、プリ
ンタI/F部15は、BD倍信号同期して生成した画像
クロック信号VCLKに同期して、画像データをシリア
ルデータ(VDO)としてプリンタへ出力する。
Thereafter, in step S4, when the vertical synchronizing signal (TOP) output from the printer is input, the process proceeds to step S5, where one line of bitmap image data is read out from the page memory 121 and stored in the line memory 17. Next, the process proceeds to step S6, and after counting the horizontal synchronizing signal (B D) from the printer by the top margin, the blink I/F unit 15 synchronizes with the BD double signal and outputs the horizontal synchronizing signal (B D) from the printer to the printer I/F unit 1.
The line memory 17 read signal (
The bitmap image data 14 (VDO) in the line memory 17 is read out by the bitmap image data 14 (VDO) in the line memory 17. Then, the printer I/F unit 15 outputs the image data to the printer as serial data (VDO) in synchronization with the image clock signal VCLK generated in synchronization with the BD double signal.

ステップS7でlライン分のビットマツプ画像データが
ラインメモリ17より読出されたかを調べ、読出されて
いないときはステップS6に戻るが、lラインの画像デ
ータが読出された時はステップS8に進み、ラインメモ
リ17より(ライン出力終了信号(LNEND)がCP
Ul0およびページメモリ制御回路16へ出力される。
In step S7, it is checked whether l lines of bitmap image data have been read out from the line memory 17. If they have not been read out, the process returns to step S6, but if l lines of image data have been read out, the process advances to step S8. From memory 17 (line output end signal (LNEND)
It is output to Ul0 and the page memory control circuit 16.

ステップS9で、ページメモリ制御回路16よりのPE
ND信号が入力されて、1ページ分のビットマツプ画像
データがプリンタへ出力されたかを調べ、ページメモリ
121の1ページ分のビットマツプ画像データがプリン
タへ出力されるまでステップ85〜ステツプS9を繰り
返し実行する。
In step S9, the PE from the page memory control circuit 16
When the ND signal is input, check whether one page of bitmap image data has been output to the printer, and repeat steps 85 to S9 until one page of bitmap image data in the page memory 121 is output to the printer. .

第4図から第6図は、入力バッファ123に複数ページ
の印字ソースデータが存在する場合の、1ページ目のプ
リント動作と2ページ目のビットマツプ画像データ生成
の制御シーケンスを示すフローチャートで、この処理を
実行する制御プログラムはプログラムメモリllaに記
憶されている。
4 to 6 are flowcharts showing control sequences for printing the first page and generating bitmap image data for the second page when multiple pages of print source data exist in the input buffer 123. A control program for executing is stored in program memory lla.

まずステップSllで、1ページ分のビットマツプ画像
データがページメモリ121に生成されると、プリンタ
I/F部15よりPRNT信号を出力して、プリンタに
印字開始を指示する。その後、CPU I Oは入力バ
ッファ123に次ページの印字ソースデータがあるか否
かをチエツクし、次ページの印字ソースデータが大力バ
ッファ123にない場合は、前述した第3図に示すプリ
ント動作に移る。
First, in step Sll, when one page of bitmap image data is generated in the page memory 121, the printer I/F unit 15 outputs a PRNT signal to instruct the printer to start printing. After that, the CPU IO checks whether or not there is print source data for the next page in the input buffer 123, and if there is no print source data for the next page in the input buffer 123, it performs the print operation shown in FIG. 3 described above. Move.

ステップS12で、次ページの印字ソースデータが入力
バッファ123に存在する場合はステップS13に進み
、次ページのビットマツプ画像データの生成と、1ペー
ジ目のビットマツプ画像データのラインメモリ17への
転送を並行して行う。即ち、まずステップS13で、C
PUl0は大力バッファ123より次ページの印字ソー
スデータからビットマツプ画像データを生成する。
In step S12, if the next page's print source data exists in the input buffer 123, the process advances to step S13, where generation of the next page's bitmap image data and transfer of the first page's bitmap image data to the line memory 17 are performed in parallel. and do it. That is, first in step S13, C
PU10 generates bitmap image data from the print source data of the next page from the power buffer 123.

このときページメモリ121に格納されるラインアドレ
スを示すデータは入力ラインポインタ126に記憶され
ており、ページメモリ制御回路16のラインアドレス比
較器161に出力されてラッチされる。
At this time, data indicating the line address stored in the page memory 121 is stored in the input line pointer 126, and is output to the line address comparator 161 of the page memory control circuit 16 and latched.

これにより、ラインアドレス比較器161でページメモ
リ121中のビットマツプ画像データの出力終了ライン
と比較され、RDY信号が出力されるかどうかにより、
生成したビットマツプ画像データをページメモリ121
中に格納することができるか否かをチエツクする。RD
Y信号がアクティブ、即ち、ページメモリ121に格納
可能であればステップS15に進み、ページメモリ12
1の入力ラインポインタ126で示されたメモリアドレ
スに格納する。このとき、入力ラインポインタ126は
次に入力されるラインアドレスを指示するように更新さ
れる。
As a result, the line address comparator 161 compares it with the output end line of the bitmap image data in the page memory 121, and depending on whether the RDY signal is output,
The generated bitmap image data is stored in the page memory 121.
Check if it can be stored inside. R.D.
If the Y signal is active, that is, if it can be stored in the page memory 121, the process advances to step S15, and the page memory 12
The data is stored at the memory address indicated by the input line pointer 126 of 1. At this time, the input line pointer 126 is updated to point to the next input line address.

RDY信号がノンアクティブ、即ち、ページメモリ12
1中に格納することができない場合はステップS16に
進み、生成したビットマツプ画像データを一時的にワー
クメモリ122に格納する。その後ステップS17に進
み、ワークメモリ122に既に生成済みのビットマツプ
画像データが存在していて、それらをページメモリ12
1に格納することが可能になったか否か(RDY信号が
アクティブかどうか)チエツクし、格納可能であればス
テップ818に進み、ワークメモリ122のビットマツ
プ画像データを、入力ラインポインタ126で指示され
たページメモリ121のアドレスに転送する。
RDY signal is inactive, that is, page memory 12
If the bitmap image data cannot be stored in the work memory 122, the process advances to step S16, and the generated bitmap image data is temporarily stored in the work memory 122. After that, the process advances to step S17, and if the work memory 122 already contains generated bitmap image data, they are transferred to the page memory 122.
1 (whether or not the RDY signal is active), and if it can be stored, the process proceeds to step 818, where the bitmap image data in the work memory 122 is transferred to the bitmap image data indicated by the input line pointer 126. Transfer to the page memory 121 address.

次にステップS19に進み、CPUl0はワークメモリ
122の画像データ格納領域に、更に次のビットマツプ
画像データを一時的に格納できるだけの空きエリアがあ
るかどうかをチエツクし、空きエリアがあってワークメ
モリ122の使用可能領域のサイズが充分に大きければ
ステップS13に戻り、上述したステップS13〜S1
9を繰返し実行する。一方、ワークメモリ122の使用
可能領域のサイズが小さいときはステップS19からス
テップS20に進み、ラインメモリ17から出力される
LNEND信号による割込処理によって、ページメモリ
121中のビットマツプ画像データが転送可能になるま
で待ち状態となる。
Next, the process proceeds to step S19, and the CPU 10 checks whether there is a free area in the image data storage area of the work memory 122 that can temporarily store the next bitmap image data, and if there is a free area, the work memory 122 If the size of the usable area is sufficiently large, the process returns to step S13 and steps S13 to S1 described above
Repeat step 9. On the other hand, when the size of the usable area of the work memory 122 is small, the process advances from step S19 to step S20, and the bitmap image data in the page memory 121 can be transferred by interrupt processing by the LNEND signal output from the line memory 17. It will be in a waiting state until it is.

第5図はラインメモリ17より出力されるLNEND信
号により発生する割込処理を示すフローチャートである
。このLNEND信号は、第3図に示すようにラインメ
モリ17より1ライン分のビットマツプ画像データが出
力終了された場合に出力される信号、即ちライン終了信
号である。
FIG. 5 is a flowchart showing interrupt processing generated by the LNEND signal output from the line memory 17. This LNEND signal is a signal that is output when one line of bitmap image data has been output from the line memory 17 as shown in FIG. 3, that is, a line end signal.

LNEND信号により割込み処理ルーチンに入るとステ
ップS31で、現在プリント中の状態をページメモリ制
御回路16よりのPEND信号によりチエツクし、1ペ
ージのビットマツプ画像データの記録が終了したかをみ
る。ページメモリ121より1ページ分のビットマツプ
画像データが出力が終了していなければステップS32
ムこ進み、1912分のビットマツプ画像データをペー
ジメモリ121の出力ラインポインタ125で指示され
るアドレスから読出して、ラインメモリ17へ転送する
。つぎにステップS33で、転送終了した領域の画像デ
ータをページメモリ121より消去して、出力ラインポ
インタ126を更新し割込処理を終了する。
When the interrupt processing routine is entered by the LNEND signal, in step S31, the current printing status is checked by the PEND signal from the page memory control circuit 16 to see if recording of one page of bitmap image data has been completed. If one page of bitmap image data has not been output from the page memory 121, step S32
1912 bit map image data is read out from the address indicated by the output line pointer 125 of the page memory 121 and transferred to the line memory 17. Next, in step S33, the image data in the area where the transfer has been completed is erased from the page memory 121, the output line pointer 126 is updated, and the interrupt processing is ended.

第5図の割込処理のステップS31において、1ページ
分のビートマツプ画像データがプリンタへ出力された時
は、第6図に示すような次ページのビートマツプ画像デ
ータの生成処理に移行する。
When one page of beat map image data is output to the printer in step S31 of the interrupt process in FIG. 5, the process shifts to the process of generating beat map image data for the next page as shown in FIG.

ここではステップS34で、CPUl0はワークメモリ
122に記憶されている次ページのビットマツプ画像デ
ータがページメモリ121の入力ラインポインタ126
で指示されるアドレスに転送され、入力ラインポインタ
126の値が次のラインアドレスを指示するように更新
される。そして次に、大力バッファ123に記憶されて
いる、次ページの残りの印字ソースデータからビットマ
ツプ画像データを生成して、ページメモリ121の入力
ポインタ126で指示されたアドレスに格納する。こう
して、次ページのビットマツプ画像データが生成されて
ページメモリ121に記憶されると、上記説明したよう
に第4図に示す処理に移行して、プリント処理が実行さ
れる。また、このときには、出力ラインポインタ125
はページメモリ121の先頭アドレスを指示するように
更新される。
Here, in step S34, the CPU 10 transfers the bitmap image data of the next page stored in the work memory 122 to the input line pointer 126 of the page memory 121.
, and the value of the input line pointer 126 is updated to point to the next line address. Next, bitmap image data is generated from the remaining print source data of the next page stored in the power buffer 123 and stored at the address indicated by the input pointer 126 of the page memory 121. When the bitmap image data for the next page is thus generated and stored in the page memory 121, the process shifts to the process shown in FIG. 4, as described above, and print processing is executed. Also, at this time, the output line pointer 125
is updated to indicate the start address of page memory 121.

なお、第4図及び第5図の処理において、入力ラインポ
インタ126の値がページメモリ121の最終ラインア
ドレスに、到達したときは、その次にの入力ラインアド
レスをページの先頭ラインとするように更新される。
In addition, in the processing of FIGS. 4 and 5, when the value of the input line pointer 126 reaches the final line address of the page memory 121, the next input line address is set as the first line of the page. Updated.

[他の実施例 (第7図)] また、第7図は本発明の他の実施例のプリンタ制御装置
の概略構成を示すブロック図である。
[Other Embodiments (FIG. 7)] FIG. 7 is a block diagram showing a schematic configuration of a printer control device according to another embodiment of the present invention.

前述した実施例では、複数ページの印字ソースデータが
大力バッファ123に存在する場合、1ページ目のビッ
トマツプ画像データのラインメモリ17への転送制御と
、次ページのビットマップ画像データの生成およびペー
ジメモリへの格納制御の並行処理をページメモリ制御回
路16で行っていたが、このページメモリ制御回路16
の動作をプログラムメモリllcに記憶された制御プロ
グラムにより実行することにより、前述した実施例と同
様の動作を行うことができる。
In the embodiment described above, when multiple pages of print source data exist in the large capacity buffer 123, the transfer control of the first page's bitmap image data to the line memory 17, the generation of the next page's bitmap image data, and the page memory The page memory control circuit 16 performs parallel processing of storage control to the page memory control circuit 16.
The same operation as in the embodiment described above can be performed by executing the operation in accordance with the control program stored in the program memory llc.

以上説明したように本実施例によれば、ホスト側から出
力された複数ページ分の印字ソースデータからビットマ
ツプ画像データを生成してプリントする際に、次ページ
のビットマツプ画像データを並行して生成して、1ペー
ジの記憶容量を備えたページメモリより読出しながら、
次のページの画像データをページメモリに記憶すること
ができる。これにより、1ページの記憶容量を有するペ
ージメモリを使用しても、複数ページをプリントする時
のスループットを向上して記録することができる。
As explained above, according to this embodiment, when bitmap image data is generated and printed from multiple pages of print source data output from the host side, bitmap image data for the next page is generated in parallel. While reading from a page memory with a storage capacity of one page,
The next page of image data can be stored in the page memory. As a result, even if a page memory having a storage capacity of one page is used, throughput can be improved when printing a plurality of pages.

なお、この実施例では、ホストコンピュータ等よりコー
ドデータを入力して、パターンデータに展開して出力す
る場合で説明したが、本発明はこれに限定されるもので
なく、直接ビットマツプ画像データを入力して出力する
場合にも適用できることはもちろんである。
In this embodiment, code data is input from a host computer, etc., and is expanded into pattern data and output. However, the present invention is not limited to this, and bitmap image data may be directly input. Of course, it can also be applied when outputting.

また、この実施例ではプリンタへの画像データを出力す
る場合で説明したが、本発明はこれに限定されず、例え
ばCRTなどの表示装置や通信機器などへのパターンデ
ータ出力時にも適用できる。
Further, although this embodiment has been described with reference to the case where image data is output to a printer, the present invention is not limited thereto, and can also be applied to output of pattern data to, for example, a display device such as a CRT or a communication device.

[発明の効果] 以上説明したように本発明によれば、メモリコストを低
く抑え、しかも連続ページの画像データを高速に出力で
きる効果がある。
[Effects of the Invention] As explained above, according to the present invention, memory costs can be kept low, and continuous pages of image data can be outputted at high speed.

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

第1図は本実施例のプリンタ制御装置の概略構成を示す
ブロック図、 第2図はページメモリ制御回路の概略構成を示すブロッ
ク図、 第3図は本実施例のプリンタ制御装置における単一ペー
ジのビットマツプ画像データの生成とプリント動作を示
すフローチャート、 第4図〜第6図は本実施例のプリンタ制御装置における
複数ページの記録と画像データ生成処理を示すフローチ
ャート、 第7図は他の実施例におけるプリンタ制御装置の構成を
示すブロック図、そして 第8図は従来のプリンタ制御装置の構成を示すブロック
図である。 図中、l O・・・CPU、11・・−ROM、11 
a・・・プリンタメモリ、llb・・・フォントメモリ
、12・・・RAM、13・・・ラインメモリ読出し信
号、14・・・画像データ、15・・・プリンタインタ
ーフェース部、16・・・ページメモリ制御回路、17
・・・ラインメモリ、121・・・ページメモリ、12
2・・・ワークメモリ、123・・・大力バッファ、1
24・・・フォントキャッシュ、125・・・出力ライ
ンポインタ、126・・・入力ラインポインタ、161
・・・ラインアドレス比較器、162・・・ページ終了
比較器、163・・・ラインカウンタである。
FIG. 1 is a block diagram showing a schematic configuration of the printer control device of this embodiment, FIG. 2 is a block diagram showing a schematic configuration of a page memory control circuit, and FIG. 3 is a single page in the printer control device of this embodiment. FIGS. 4 to 6 are flowcharts showing the process of recording multiple pages and generating image data in the printer control device of this embodiment. FIG. 7 is a flowchart of another embodiment. FIG. 8 is a block diagram showing the structure of a conventional printer control device. In the figure, l O...CPU, 11...-ROM, 11
a... Printer memory, llb... Font memory, 12... RAM, 13... Line memory read signal, 14... Image data, 15... Printer interface section, 16... Page memory control circuit, 17
... line memory, 121 ... page memory, 12
2... Work memory, 123... Powerful buffer, 1
24... Font cache, 125... Output line pointer, 126... Input line pointer, 161
. . . line address comparator, 162 . . . page end comparator, 163 . . . line counter.

Claims (2)

【特許請求の範囲】[Claims] (1)外部機器からの出力データを入力し、一旦メモリ
に保存して、ビットマップ画像データとして画像出力装
置に出力する画像出力制御装置であつて、 前記メモリは少なくとも1ページ分のビットマップ画像
データを格納し、前記ビットマップ画像データを前記メ
モリより読出して出力する出力手段と、 前記出力手段による出力時、前記メモリにおける出力済
みのビットマップ画像データ領域に、後続のページのビ
ットマップ画像データを記憶するように制御する制御手
段と、 を有することを特徴とする画像出力制御装置。
(1) An image output control device that inputs output data from an external device, temporarily stores it in a memory, and outputs it to an image output device as bitmap image data, wherein the memory contains at least one page worth of bitmap images. output means for storing data and reading and outputting the bitmap image data from the memory; and when outputting by the output means, bitmap image data of a subsequent page is stored in the outputted bitmap image data area of the memory. An image output control device comprising: a control means for controlling the memory so as to store the information;
(2)前記制御手段は前記画像出力装置よりの水平同期
信号を計数して出力済みのビットマップ画像データ領域
を判別するようにしたことを特徴とする請求項第1項に
記載の画像出力制御装置。
(2) Image output control according to claim 1, wherein the control means counts horizontal synchronization signals from the image output device to determine the bitmap image data area that has been output. Device.
JP1293868A 1989-11-14 1989-11-14 Picture output controller Pending JPH03155268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1293868A JPH03155268A (en) 1989-11-14 1989-11-14 Picture output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1293868A JPH03155268A (en) 1989-11-14 1989-11-14 Picture output controller

Publications (1)

Publication Number Publication Date
JPH03155268A true JPH03155268A (en) 1991-07-03

Family

ID=17800193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1293868A Pending JPH03155268A (en) 1989-11-14 1989-11-14 Picture output controller

Country Status (1)

Country Link
JP (1) JPH03155268A (en)

Similar Documents

Publication Publication Date Title
US5136688A (en) Print data processing apparatus for an image forming apparatus
JPH0378651B2 (en)
JPH0263763A (en) Printing apparatus
JPH03199062A (en) Printer
JPS6035687B2 (en) Print data control device
JP2974322B2 (en) Character processing apparatus and method
JPH03155268A (en) Picture output controller
US6628289B1 (en) Rendering apparatus and method, and storage medium
JP3864520B2 (en) Print processing apparatus and print processing method
JP3437209B2 (en) Image recording device
JPH0467964A (en) Page printer printing control method
JP2715475B2 (en) Graphic output device
JP3143118B2 (en) Printer and print image pattern development method
JP3210598B2 (en) Print control device and print control method
JPS60136824A (en) Printer control device
JPS63286927A (en) Printing control device
JPH03281363A (en) Document output device
JPH03112668A (en) Printer
JPH08324033A (en) Line printer and computer equipped with line printer and method of controlling line printer
JPH0596811A (en) Printing method
JPH0490368A (en) Printing device
JPS61156192A (en) Input/output controller
JPH03222029A (en) Recording controller
JPH02224191A (en) Image output device
JPH05127662A (en) Display device of information equipment