JPH02266965A - Printer - Google Patents

Printer

Info

Publication number
JPH02266965A
JPH02266965A JP1087861A JP8786189A JPH02266965A JP H02266965 A JPH02266965 A JP H02266965A JP 1087861 A JP1087861 A JP 1087861A JP 8786189 A JP8786189 A JP 8786189A JP H02266965 A JPH02266965 A JP H02266965A
Authority
JP
Japan
Prior art keywords
data
address
image memory
block
virtual
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.)
Granted
Application number
JP1087861A
Other languages
Japanese (ja)
Other versions
JPH0790652B2 (en
Inventor
Masataka Osada
昌登 長田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1087861A priority Critical patent/JPH0790652B2/en
Publication of JPH02266965A publication Critical patent/JPH02266965A/en
Publication of JPH0790652B2 publication Critical patent/JPH0790652B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To contrive to accelerate printing without accompanying the capacity increase of a picture memory by writing only the effective block including effective data in said picture memory through making an exception of a null block composed of only blank data. CONSTITUTION:When the word address of a virtual page is generated from an address generator 43, a picture memory write controller 42 reads data of said word address in word units from said virtual page 61. On the basis of a decision result obtained in a data decision part 41, then, data of one word of said word address are written in a picture memory 30 not when said data are blank data but when they are effective data. Further, when the decision result of said data being effective data is inputted from the data decision part 41 to the picture memory write controller 42 and the decision result of a virtual block address generated by the address generator 43 differing from that generated just before is inputted to said picture memory write controller 42, said controller 42 refers to the address conversion memory 44a of an address converter 44.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、印刷用データを画像メモリに格納し、これを
読出しながら用紙上に印刷を行なう印刷装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printing device that stores print data in an image memory and prints on paper while reading the data.

(従来の技術) コンピュータやワードプロセッサ等の上位制御装置によ
って作成された印刷用データを、用紙上に印刷する装置
としては、電子写真方式のプリンタ、サーマルプリンタ
、ワイヤドツト式プリンタ等、種々のものが知られてい
る。
(Prior Art) Various devices are known for printing print data created by a host control device such as a computer or a word processor onto paper, such as electrophotographic printers, thermal printers, and wire dot printers. It is being

第2図に、従来の電子写真方式を採用した印刷装置のブ
ロック図を示す。
FIG. 2 shows a block diagram of a printing apparatus that employs a conventional electrophotographic method.

この装置は、上位制御装置1にインタフェース2を介し
て接続されたシステムバス3に対し、プロセッサ4、プ
ログラムメモリ5、ワーキングメモリ6、フォントメモ
リ7、画像メモリ8及びプリントエンジンインタフェー
ス9が接続された構成のものである。プリントエンジン
インタフェース9には、プリントエンジン10が接続さ
れている。
In this device, a processor 4, a program memory 5, a working memory 6, a font memory 7, an image memory 8, and a print engine interface 9 are connected to a system bus 3 connected to a host control device 1 via an interface 2. It is of composition. A print engine 10 is connected to the print engine interface 9.

上位装置lは、印刷用データを作成するコンピュータや
ワードプロセッサ、画像読取装置等の装置である。イン
タフェース2は、いわゆるR3232Cインタフエース
やパラレルインタフェース等から構成される既知の回路
である。プロセッサ4は、この印刷装置全体の制御を行
なう回路で、その実行用プログラムがプログラムメモリ
5に格納されている。ワーキングメモリ6は、インタフ
ェース2により送受信されたデータを記憶管理するため
のメモリである。フォントメモリ7は、上位制御装置1
から送り込まれた文字キャラクタコードやその他のコー
ドを、印刷用のフォントデータに変換するメモリである
The host device l is a device such as a computer, word processor, or image reading device that creates print data. The interface 2 is a known circuit composed of a so-called R3232C interface, a parallel interface, or the like. The processor 4 is a circuit that controls the entire printing apparatus, and its execution program is stored in the program memory 5. The working memory 6 is a memory for storing and managing data transmitted and received by the interface 2. The font memory 7 is connected to the upper control device 1.
This is a memory that converts character codes and other codes sent from the printer into font data for printing.

又、画像メモリ8は、編集処理されイメージ化された印
刷用データを、例えば1ページ分格納するランダム・ア
クセス・メモリから構成される。
The image memory 8 is composed of a random access memory that stores, for example, one page of print data that has been edited and turned into an image.

プリントエンジンlOは、画像メモリ8に格納された印
刷用データに基づいて、印刷用の用紙に印刷を行なう装
置で、用紙搬送系や電子写真プロセス等を含む装置であ
る。プリントエンジンインタフェース9は、プロセッサ
4の指示に従って画像メモリ8から印刷用データ9aを
読出してプリントエンジン10に転送し、あるいはプリ
ントエンジン10から出力されるプリントコントロール
信号9bを受入れ、これをプロセッサ4等に送信するイ
ンタフェース回路である。
The print engine IO is a device that prints on printing paper based on the printing data stored in the image memory 8, and includes a paper transport system, an electrophotographic process, and the like. The print engine interface 9 reads print data 9a from the image memory 8 and transfers it to the print engine 10 according to instructions from the processor 4, or accepts a print control signal 9b output from the print engine 10 and sends it to the processor 4, etc. This is an interface circuit for transmitting data.

以上のような印刷装置は、上位制御装置1からインタフ
ェース2を介して受信された制御コマンドや文字キャラ
クタコード、グラフィックコマンド、ビットイメージデ
ータ等を、必要に応じてワーキングメモリ6に一時格納
し、プロセッサ4の制御に従ってイメージ化された印刷
用データを画像メモリ8上に作成する。
The above-described printing device temporarily stores control commands, character codes, graphic commands, bit image data, etc. received from the host control device 1 via the interface 2 in the working memory 6 as needed, and then outputs them to the processor. 4, imaged printing data is created on the image memory 8.

こうして作成された画像メモリ8内の印刷用データは、
次のように処理される。
The print data in the image memory 8 created in this way is
It is processed as follows.

第3図は、従来の画像メモリからの印刷出力の読出し動
作を説明する概念図である。
FIG. 3 is a conceptual diagram illustrating the operation of reading print output from a conventional image memory.

図に示すように、画像メモリ8に対して読出しアドレス
8aが入力すると、画像メモリ8中の各ラスター■、■
、■、■・・・に対応するデータが順に読出され、これ
がその順番に印刷されて(■。
As shown in the figure, when the read address 8a is input to the image memory 8, each of the rasters ■, ■ in the image memory 8
, ■, ■... are read out in order, and are printed in that order (■.

■、■、■・・・)印刷出力20を得る。即ち、画像メ
モリ8から読出されたデータは、各ラスター毎にビット
ストリーム化して第2図のプリントエンジン10に送り
込まれ、その読出しと1対1に対応した印刷動作が行な
われて印刷出力20が得られる。尚、通常、画像メモリ
8からのデータの読出しは、ビット単位でなくワード単
位で行なわれる。
(■, ■, ■...) A printout 20 is obtained. That is, the data read from the image memory 8 is converted into a bit stream for each raster and sent to the print engine 10 shown in FIG. can get. Note that data is normally read from the image memory 8 not in bits but in words.

第4図は、従来の画像メモリからの印刷出力の読出し方
法をより具体的に示した説明図である。
FIG. 4 is an explanatory diagram showing more specifically a conventional method of reading out print output from an image memory.

図のように、画像メモリは、各ラスター■。■As shown in the figure, the image memory is for each raster.

■・・・毎にそれぞれ1ワード(例えば8ビツト)単位
で区切られている。データは、このワード単位で順番に
 (1) 、 (2) 、 (3)−・・というように
読出され、その右側に示したような印刷出力が得られる
. . . are separated in units of one word (for example, 8 bits). The data is sequentially read in word units as (1), (2), (3), etc., and a printout as shown on the right side is obtained.

この図からも分るように、画像メモリ8に格納されたデ
ータとその印刷出力20とは、完全に1対1に対応して
いる0通常、画像メモリ8は、1ページ分程度の印刷出
力20が可能なメモリ容量に設定されており、印刷出力
中の情報量が非常に少ない場合でも、必ずいったん1ペ
ージ分の印刷用データが画像メモリ8に格納され、その
後印刷を行なうという処理がなされていた。
As can be seen from this figure, there is a complete one-to-one correspondence between the data stored in the image memory 8 and its print output 20. Normally, the image memory 8 has a print output of about one page. 20 is set to the possible memory capacity, and even if the amount of information being printed is very small, one page's worth of print data is always stored in the image memory 8 and then printed. was.

(発明が解決しようとする課題) ところで、電子写真方式の印刷装置においては、外周に
感光体層を形成した感光ドラムを一定。
(Problem to be Solved by the Invention) Incidentally, in an electrophotographic printing apparatus, a photosensitive drum having a photosensitive layer formed on its outer periphery is fixed.

速度で回転させながら、その感光体上に印刷用データに
対応する静電潜像を形成していく、その静電潜像は、ト
ナーを用いて現像されて用紙上に転写され定着されるが
、このような印刷工程は連続した動作で行なわれ、中断
することができない。従って、通常、画像メモリ8に印
刷用データを完全に編集し終わってから、用紙の搬送を
開始し印刷工程を始動するようにしている。
While rotating at a high speed, an electrostatic latent image corresponding to the print data is formed on the photoreceptor.The electrostatic latent image is developed using toner, transferred to the paper, and fixed. , such a printing process is carried out in a continuous operation and cannot be interrupted. Therefore, normally, after the printing data has been completely edited in the image memory 8, the conveyance of the paper is started and the printing process is started.

第5図は、このような印刷工程を実行するプリントエン
ジンの動作説明図である。
FIG. 5 is an explanatory diagram of the operation of the print engine that executes such a printing process.

図において、トレー11a、11bには、印刷されるべ
き用紙12が収容されている。この用紙12は、ホッピ
ングローラ13aあるいは13bによって引き出され、
搬送路14上を搬送される。
In the figure, paper 12 to be printed is stored in trays 11a and 11b. This paper 12 is pulled out by a hopping roller 13a or 13b,
It is transported on the transport path 14.

搬送路14の前方には、感光ドラム15と、その外周に
静電潜像を書込む書込み装置16が配置されている。こ
の書込み装置16は、例えば発光ダイオードアレイある
いはレーザヘッド等から構成される。
In front of the conveyance path 14, a photosensitive drum 15 and a writing device 16 for writing an electrostatic latent image on the outer periphery of the photosensitive drum 15 are arranged. This writing device 16 is composed of, for example, a light emitting diode array or a laser head.

この装置では、用紙12が搬送路14を搬送され、転写
位置Woに達すると、感光ドラム15上のトナーが転写
され、図示しない定着器によって定着されて排出される
0通常、用紙12は、搬送路上の1点WPにおいて、図
示しないレジストローラ等によっていったん搬送を停止
されて待機し、書込み装置16による静電潜像の書込み
開始と同時に搬送が再開される。即ち、感光ドラム15
がJ2oだけ(角度αだけ)回転する間に、用紙12は
j2o’だけ搬送されてちょうど転写位置W0に達する
In this device, the paper 12 is transported through the transport path 14, and when it reaches the transfer position Wo, the toner on the photosensitive drum 15 is transferred, fixed by a fixing device (not shown), and then discharged. At a point WP on the road, the conveyance is temporarily stopped by a registration roller or the like (not shown), and the conveyance is then resumed at the same time as the writing device 16 starts writing the electrostatic latent image. That is, the photosensitive drum 15
While rotating by J2o (angle α), the paper 12 is conveyed by j2o' and just reaches the transfer position W0.

このようなタイミングを制御するために、第2図の画像
メモリ8から書込み装置16へ印刷用データを転送する
タイミングは、ホッピングローラ13aが用紙12をβ
寵だけ搬送し、あるいはホッピングローラ13bが用紙
12を41+4゜たけ搬送した後となる。
In order to control such timing, the timing at which printing data is transferred from the image memory 8 to the writing device 16 in FIG.
This is after the hopping roller 13b has conveyed the paper 12 by a distance of 41+4 degrees.

第6図は、画像メモリへのデータの書込みとデータを読
出すタイミングを表わすタイムチャートである。
FIG. 6 is a time chart showing the timing of writing data to the image memory and the timing of reading data.

図のように、時刻toに書込みを開始し、1ページ目の
印刷用データの画像メモリへの書込みが時刻t工に終了
すると、時刻1.で第5図のホッピングローラ13aあ
るいは13bが用紙12の搬送を開始する。その後、時
刻tsまで待機した後、その1ページ目の印刷用データ
の画像メモリからの読出しが開始される9時刻t3〜t
sまでの間に、第5図に示したトレー11a。
As shown in the figure, when writing starts at time to and writing of the first page print data to the image memory ends at time t, time 1. Then, the hopping roller 13a or 13b shown in FIG. 5 starts conveying the paper 12. Thereafter, after waiting until time ts, reading of the first page print data from the image memory starts from time t3 to time t.
s, the tray 11a shown in FIG.

11bから引き出された用紙12が、搬送路14上の1
点Wpまで搬送される。そして、レジストローラ等によ
りタイミングを合わせて転写位置We  (第5図)へ
向けて搬送される。こうして第1ページ目の印刷工程が
進められる。。
The paper 12 pulled out from 11b is
It is transported to point Wp. Then, it is transported toward the transfer position We (FIG. 5) at the same timing by registration rollers or the like. In this way, the printing process for the first page is advanced. .

一方、画像メモリへの印刷用データの書込みと読出しを
交互に行なうと、プリントエンジン側の待ち時間が増加
する。
On the other hand, if printing data is alternately written and read from the image memory, the waiting time on the print engine side increases.

従って、処理の高速化のために、第1ページ目のデータ
の読出しが開始され、その読出しが終了する前に、2ペ
ージ目のデータの書込みが開始される0時刻tsから時
刻t3 までの時間は、1ページ目の読出しが開始され
て、2ページ目のデータを書込むための一定のメモリエ
リアを確保するための時間である0通常、図のように、
画像メモリからのデータの読出し時間と画像メモリへの
書込み時間とを比較すると、書込みの場合にはライトマ
ージンのチエツクや書込みアドレス計算、フォントメモ
リのアクセス等の時間が必要となり、合計処理時間はや
や長めになる。
Therefore, in order to speed up the processing, reading of the data on the first page is started, and before the reading is finished, writing of the data on the second page is started from time 0 ts to time t3. is the time from the start of reading the first page to securing a certain memory area for writing the data of the second page. Usually, as shown in the figure,
Comparing the time to read data from the image memory and the time to write to the image memory, in the case of writing, time is required for checking the write margin, calculating the write address, accessing the font memory, etc., so the total processing time is slightly shorter. It will be longer.

このような点を考慮すると、従来、画像メモリを最大限
に有効に利用しようとした場合、書込み動作を基準にし
て動作タイミングを設定する必要がある。
Considering these points, conventionally, when trying to utilize the image memory to the maximum extent possible, it is necessary to set the operation timing based on the write operation.

第7図は、従来の画像メモリ書込み動作のタイミングを
表わすタイミングチャートである。
FIG. 7 is a timing chart showing the timing of a conventional image memory write operation.

図のように、画像メモリへの1ページ分の書込み動作に
毎に、それぞれ■、■、■・・・■という符号を付すと
、各書込み動作の間に、それぞれtXlの時間だけ待ち
時間を設ける必要がある。
As shown in the figure, each writing operation for one page to the image memory is marked with ■, ■, ■...■, and the waiting time is tXl between each writing operation. It is necessary to provide

この待ち時間は、即ち第6図に示した時刻t1〜t 、
 l までの間の時間であり、用紙の搬送と画像メモリ
からの一定量のデータの読出しを待つ時間である。従っ
て、画像メモリのメモリ容量を1ページ分とした印刷装
置においては、この第7図に示したタイミングが最大効
率のタイミングであり、これ以上の高速化を図ることが
できなかった。
This waiting time is the time t1 to t shown in FIG.
This is the time to wait for paper transport and reading of a certain amount of data from the image memory. Therefore, in a printing apparatus in which the memory capacity of the image memory is one page, the timing shown in FIG. 7 is the timing of maximum efficiency, and further speeding up cannot be achieved.

これに対して画像メモリを2ページ分設ければ、1ペー
ジ分の画像メモリからデータの読出しと印刷を行なって
いる間に、もう1ページ分の画像メモリにデータの書込
みを行なうことができ、第7図に示した待ち時間t x
+−t XIを無くすことができる。
On the other hand, if two pages of image memory are provided, while reading and printing data from one page of image memory, data can be written to another page of image memory. The waiting time t x shown in FIG.
+-t XI can be eliminated.

第8図は、そのような最も望ましい画像メモリの書込み
動作を示すタイミングチャートである。
FIG. 8 is a timing chart showing such a most desirable image memory write operation.

この図に示すように、画像メモリの容量アップにより印
刷の高速化を図ることができる。ところが、画像メモリ
の容量アップは装置のコストを上昇させる原因となる。
As shown in this figure, printing speed can be increased by increasing the capacity of the image memory. However, increasing the capacity of the image memory causes an increase in the cost of the device.

特に、印刷画像の解像度が上がれば上がるほど大容量の
画像メモリが必要となり、1ページ分の容量の画像メモ
リを有する印刷装置と、2ページ分の容量の画像メモ、
りを有する装置との価格差はますます大きくなる。
In particular, as the resolution of printed images increases, a larger capacity image memory is required.
The price difference between these devices and other devices with more features will become larger and larger.

本発明は以上の点に着目してなされたもので、画像メモ
リの容量アップを伴わずに印刷の高速化を図った印刷装
置を提供することを目的とするものである。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a printing device that can speed up printing without increasing the capacity of the image memory.

(課題を解決するための手段) 本発明の印刷装置は、印刷用データを格納する画像メモ
リと、この画像メモリに印刷用データを書込む印刷制御
部と、前記画像メモリから印刷用データを読出しながら
印刷を行なう印刷部とを有し、前記印刷制御部は、印刷
出力に対応させて仮想的に設定された1ページ分の画像
から成る仮想ページを、複数のブロックに分割し、前記
仮想ページの各ブロックに含まれるたデータが、空白デ
ータか有効データかを判定するデータ判定部と、前記仮
想ページ中の各ブロックのアドレスを仮想ブロックアド
レスと呼ぶとき、アクセスしたデータの仮想ブロックア
ドレスが、その直前にアクセスしたデータの仮想ブロッ
クアドレスと同一か異なるかを判定するアドレス判定部
と、前記データ判定部の判定結果に基づいて、前記有効
データのみを選択して、前記画像メモリにデータの書込
みを行なう画像メモリ書込み制御部と、前記有効データ
のt込みがあった仮想ブロックアドレスと、前記有効デ
ータを書込んだ前記画像メモリのブロックアドレスとを
対応付け、かつ、前記仮想ページ中で、前記有効データ
を含む有効ブロックと、前記空白データのみから成る空
白ブロックとを識別するマツピングフラグと、前記画像
メモリに書込まれた有効ブロックの属する仮想ページを
識別するページ識別フラグとを格納したアドレス変換部
を設け、前記画像メモリ書込み制御部は、前記データを
アクセスする場合、前記アドレス判定部の判定結果に基
づき、もし直前にアクセスしたデータの仮想ブロックア
ドレスが異なる場合には、前記アドレス変換部を参照し
てアドレス変換を行ない、もし、直前にアクセスしたデ
ータの仮想ブロックアドレスが同一であるならば、前記
直前のデータのアクセス時のアドレス変換結果を使用す
ることを特徴とするもの、である。
(Means for Solving the Problems) A printing device of the present invention includes an image memory that stores print data, a print control unit that writes print data to the image memory, and a print control unit that reads print data from the image memory. and a printing unit that performs printing while printing, and the print control unit divides a virtual page consisting of one page of images virtually set corresponding to print output into a plurality of blocks, and prints the virtual page. When the address of each block in the virtual page is called a virtual block address, the virtual block address of the accessed data is An address determination unit that determines whether the address is the same as or different from the virtual block address of the data accessed immediately before, and based on the determination result of the data determination unit, select only the valid data and write the data to the image memory. an image memory write control unit that associates the virtual block address where the valid data was written with the block address of the image memory where the valid data was written, and an address storing a mapping flag that identifies a valid block containing valid data and a blank block consisting only of blank data, and a page identification flag that identifies a virtual page to which the valid block written in the image memory belongs; A conversion section is provided, and when the image memory write control section accesses the data, based on the determination result of the address determination section, if the virtual block address of the data accessed immediately before is different, the address conversion section , and if the virtual block address of the data accessed immediately before is the same, the address translation result at the time of accessing the data immediately before is used. .

(作用) 以上の装置は、例えば1ページ分の容量の画像メモリを
持つ場合であっても、印刷用データの内容によっては数
ページ分のデータの格納が可能である。
(Function) Even if the device described above has an image memory with a capacity for one page, for example, it is possible to store data for several pages depending on the content of the print data.

先ず、印刷すべき各ページ毎にそれぞれプロセッサの側
で仮想ページを設定する。そして、各仮想ページを複数
のブロックに分割する。これらのブロックのうち、空白
データのみからなる空白ブロックを除外して、有効デー
タを含む有効ブロックのみを画像メモリに書込むように
する。空白部分の多い仮想ページについては、この有効
ブロック数は非常に少なくなる。従って、1ページ分の
画像メモリに対し数ページ分の仮想ページの格納が可能
になる。
First, a virtual page is set on the processor side for each page to be printed. Then, each virtual page is divided into multiple blocks. Among these blocks, blank blocks consisting only of blank data are excluded, and only valid blocks containing valid data are written into the image memory. For virtual pages with many blank spaces, this effective number of blocks will be very small. Therefore, it is possible to store several virtual pages in one page of image memory.

このようにして有効データを画像メモリの所定のブロッ
クに格納し、あるいは画像メモリに格納されたデータを
読出して印刷を行なうために、アドレス変換部が用意さ
れている。
In this way, an address converter is provided to store valid data in a predetermined block of the image memory or to read and print data stored in the image memory.

印刷制衛部は、アドレス変換部に格納されたブロックア
ドレスやフラグを参照して、各仮想ページの有効ブロッ
クと空白ブロックとを識別し、どの仮想ページの有効ブ
ロックが画像メモリのどのブロックアドレスに格納され
ているかを認識する。
The printing control section refers to the block addresses and flags stored in the address conversion section, identifies the valid blocks and blank blocks of each virtual page, and determines which virtual page's valid block corresponds to which block address in the image memory. Recognize what is stored.

そして、データ読出し時には、空白ブロック部分につい
ては印刷制御部が空白データを生成し、有効データのみ
所定のタイミングで画像メモリから読出すようにする。
When reading data, the print control section generates blank data for blank block portions, and only valid data is read from the image memory at a predetermined timing.

尚、画像メモリへの有効データの書込みや、画像メモリ
からの有効ブロックに含まれる有効データや空白データ
の続出しの際9.アドレス判定部は、アドレス変換部を
参照する前に、現在アクセスしようとしているデータの
仮想ブロックアドレスと、直前にアクセスしたデータの
仮想ブロックアドレスを比較して、両者が同一かどうか
を判定する。
Note that when writing valid data to the image memory or continuously outputting valid data or blank data contained in a valid block from the image memory, 9. Before referring to the address translation section, the address determination section compares the virtual block address of the data that is currently being accessed and the virtual block address of the data that was accessed immediately before, and determines whether or not they are the same.

両者が異なる場合には、アドレス変換部を参照してアド
レス変換を実施する。また、両者が同一である場合には
、アドレス変換を実施せず、既にアドレス変換部のアド
レスを使用し、不要なアドレス変換を防ぐ。
If the two are different, address translation is performed with reference to the address translation unit. Furthermore, if the two are the same, no address translation is performed and the address already in the address translation unit is used to prevent unnecessary address translation.

これにより、仮想ページに対応する印刷出力が得られる
Thereby, a printout corresponding to the virtual page is obtained.

(実施例) く装置の構成〉 以下、本発明を実施例によって具体的に説明する。(Example) Configuration of the device Hereinafter, the present invention will be specifically explained with reference to Examples.

第1図は、本発明の印刷装置の実施例を示すブロック図
である。この装置の全体構成は、第2図と同様のもので
あるが、この装置においては、図に示したような印刷制
御部40によって、画像メモリ3oのデータの書込みと
読出しが制御される。
FIG. 1 is a block diagram showing an embodiment of a printing apparatus of the present invention. The overall configuration of this device is similar to that shown in FIG. 2, but in this device, writing and reading of data in the image memory 3o is controlled by a print control section 40 as shown in the figure.

この装置には、印刷用データ60を受は入れるブロック
判定部41と、そのデータの画像メモリ30への書込み
アドレスを割当てる画像メモリ書込み制御部42と、ア
クセスすべきデータのワード単位のアドレスを発生する
アドレス発生部43と、現在アクセスしようとしている
データの仮想ブロックアト1ノスと1つ前にアクセスし
たデータの仮想ブロックアドレスを比較するアドレス判
定部80と、所定のアドレス変換等を行なうアドレス変
換部44と、画像メモリ30への書込みデータの入力あ
るいは読出しデータの出力経路を切り換える接続切換回
路45と、印刷部50とが設けられている。
This device includes a block determination unit 41 that receives and receives print data 60, an image memory write control unit 42 that assigns a write address for that data to the image memory 30, and generates an address in word units of data to be accessed. an address generation unit 43 that compares the virtual block address of the data that is currently being accessed with the virtual block address of the data that was accessed immediately before, and an address conversion unit that performs predetermined address conversion, etc. 44, a connection switching circuit 45 for switching the input path of write data to the image memory 30 or the output path of read data, and a printing section 50.

く動作原理〉 この装置の詳細な動作説明をする前に、先ず、第9図を
用いて本発明の装置の原理的な動作説明を行なう。
Principle of Operation> Before explaining the detailed operation of this apparatus, first, the principle operation of the apparatus of the present invention will be explained using FIG.

第9図において、この例は、2枚の仮想ページ■、■の
印刷が要求されている場合を示している。
In FIG. 9, this example shows a case where printing of two virtual pages (2) and (3) is requested.

先ず、ここで仮想ページ■と■とをそれぞれ複数のブロ
ック62.62’ に分割する。このブロックは、例え
ば1つが128X 128ビツト構成のブロックとする
。このようにして、仮想ページを複数のブロックに分割
すると、各ブロックはそれぞれ、空白データのみからな
る空白ブロック62′と、有効データを含む有効ブロッ
ク62とに分類される。そして、第1図に示した印刷制
御部40は、画像メモリ30に対し、各仮想ページ■、
■の有効データを含む有効ブロック62のみを書込むよ
うにする。このようにすれば、それぞれ仮想ページ■、
■のイメージはバラバラに分解されてしまうが、1ペー
ジ分の容量の画像メモリ30に対し、2ページ分の有効
ブロック62が十分余裕をもって格納されることになる
First, the virtual pages ■ and ■ are each divided into a plurality of blocks 62 and 62'. For example, each block has a 128×128 bit configuration. When a virtual page is divided into a plurality of blocks in this manner, each block is classified into a blank block 62' consisting only of blank data and a valid block 62 containing valid data. Then, the print control unit 40 shown in FIG.
Only the valid block 62 containing the valid data of (2) is written. In this way, each virtual page ■,
Although the image (2) is disassembled into pieces, two pages worth of effective blocks 62 can be stored with sufficient margin in the image memory 30 with a capacity for one page.

このようにして、画像メモリ30に印刷用データを書込
んだ後、その第9図右側に示すような印刷出力■、■を
得るためには、仮想ベージ■の第1番目のブロック(座
標(0,0)のブロック)が空白ブロック62″である
か否かを判断し、空白ブロックであれば第1図の画像メ
モリ書込み制御部42がそこに空白データを生成して印
刷部5oに向けて出力し、有効ブロック62であれば画
像メモリ30からその有効ブロックに対応するデータを
読出して印刷部50に出力するようにする。
In this way, after writing the print data to the image memory 30, in order to obtain the print outputs ■ and ■ shown on the right side of FIG. 9, it is necessary to write the first block (coordinates ( 0, 0)) is a blank block 62'', and if it is a blank block, the image memory write control unit 42 of FIG. 1 generates blank data there and directs it to the printing unit 5o. If it is a valid block 62, the data corresponding to the valid block is read from the image memory 30 and output to the printing unit 50.

これにより、仮想ベージ■と■に対応する印刷出力■と
印刷出力■を再現することができる。
As a result, it is possible to reproduce the print outputs ■ and print outputs ■ corresponding to the virtual pages ■ and ■.

又、これにより仮想ベージ■の印刷出力■を印刷中に、
仮想ベージ■の印刷用データの画像メモリ30への書込
みを並行して行なうことができ、処理の高速化を図るこ
とができる。
Also, while printing the virtual page ■ print output ■,
The printing data of the virtual page (2) can be written to the image memory 30 in parallel, and the processing speed can be increased.

〈各ブロックの構成〉 再び第1図に戻って、このような本発明の装置の具体的
な構成を説明する。
<Configuration of Each Block> Returning to FIG. 1 again, the specific configuration of the apparatus of the present invention will be described.

第1図において、印刷用データ60は、その仮想ベージ
61について見た場合、多数のブロック62に分割され
て構成されている。
In FIG. 1, printing data 60 is divided into a large number of blocks 62 when viewed from a virtual page 61. As shown in FIG.

書込み動作を行なう場合そのデータは、1ワード(例え
ば8ビツト)単位で、データ判定部41と接続切換回路
45とに入力する。データ判定部41は、1ワ一ド分の
書込みデータが空白データか有効データかを判定する回
路である。即ち、データ判定部41に設けられた比較器
41bには、書込みデータと基準値41a(空白データ
のレベルに設定されたデータ)とが入力する。そして、
その判定結果がその都度画像メモリ書込み制御部に入力
する。
When performing a write operation, the data is input to the data determining section 41 and the connection switching circuit 45 in units of one word (for example, 8 bits). The data determining unit 41 is a circuit that determines whether one word of write data is blank data or valid data. That is, the write data and the reference value 41a (data set to the level of blank data) are input to the comparator 41b provided in the data determination section 41. and,
The determination result is input to the image memory write control section each time.

画像メモリ書込み制御部42は、画像メモリ30へのデ
ータの書込み等を制御するマイクロプロセッサ又はLS
I等から構成される回路である。この画像メモリ書込み
制御部42は、比較器41bの出力した判定結果を基に
、書込みデータが空白データの場合、そのデータの画像
メモリ30への書込みを阻止し、有効データの場合には
接続切換回路45を介して、画像メモリ30に入力する
書込みデータを所定のアドレスに書込むよう制御する。
The image memory write control unit 42 is a microprocessor or LS that controls writing of data to the image memory 30.
This circuit is composed of I, etc. Based on the determination result output from the comparator 41b, the image memory write control unit 42 blocks writing of the write data to the image memory 30 when the write data is blank data, and switches the connection when the write data is valid data. The write data input to the image memory 30 is controlled to be written to a predetermined address via the circuit 45.

従って、仮想ベージ61の1つのブロック62が、全て
空白データのみからなっている場合には、該当するブロ
ックについて、画像メモリには1度も書込みが行なわれ
ない、一方、1ワードでも有効データがあればその有効
データが画像メモリに書込まれ、以後その有効データを
含むブロックは有効ブロックとして扱われる。
Therefore, if one block 62 of the virtual page 61 consists entirely of blank data, the corresponding block will never be written to the image memory, whereas even one word of valid data will be written to the image memory. If so, that valid data is written to the image memory, and the block containing that valid data is thereafter treated as a valid block.

アドレス発生部43は、仮想ベージ61のデータを1ワ
ードずつ読出すために、そのワードアドレスを発生し画
像メモリ書込み制御部42と、アドレス判定部8oに出
力する回路である。
The address generation section 43 is a circuit that generates a word address to read data from the virtual page 61 word by word and outputs it to the image memory write control section 42 and the address determination section 8o.

仮想ベージの各ブロックのアドレスを仮想ブロックアド
レスと呼ぶとき、アドレス判定部80は、アドレス発生
部43が出力した仮想ベージ61の仮想ブロックアドレ
スを、その直前に出力した仮想ブロックアドレスと比較
し、両者が同一がどうかを判定する回路である。この仮
想ブロックアドレスは、上記ワードアドレスの上位ビッ
トで、1つのブロックを通じて共通な部分のアドレスに
該当する0例えば、仮想ベージ61のアドレス空間が2
4ビツトで表現され、lブロックが128X 128ビ
ツト構成で、1ワードが8ビツトとする。各ワードのブ
ロック内アドレスを下位側のビットに割付けた場合に、
ブロック内アト1/スには、11ビツトが必要となる。
When the address of each block of the virtual page is called a virtual block address, the address determination unit 80 compares the virtual block address of the virtual page 61 output by the address generation unit 43 with the virtual block address output immediately before, This is a circuit that determines whether the two are the same. This virtual block address is the upper bit of the word address, and corresponds to the address of a common part throughout one block.For example, the address space of the virtual page 61 is 2.
It is expressed in 4 bits, with an l block consisting of 128 x 128 bits, and 1 word having 8 bits. When the in-block address of each word is assigned to the lower bits,
Eleven bits are required for the intra-block address.

故に、全体での24ビツトのうち、上位側13ビツトが
ブロックを表現するブロックアドレスとなる。即ち、ア
ドレス判定部80に設けられた比較器80bには、アド
レス発生部43が発生している仮想ブロックアドレスと
、レジスタ80aにより蓄えられている直前に発生され
た仮想ブロックアドレスとが入力する。その判定結果は
、画像メモリ書込み制御部42に入力される。
Therefore, of the total 24 bits, the upper 13 bits become the block address representing the block. That is, the comparator 80b provided in the address determination section 80 receives the virtual block address generated by the address generation section 43 and the immediately preceding virtual block address stored in the register 80a. The determination result is input to the image memory write control section 42.

アドレス変換部44は、仮想ベージ61の仮想ブロック
アドレス順に、各ブロックが有効ブロックか空白ブロッ
クかを識別するマツピングフラグTと、各有効ブロック
を書込んだ画像メモリ30のブロックアドレスRMとを
対応付けるためのアドレス変換用メモリ44aを有して
いる。このアドレス変換用メモリ44aは、複数の仮想
ページの全ての仮想ブロック毎に、そのフラグ等を格納
できる容量を備えている。又、この他にアドレス変換部
44は、画像メモリ30のブロックアドレス順に、その
ブロックアドレスにはどの仮想ページの有効ブロックが
書込まれているかを識別するページ識別フラグP+−P
xを格納するための、空きブロック指示用メモリ44b
を備えている。
The address conversion unit 44 associates a mapping flag T that identifies whether each block is a valid block or a blank block in the order of the virtual block addresses of the virtual page 61 with a block address RM of the image memory 30 into which each valid block is written. It has an address conversion memory 44a for. The address translation memory 44a has a capacity capable of storing flags and the like for all virtual blocks of a plurality of virtual pages. In addition to this, the address conversion unit 44 sets a page identification flag P+-P for identifying which virtual page's effective block is written in the block address in the order of the block addresses of the image memory 30.
Free block instruction memory 44b for storing x
It is equipped with

画像メモリ書込み制御部42は、前記アドレス判定部8
0の判定結果をもとに、今、書込もうとしているデータ
の仮想ブロックアドレスが、直前に書込んだデータの仮
想ブロックアドレスと同一の場合には、図示しないレジ
スタに記憶しである既にアドレス変換部44を参照して
変換済のアドレスを使用する。ブロックアドレスを除い
た下位ビットは、変換の必要がないからそのまま使用す
る。また、直前に書込んだデータの仮想ブロックアドレ
スと異なる場合には、アドレス変換部44を参照しなが
ら、画像メモリ3oに第9図において示した要領で、各
仮想ページのデータを書込む。また、印刷の場合には、
そのデータを接続切換回路45を介して印刷部50に向
けて読出すよう構成されている。
The image memory write control section 42 includes the address determination section 8
Based on the judgment result of 0, if the virtual block address of the data to be written now is the same as the virtual block address of the data written immediately before, the address already stored in a register (not shown) is The converted address is used with reference to the conversion unit 44. The lower bits except for the block address do not need to be converted, so they are used as they are. Further, if the virtual block address is different from the virtual block address of the data written immediately before, the data of each virtual page is written into the image memory 3o in the manner shown in FIG. 9 while referring to the address conversion unit 44. Also, in the case of printing,
The data is read out to the printing unit 50 via the connection switching circuit 45.

印刷部5oは、第5図で説明したと同様の機構のプリン
トエンジンである。
The printing unit 5o is a print engine having the same mechanism as that described in FIG.

く装置の動作〉 以上の構成の本発明の印刷装置は次のように動作する。Operation of the device> The printing apparatus of the present invention having the above configuration operates as follows.

先ず、アドレス発生部43から仮想ページのワードアド
レスが発生されると、画像メモリ書込み制御部42は、
このワードアドレスのデータを仮想ページ61からワー
ド単位(例えば8ビット単位)で読出す。次に、データ
判定部41において得られた判定結果に基づき、その1
ワードのデータが空白データの場合には画像メモリ30
への書込みを行なわず、有効データの場合には画像メモ
リ30への書込みを行なう、このとき、アドレス発生部
43から確定したワードアドレスが発生し、確定した書
込みデータがデータ判定部41に入力していることを示
すストローブ信号が、アドレス発生部43から出力され
る。これを受けて、画像メモリ書込み制御部42はデー
タのアクセス処理終了の都度、次のワードアドレス及び
書込みデータを受入れることが可能となったことを示す
アクノリッジ信号をアドレス発生部43に出力する。デ
ータ判定部41が、有効データの判定をしているとき、
アドレス判定部80は、直前にアクセスしたデータの仮
想ブロックアドレスと、今回アクセスしているデータの
仮想ブロックアドレスとが同一であるか、異なるかを判
定する。
First, when a word address of a virtual page is generated from the address generation section 43, the image memory write control section 42
Data at this word address is read from the virtual page 61 in word units (for example, in 8-bit units). Next, based on the determination result obtained in the data determination section 41,
If the word data is blank data, the image memory 30
If the data is valid, it is written to the image memory 30. At this time, a fixed word address is generated from the address generation section 43, and the fixed write data is input to the data determination section 41. A strobe signal indicating that the address is being read is output from the address generating section 43. In response to this, the image memory write control unit 42 outputs an acknowledge signal to the address generation unit 43 each time the data access process is completed, indicating that the next word address and write data can be accepted. When the data determining unit 41 is determining valid data,
The address determination unit 80 determines whether the virtual block address of the data accessed immediately before and the virtual block address of the data currently accessed are the same or different.

読出されたデータが有効データであるという判定結果が
、データ判定部41から画像メモリ書込み制御部42に
入力され、かつ、アドレス発生部43の発生した仮想ブ
ロックアドレスが、直前に発生した仮想ブロックアドレ
スと異なるという判定結果が、画像メモリ書込み制御部
42に入力されると、画像メモリ書込み制御部42は、
アドレス変換部44のアドレス変換用メモリ44aを参
照する。
A determination result that the read data is valid data is input from the data determination unit 41 to the image memory write control unit 42, and the virtual block address generated by the address generation unit 43 is the virtual block address generated immediately before. When the determination result that the image memory write control unit 42 is different from the above is input to the image memory write control unit 42, the image memory write control unit 42
The address translation memory 44a of the address translation unit 44 is referred to.

また、読出されたデータが有効データであるという判定
結果が、データ判定部41から画像メモリ書込み制御部
42に入力され、かつ、アドレス発生部43の発生した
仮想ブロックアドレスが、直前に発生した仮想ブロック
アドレスと同一であるという判定結果が、画像メモリ書
込み制御部42に入力されると、画像メモリ書込み制御
部42は、アドレス変換部44のアドレス変換用メモリ
44aを参照せずに、既に1つ前のアクセスの際にアド
レス変換部44のアドレス変換用メモリ44aを参照し
て得られて、図示しない1/ジスタに記憶していた変換
済のブロックアドレスを使用する。
Further, the determination result that the read data is valid data is input from the data determination unit 41 to the image memory write control unit 42, and the virtual block address generated by the address generation unit 43 is the virtual block address generated immediately before. When the determination result that the block address is the same as the block address is input to the image memory write control unit 42, the image memory write control unit 42 does not refer to the address conversion memory 44a of the address conversion unit 44, and instead of referring to the address conversion memory 44a of the address conversion unit 44, the image memory write control unit 42 The converted block address obtained by referring to the address conversion memory 44a of the address conversion unit 44 during the previous access and stored in the 1/register (not shown) is used.

くアドレス変換部〉 第1O図に、アドレス変換部の詳細な動作説明図を示す
Address Conversion Unit> FIG. 1O shows a detailed operation explanatory diagram of the address conversion unit.

このアドレス変換用メモリ44aには、今、読出された
データを含むブロックが、空白ブロックが有効ブロック
かを示すマツピングフラグTと、そのブロックを書込む
画像メモリ30のブロックアドレスRMとが格納されて
いる。空白ブロックについても有効ブロックについても
、そのブロックを構成する最初の1ワ一ド分のデータを
画像メモリ30に格納する場合、マツピングフラグは初
期値ゼロであり、画像メモリ30のブロックアドレスR
Mも未定である。先に説明したように、何れのブロック
も1ワードずつ書込みを行なっていくが、有効データが
データ判定部41に入力した時点で、マツピングフラグ
を1にする。アドレス変換部44の画像メモリ30のブ
ロックアドレスRMには、その時点で画像メモリ30の
所定のブロックアドレスを書込み、次いでそのlワード
分のデータを画像メモリ30のそのブロックアドレスに
書込む。
This address conversion memory 44a stores a mapping flag T indicating whether the block containing the currently read data is a blank block or a valid block, and the block address RM of the image memory 30 into which the block is written. ing. When storing the first word of data constituting the blank block or valid block in the image memory 30, the mapping flag has an initial value of zero, and the block address R of the image memory 30
M is also undecided. As described above, each block is written one word at a time, and when valid data is input to the data determination section 41, the mapping flag is set to 1. At that point, a predetermined block address of the image memory 30 is written into the block address RM of the image memory 30 of the address conversion section 44, and then data corresponding to that one word is written into the block address of the image memory 30.

その1ワ一ド分のデータに続く同一仮想ブロックに含ま
れるデータは、何れも同一の仮想ブロックアドレスとな
る。従って、アドレス判定部80の出力に基づき、画像
メモリ書込み制御部42は、レジスタに保持した画像メ
モリのブロックアドレスにワードアドレスの下位ビット
を付加して画像メモリへの書込み制御を行なう。
All data included in the same virtual block following the one word of data have the same virtual block address. Therefore, based on the output of the address determination section 80, the image memory write control section 42 adds the lower bits of the word address to the block address of the image memory held in the register, and performs write control to the image memory.

一方、画像メモリ30の所定のブロックアドレスに、仮
想ページ61の所定の有効ブロックに含まれる有効デー
タが書込まれると、アドレス変換部44の空きブロック
指示用メモリ44bには、その画像メモリ30の各ブロ
ックアドレス毎に、どの仮想ページのデータが格納され
たかを識別するために、ページ識別フラグが書込まれる
。このページ識別フラグは、マツピングフラグと同様に
、マツピングされていれば11マツピングされていなけ
ればゼロ、という内容のものである。
On the other hand, when valid data included in a predetermined valid block of the virtual page 61 is written to a predetermined block address of the image memory 30, the free block designation memory 44b of the address conversion unit 44 stores the address of the image memory 30. A page identification flag is written for each block address to identify which virtual page's data is stored. Similar to the mapping flag, this page identification flag has a content of 11 if the page is mapped, and 0 if the page is not mapped.

従って、画像メモリ30の各ブロックアドレスについて
、ページ識別フラグが全てゼロの場合には、なにもマツ
ピングされていないブロックであることが分り、何れか
のページ識別フラグが1であれば既にマツピングされた
ブロックであることが分る。新たに有効ブロックを書込
むブロックアドレスを定める場合、この空きブロック指
示用メモリ44bを参照する。
Therefore, for each block address in the image memory 30, if the page identification flags are all zero, it is known that the block has not been mapped, and if any page identification flag is 1, the block has already been mapped. It can be seen that the block is When determining a block address for writing a new valid block, reference is made to this empty block designation memory 44b.

このようにして、第1図のアドレス発生部43が1ペー
ジ分のアドレスを画像メモリ書込み制御部42に供給す
ると、1ページ分の仮想ページの画像メモリ30へのデ
ータ書込みが完了する。そして、続いて次の仮想ページ
のデータの書込みが行なわれる。
In this way, when the address generation section 43 in FIG. 1 supplies one page's worth of addresses to the image memory write control section 42, data writing of one page's worth of virtual pages to the image memory 30 is completed. Then, data for the next virtual page is written.

くデータ書込み動作〉 ここで、データの書込み動作について、より具体的に説
明を行なう。
Data Write Operation> Here, the data write operation will be explained in more detail.

先ず、1つのブロックの最初の1ワ一ド分のデータを書
込もうとすると、そのワードアドレスがアドレス発生部
43から出力される。このワードアドレスの上位ビット
は仮想ブロックアドレスを構成し、下位ビットはブロッ
ク内アドレスを構成する。
First, when an attempt is made to write data for the first word of one block, the address generator 43 outputs the word address. The upper bits of this word address constitute a virtual block address, and the lower bits constitute an intra-block address.

その1ワードが、データ判定部41において空白データ
と判定されると、このブロックが空白ブロックであろう
と有効ブロックであろうと、画像メモリ30への書込み
は行なわれない。そして、次の1ワ一ド分のデータをア
クセスすると、仮想ブロックアドレスはそのままで、ブ
ロック内アドレスがインクリメントされる。
When the one word is determined to be blank data by the data determining section 41, writing to the image memory 30 is not performed regardless of whether this block is a blank block or a valid block. Then, when the next one word of data is accessed, the intra-block address is incremented while the virtual block address remains unchanged.

この1ワ一ド分のデータが再び空白データであれば、先
程と同様に、画像メモリ30への書込みは行なわれない
、そして、何ワードかアクセスされた後、今度は有効デ
ータがアクセスされたとする。データ判定部41は、有
効データであるという判定結果を、画像メモリ書込み制
御部42に向けて出力する。
If this data for one word is again blank data, writing to the image memory 30 is not performed as before, and after some words have been accessed, valid data is accessed this time. do. The data determination section 41 outputs a determination result that the data is valid data to the image memory write control section 42 .

ここで、始めてアドレス変換部44において、該当する
仮想ブロックアドレスのマツピングフラグがOから1に
書き換えられる。そして、画像メモリ30のそのデータ
を書込むべきブロックアドレスが決定される。これが、
アドレス変換用メモリ44aに書込まれる。このアドレ
ス変換により得られた画像メモリ30のブロックアドレ
スが、先に説明したように、画像メモリ書込み制御部4
2内のレジスタ等に保存される。
Here, for the first time, the mapping flag of the corresponding virtual block address is rewritten from 0 to 1 in the address conversion unit 44. Then, a block address in the image memory 30 to which the data is to be written is determined. This is,
It is written into the address conversion memory 44a. As explained earlier, the block address of the image memory 30 obtained by this address conversion is stored in the image memory write control unit 4.
It is saved in a register etc. within 2.

尚、こうして画像メモリのブロックアドレスが決定され
た後、ワードアドレス中のブロック内アドレスに相当す
る下位ビットが、画像メモリ30のブロックアドレスに
付加されて、画像メモリ30への1ワ一ド分の有効デー
タの書込みに使用される。
After the block address of the image memory is determined in this way, the lower bits corresponding to the intra-block address in the word address are added to the block address of the image memory 30, and one word worth of information is transferred to the image memory 30. Used to write valid data.

仮想ページ61のブロックから次のデータが読出された
場合、これが有効データであれば、その仮想ブロックア
ドレスを直前の仮想ブロックアドレスと比較する0両者
が一致した場合には、画像メモリ書込み制御部42に保
存された画像メモリのブロックアドレスをそのまま使用
し、これに上記ブロック内アドレスを付加して、画像メ
モリに有効データを書込む。
When the next data is read from the block of the virtual page 61, if it is valid data, the virtual block address is compared with the previous virtual block address.0 If the two match, the image memory write control unit 42 The block address of the image memory stored in the image memory is used as it is, the address within the block is added thereto, and valid data is written into the image memory.

その後、例えば、再び空白データがデータ判定部41に
入力した場合、やはり書込みは行なわない。尚、書込み
を行なわない場合には、画像メモリ3oの対応するアド
レスのデータは、初期状態、即ち、空白データと同一内
容のデータとなっている。
After that, for example, if blank data is input to the data determination unit 41 again, no writing is performed. Note that when writing is not performed, the data at the corresponding address in the image memory 3o is in the initial state, that is, data having the same content as blank data.

こうして、1つのブロックの最後の1ワ一ド分のデータ
が読出されるまで、画像メモリ書込み制御部42に保存
された画像メモリのブロックアドレスが使用される。即
ち、1つのブロックについては、アドレス変換用メモリ
44aの参照は1回だけで済むことになる。
In this way, the block address of the image memory stored in the image memory write control section 42 is used until the last word of data of one block is read out. That is, for one block, the address translation memory 44a only needs to be referenced once.

尚、アドレス発生部43が発生させるアドレスは順序が
規定されることはなく、シーケンシャルであっても、ラ
ンダムであっても問題はない。また、発生させるアドレ
スは、仮想ページの1ベ一ジ分全てでも、部分的でも問
題はない。
Note that the order of the addresses generated by the address generator 43 is not defined, and there is no problem whether they are sequential or random. Furthermore, there is no problem whether the address to be generated can be all or part of one page of the virtual page.

〈データ読出し動作〉 これらの書込みと並行して、既に書込まれたベージの印
刷を実行することができる。この場合には、先ず、第1
図のアドレス発生部43が仮想ページ61のラスタ一方
向順にワードアドレスを発生させる0画像メモリ書込み
制御部42は、このワードアドレスの上位ビットである
仮想ブロックアドレスを基に、アドレス変換部44のア
ドレス変換用メモリ44 a l!!、参照する。
<Data read operation> In parallel with these writes, printing of the already written page can be executed. In this case, first,
The address generation unit 43 shown in the figure generates word addresses in raster unidirectional order of the virtual page 61.The zero image memory write control unit 42 generates the address of the address conversion unit 44 based on the virtual block address, which is the upper bit of this word address. Conversion memory 44 a l! ! ,refer.

ここで、その仮想ブロックアドレスに対応するマツピン
グフラグTが1であれば、それに対応する画像メモリ3
0のブロックアドレスRMを参照して、画像メモリ30
からその有効ブロックに含まれる全てのデータを読出し
、接続切換回路45を介して印刷部50に印刷用データ
を出力する。
Here, if the mapping flag T corresponding to the virtual block address is 1, the corresponding image memory 3
Referring to the block address RM of 0, the image memory 30
All data included in the effective block is read out from the block, and print data is output to the printing section 50 via the connection switching circuit 45.

又、アドレス変換用メモリ44aを参照し、そのマツピ
ングフラグTがゼロである場合には、画像メモリ書込み
制御部42が自らその1ブロック分の空白データを生成
し、これを接続切換回路45を介して印刷部50に出力
する。
Also, referring to the address conversion memory 44a, if the mapping flag T is zero, the image memory write control unit 42 generates blank data for that one block by itself, and sends this to the connection switching circuit 45. It is output to the printing unit 50 via the printer.

尚、アドレス発生部43が発生させた仮想ブロックアド
レスに対して、アドレス判定部8oが、直前にアクセス
した仮想ブロックアドレスと比較判定し、書込みのとき
と同様に、画像メモリ書込み制御部42による不要なア
ドレス変換の繰返しを防ぐ。
Note that the address determination unit 8o compares and determines the virtual block address generated by the address generation unit 43 with the virtual block address accessed immediately before, and similarly to writing, the image memory write control unit 42 determines whether the virtual block address is unnecessary or not. This prevents repeated address translations.

このような動作を、lブロック単位で順に実行すれば、
第9図に示したように、仮想ベージ61上のイメージを
印刷出力として再生することができる。読出しが完了す
ると、その仮想ページのマツピングフラグTと、ページ
識別フラグは全てゼロクリアされ、次の仮想ページの書
込みを可能にする。
If we perform this operation sequentially in units of l blocks, we get
As shown in FIG. 9, the image on the virtual page 61 can be reproduced as a printout. When the reading is completed, the mapping flag T and page identification flag of that virtual page are all cleared to zero, making it possible to write the next virtual page.

く変形例〉 本発明は以上の実施例に限定されない。Variant example The present invention is not limited to the above embodiments.

アドレス変換部44には、上記のように有効ブロックの
仮想ベージ6エ中での仮想ブロックアドレスと、有効ブ
ロックを書込んだ画像メモリ30のブロックアドレスと
を対応付け、更に、仮想ページ中で有効ブロックと空白
ブロックとを識別するマツピングフラグを設け、又、画
像メモリに書込まれた有効ブロックの属する仮想ページ
を識別するページ識別フラグを設ければよい。
As described above, the address conversion unit 44 associates the virtual block address in the virtual page 6 of the valid block with the block address of the image memory 30 in which the valid block is written, and also A mapping flag for identifying blocks and blank blocks may be provided, and a page identification flag may be provided for identifying a virtual page to which a valid block written in the image memory belongs.

従って、第1図に示したように、アドレス変換用メモリ
44aと空きブロック指示用メモリ44bとを、必ずし
も別々に設ける必要はない。
Therefore, as shown in FIG. 1, it is not necessarily necessary to separately provide the address conversion memory 44a and the free block instruction memory 44b.

第1図には、アドレス変換部の変形例を示す。FIG. 1 shows a modification of the address translation section.

このアドレス変換部は、仮想ブロックアドレスに対応し
て、ページ識別フラグPI 、 P2Ps、Pa と、
マツピングフラグTと、画像メモリブロックアドレスR
Mとをテーブル化して格納するようにしている。
This address translation unit sets page identification flags PI, P2Ps, Pa in correspondence with the virtual block address.
Mapping flag T and image memory block address R
M and are stored in a table.

ここでは、例えば画像メモリに4ページ分(通常の画像
の場合、多くて4ページ程度が限度だから)の仮想ペー
ジが格納されるものとして、アドレス変換部を構成して
いる。即ち、ページ識別フラグはP1〜P4までの4ビ
ツト、これにマツピングフラグTを1ビツトと残り11
ビツトのブロックアドレスRMが用意されている。
Here, the address conversion section is constructed on the assumption that, for example, four virtual pages (for normal images, the limit is about four pages at most) are stored in the image memory. That is, the page identification flag is 4 bits P1 to P4, the mapping flag T is 1 bit, and the remaining 11 bits.
A bit block address RM is prepared.

このようなテーブルをアドレス変換部44のメモリに格
納しておけば、第1図において説明した処理が実行され
る。
If such a table is stored in the memory of the address translation section 44, the processing explained in FIG. 1 will be executed.

このようにテーブルデータを1つにまとめると、コント
ロール信号の簡素化を図り、又、メモリ容量も少量化で
きるので、この回路の高集積化(LSI化)も可能にな
る。又、マツピングフラグTをコード化すれば、4ペー
ジ分のマツピングフラグを2ビツトで表示することもで
きる。
By combining the table data into one in this way, the control signals can be simplified and the memory capacity can also be reduced, making it possible to highly integrate this circuit (LSI). Furthermore, if the mapping flag T is encoded, the mapping flags for four pages can be displayed in 2 bits.

又、仮想ページの内容が更に簡単な場合には、より多く
の仮想ページの書込みが1ページ分の画像メモリ30に
対して可能となる。
Furthermore, if the content of the virtual page is simpler, more virtual pages can be written to one page of the image memory 30.

第12図は、このように多数の仮想ページを書込む場合
のアドレス変換部の変形例を示す。
FIG. 12 shows a modification of the address translation unit when writing a large number of virtual pages in this way.

アドレス変換部のデータ幅は、第1図のものと同様16
ビツトとし、ここではページ識別フラグP、〜Pxを必
要なビット数取り、その次にマツピングフラグTを1ビ
ット取って、ブロックアドレスRMを2つに分割し、次
の16ビツトのデータを含めて1つのブロックアドレス
を表示するようにしている。この場合、仮想ブロックア
ドレスは1つおきに設定されることはいうまでもない。
The data width of the address conversion section is 16, which is the same as that in Figure 1.
Here, take the necessary number of bits for the page identification flags P and ~Px, then take 1 bit from the mapping flag T, divide the block address RM into two, and include the next 16 bits of data. 1 block address is displayed. In this case, it goes without saying that virtual block addresses are set every other block.

このような方法によって、アドレス変換部44自体の構
成を簡単にし、画像メモリ書込み制御部42の動作を簡
潔にすることができる。
By such a method, the configuration of the address conversion section 44 itself can be simplified, and the operation of the image memory write control section 42 can be simplified.

また、本発明は、印刷部の構成は電子写真のみならず、
サーマルプリンタ方式、ワイヤドツト方式等何れの方式
のものに適用してもよい。又、印刷制御部は、同様の機
能を持つ種々の回路に置換えて差し支えない。
In addition, the present invention provides that the configuration of the printing section is not limited to electrophotography.
The present invention may be applied to any method such as a thermal printer method or a wire dot method. Further, the print control section may be replaced with various circuits having similar functions.

(発明の効果) 以上説明した本発明の印刷装置によれば、比較的小容量
の例えば1ページ分程度の画像メモリを使用して、2ペ
ージ分以上の印刷用データを格納し、効率よくアドレス
変換を完了し、待ち時間等を挟まず高速で印刷処理が可
能になる。又、メモリ容量の減少により印刷装置の低価
格化を実現することができる。
(Effects of the Invention) According to the printing apparatus of the present invention as described above, printing data for two or more pages can be stored using a relatively small capacity image memory, for example, for one page, and address can be efficiently addressed. Once the conversion is completed, printing can be performed at high speed without any waiting time. Furthermore, the cost of the printing device can be reduced by reducing the memory capacity.

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

第1図は本発明の印刷装置の実施例を示すブロック図、
第2図は従来の印刷装置のブロック図、第3図は従来の
画像メモリからの印刷出力の読出し制御を説明する概念
図、第4図は従来の画像メモリからの印刷出力の読出し
動作の具体例を説明する説明図、第5図はそのプリント
エンジンの動作説明図、第6図は従来の画像メモリの書
込み読出しタイミングを説明するタイムチャート、第7
図は従来の画像メモリの書込み動作を説明するタイムチ
ャート、第8図は望ましい画像メモリの書込み動作を説
明するタイムチャート、第9図は本発明の印刷装置の動
作原理を説明する説明図、第10図は本発明の装置のア
ドレス変換部の詳細な動作説明図、第11図及び第12
図は本発明のアドレス変換部の変形例を示す説明図であ
る。 30・・・画像メモリ、4o・・・印刷制御部、41・
・・データ判定部、 42・・・画像メモリ書込み制御部、 43・・・アドレス発生部、 44・・・アドレス変換部、 44a・・・アドレス変換用メモリ、 44b・・・空きブロック指示用メモリ、45・・・接
続切換回路、50・・・印刷部、60・・・印刷用デー
タ、8o・・・アドレス判定部、80a・・・レジスタ
、8ob・・・比較器、61・・・仮想ページ、62・
・・ブロック、T・・・マツピングフラグ、 RM・・・画像メモリブロックアドレス、Pt、Pa・
・P×・・・ページ識別フラグ。 特許出願人 沖電気工業株式会社
FIG. 1 is a block diagram showing an embodiment of the printing apparatus of the present invention;
FIG. 2 is a block diagram of a conventional printing device, FIG. 3 is a conceptual diagram illustrating control of reading print output from a conventional image memory, and FIG. 4 is a specific example of the operation of reading print output from a conventional image memory. An explanatory diagram explaining an example, FIG. 5 is an explanatory diagram of the operation of the print engine, FIG. 6 is a time chart explaining the writing/reading timing of the conventional image memory, and FIG.
8 is a time chart illustrating a write operation of a conventional image memory, FIG. 8 is a time chart illustrating a desirable write operation of an image memory, and FIG. FIG. 10 is a detailed operational explanatory diagram of the address translation section of the device of the present invention, and FIGS. 11 and 12.
The figure is an explanatory diagram showing a modification of the address translation section of the present invention. 30... Image memory, 4o... Print control unit, 41.
...Data determination unit, 42...Image memory write control unit, 43...Address generation unit, 44...Address conversion unit, 44a...Memory for address conversion, 44b...Memory for empty block instruction , 45... Connection switching circuit, 50... Printing section, 60... Printing data, 8o... Address determination section, 80a... Register, 8ob... Comparator, 61... Virtual Page, 62・
...Block, T...Mapping flag, RM...Image memory block address, Pt, Pa...
-Px...Page identification flag. Patent applicant Oki Electric Industry Co., Ltd.

Claims (1)

【特許請求の範囲】 印刷用データを格納する画像メモリと、 この画像メモリに印刷用データを書込む印刷制御部と、 前記画像メモリから印刷用データを読出しながら印刷を
行なう印刷部とを有し、 前記印刷制御部は、 印刷出力に対応させて仮想的に設定された1ページ分の
画像から成る仮想ページを、複数のブロックに分割し、
前記仮想ページの各ブロックに含まれるたデータが、空
白データか有効データかを判定するデータ判定部と、 前記仮想ページ中の各ブロックのアドレスを仮想ブロッ
クアドレスと呼ぶとき、アクセスしたデータの仮想ブロ
ックアドレスが、その直前にアクセスしたデータの仮想
ブロックアドレスと同一か異なるかを判定するアドレス
判定部と、 前記データ判定部の判定結果に基づいて、前記有効デー
タのみを選択して、前記画像メモリにデータの書込みを
行なう画像メモリ書込み制御部と、 前記有効データの書込みがあった仮想ブロックアドレス
と、前記有効データを書込んだ前記画像メモリのブロッ
クアドレスとを対応付け、かつ、前記仮想ページ中で、
前記有効データを含む有効ブロックと、前記空白データ
のみから成る空白ブロックとを識別するマッピングフラ
グと、前記画像メモリに書込まれた有効ブロックの属す
る仮想ページを識別するページ識別フラグとを格納した
アドレス変換部を設け、 前記画像メモリ書込み制御部は、 前記データをアクセスする場合、前記アドレス判定部の
判定結果に基づき、 もし直前にアクセスしたデータの仮想ブロックアドレス
が具なる場合には、前記アドレス変換部を参照してアド
レス変換を行ない、 もし、直前にアクセスしたデータの仮想ブロックアドレ
スが同一であるならば、前記直前のデータのアクセス時
のアドレス変換結果を使用することを特徴とする印刷装
置。
[Scope of Claims] An image memory that stores print data, a print control unit that writes print data into the image memory, and a print unit that performs printing while reading print data from the image memory. , the print control unit divides a virtual page consisting of one page of images virtually set in correspondence with print output into a plurality of blocks;
a data determination unit that determines whether data included in each block of the virtual page is blank data or valid data; and when the address of each block in the virtual page is called a virtual block address, a virtual block of accessed data; an address determining unit that determines whether the address is the same as or different from a virtual block address of data accessed immediately before; and an address determining unit that determines whether the address is the same as or different from a virtual block address of data accessed immediately before; and based on the determination result of the data determining unit, only the valid data is selected and stored in the image memory. an image memory write control unit that writes data; associates the virtual block address to which the valid data has been written with the block address of the image memory to which the valid data has been written; and ,
an address storing a mapping flag that identifies the valid block containing the valid data and the blank block consisting only of the blank data; and a page identification flag that identifies the virtual page to which the valid block written in the image memory belongs. a converter is provided, and when accessing the data, the image memory write control unit converts the address based on the judgment result of the address judgment unit if the virtual block address of the data accessed immediately before is included. 1. A printing device, characterized in that the printing device performs address translation by referring to the previous data, and if the virtual block address of the data accessed immediately before is the same, the address translation result at the time of accessing the data immediately before is used.
JP1087861A 1989-04-10 1989-04-10 Printer Expired - Lifetime JPH0790652B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1087861A JPH0790652B2 (en) 1989-04-10 1989-04-10 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1087861A JPH0790652B2 (en) 1989-04-10 1989-04-10 Printer

Publications (2)

Publication Number Publication Date
JPH02266965A true JPH02266965A (en) 1990-10-31
JPH0790652B2 JPH0790652B2 (en) 1995-10-04

Family

ID=13926668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1087861A Expired - Lifetime JPH0790652B2 (en) 1989-04-10 1989-04-10 Printer

Country Status (1)

Country Link
JP (1) JPH0790652B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05261981A (en) * 1992-03-17 1993-10-12 Fujitsu Ltd Printer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05261981A (en) * 1992-03-17 1993-10-12 Fujitsu Ltd Printer device

Also Published As

Publication number Publication date
JPH0790652B2 (en) 1995-10-04

Similar Documents

Publication Publication Date Title
US5136688A (en) Print data processing apparatus for an image forming apparatus
EP0458612B1 (en) Printing apparatus
US5237645A (en) Printing apparatus
NO309078B1 (en) Method and device for printing in accordance with an infographic language
JP2000181643A (en) Image forming apparatus and image forming method
EP0510931A2 (en) Output method and apparatus
JP2958229B2 (en) Printing apparatus and control method thereof
JPH02266965A (en) Printer
JPH023351A (en) Printer
JPH07168681A (en) PDL data processing device, control method thereof, and pattern development device
JPS6035687B2 (en) Print data control device
JP2575227B2 (en) Printing equipment
JPH01228263A (en) Printing device
JP2575208B2 (en) Printing equipment
EP0334102B1 (en) Printing apparatus
JPS59221069A (en) Memory control method
JPS6125165B2 (en)
JPH03114856A (en) Printer data management system
JPS60118928A (en) Visual display of data for input data set
JPH0286465A (en) printer device
JP4603731B2 (en) Image forming apparatus and image forming method
JP2872144B2 (en) Printing equipment
JP2004050606A (en) Image processing apparatus and image processing method
JP2908571B2 (en) Page printer
JPS60160264A (en) Control system of bit map memory

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 14