Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0790652B2 - Printer - Google Patents
[go: Go Back, main page]

JPH0790652B2 - Printer - Google Patents

Printer

Info

Publication number
JPH0790652B2
JPH0790652B2 JP1087861A JP8786189A JPH0790652B2 JP H0790652 B2 JPH0790652 B2 JP H0790652B2 JP 1087861 A JP1087861 A JP 1087861A JP 8786189 A JP8786189 A JP 8786189A JP H0790652 B2 JPH0790652 B2 JP H0790652B2
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.)
Expired - Lifetime
Application number
JP1087861A
Other languages
Japanese (ja)
Other versions
JPH02266965A (en
Inventor
昌登 長田
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)

Description

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

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

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

この装置は、上位制御装置1にインタフェース2を介し
て接続されたシステムバス3に対し、プロセッサ4、プ
ログラムメモリ5、ワーキングメモリ6、フォントメモ
リ7、画像メモリ8及びプリントエンジンインタフェー
ス9が接続された構成のものである。プリントエンジン
インタフェース9には、プリントエンジン10が接続され
ている。
In this apparatus, 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 controller 1 via an interface 2. It is a composition. A print engine 10 is connected to the print engine interface 9.

上位装置1は、印刷用データを作成するコンピュータや
ワードプロセッサ,画像読取装置等の装置である。イン
タフェース2は、いわゆるRS232Cインタフェースやパラ
レルインタフェース等から構成される既知の回路であ
る。プロセッサ4は、この印刷装置全体の制御を行なう
回路で、その実行用プログラムがプログラムメモリ5に
格納されている。ワーキングメモリ6は、インタフェー
ス2により送受信されたデータを記憶管理するためのメ
モリである。フォントメモリ7は、上位制御装置1から
送り込まれた文字キャラクタコードやその他のコード
を、印刷用のフォントデータに変換するメモリである。
The higher-level device 1 is a device such as a computer, a word processor, and an image reading device that creates print data. The interface 2 is a known circuit including a so-called RS232C interface and a parallel interface. 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 a memory that converts the character character code and other codes sent from the upper control device 1 into font data for printing.

又、画像メモリ8は、編集処理されイメージ化された印
刷用データを、例えば1ページ分格納するランダム・ア
クセス・メモリから構成される。プリントエンジン10
は、画像メモリ8に格納された印刷用データに基づい
て、印刷用の用紙に印刷を行なう装置で、用紙搬送系や
電子写真プロセス等を含む装置である。プリントエンジ
ンインタフェース9は、プロセッサ4の指示に従って画
像メモリ8から印刷用データ9aを読出してプリントエン
ジン10に転送し、あるいはプリントエンジン10から出力
されるプリントコントロール信号9bを受入れ、これをプ
ロセッサ4等に送信するインタフェース回路である。
The image memory 8 is composed of a random access memory for storing, for example, one page of print data which has been edited and imaged. Print engine 10
Is a device that prints on a printing sheet based on the printing data stored in the image memory 8, and is a device that includes a sheet conveying system, an electrophotographic process, and the like. The print engine interface 9 reads the print data 9a from the image memory 8 and transfers the print data 9a to the print engine 10 according to an instruction from the processor 4, or receives the print control signal 9b output from the print engine 10 and sends it to the processor 4 and the like. This is an interface circuit for transmitting.

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

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

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

図に示すように、画像メモリ8に対して読出しアドレス
8aが入力すると、画像メモリ8中の各ラスター,,
,…に対応するデータが順に読出され、これがその
順番に印刷されて(,,,…)印刷出力20を得
る。即ち、画像メモリ8から読出されたデータは、各ラ
スター毎にビットストリーム化して第2図のプリントエ
ンジン10に送り込まれ、その読出しと1対1に対応した
印刷動作が行なわれて印刷出力20が得られる。尚、通
常、画像メモリ8からのデータの読出しは、ビット単位
ではなくワード単位で行なわれる。
As shown in the figure, the read address for the image memory 8
When 8a is input, each raster in the image memory 8,
, Are sequentially read and printed in that order (,, ...) to obtain the print output 20. 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 in FIG. 2, and the print operation corresponding to the read is performed and the print output 20 is obtained. can get. Incidentally, the reading of data from the image memory 8 is usually performed in word units rather than in bit units.

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

図のように、画像メモリは、各ラスター,…毎にそ
れぞれ1ワード(例えば8ビット)単位で区切られてい
る。データは、このワード単位で順番に(1),
(2),(3)…というように読出され、その右側に示
したような印刷出力が得られる。
As shown in the figure, the image memory is divided in units of 1 word (for example, 8 bits) for each raster. The data is (1) in this word unit in order,
(2), (3) ... Are read, and the print output as shown on the right side is obtained.

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

(発明が解決しようとする課題) ところで、電子写真方式の印刷装置においては、外周に
感光体層を形成した感光ドラムを一定速度で回転させな
がら、その感光体上に印刷用データに対応する静電潜像
を形成していく。その静電潜像は、トナーを用いて現像
されて用紙上に転写され定着されるが、このような印刷
工程は連続した動作で行なわれ、中断することができな
い。従って、通常、画像メモリ8に印刷用データを完全
に編集し終ってから、用紙の搬送を開始し印刷工程を始
動するようにしている。
(Problems to be Solved by the Invention) In an electrophotographic printing apparatus, a photosensitive drum having a photosensitive layer formed on the outer periphery thereof is rotated at a constant speed, and a static image corresponding to printing data is printed on the photosensitive drum. An electric latent image is formed. The electrostatic latent image is developed with toner, transferred onto a sheet and fixed, but such a printing process is performed in a continuous operation and cannot be interrupted. Therefore, normally, after the print data is 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 operation explanatory diagram of a print engine that executes such a printing process.

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

搬送路14の前方には、感光ドラム15と、その外周に静電
潜像を書込む書込み装置16が配置されている。この書込
み装置16は、例えば発光ダイオードアレイあるいはレー
ザヘッド等から構成される。
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 in front of the transport path 14. The writing device 16 is composed of, for example, a light emitting diode array or a laser head.

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

このようなタイミングを制御するために、第2図の画像
メモリ8から書込み装置16へ印刷用データを転送するタ
イミングは、ホッピングローラ13aが用紙12をl1だけ搬
送し、あるいはホッピングローラ13bが用紙12をl1+l2
だけ搬送した後となる。
In order to control such timing, the timing for transferring the printing data from the image memory 8 to the writing device 16 in FIG. 2 is such that the hopping roller 13a conveys the paper 12 by l 1 or the hopping roller 13b moves the paper. 12 to l 1 + l 2
Only after being transported.

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

図のように、時刻t0に書込みを開始し、1ページ目の印
刷用データの画像メモリへの書込みが時刻t1に終了する
と、時刻t2で第5図のホッピングローラ13aあるいは13b
が用紙12の搬送を開始する。その後、時刻t3まで待機し
た後、その1ページ目の印刷用データの画像メモリから
の読出しが開始される。時刻t2〜t3までの間に、第5図
に示したトレー11a,11bから引き出された用紙12が、搬
送路14上の1点WPまで搬送される。そして、レジストロ
ーラ等によりタイミングを合わせて転写位置W0(第5
図)へ向けて搬送される。こうして第1ページ目の印刷
工程が進められる。
As shown in the figure, when writing is started at time t 0 and writing of the print data for the first page to the image memory is completed at time t 1 , at time t 2 , hopping roller 13a or 13b in FIG.
Starts feeding the paper 12. Then, after waiting until the time t 3, read from the image memory for printing data of the first page is started. Between times t 2 and t 3 , the paper 12 pulled out from the trays 11 a and 11 b shown in FIG. 5 is transported to one point W P on the transport path 14. Then, the transfer position W 0 (fifth
(Fig.). In this way, the printing process of the first page proceeds.

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

従って、処理の高速化のために、第1ページ目のデータ
の読出しが開始され、その読出しが終了する前に、2ペ
ージ目のデータの書込みが開始される。時刻t3から時刻
t3′までの時間は、1ページ目の読出しが開始されて、
2ページ目のデータを書込むための一定のメモリエリア
を確保するための時間である。通常、図のように、画像
メモリからのデータの読出し時間と画像メモリへの書込
み時間とを比較すると、書込みの場合にはライトマージ
ンのチェックや書込みアドレス計算,フォントメモリの
アクセス等の時間が必要となり、合計処理時間はやや長
めになる。
Therefore, in order to speed up the processing, the reading of the data of the first page is started, and the writing of the data of the second page is started before the reading is completed. From time t 3 to time
During the time until t 3 ′, the reading of the first page is started,
This is the time for securing a certain memory area for writing the data of the second page. Normally, comparing the data read time from the image memory and the write time to the image memory as shown in the figure, in the case of writing, it takes time to check the write margin, calculate the write address, access the font memory, etc. Therefore, the total processing time becomes a little longer.

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

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

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

この待ち時間は、即ち第6図に示した時刻t1〜t3′まで
の間の時間であり、用紙の搬送と画像メモリからの一定
量のデータの読出しを待つ時間である。従って、画像メ
モリのメモリ容量を1ページ分とした印刷装置において
は、この第7図で示したタイミングが最大効率のタイミ
ングであり、これ以上の高速化を図ることができなかっ
た。
This waiting time is the time between times t 1 and t 3 ′ shown in FIG. 6, and is the time to wait for the conveyance of the paper and the reading of a certain amount of data from the image memory. Therefore, in the 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 it is not possible to achieve higher speed.

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

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

この図に示すように、画像メモリの容量アップにより印
刷の高速化を図ることができる。ところが、画像メモリ
の容量アップは装置のコストを上昇させる原因となる。
特に、印刷画像の解像度が上がれば上がるほど大容量の
画像メモリが必要となり、1ページ分の容量の画像メモ
リを有する印刷装置と、2ページ分の容量の画像メモリ
を有する装置との価格差はますます大きくなる。
As shown in this figure, the printing speed can be increased by increasing the capacity of the image memory. However, increasing the capacity of the image memory causes the cost of the apparatus to increase.
In particular, as the resolution of a print image increases, a large-capacity image memory is required, and there is a price difference between a printing apparatus having an image memory having a capacity of one page and an apparatus having an image memory having a capacity of two pages. It gets bigger and bigger.

本発明は以上の点に着目してなされたもので、画像メモ
リの容量アップを伴わずに印刷の高速化を図った印刷装
置を提供することを目的とするものである。
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 apparatus that speeds up printing without increasing the capacity of the image memory.

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

(作用) 以上の装置は、例えば1ページ分の容量の画像メモリを
持つ場合であっても、印刷用データの内容によっては数
ページ分のデータの格納が可能である。
(Operation) Even if the above apparatus has an image memory having a capacity of one page, for example, it is possible to store data for several pages depending on the content of 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 a plurality of blocks. Of these blocks, blank blocks consisting only of blank data are excluded, and only valid blocks containing valid data are written to the image memory. For virtual pages with a lot of white space, this number of valid blocks is very small. Therefore, several pages of virtual pages can be stored in one page of image memory.

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

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

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

尚、画像メモリへの有効データの書込みや、画像メモリ
からの有効ブロックに含まれる有効データや空白データ
の読出しの際、アドレス判定部は、アドレス変換部を参
照する前に、現在アクセスしようとしているデータの仮
想ブロックアドレスと、直前にアクセスしたデータの仮
想ブロックアドレスを比較して、両者が同一かどうかを
判定する。
When writing valid data to the image memory or reading valid data or blank data included in a valid block from the image memory, the address determination unit is currently trying to access before referring to the address conversion unit. The virtual block address of the data is compared with the virtual block address of the data accessed immediately before to determine whether they are the same.

両者が異なる場合には、アドレス変換部を参照してアド
レス変換を実施する。また、両者が同一である場合に
は、アドレス変換を実施せず、既にアドレス変換済のア
ドレスを使用し、不要なアドレス変換を防ぐ。
If they are different, the address conversion is performed by referring to the address conversion unit. When the two are the same, the address translation is not performed, and the address that has already been translated is used to prevent unnecessary address translation.

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

(実施例) 〈装置の構成〉 以下、本発明を実施例によって具体的に説明する。(Embodiment) <Device Configuration> The present invention will be specifically described below with reference to embodiments.

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

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

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

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

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

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

これにより、仮想ページとに対応する印刷出力と
印刷出力を再現することができる。又、これにより仮
想ページの印刷出力を印刷中に、仮想ページの印
刷用データの画像メモリ30への書込みを並行して行なう
ことができ、処理の高速化を図ることができる。
As a result, the print output corresponding to the virtual page and the print output can be reproduced. Further, as a result, it is possible to write the print data of the virtual page into the image memory 30 in parallel while the print output of the virtual page is being printed, so that the processing speed can be increased.

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

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

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

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

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

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

仮想ページの各ブロックのアドレスを仮想ブロックアド
レスと呼ぶとき、アドレス判定部80は、アドレス発生部
43が出力した仮想ページ61の仮想ブロックアドレスを、
その直前に出力した仮想ブロックアドレスと比較し、両
者が同一がどうかを判定する回路である。この仮想ブロ
ックアドレスは、上記ワードアドレスの上位ビットで、
1つのブロックを通じて共通な部分のアドレスに該当す
る。例えば、仮想ページ61のアドレス空間が24ビットで
表現され、1ブロックが128×128ビット構成で、1ワー
ドが8ビットとする。各ワードのブロック内アドレスを
下位側のビットに割付けた場合に、ブロック内アドレス
には、11ビットが必要となる。故に、全体での24ビット
のうち、上位側13ビットがブロックを表現するブロック
アドレスとなる。即ち、アドレス判定部80に設けられた
比較器80bには、アドレス発生部43が発生している仮想
ブロックアドレスと、レジスタ80aにより蓄えられてい
る直前に発生された仮想ブロックアドレスとが入力す
る。その判定結果は、画像メモリ書込み制御部42に入力
される。
When the address of each block of the virtual page is called a virtual block address, the address determination unit 80 uses the address generation unit.
The virtual block address of virtual page 61 output by 43 is
This is a circuit that compares the virtual block address output immediately before that and determines whether they are the same. This virtual block address is the upper bit of the word address above,
It corresponds to an address of a common portion through one block. For example, it is assumed that the address space of the virtual page 61 is represented by 24 bits, one block has a structure of 128 × 128 bits, and one word has 8 bits. When the intra-block address of each word is assigned to the lower bits, the intra-block address requires 11 bits. Therefore, of the total 24 bits, the upper 13 bits are the block address that represents the block. That is, the virtual block address generated by the address generation unit 43 and the virtual block address generated immediately before stored in the register 80a are input to the comparator 80b provided in the address determination unit 80. The determination result is input to the image memory writing control unit 42.

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

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

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

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

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

読出されたデータが有効データであるという判定結果
が、データ判定部41から画像メモリ書込み制御部42に入
力され、かつ、アドレス発生部43の発生した仮想ブロッ
クアドレスが、直前に発生した仮想ブロックアドレスと
異なるという判定結果が、画像メモリ書込み制御部42に
入力されると、画像メモリ書込み制御部42は、アドレス
変換部44のアドレス変換用メモリ44aを参照する。
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 is different from is input to the image memory writing control unit 42, the image memory writing control unit 42 refers to the address conversion memory 44a of the address conversion unit 44.

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

〈アドレス変換部〉 第10図に、アドレス変換部の詳細な動作説明図を示す。<Address Translation Unit> FIG. 10 shows a detailed operation explanatory diagram of the address translation unit.

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

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

一方、画像メモリ30の所定のブロックアドレスに、仮想
ページ61の所定の有効ブロックに含まれる有効データが
書込まれると、アドレス変換部44の空きブロック指示用
メモリ44bには、その画像メモリ30の各ブロックアドレ
ス毎に、どの仮想ページのデータが格納されたかを識別
するために、ページ識別フラグが書込まれる。このペー
ジ識別フラグは、マッピングフラグと同様に、マッピン
グされていれば1、マッピングされていなければゼロ、
という内容のものである。従って、画像メモリ30の各ブ
ロックアドレスについて、ページ識別フラグが全てゼロ
の場合には、なにもマッピングされていないブロックで
あることが分り、何れかのページ識別フラグが1であれ
ば既にマッピングされたブロックであることが分る。新
たに有効ブロックを書込むブロックアドレスを定める場
合、この空きブロック指示用メモリ44bを参照する。
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 instruction memory 44b of the address conversion unit 44 stores the image memory 30 of the image memory 30. A page identification flag is written for each block address in order to identify which virtual page of data is stored. Like the mapping flag, this page identification flag is 1 if it is mapped, zero if it is not mapped,
That is the content. Therefore, for each block address of the image memory 30, when the page identification flags are all zero, it is known that no block is mapped, and if any of the page identification flags is 1, it is already mapped. It turns out that it is a block. When determining a block address to write a new valid block, the empty block designating memory 44b is referred to.

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

〈データ書込み動作〉 ここで、データの書込み動作について、より具体的に説
明を行なう。
<Data Writing Operation> Here, the data writing operation will be described more specifically.

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

その1ワードが、データ判定部41において空白データと
判定されると、このブロックが空白ブロックであろうと
有効ブロックであろうと、画像メモリ30への書込みは行
なわれない。そして、次の1ワード分のデータをアクセ
スすると、仮想ブロックアドレスはそのままで、ブロッ
ク内アドレスがインクリメントされる。
When one word is determined to be blank data by the data determination unit 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 data for one word is accessed, the virtual block address remains unchanged and the block address is incremented.

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

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

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

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

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

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

尚、アドレス発生部43が発生されるアドレスは順序が規
定されることはなく、シーケンシャルであっても、ラン
ダムであっても問題はない。また、発生させるアドレス
は、仮想ページの1ページ分全てでも、部分的でも問題
はない。
The addresses generated by the address generator 43 are not specified in order, and it does not matter whether they are sequential or random. In addition, the address to be generated may be the entire one page or a partial virtual page, and there is no problem.

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

ここで、その仮想ブロックアドレスに対応するマッピン
グフラグTが1であれば、それに対応する画像メモリ30
のブロックアドレスRMを参照して、画像メモリ30からそ
の有効ブロックに含まれる全てのデータを読出し、接続
切換回路45を介して印刷部50に印刷用データを出力す
る。又、アドレス変換用メモリ44aを参照し、そのマッ
ピングフラグTがゼロである場合には、画像メモリ書込
み制御部42が自らその1ブロック分の空白データを生成
し、これを接続切換回路45を介して印刷部50に出力す
る。
If the mapping flag T corresponding to the virtual block address is 1, the image memory 30 corresponding to the mapping flag T is 1.
All the data contained in the effective block are read from the image memory 30 by referring to the block address RM of, and the printing data is output to the printing unit 50 via the connection switching circuit 45. When the address conversion memory 44a is referred to and the mapping flag T is zero, the image memory write control unit 42 itself generates blank data for one block, and the blank data is generated via the connection switching circuit 45. And outputs it to the printing unit 50.

尚、アドレス発生部43が発生させた仮想ブロックアドレ
スに対して、アドレス判定部80が、直前にアクセスした
仮想ブロックアドレスと比較判定し、書込みのときと同
様に、画像メモリ書込み制御部42による不要なアドレス
変換の繰返しを防ぐ。
The address determining unit 80 compares the virtual block address generated by the address generating unit 43 with the virtual block address accessed immediately before, and the image memory write control unit 42 does not need to perform the same as when writing. Prevent repeated repeated address translations.

このような動作を、1ブロック単位で順に実行すれば、
第9図に示したように、仮想ページ61上のイメージを印
刷出力として再生することができる。読出しが完了する
と、その仮想ページのマッピングフラグTと、ページ識
別フラグは全てゼロクリアされ、次の仮想ページの書込
みを可能にする。
If such operations are sequentially executed in block units,
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 the page identification flag of the virtual page are all cleared to zero to enable writing of the next virtual page.

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

アドレス変換部44には、上記のように有効ブロックの仮
想ページ61中での仮想ブロックアドレスと、有効ブロッ
クを書込んだ画像メモリ30のブロックアドレスとを対応
付け、更に、仮想ページ中で有効ブロックと空白ブロッ
クとを識別するマッピングフラグを設け、又、画像メモ
リに書込まれた有効ブロックの属する仮想ページを識別
するページ識別フラグを設ければよい。
The address conversion unit 44 associates the virtual block address in the virtual page 61 of the effective block with the block address of the image memory 30 in which the effective block is written as described above, and further, the effective block in the virtual page. And a blank block for identifying a blank block, and a page identification flag 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, the address translation memory
It is not always necessary to provide the 44a and the empty block instruction memory 44b separately.

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

このアドレス変換部は、仮想ブロックアドレスに対応し
て、ページ識別フラグP1,P2,P3,P4と、マッピングフラ
グTと、画像メモリブロックアドレスRMとをテーブル化
して格納するようにしている。
The address conversion unit stores the page identification flags P 1 , P 2 , P 3 , P 4 , the mapping flag T, and the image memory block address RM in a table corresponding to the virtual block address. There is.

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

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

このようにテーブルデータを1つにまとめると、コント
ロール信号の簡素化を図り、又、メモリ容量も少量化で
きるので、この回路の高集積化(LSI化)も可能にな
る。又、マッピングフラグTをコード化すれば、4ペー
ジ分のマッピングフラグを2ビットで表示することもで
きる。
If the table data are combined into one as described above, the control signal can be simplified and the memory capacity can be reduced, so that the circuit can be highly integrated (made into an LSI). If the mapping flag T is coded, the mapping flags for four pages can be displayed with 2 bits.

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

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

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

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

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

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

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

第1図は本発明の印刷装置の実施例を示すブロック図、
第2図は従来の印刷装置のブロック図、第3図は従来の
画像メモリからの印刷出力の読出し制御を説明する概念
図、第4図は従来の画像メモリからの印刷出力の読出し
動作の具体例を説明する説明図、第5図はそのプリント
エンジンの動作説明図、第6図は従来の画像メモリの書
込み読出しタイミングを説明するタイムチャート、第7
図は従来の画像メモリの書込み動作を説明するタイムチ
ャート、第8図は望ましい画像メモリの書込み動作を説
明するタイムチャート、第9図は本発明の印刷装置の動
作原理を説明する説明図、第10図は本発明の装置のアド
レス変換部の詳細な動作説明図、第11図及び第12図は本
発明のアドレス変換部の変形例を示す説明図である。 30……画像メモリ、40……印刷制御部、 41……データ判定部、 42……画像メモリ書込み制御部、 43……アドレス発生部、 44……アドレス変換部、 44a……アドレス変換用メモリ、 44b……空きブロック指示用メモリ、 45……接続切換回路、50……印刷部、 60……印刷用データ、80……アドレス判定部、 80a……レジスタ、80b……比較器、 61……仮想ページ、62……ブロック、 T……マッピングフラグ、 RM……画像メモリブロックアドレス、 P1,P2‥PX……ページ識別フラグ。
FIG. 1 is a block diagram showing an embodiment of a printing apparatus of the present invention,
FIG. 2 is a block diagram of a conventional printing apparatus, FIG. 3 is a conceptual diagram for explaining a read control of print output from a conventional image memory, and FIG. 4 is a concrete operation of read operation of print output from a conventional image memory. FIG. 5 is an explanatory view explaining an example, FIG. 5 is an operation explanatory view of the print engine, FIG. 6 is a time chart explaining writing / reading timing of a conventional image memory, and FIG.
FIG. 8 is a time chart for explaining a writing operation of a conventional image memory, FIG. 8 is a time chart for explaining a desirable writing operation of an image memory, and FIG. 9 is an explanatory view for explaining the operation principle of the printing apparatus of the present invention. FIG. 10 is a detailed operation explanatory diagram of the address conversion unit of the device of the present invention, and FIGS. 11 and 12 are explanatory diagrams showing a modified example of the address conversion unit of the present invention. 30 ... Image memory, 40 ... Print control unit, 41 ... Data determination unit, 42 ... Image memory writing control unit, 43 ... Address generation unit, 44 ... Address conversion unit, 44a ... Address conversion memory , 44b ... Empty block instruction memory, 45 ... Connection switching circuit, 50 ... Printing section, 60 ... Printing data, 80 ... Address determination section, 80a ... Register, 80b ... Comparator, 61 ... ... virtual page, 62 ... block, T ... mapping flag, RM ... image memory block address, P 1 , P 2 ... P X ... page identification flag.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印刷用データを格納する画像メモリと、 この画像メモリに印刷用データを書込む印刷制御部と、 前記画像メモリから印刷用データを読出しながら印刷を
行なう印刷部とを有し、 前記印刷制御部は、 印刷出力に対応させて仮想的に設定された1ページ分の
画像から成る仮想ページを、複数のブロックに分割し、
前記仮想ページの各ブロックに含まれるたデータが、空
白データか有効データかを判定するデータ判定部と、 前記仮想ページ中の各ブロックのアドレスを仮想ブロッ
クアドレスと呼ぶとき、アクセスしたデータの仮想ブロ
ックアドレスが、その直前にアクセスしたデータの仮想
ブロックアドレスと同一か異なるかを判定するアドレス
判定部と、 前記データ判定部の判定結果に基づいて、前記有効デー
タのみを選択して、前記画像メモリにデータの書込みを
行なう画像メモリ書込み制御部と、 前記有効データの書込みがあった仮想ブロックアドレス
と、前記有効データを書込んだ前記画像メモリのブロッ
クアドレスとを対応付け、かつ、前記仮想ページ中で、
前記有効データを含む有効ブロックと、前記空白データ
のみから成る空白ブロックとを識別するマッピングフラ
グと、前記画像メモリに書込まれた有効ブロックの属す
る仮想ページを識別するページ識別フラグとを格納した
アドレス変換部を設け、 前記画像メモリ書込み制御部は、 前記データをアクセスする場合、前記アドレス判定部の
判定結果に基づき、 もし直前にアクセスしたデータの仮想ブロックアドレス
が異なる場合には、前記アドレス変換部を参照してアド
レス変換を行ない、 もし、直前にアクセスしたデータの仮想ブロックアドレ
スが同一であるならば、前記直前のデータのアクセス時
のアドレス変換結果を使用することを特徴とする印刷装
置。
1. An image memory for storing print data, a print control unit for writing print data in the image memory, and a print unit for performing printing while reading the print data from the image memory, The print control unit divides a virtual page including one page of images virtually set corresponding to print output into a plurality of blocks,
A data determination unit that determines whether the 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, the virtual block of the accessed data 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, selects only the valid data and stores it in the image memory. An image memory writing control unit for writing data, a virtual block address where the valid data was written, and a block address of the image memory where the valid data was written are associated with each other, and in the virtual page. ,
An address that stores a mapping flag that identifies a valid block including the valid data and a blank block that includes only the 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 unit is provided, and the image memory write control unit, when accessing the data, based on the determination result of the address determination unit, if the virtual block address of the last accessed data is different, the address conversion unit The printing apparatus is characterized in that the address conversion is performed by referring to, and if the virtual block address of the data accessed immediately before is the same, the address conversion 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 JPH02266965A (en) 1990-10-31
JPH0790652B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2731315B2 (en) * 1992-03-17 1998-03-25 富士通株式会社 Printer device

Also Published As

Publication number Publication date
JPH02266965A (en) 1990-10-31

Similar Documents

Publication Publication Date Title
JP2740568B2 (en) Printing equipment
US5237645A (en) Printing apparatus
US6469799B1 (en) Image forming apparatus and image forming method
JPH0790652B2 (en) Printer
JP2958229B2 (en) Printing apparatus and control method thereof
JPH023351A (en) Printer
JPS6035687B2 (en) Print data control device
JP2575227B2 (en) Printing equipment
JP2575208B2 (en) Printing equipment
JP3466803B2 (en) Laser beam printer, print control method and apparatus
JP3116354B2 (en) Printer data management method
EP0334102B1 (en) Printing apparatus
JPH01228263A (en) Printing device
JPH11305962A (en) Print processing apparatus, data processing method of print processing apparatus, and storage medium storing computer readable program
JPS6125165B2 (en)
JPS59221069A (en) Memory control method
JP2737880B2 (en) Character processing apparatus and method
JPS60160264A (en) Control system of bit map memory
JP2941113B2 (en) Printing equipment
JP2908571B2 (en) Page printer
JPS593625A (en) Empty confirmation control system of image buffer of printer
JPS6367682A (en) Image processing method
JPH08310055A (en) Printer
JPS6327890A (en) Image processing
JPH05281946A (en) Character output method and device

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