JPH09174952A - Color printer - Google Patents

Color printer

Info

Publication number
JPH09174952A
JPH09174952A JP7337391A JP33739195A JPH09174952A JP H09174952 A JPH09174952 A JP H09174952A JP 7337391 A JP7337391 A JP 7337391A JP 33739195 A JP33739195 A JP 33739195A JP H09174952 A JPH09174952 A JP H09174952A
Authority
JP
Japan
Prior art keywords
data
image
color
image data
colors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7337391A
Other languages
Japanese (ja)
Inventor
Takashi Hori
隆志 堀
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP7337391A priority Critical patent/JPH09174952A/en
Publication of JPH09174952A publication Critical patent/JPH09174952A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a high speed color printer having high image data transfer rate in the printer. SOLUTION: A print engine 200 comprises four RAMs providing image butters dedicated for K, C, M, Y wherein the tour RAMs have a common address bus and dedicated data buses. A controller 100 produces a four color image data of K, C, M, Y based on a data received from a host and transfers the four color data simultaneously to the engine 200 through dedicated buses. The engine 200 designates an identical address for the four RAMs through the common address bus and writes a four color latched data simultaneously into the four RAMs. When an image data for one pass is accumulated in the four RAMs, the engine 200 reads out the four color data simultaneously from the identical address of these RAMs and transfers the four color data to a head driver.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数の色データに
基づいてカラー画像を印刷するカラープリンタに関し、
特に、複数の色データをイメージバッファを介して印刷
ヘッドへ転送する技術の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color printer for printing a color image based on a plurality of color data,
In particular, it relates to improvement of a technique for transferring a plurality of color data to a print head via an image buffer.

【0002】[0002]

【従来の技術】カラープリンタは、一般に、ホスト装置
から受信したコマンド及びデータを解析して、例えばブ
ラック(K)、シアン(C)、マゼンタ(M)、イエロ
ー(Y)といった複数色のドット形式のイメージデータ
を生成し、これら複数色のイメージデータに基づき複数
色の印刷ヘッドを駆動することにより、それら複数色の
ドットが集合して全体として元イメージと同じ色調に見
えるカラーイメージを印刷する。ある種のカラープリン
タは、ホスト装置から受信したデータ及びコマンドから
上記複数色のイメージデータを生成する「コントロー
ラ」と呼ばれるプロセッサと、このコントローラとは別
のプロセッサを有して、コントローラからのイメージデ
ータに基づいて実際の印刷動作を実行する「プリントエ
ンジン」とを備える。また、別のタイプのカラープリン
タでは、上記コントローラとプリントエンジンの2つの
データ処理機能を、同じ一つのプロセッサが行ってい
る。いずれのプリンタにおいても、プリンタ内で生成さ
れた複数色のイメージデータは一旦「イメージバッフ
ァ」と呼ばれるRAM領域に書込まれ、所定の纏まった
量(例えば、印刷ヘッドが1回の主走査で印刷する量、
つまり「1パス分」)のイメージデータがイメージバッ
ファに蓄積されると、イメージバッファからそのイメー
ジデータが読み出されて対応する印刷ヘッドのドライバ
回路へ転送される。各色の印刷ヘッドは用紙表面上を主
走査しながら、対応色の「1パス分」のイメージデータ
に基づいて1パス分のドットイメージを用紙に形成す
る。全ての行が印刷され終わるまで、この動作が繰り返
される。
2. Description of the Related Art Generally, a color printer analyzes a command and data received from a host device, and forms a plurality of color dots such as black (K), cyan (C), magenta (M) and yellow (Y). Image data is generated, and the print heads of the plurality of colors are driven based on the image data of the plurality of colors, so that the dots of the plurality of colors are aggregated to print a color image that looks like the original image as a whole. A certain type of color printer has a processor called a "controller" that generates image data of the above-mentioned multiple colors from data and commands received from a host device, and a processor different from this controller, and the image data from the controller And a “print engine” that executes an actual printing operation based on the above. In another type of color printer, the same processor performs the two data processing functions of the controller and the print engine. In any printer, image data of multiple colors generated in the printer is once written in a RAM area called an "image buffer", and a predetermined set amount (for example, the print head prints in one main scan). Amount to do,
That is, when the image data of "one pass" is accumulated in the image buffer, the image data is read from the image buffer and transferred to the driver circuit of the corresponding print head. While the print heads of the respective colors perform main scanning on the surface of the paper, a dot image for one pass is formed on the paper based on the image data of "one pass" of the corresponding color. This operation is repeated until all lines have been printed.

【0003】図1は従来のカラープリンタの概略構成を
示す。
FIG. 1 shows a schematic structure of a conventional color printer.

【0004】従来のカラープリンタ2では、単一のRA
M10内にイメージバッファ16やその他のワークエリ
アなどが形成されている。従って、図示のように、この
RAM10の記憶領域は幾つかに分割され、その分割さ
れた各部分にK、C、M、Yの各色イメージバッファが
割り当てられている。RAM10は、例えば8ビットの
データバス6と24ビットのアドレスバス8とに接続さ
れている。コントローラ4は、ホスト装置からのデータ
及びコマンドを解析してK、C、M、Yのイメージデー
タを生成し、次いで、データバス6及びアドレスバス8
を通じて、それらイメージデータをイメージバッファ1
0へ送り込む。イメージデータは8ビット単位でデータ
バス6に送出され、一つの色のデータは1行に相当する
データ量だけ連続して送出される。従って、例えばKの
イメージデータが1行分だけ送られると、次にCのデー
タが1行分だけ送られ、次にMのデータが、次にYのデ
ータがというように、各色データは1行分づつ順番にイ
メージバッファ16に転送されていく。
In the conventional color printer 2, a single RA is used.
An image buffer 16 and other work areas are formed in M10. Therefore, as shown in the figure, the storage area of the RAM 10 is divided into several parts, and K, C, M, and Y color image buffers are assigned to the respective divided parts. The RAM 10 is connected to, for example, an 8-bit data bus 6 and a 24-bit address bus 8. The controller 4 analyzes the data and command from the host device to generate K, C, M, Y image data, and then, the data bus 6 and the address bus 8.
Through the image buffer 1
Send to 0. The image data is sent to the data bus 6 in 8-bit units, and the data of one color is continuously sent by the data amount corresponding to one row. Therefore, for example, when K image data is sent for one line, C data is sent for one line, M data is sent next, Y data is sent next, and so on. The lines are sequentially transferred to the image buffer 16 line by line.

【0005】このような転送が繰り返されると、最終的
にイメージバッファ16には1パス分のイメージデータ
が格納される。例えば、各色の印刷ヘッドが64個のイ
ンクジェットノズルを持っているすると、各色当たり1
行×64ノズル分のイメージデータが1パス分である。
この1パス分のイメージデータがバッファ16に蓄積さ
れると、次に、バッファ16からイメージデータが読み
出され、データバス6を通じてヘッドドライバ14へ転
送される。このときも、上述した書込み時と同様の態様
で、各色イメージデータは順次に1行分づつ読み出され
ていく。
When such transfer is repeated, the image data for one pass is finally stored in the image buffer 16. For example, if each color print head has 64 inkjet nozzles, one for each color.
Image data for one row × 64 nozzles is for one pass.
When the image data for one pass is accumulated in the buffer 16, the image data is then read from the buffer 16 and transferred to the head driver 14 through the data bus 6. Also at this time, each color image data is sequentially read out one row at a time, in the same manner as the above-described writing.

【0006】[0006]

【発明が解決しようとする課題】上述した従来装置の問
題は、高画質・高解像度の画像を印刷しようとすると時
間がかかり過ぎることである。即ち、画像が高画質・高
解像度になるほど、そのイメージデータのデータ量は大
きくなる。そこで、このような画像を高速に印刷できる
ようにするための一つの策として、コントローラ4やプ
リントエンジンの処理速度を高めることが行われてい
る。これは、プロセッサの能力やクロック速度を改善し
たり、印刷機構の改良などにより、かなりの速度向上を
図ることが可能である。ところが、上述した従来のプリ
ンタでは、一つのバス6を通じてイメージバッファ16
にデータを書込み且つ読出す構成となっているため、必
然的に複数色のイメージデータを一定の順序で順次にバ
ス6に送らなければならず、その結果、イメージバッフ
ァ16の読み書き速度を大幅に高めることが難しい。
The problem of the above-mentioned conventional apparatus is that it takes too much time to print an image of high quality and high resolution. That is, the higher the image quality and resolution of an image, the larger the amount of image data. Therefore, as one measure for enabling such an image to be printed at high speed, the processing speed of the controller 4 and the print engine has been increased. This can significantly improve the speed by improving the capacity and clock speed of the processor and improving the printing mechanism. However, in the conventional printer described above, the image buffer 16
Since data is written in and read out from the image buffer 16 inevitably, image data of a plurality of colors must be sequentially sent to the bus 6 in a fixed order, and as a result, the read / write speed of the image buffer 16 is significantly increased. Hard to raise.

【0007】それに加え、イメージバッファ16は一つ
のRAM内に形成され各色のバッファ領域のアドレスは
それぞれ異なっているため、このバッファ16に複数色
のデータを書込み且つ読み出す時には、各色毎に異なる
アドレスを計算しなくてはならず、必然的に計算が複雑
になる。この複雑なアドレス計算はかなりの時間がかか
るため、処理速度向上を難しくする主たる原因になって
いる。
In addition, since the image buffer 16 is formed in one RAM and the addresses of the buffer areas for the respective colors are different, when writing and reading data of a plurality of colors in the buffer 16, different addresses are set for the respective colors. It has to be calculated, which naturally complicates the calculation. Since this complicated address calculation takes a considerable amount of time, it is the main cause of difficulty in improving the processing speed.

【0008】これらの事情から、従来のプリンタは、プ
ロセッサや印刷メカニズムの処理速度を高めても、イメ
ージバッファ回りのデータ転送速度がそれに見合う程度
まで高まらず、結果として、印刷に長い時間がかかって
しまう。
From these circumstances, in the conventional printer, even if the processing speed of the processor and the printing mechanism is increased, the data transfer speed around the image buffer is not increased to the extent corresponding to it, and as a result, it takes a long time to print. I will end up.

【0009】従って、本発明の目的は、プリンタ内部で
のイメージデータの転送速度が早く、よって高速印刷が
可能なカラープリンタを提供することにある。
Therefore, it is an object of the present invention to provide a color printer which has a high transfer rate of image data inside the printer and therefore is capable of high-speed printing.

【0010】[0010]

【課題を解決するための手段】本発明のカラープリンタ
では、イメージバッファが、複数のメモリチップから構
成され、各メモリチップが各色のバッファ領域を提供し
ている。そして、これら複数のメモリチップには、アド
レスバスを通じて同じアドレスが指定されるようになっ
ている。従って、複数色のデータをイメージバッファに
書込み且つ読み出す際、複数のメモリチップの同じアド
レスを指定することになるため、アドレス計算は、色毎
に異なるアドレスを計算する複雑なものでなく、全色に
共通の一つのアドレスを計算する簡単なものとなる。結
果として、アドレス計算の時間が短縮するので、全体の
データ転送時間が短かくなり、印刷速度が向上する。
In the color printer of the present invention, the image buffer is composed of a plurality of memory chips, and each memory chip provides a buffer area for each color. Then, the same address is designated to the plurality of memory chips through the address bus. Therefore, when writing and reading data of multiple colors to and from the image buffer, the same address of multiple memory chips is specified. Therefore, the address calculation is not a complicated one to calculate different addresses for each color, It will be easy to calculate one common address for. As a result, the time for address calculation is shortened, the overall data transfer time is shortened, and the printing speed is improved.

【0011】望ましくは、複数のメモリチップが各々に
専用のデータバスに接続されているとよい。これによ
り、複数色のイメージデータを複数のメモリチップの同
じアドレスに同時に書込み、且つ同じアドレスから同時
に読み出すことができる。従って、複数色データを順次
に転送する場合に比較し、更にデータ転送時間が短縮さ
れ、印刷速度が向上する。
Preferably, a plurality of memory chips are each connected to a dedicated data bus. As a result, image data of a plurality of colors can be simultaneously written to and read from the same address of a plurality of memory chips. Therefore, the data transfer time is further shortened and the printing speed is improved as compared with the case of sequentially transferring a plurality of color data.

【0012】[0012]

【発明の実施の形態】図2は、本発明の一実施形態にか
かるカラープリンタの要部の構成を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 shows the configuration of the main part of a color printer according to an embodiment of the present invention.

【0013】このプリンタは、図示しないホスト装置か
らのデータ及びコマンドを解析してK、C、M、Yの4
色のイメージデータを生成するコントローラ100と、
コントローラ100からイメージデータを受取り一旦イ
メージバッファに格納した後に読み出して印刷動作を実
行するプリントエンジン200とを備えている。
This printer analyzes data and commands from a host device (not shown) and outputs K, C, M, and Y 4
A controller 100 for generating color image data,
The print engine 200 receives image data from the controller 100, temporarily stores the image data in the image buffer, and then reads the image data to execute a printing operation.

【0014】コントローラ100は、ホスト装置からの
データ及びコマンドを解析してK、C、M、Yの4色の
イメージデータを生成するイメージ生成部110と、生
成された4色のイメージデータをプリントエンジン20
0に転送するデータ転送部120とを備えている。イメ
ージ生成部110は、実際にはコントローラ200内の
CPU(図示省略)がイメージング・プログラムを実行
することにより実現されるソフト機能である。このソフ
ト機能により生成された4色のイメージデータは、デー
タ転送部120のレジスタ122、124、126、1
28にセットされる。これらレジスタ122、124、
126、128は、それぞれ専用の8ビットデータバス
132、134、136、138を介して、プリントエ
ンジン200のデータ受信部210に接続されている。
The controller 100 analyzes the data and command from the host device to generate image data of four colors K, C, M, and Y, and the generated image data of four colors. Engine 20
The data transfer unit 120 transfers the data to 0. The image generation unit 110 is actually a software function realized by a CPU (not shown) in the controller 200 executing an imaging program. The image data of four colors generated by this software function is stored in the registers 122, 124, 126, 1 of the data transfer unit 120.
Set to 28. These registers 122, 124,
The 126 and 128 are connected to the data receiving section 210 of the print engine 200 via dedicated 8-bit data buses 132, 134, 136 and 138, respectively.

【0015】プリントエンジン200は、データ転送部
120から転送されてきたイメージデータを受信するデ
ータ受信部210と、受信したイメージデータを蓄える
イメージバッファ252、254、256、258と、
それらイメージバッファへの読み出し書込みの制御やそ
の他プリントエンジンの各部の制御を行うCPU(イメ
ージデータの転送を行うためのゲートアレイ回路も含
む)240と、図示しない印刷ヘッドを駆動するヘッド
ドライバ260を備える。
The print engine 200 includes a data receiving section 210 for receiving the image data transferred from the data transfer section 120, image buffers 252, 254, 256, 258 for storing the received image data.
A CPU (including a gate array circuit for transferring image data) 240 that controls reading / writing from and to the image buffer and other parts of the print engine, and a head driver 260 that drives a print head (not shown) are provided. .

【0016】データ受信部210は、コントローラ10
0のデータ転送部120からの4本のデータバスにそれ
ぞれ接続された4つのラッチ212、214、216、
218を含み、それら4つのラッチはそれぞれのデータ
バス上のイメージデータをラッチする。データ転送部1
20からのデータ転送とデータ受信部210でのラッチ
とのタイミングを一致させるために、データ転送部12
0からは転送タイミングを示すストローブ信号STRO
BEがデータ受信部210に送られ、データ受信部21
0からはラッチ可能か否かを示すビジー信号BUSYが
データ転送部120に返される。尚、ストローブ信号S
TROBEはCPU230にも供給され、イメージバッ
ファ252、254、256、258へのイメージデー
タ転送(DMA転送)タイミングの決定にも利用され
る。
The data receiving section 210 is the controller 10
4 latches 212, 214, 216 respectively connected to the four data buses from the data transfer unit 120 of 0,
218, the four latches latch image data on their respective data buses. Data transfer unit 1
In order to match the timing of the data transfer from 20 with the latch in the data receiving section 210, the data transfer section 12
Strobe signal STRO indicating transfer timing from 0
BE is sent to the data receiving section 210, and the data receiving section 21
From 0, a busy signal BUSY indicating whether latching is possible is returned to the data transfer unit 120. The strobe signal S
TROBE is also supplied to the CPU 230 and is also used for determining the image data transfer (DMA transfer) timing to the image buffers 252, 254, 256, 258.

【0017】イメージバッファは、K、C、M、Yの各
色専用のバッファ領域を提供する4個のRAMチップ2
52、254、256、258から構成されている。こ
れら4個のRAMチップ(つまり4色のイメージバッフ
ァ)は、互いに全く同じ構成を有している。各色イメー
ジバッファ252、254、256、258はそれぞ
れ、8ビットのデータバス222、224、226、2
28を介して、データ受信部210の対応するラッチ2
12、214、216、218の出力に接続されてい
る。また、それらイメージバッファの4本の8ビットデ
ータバス222、224、226、228は、32ビッ
トのデータバスとして統合されてCPU240及びヘッ
ドドライバ260に接続されている。また、4色のイメ
ージバッファ252、254、256、258のアドレ
ス端子は、CPU240からの1本の共通のアドレスバ
ス230に接続されている。従って、4色のイメージバ
ッファの同じアドレスを一つのアドレス信号で同時に指
定して、同時に4色のイメージデータを書込み又は読み
出すことができる。
The image buffer has four RAM chips 2 which provide buffer areas dedicated to K, C, M and Y colors.
52, 254, 256, 258. These four RAM chips (that is, four color image buffers) have exactly the same configuration. Each color image buffer 252, 254, 256, 258 has an 8-bit data bus 222, 224, 226, 2 respectively.
The corresponding latch 2 of the data receiving unit 210 via 28
It is connected to the outputs of 12, 214, 216 and 218. The four 8-bit data buses 222, 224, 226 and 228 of the image buffers are integrated as a 32-bit data bus and connected to the CPU 240 and the head driver 260. The address terminals of the four color image buffers 252, 254, 256, 258 are connected to one common address bus 230 from the CPU 240. Therefore, the same address of the four-color image buffer can be simultaneously designated by one address signal, and the four-color image data can be written or read at the same time.

【0018】以上の構成において、コントローラ100
のデータ転送部120は、レジスタ122、124、1
26、128にセット生成された4色のイメージデータ
(各色8ビットづつの合計32ビット)を、ストローブ
信号STOROBE(ローイネーブル)で同期をとって
同時に4本のバス132、134、136、138へ送
出する。エンジン200のデータ受信部210は、スト
ローブ信号STOROBEの立下りエッジに応答して、
バス132、134、136、138上に送出された4
色のイメージデータを同時にラッチする。次に、CPU
240内のDMAコントローラが、ストローブ信号ST
OROBEの立上りエッジをトリガとして、それら4色
のイメージデータをデータ受信部210のラッチ21
2、214、216、218からイメージバッファ25
2、254、256、258へ同時にDMA転送する。
ビジー信号は、イメージデータがラッチされてからイメ
ージバッファに転送され終わるまでの間、出力される。
In the above configuration, the controller 100
Of the data transfer unit 120 of the registers 122, 124, 1
Image data of four colors (8 bits for each color, 32 bits in total) generated by setting to 26 and 128 are synchronized to the four buses 132, 134, 136 and 138 at the same time by the strobe signal STOROBE (low enable). Send out. The data receiving unit 210 of the engine 200 responds to the falling edge of the strobe signal STOROBE,
4 sent on buses 132, 134, 136, 138
Latch the color image data at the same time. Next, CPU
The DMA controller in 240 makes strobe signal ST
Triggered by the rising edge of OROBE, the image data of these four colors is latched by the latch 21 of the data receiving unit 210.
Image buffer 25 from 2, 214, 216, 218
DMA transfer to 2, 254, 256 and 258 simultaneously.
The busy signal is output after the image data is latched and is transferred to the image buffer.

【0019】上記の動作が繰り返されて、1パス分のイ
メージデータがイメージバッファ252、254、25
6、258に蓄積されると、次に、イメージバッファ2
52、254、256、258からヘッドドライバ26
0へ1パス分のイメージデータが転送される。この時
も、4色のイメージデータは32ビットデータバス22
0を通じて8ビットづつ同時に転送される。
By repeating the above operation, the image data for one pass is stored in the image buffers 252, 254, 25.
6 and 258, the image buffer 2
52, 254, 256, 258 to the head driver 26
Image data for one pass is transferred to 0. At this time also, the image data of four colors is stored in the 32-bit data bus 22.
8 bits are simultaneously transmitted through 0.

【0020】図3は、イメージデータを生成してイメー
ジバッファへ書込む時の処理をより詳細に示したフロー
チャートである。
FIG. 3 is a flowchart showing in more detail the processing when generating image data and writing it in the image buffer.

【0021】まず、コントローラ100が、ホスト装置
からコマンドとデータを受信し(S1)、それに基づい
て各色イメージデータを作成し(S2)、そこから、今
印刷しようとするエリア(パス)の各色成分を抽出する
(S4)。次に、エンジン200のCPU240が、イ
メージデータの転送先であるイメージバッファ252、
254、256、258の先頭アドレスを計算する(S
4)。この場合、4色のイメージデータはいずれも各々
のバッファの同じアドレスに書込まれることになるの
で、アドレス計算は各色別に行う必要はなく、共通の1
個のアドレスを計算するだけでよい。
First, the controller 100 receives a command and data from the host device (S1), creates color image data based on the command and data (S2), and from there, each color component of the area (pass) to be printed now. Is extracted (S4). Next, the CPU 240 of the engine 200 causes the image buffer 252, which is the transfer destination of the image data,
Calculate the start address of 254, 256, 258 (S
4). In this case, since the image data of four colors are written at the same address in each buffer, it is not necessary to calculate the address for each color, and the common 1
You only have to calculate the addresses.

【0022】次に、コントローラ100が、上記抽出し
た4色のイメージデータの最初の8ビットを、対応する
バス132、134、136、138のレジスタ12
2、124、126、128にセットし(S5〜S
8)、続いて、これら4色の8ビットデータを同時にバ
ス132、134、136、138へ送出する(S1
0)。すると、既に説明したように、それら4色のデー
タは、データ受信部210でラッチされた後に、DMA
転送によって4つのイメージバッファ252、254、
256、258の上記計算されたアドレスに同時に書込
まれる。この後、CPU240のDMAコントローラ
が、次の8ビットデータのために、イメージバッファ2
52、254、256、258の書込みアドレスを一つ
増やす(S9)。
Next, the controller 100 converts the first 8 bits of the extracted four-color image data into the register 12 of the corresponding bus 132, 134, 136, 138.
Set to 2, 124, 126, 128 (S5-S
8) Then, the 8-bit data of these four colors are simultaneously sent to the buses 132, 134, 136, 138 (S1).
0). Then, as described above, the data of these four colors is latched by the data receiving unit 210 and then DMA
Transfers four image buffers 252, 254,
Simultaneously written to the above calculated addresses of 256, 258. After that, the DMA controller of the CPU 240 causes the image buffer 2 to receive the next 8-bit data.
The write address of 52, 254, 256, 258 is incremented by 1 (S9).

【0023】1パス分のイメージデータを構成する個々
の8ビットデータの各々について、上記したステップS
5〜S9の処理が行われ、1パス分のイメージデータ全
てを転送し終わるまで(S10)、この一連の処理が繰
り返される。
For each of the individual 8-bit data forming the image data for one pass, the above step S is carried out.
The processing of 5 to S9 is performed, and this series of processing is repeated until all the image data for one pass is transferred (S10).

【0024】図4は、イメージバッファからヘッドドラ
イバへイメージデータを転送するためのエンジン200
での処理の流れを示す。
FIG. 4 shows an engine 200 for transferring image data from the image buffer to the head driver.
Shows the flow of processing in.

【0025】既に説明したようにしてイメージバッファ
252、254、256、258にそれぞれの色のデー
タを書込み(S21)、1パス分のデータが蓄積される
と(S22)、次に、CPU240がデータの転送元と
なるイメージバッファ252、254、256、258
のアドレスを計算する(S23)。このときも、全ての
イメージバッファについて共通の一つのアドレスを計算
すればよい。
As described above, the data of each color is written in the image buffers 252, 254, 256, 258 (S21), and when data for one pass is accumulated (S22), the CPU 240 next Image buffers 252, 254, 256, 258 which are transfer sources of
Is calculated (S23). Also at this time, one address common to all the image buffers may be calculated.

【0026】次に、ヘッドドライバ260の応答タイミ
ングに合せて、イメージバッファ252、254、25
6、258の上記計算したアドレスから、4色の8ビッ
トイメージデータを同時に読み出し、ヘッドドライバ2
60に転送する(S24)。次に、イメージバッファの
読み出しアドレスを1つ進め(S25)、ステップ24
を繰り返す。
Next, the image buffers 252, 254, and 25 are synchronized with the response timing of the head driver 260.
From the calculated addresses of 6 and 258, 8-bit image data of 4 colors are simultaneously read out, and the head driver 2
It transfers to 60 (S24). Next, the read address of the image buffer is advanced by 1 (S25), and step 24
repeat.

【0027】1パス分のイメージデータを全てヘッドド
ライバ260に転送し終えたら(S26)、改行のため
に紙送りを行う(S27)。そして、再び、次のパスに
ついて上記一連の処理を繰り返す。
When all the image data for one pass has been transferred to the head driver 260 (S26), the paper is fed for line feed (S27). Then, again, the series of processes described above is repeated for the next pass.

【0028】以上の説明から分るように、この実施形態
では、4色のイメージデータを同時にイメージバッファ
に書込み、かつ同時にイメージバッファから読み出して
印刷ヘッドに転送している。そのため、4色データを順
次に転送する従来プリンタに比較し、同じアクセス速度
をもつRAMを用いても、少なくとも4倍の転送速度の
向上が得られる。更に、各色毎に別のRAMでイメージ
バッファを構成して、4色のデータを同じアドレスに書
込み且つ読み出せるようにしているため、アドレス計算
も簡単になり、更に転送速度が向上する。結果として、
従来のカラープリンタに比較して、高い印刷速度が得ら
れる。
As can be seen from the above description, in this embodiment, image data of four colors are simultaneously written in the image buffer, simultaneously read from the image buffer, and transferred to the print head. Therefore, compared to a conventional printer that transfers four-color data sequentially, at least a four-fold improvement in transfer speed can be obtained even if a RAM having the same access speed is used. Further, since an image buffer is constructed by a separate RAM for each color so that data of four colors can be written and read at the same address, the address calculation is simplified and the transfer speed is further improved. as a result,
Higher print speeds are obtained compared to conventional color printers.

【0029】図5は、本発明の第2の実施形態にかかる
カラープリンタの構成を示す。
FIG. 5 shows the structure of a color printer according to the second embodiment of the present invention.

【0030】このプリンタでは、図2に示したプリンタ
と同様に、4個のRAMチップ462、464、46
6、468で4色のイメージバッファを構成しており、
それら4個のイメージバッファのアドレス端子は共通の
1本のアドレスバス440によってエンジン400のC
PU450に接続されている。しかし、イメージデータ
を送るためのデータバスは、色毎に専用のものでなく、
4色で1本の8ビットバス330、430を共用する構
成となっている。
In this printer, as in the printer shown in FIG. 2, four RAM chips 462, 464, 46 are provided.
6 and 468 make up a 4-color image buffer,
The address terminals of these four image buffers are connected to the C of the engine 400 by one common address bus 440.
It is connected to the PU 450. However, the data bus for sending image data is not dedicated for each color,
It is configured to share one 8-bit bus 330, 430 with four colors.

【0031】より詳細に説明すると、コントローラ30
0のデータ転送部320は、4色で共用する一つのレジ
スタ320を有し、イメージ生成部310から4色のう
ちの一色のデータをレジスタ320に受け取って、1本
の8ビットデータバス330を通じてエンジン400に
転送する。このデータ転送の際、データ転送部320は
前の実施形態の場合と同様にエンジン400のデータ受
信部410との間でストローブ信号STROBE(ロー
イネーブル)及びビジー信号BUSYをやりとしてタイ
ミングを合せると共に、転送するデータの色を示すため
の色選択信号K、C、M又はYを信号線342、34
4、346、348を通じてデータ受信部410に送
る。
More specifically, the controller 30
The 0 data transfer unit 320 has one register 320 shared by four colors, receives data of one of the four colors from the image generation unit 310 in the register 320, and receives the data through one 8-bit data bus 330. Transfer to engine 400. At the time of this data transfer, the data transfer unit 320 matches the timing by strobe signal STROBE (low enable) and busy signal BUSY with the data receiving unit 410 of the engine 400 as in the case of the previous embodiment. The color selection signal K, C, M or Y for indicating the color of the data to be transferred is supplied to the signal lines 342 and 34.
4, 346, 348 to the data receiving unit 410.

【0032】エンジン400のデータ受信部410は、
4色で共用する一つのラッチ411を有し、ストローブ
信号STROBEの立下りエッジに応答して、バス33
0上に送出されたイメージデータをラッチする。また、
このデータ受信部410は、4つのアンド回路412、
414、416、418を有し、それら4個のアンド回
路はそれぞれ信号線342、344、346、348か
らの色選択信号K、C、M、Yと、CPU450からの
チップセレクト信号420とを入力とする。これらアン
ド回路412、414、416、418の出力は、対応
する色のイメージバッファ462、464、466、4
68にチップセレクト信号として加えられる。
The data receiving section 410 of the engine 400 is
It has one latch 411 shared by four colors and responds to the falling edge of the strobe signal STROBE by the bus 33.
Latch the image data sent on 0. Also,
The data receiving unit 410 includes four AND circuits 412,
414, 416, and 418, and these four AND circuits receive the color selection signals K, C, M, and Y from the signal lines 342, 344, 346, and 348 and the chip select signal 420 from the CPU 450, respectively. And The outputs of the AND circuits 412, 414, 416, 418 are the image buffers 462, 464, 466, 4 of the corresponding colors.
It is added to 68 as a chip select signal.

【0033】CPU450は、データ転送用の専用回路
を構成するゲートアレイを含んでいる。このCPU45
0は、ストローブ信号STROBEの立上りエッジをト
リガとして、ラッチ411からデータバス430を通じ
て4個のイメージバッファ462、464、466、4
68の一つにイメージデータをDMA転送する。このと
き、CPU450からデータ受信部411に対しチップ
セレクト信号が与えられるので、データ転送部320か
らの色選択信号によって選択された一つの色のイメージ
バッファのみに対してチップセレクト信号が加えられ
る。従って、ラッチされたイメージデータは、対応する
色のイメージバッファに書込まれる。
The CPU 450 includes a gate array forming a dedicated circuit for data transfer. This CPU45
0 is triggered by the rising edge of the strobe signal STROBE, and the four image buffers 462, 464, 466, 4 through the data bus 430 from the latch 411.
The image data is DMA-transferred to one of 68. At this time, since the chip select signal is given from the CPU 450 to the data receiving unit 411, the chip select signal is added only to the image buffer of one color selected by the color selecting signal from the data transfer unit 320. Therefore, the latched image data is written in the image buffer of the corresponding color.

【0034】ある色のイメージデータが1パス分だけイ
メージバッファに書込まれると、次の色のイメージデー
タが同様にデータ転送部320から送出されて対応する
イメージバッファに書込まれる。4色全ての1パス分の
データがイメージバッファ462、464、466、4
68に蓄積されると、次にCPU450は、それらイメ
ージバッファ内のデータをバス430を介してヘッドド
ライバ470に転送する。このときも、イメージバッフ
ァへの書込み時と同様に、CPU450はチップセレク
ト信号によって4色のイメージバッファを順次に選択し
て、4色のイメージデータを順次にヘッドドライバ47
0へ転送する。
When the image data of a certain color is written in the image buffer for one pass, the image data of the next color is similarly sent from the data transfer section 320 and written in the corresponding image buffer. The data of one pass for all four colors is stored in the image buffers 462, 464, 466, 4
After being stored in 68, the CPU 450 then transfers the data in the image buffers to the head driver 470 via the bus 430. At this time, as in the case of writing to the image buffer, the CPU 450 sequentially selects the image buffer of four colors by the chip select signal and sequentially outputs the image data of four colors to the head driver 47.
Transfer to 0.

【0035】図6は、この実施形態においてイメージデ
ータを生成しイメージバッファに転送する処理の流れを
示す。
FIG. 6 shows the flow of processing for generating image data and transferring it to the image buffer in this embodiment.

【0036】まず、コントローラ300が、ホスト装置
から受信したコマンド及びデータに基づいて印刷しよう
とするパスの各色イメージデータを作成する(S31〜
S34)。次に、エンジンのCPU450が、そのイメ
ージデータの転送先となるイメージバッファの先頭アド
レスを計算する(S34)。この場合、どの色のデータ
も同じアドレスに書込まれるので、共通する1つのアド
レスを1回計算すればよい。
First, the controller 300 creates each color image data of the pass to be printed based on the command and data received from the host device (S31-).
S34). Next, the CPU 450 of the engine calculates the start address of the image buffer which is the transfer destination of the image data (S34). In this case, since data of any color is written at the same address, one common address may be calculated once.

【0037】次に、コントローラ300のデータ転送部
320が、Kの色選択信号Kをアクティブにし、またエ
ンジンのCPU450が計算したアドレスをアドレスバ
ス440にセットする(S35)。続いて、データ転送
部320がKの8ビットイメージデータをレジスタ32
2にセットしてバス330へ出力する(S36)。する
と、既に説明したように、そのKの8ビットデータはK
のイメージバッファ462の上記セットされたアドレス
に書込まれる。この後、CPU450がアドレスを1だ
け増やし、Kの次の8ビットデータについて再びステッ
プS36の動作が繰り返される。
Next, the data transfer section 320 of the controller 300 activates the K color selection signal K, and sets the address calculated by the CPU 450 of the engine on the address bus 440 (S35). Then, the data transfer unit 320 transfers the K 8-bit image data to the register 32.
It is set to 2 and output to the bus 330 (S36). Then, as described above, the 8-bit data of K is K
Of the image buffer 462 of FIG. After that, the CPU 450 increments the address by 1, and the operation of step S36 is repeated for the 8-bit data next to K.

【0038】最終的に1パス分のKデータが全てイメー
ジバッファ462に書込まれると(S37)、データ転
送部320は、色選択信号Kをインアクティブにする
(S38)。次に、データ転送部320がCの色選択信
号Cをアクティブにし、また、CPU450が先程計算
した先頭アドレスをアドレスバス440にセットする
(S39)。続いて、データ転送部320がCの8ビッ
トイメージデータをバス330に送出し(S40)、そ
れにより、このCの8ビットデータがC用のイメージバ
ッファ464の先頭アドレスに書込まれる。続いて、C
PU450がアドレスを1だけ進め(S40)、次の8
ビットデータについてステップ40が繰り返される。
When all the K data for one pass is finally written in the image buffer 462 (S37), the data transfer section 320 makes the color selection signal K inactive (S38). Next, the data transfer unit 320 activates the color selection signal C of C, and the CPU 450 sets the start address calculated previously on the address bus 440 (S39). Then, the data transfer unit 320 sends the 8-bit image data of C to the bus 330 (S40), and the 8-bit data of C is written in the head address of the image buffer 464 for C. Then, C
The PU 450 advances the address by 1 (S40), and the next 8
Step 40 is repeated for the bit data.

【0039】1パス分全てのCデータの書込みが完了す
ると(S41)、色選択信号Cがインアクティブにされ
(S42)、次に、MのイメージデータがM用のイメー
ジバッファ466に同様に書込まれる(S43〜S4
6)。その後、Yについて同様の書込みが行われる(S
47〜S50)。
When the writing of all the C data for one pass is completed (S41), the color selection signal C is made inactive (S42), and then the image data of M is similarly written in the image buffer 466 for M. (S43 to S4
6). After that, similar writing is performed for Y (S
47-S50).

【0040】以上のようにして、K、C、M、Yの4色
のイメージデータが1パス分づつ順次にイメージバッフ
ァに書込まれて行く。このとき、4色ともイメージバッ
ファの同じアドレスに書込まれるため、アドレス計算は
最初の1回ですみ、後は書込みの進行に合せて計算した
アドレスを機械的に増やして行くだけでよい。このアド
レス計算の容易さは、イメージバッファからヘッドへの
データ転送(詳細な動作説明は当業者にとって要しない
であろうから省略する)においても、同様である。従っ
て、従来のプリンタに比較すると、アドレス計算の時間
(従来ではかなりの時間がかかっている)が節約でき、
結果として高速な印刷が可能となる。
As described above, image data of four colors of K, C, M and Y are sequentially written in the image buffer for each pass. At this time, since all four colors are written at the same address in the image buffer, the address calculation only needs to be performed once at the beginning, and after that, it is only necessary to mechanically increase the calculated address according to the progress of writing. The ease of this address calculation is the same in the data transfer from the image buffer to the head (the detailed operation description is omitted because it will not be necessary for those skilled in the art). Therefore, compared to the conventional printer, the time for address calculation (which takes a long time in the past) can be saved,
As a result, high speed printing is possible.

【0041】以上、本発明の好適な実施形態を説明した
が、本発明はそれ以外の種々の異なる態様でも実施する
ことができる。例えば、上記実施形態は、コントローラ
とプリントエンジンとを別個に備えたプリンタである
が、一つのプロセッサでコントローラとエンジンの双方
のデータ処理機能を行うプリンタにおいても本発明を実
施することができる。
Although the preferred embodiment of the present invention has been described above, the present invention can be implemented in various different modes other than the above. For example, although the above embodiment is a printer provided with a controller and a print engine separately, the present invention can be implemented in a printer in which one processor performs both data processing functions of the controller and the engine.

【0042】また、上記実施形態のように4色のイメー
ジデータを扱うプリンタだけでなく、3原色だけを扱う
プリンタでも本発明が実施できる。更に、将来的には、
表現力を豊かにするために、4色を越える多くの色を扱
うプリンタの出現が予想されるが、そのようなプリンタ
でも本発明を実施することができ、しかも、本発明の利
点は色数が多くなるほど顕著となる。
The present invention can be implemented not only by the printer that handles the image data of four colors as in the above embodiment, but also by the printer that handles only three primary colors. Furthermore, in the future,
In order to enhance the expressiveness, it is expected that a printer that handles many colors exceeding four colors will appear. However, the present invention can be implemented in such a printer, and the advantage of the present invention is that the number of colors is large. Becomes more significant.

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

【図1】従来のカラープリンタの概略構成を示すブロッ
ク図。
FIG. 1 is a block diagram showing a schematic configuration of a conventional color printer.

【図2】本発明の第一の実施形態の構成を示すブロック
図。
FIG. 2 is a block diagram showing the configuration of the first embodiment of the present invention.

【図3】第1の実施形態において、イメージデータを生
成してイメージバッファへ書込む時の処理を示したフロ
ーチャート。
FIG. 3 is a flowchart showing a process when image data is generated and written in an image buffer in the first embodiment.

【図4】第1の実施形態において、イメージバッファか
らヘッドドライバへイメージデータを転送するための処
理の流れを示したフローチャート。
FIG. 4 is a flowchart showing a flow of processing for transferring image data from an image buffer to a head driver in the first embodiment.

【図5】本発明の第2の実施形態の構成を示すブロック
図。
FIG. 5 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図6】第2の実施形態において、イメージデータを生
成してイメージバッファへ書込む時の処理を示したフロ
ーチャート。
FIG. 6 is a flowchart showing a process when image data is generated and written in an image buffer in the second embodiment.

【符号の説明】[Explanation of symbols]

100、300 コントローラ 200、400 プリントエンジン 120、320 データ転送部 210、410 データ受信部 252、254、256、258、462、464、4
66、468 イメージバッファ(RAM) 240、450 CPU
100, 300 Controller 200, 400 Print Engine 120, 320 Data Transfer Unit 210, 410 Data Receiver 252, 254, 256, 258, 462, 464, 4
66,468 Image buffer (RAM) 240,450 CPU

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数色のイメージデータを、印刷ヘッド
に転送する前に蓄積するためのイメージバッファを備え
たカラープリンタにおいて、 前記イメージバッファが、前記複数色の各々に専用のバ
ッファ領域を各々提供する複数のメモリチップを含み、
これら複数のメモリチップが、同じアドレスを指定する
ためのアドレスバスに接続されていることを特徴とする
カラープリンタ。
1. A color printer having an image buffer for storing image data of a plurality of colors before being transferred to a print head, wherein the image buffer provides a buffer area dedicated to each of the plurality of colors. Including multiple memory chips,
A color printer characterized in that the plurality of memory chips are connected to an address bus for designating the same address.
【請求項2】 請求項1記載のカラープリンタにおい
て、前記複数のメモリチップが各々に専用の複数のデー
タバスを有することを特徴とするカラープリンタ。
2. The color printer according to claim 1, wherein the plurality of memory chips each have a plurality of dedicated data buses.
【請求項3】 請求項2記載のカラープリンタにおい
て、 前記複数色のイメージデータを、前記複数のデータバス
を通じて同時に、前記複数のメモリチップの同じアドレ
スに書込む回路と、 前記複数のメモリチップの同じアドレスから前記複数の
データバスを通じて、前記複数のイメージデータを同時
に前記印刷ヘッドに転送する回路と、を更に備えたこと
を特徴とするカラープリンタ。
3. The color printer according to claim 2, wherein a circuit for writing the image data of the plurality of colors to the same address of the plurality of memory chips at the same time through the plurality of data buses, and And a circuit for simultaneously transferring the plurality of image data to the print head from the same address through the plurality of data buses.
【請求項4】 請求項1記載のカラープリンタにおい
て、 前記複数のメモリチップが共通の一つのデータバスを有
することを特徴とするカラープリンタ。
4. The color printer according to claim 1, wherein the plurality of memory chips have a common data bus.
【請求項5】 請求項4記載のカラープリンタにおい
て、 前記複数色のイメージデータを、前記共通のデータバス
を通じて順次に、前記複数のメモリチップの同じアドレ
スに書込む回路と、 前記複数のメモリチップの同じアドレスから前記共通の
データバスを通じて、前記複数のイメージデータを順次
に前記印刷ヘッドに転送する回路と、を更に備えたこと
を特徴とするカラープリンタ。
5. The color printer according to claim 4, wherein the plurality of color image data are sequentially written to the same address of the plurality of memory chips through the common data bus, and the plurality of memory chips. And a circuit for sequentially transferring the plurality of image data from the same address to the print head through the common data bus.
JP7337391A 1995-12-25 1995-12-25 Color printer Pending JPH09174952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7337391A JPH09174952A (en) 1995-12-25 1995-12-25 Color printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7337391A JPH09174952A (en) 1995-12-25 1995-12-25 Color printer

Publications (1)

Publication Number Publication Date
JPH09174952A true JPH09174952A (en) 1997-07-08

Family

ID=18308198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7337391A Pending JPH09174952A (en) 1995-12-25 1995-12-25 Color printer

Country Status (1)

Country Link
JP (1) JPH09174952A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7330289B2 (en) 2004-04-05 2008-02-12 Kabushiki Kaisha Toshiba Color image forming apparatus
JP2009099065A (en) * 2007-10-18 2009-05-07 Canon Inc Recording device and data transfer method
JP2012081733A (en) * 2010-09-16 2012-04-26 Ricoh Co Ltd Printer and method of controlling the same
JP2017149100A (en) * 2016-02-26 2017-08-31 コニカミノルタ株式会社 Image formation apparatus and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7330289B2 (en) 2004-04-05 2008-02-12 Kabushiki Kaisha Toshiba Color image forming apparatus
JP2009099065A (en) * 2007-10-18 2009-05-07 Canon Inc Recording device and data transfer method
JP2012081733A (en) * 2010-09-16 2012-04-26 Ricoh Co Ltd Printer and method of controlling the same
JP2017149100A (en) * 2016-02-26 2017-08-31 コニカミノルタ株式会社 Image formation apparatus and program

Similar Documents

Publication Publication Date Title
KR950006621B1 (en) Image processing apparatus
JPH0640080A (en) Printer
US5927871A (en) Printer having scroll print buffer and printing method
US4985850A (en) Output apparatus
JPH09174952A (en) Color printer
JPH10271322A (en) Image-processing method, device therefor and image-forming device
JP2003145726A (en) Print head driver
JPH07304213A (en) Printer and control method thereof
JPS58117036A (en) Print controller
JPH0958019A (en) Image forming equipment
JP3703273B2 (en) Image data conversion apparatus, printing apparatus including image data conversion apparatus, and image data conversion method
JP2669336B2 (en) Printing equipment
JP4323622B2 (en) Recording device
JP2922660B2 (en) Image processing device
JPH09265367A (en) Device and method for printer control
JPS63188052A (en) Recorder
JP2002240261A (en) Print buffer memory controller
JP2834738B2 (en) Printing equipment
JPH05220948A (en) Serial printer and image forming method thereof
JP2918552B2 (en) Printing control device
JP4730474B2 (en) Image processing device
JP2871881B2 (en) Image processing device
JP2001187476A (en) Printer and method for transferring image data
JPH0781092A (en) Color printer
JP2019142080A (en) Printer