JPH047966A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH047966A
JPH047966A JP2111072A JP11107290A JPH047966A JP H047966 A JPH047966 A JP H047966A JP 2111072 A JP2111072 A JP 2111072A JP 11107290 A JP11107290 A JP 11107290A JP H047966 A JPH047966 A JP H047966A
Authority
JP
Japan
Prior art keywords
data
line
cpu
signal
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2111072A
Other languages
Japanese (ja)
Inventor
Takashi Monno
孝史 門野
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2111072A priority Critical patent/JPH047966A/en
Priority to US07/690,267 priority patent/US5163123A/en
Publication of JPH047966A publication Critical patent/JPH047966A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Heads (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

PURPOSE:To obtain the printer controller to synchronize with a picture by a CPU by providing a timing generating means, executing write and read asynchronously and providing a line buffer to store a data for one line. CONSTITUTION:A CPU 3 develops information received from a host to a picture image and stores it into a bit map memory 4. In the case of printing, the CPU 3 reads out the picture data previously stored in the memory 4 and writes the data into a line buffer 5. This buffer 5 is used so that the CPU 3 can synchronize pictures for the unit of one line, and since the synchronization is not for the unit of one byte, the CPU 3 can execute the other processing during printing. The data stored in the buffer 5 is read out by a picture synchronizing part 6 corresponding to a synchronizing signal from a printer 2, serially converted and outputted as the data for laser modulation of the printer 2.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ホストからの画像データを同期をとって印字
部へ送る画像同期回路を備えたプリンタコントローラに
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printer controller equipped with an image synchronization circuit that synchronizes image data from a host and sends it to a printing unit.

(従来の技術) レーザプリンタなどのドツトプリンタでは、プリントコ
ントローラがホストコンピュータなどのホストから文字
コードなどの画像情報を受信し、その情報に従って画像
イメージを展開し、ビットマツプメモリに記憶する。そ
してたとえば1頁分の画像イメージが記憶されると、そ
のデータを印字部に出力して紙への画像の印字を行う。
(Prior Art) In a dot printer such as a laser printer, a print controller receives image information such as character codes from a host such as a host computer, develops an image according to the information, and stores it in a bitmap memory. For example, when an image for one page is stored, the data is output to a printing unit to print the image on paper.

(発明が解決しようとする課題) レーザプリンタの低価格化に伴い、プリンタコントロー
ラの低価格化が求められる。
(Problems to be Solved by the Invention) As the price of laser printers decreases, printer controllers are required to decrease in price.

プリンタコントローラには、メモリへのドツトイメージ
の描画のためにハードウェア回路が用いられていた。従
来のハードウェア回路には高価な画像制御用LSIと付
加回路が用いられているものがある。(この専用LSI
にはDRAMのラインバッファを持つものがある。DR
AMは、白デタを出力する間もリフレッシュ動作を行う
。)また、ハードウェアのロジック回路によりCPUを
介さずにDMA転送で画像との同期をとっているものが
ある(つまりラインバッファは備えていない。)。従っ
て、プリンタコントローラの低価格化のため、ハードウ
ェア回路の簡素化が望まれる。
Printer controllers used hardware circuitry to draw dot images into memory. Some conventional hardware circuits use expensive image control LSIs and additional circuits. (This dedicated LSI
Some have DRAM line buffers. D.R.
AM performs a refresh operation even while outputting white data. ) Furthermore, there are devices that use a hardware logic circuit to synchronize with the image by DMA transfer without going through the CPU (that is, they do not have a line buffer). Therefore, in order to reduce the price of the printer controller, it is desired to simplify the hardware circuit.

そこで、プリンタコントローラを制御するCPUが、印
字部への画像イメージの転送についても制御すると、ハ
ードウェア構成を簡素化できると考えられる。しかし、
このとき、最もタイミングの条件がきびしい印字部との
画像同期の部分についてCPUの負荷を小さくしなけれ
ば、CPUか他の処理を実行できなくなってしまう。従
って、この点を解決しなければ、CPUに印字部への画
像データの転送を制御させることはできない。
Therefore, it is thought that the hardware configuration can be simplified if the CPU that controls the printer controller also controls the transfer of the image to the printing section. but,
At this time, unless the load on the CPU is reduced for the part of image synchronization with the printing unit, which requires the most stringent timing conditions, the CPU or other processing will not be able to be executed. Therefore, unless this point is solved, it is not possible to have the CPU control the transfer of image data to the printing section.

いま印字速度が毎分6枚、解像度が300ドツト/イン
チ程度の仕様のプリンタを考える。この場合、画像デー
タの同期クロックVCLKは、1゜5−2MHzの周波
数(660−500nsの周期)を持つ。CPUがこの
速度で画像データを出力することは困難である。そこで
、さらに低周波で作動させるための同期回路が必要にな
る。
Let's consider a printer with a printing speed of 6 pages per minute and a resolution of about 300 dots/inch. In this case, the image data synchronization clock VCLK has a frequency of 1°5-2 MHz (period of 660-500 ns). It is difficult for the CPU to output image data at this speed. Therefore, a synchronization circuit is required to operate at an even lower frequency.

いま、CPUが8ビツトパラレルの画像データをパラレ
ルシリアル変換器に書き込み、ンリアルデータとして印
字部に出力することを考えると、C’P Uの書き込み
タイミングのWRRE Q信号は4〜5.3μs周期の
信号となり、一般的なCPUが十分にデータを転送でき
る周期である。しかし、書き込みはタイミング信号WR
REQが発生されてから1同期クロックVCLKの間に
行わねばならないという問題がある。このWRRE Q
信号をソフトウェアで検出し、同期をとることは困難で
ある。そこで、ソフトウェアを介在させない方式か必要
である。たとえば、ビットマツプメモリ読出専用のロジ
ック回路を設けることが考えられるが、CPUとロジッ
ク回路の2回路がビットマツプメモリをアクセスするた
め、回路が複雑になる。
Now, considering that the CPU writes 8-bit parallel image data to the parallel-serial converter and outputs it to the print unit as real data, the WRREQ signal at the write timing of the C'PU has a cycle of 4 to 5.3 μs. This is a signal with a cycle that allows a general CPU to transfer data sufficiently. However, writing is done using the timing signal WR.
There is a problem in that the process must be performed within one synchronous clock VCLK after REQ is generated. This WRRE Q
Signals are difficult to detect and synchronize in software. Therefore, a method that does not involve software is required. For example, it is conceivable to provide a logic circuit exclusively for reading the bitmap memory, but since two circuits, the CPU and the logic circuit, access the bitmap memory, the circuit becomes complicated.

また、CPUに設けられているREADY信号を使用す
る方式も考えられる。この場合、WRREQ信号はその
ままCPUのREADY信号として使い、パラレルシリ
アル変換器にデータを書く際にWRRE Q(11号が
“L”レベルであるときは、CPUに待ち状態が挿入さ
れ、印字部との同期がとられる。こうして、CPUより
印字部に画像データが出力されるが、画像データ出力中
、つまり1頁の印字中、CPUは他の処理を行うことが
できない。従って、印字中にホストからの通信を止めた
り、緊急を要するエラー処理が不可能となったりする。
Another possible method is to use a READY signal provided in the CPU. In this case, the WRREQ signal is used as it is as the CPU's READY signal, and when writing data to the parallel-to-serial converter, when WRREQ (No. 11) is at the "L" level, a wait state is inserted in the CPU and the print section In this way, image data is output from the CPU to the printing unit, but while the image data is being output, that is, while printing one page, the CPU cannot perform other processing. communications from the computer may be stopped, or urgent error handling may become impossible.

本発明の目的は、CPHにより画像同期をとるプリンタ
コントローラを提供することである。
An object of the present invention is to provide a printer controller that performs image synchronization using CPH.

(課題を解決するための手段) 本発明に係るプリンタコントローラは、ホストから画像
情報を受信し、その情報に従って画像をビットマツプメ
モリに展開し、そして展開された画像データを印字部か
らの同期信号に応じて印字部に出力するプリンタコント
ローラにおいて、1ライン分の画像データを記憶し、書
き込みと読出しが非同期で行われ、先に書き込まれたデ
ータから読出されるラインバッフ7と、ピントマツプメ
モリの1ライン分の画像データを読出して上記のライン
バッファに書き込むデータ書込手段と、第Nラインの画
像データのラインバッファへの書き込みを、第N−1ラ
インの画像データの読出しを追い越さず、第Nラインの
画像データの読出しに追い越されないようにデータ書き
込み要求のタイミング信号を発生し、データ書込手段に
送るタイミング発生回路を設けたことを特徴とする。
(Means for Solving the Problems) A printer controller according to the present invention receives image information from a host, develops the image in a bitmap memory according to the information, and transmits the developed image data to a synchronization signal from a printing unit. In the printer controller, which outputs image data to the printing unit according to A data writing means reads one line of image data and writes it into the line buffer, and writes the image data of the Nth line into the line buffer without overtaking the reading of the image data of the N-1th line. The present invention is characterized in that a timing generation circuit is provided which generates a timing signal for a data write request and sends it to the data writing means so as not to be overtaken by the reading of image data of N lines.

(作用) 書き込みと読出しを非同期で行い、■ライフ分のデータ
を記憶できるラインバッファを設ける。
(Function) Writing and reading are performed asynchronously, and a line buffer is provided that can store data for life.

データ書込手段は、タイミング発生手段からタイミング
信号を受信すると、読出しと非同期にビットマツプメモ
リの1ライン分のデ〜りをラインバッファに書き込む。
When the data writing means receives the timing signal from the timing generating means, it writes data for one line of the bitmap memory into the line buffer asynchronously with the reading.

一方、ラインバッファからのデータ読出しは、印字部か
らの水平同期信号に対応して、書き込みと非同期に行わ
れる。
On the other hand, data reading from the line buffer is performed asynchronously with writing in response to a horizontal synchronization signal from the printing section.

以下余白 (実施例) 以下、添付の図面を参照して本発明の詳細な説明憚る。Margin below (Example) Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

レーザプリンタなどのドツトプリンタは、第1図に示す
ように、ホストコンビコータなとのホストから受信した
文字コード等の情報をド・ノドイメージに変換するコン
トローラ(画像発生部)1と、そのドツトイメージを印
字するプリンタエンジン(印字部)2とからなる。本実
施例では、ブリ〕・タエンジン2は、レーザー光学系を
用いた電子写真プロセスにより印字を行う。
As shown in Figure 1, a dot printer such as a laser printer has a controller (image generator) 1 that converts information such as character codes received from a host such as a host combination coater into a dot image, and a dot image generator. It consists of a printer engine (printing section) 2 that prints. In this embodiment, the printer engine 2 performs printing by an electrophotographic process using a laser optical system.

コントローラlは、CPU3により制御され、CPU3
はホストコンビエータから受信した情報を画像イメージ
に展開し、ヒツトマツプメモリ4に記憶する。印字する
ときは、CPU3はあらかじめビットマツプメモリ4に
記憶されている画像データを読み、ラインバッファ5に
書き込む。ラインバッファ5は、CPU3が1ライン単
位の同期をとるために用いられるものである。1/くイ
ト単位の同期ではないので、CPU3は、印字中にも他
の処理が行える。ラインバッファ5に記憶されたデータ
は、プリンタエンジン2から送られる同期信号にあわセ
で画像同期部6により読み出され、画像同期部6でシリ
アルデータに変換して、プリンタエンジン2のレーザの
変調用データとしてプリンタエンジン2に出力される。
The controller l is controlled by the CPU3, and
develops the information received from the host combinator into an image and stores it in the hit map memory 4. When printing, the CPU 3 reads the image data stored in the bitmap memory 4 in advance and writes it into the line buffer 5. The line buffer 5 is used by the CPU 3 to synchronize on a line-by-line basis. Since the synchronization is not performed in units of 1/item, the CPU 3 can perform other processing even during printing. The data stored in the line buffer 5 is read out by the image synchronization unit 6 in response to the synchronization signal sent from the printer engine 2, and is converted into serial data by the image synchronization unit 6 to modulate the laser of the printer engine 2. The data is output to the printer engine 2 as data for use.

この画像ブタの出力は、プリンタエンジン2内の感光体
を走査するレーザビームの変調用データとして使用され
るため、一定速度で回転するポリゴンミラーと感光体に
同期させる必要がある。このとき同期精度は画像の精度
となる。
Since the output of this image is used as data for modulating the laser beam that scans the photoreceptor in the printer engine 2, it is necessary to synchronize the polygon mirror, which rotates at a constant speed, with the photoreceptor. At this time, the synchronization accuracy is the image accuracy.

第2図は、プリンタの印字部から出力される同期信号と
それに対する画像データのタイミングを示す。第3図は
、第2図のタイミングチャートに示した各同期信号と印
字結果との対応を示す。ここに、PSYNCは、垂直同
期信号(頁同期信号)であり、1頁の印字の開始の前に
垂直方向(用紙送り方向)に用紙21の外で立下る。L
SYNCは、水平同期信号(ライン同期信号)であり、
PSYNCの立下りの後のT1時間経過後に垂直方向に
用紙の印字エリア22に達したときに水平方向Iこ用紙
2】の外で立下り、その後、同様にNV個の各ラインの
印字開始の前に立下る。VCLKは画像データの同期ク
ロックであり、LSYNCの立下りの後のT4時間後に
立下り、その後、用紙の印字エリアの水平方向の画素数
NHだけ立下る。
FIG. 2 shows the synchronization signal output from the printing section of the printer and the timing of image data in response to the synchronization signal. FIG. 3 shows the correspondence between each synchronization signal shown in the timing chart of FIG. 2 and the printing result. Here, PSYNC is a vertical synchronization signal (page synchronization signal), which falls outside the paper 21 in the vertical direction (paper feeding direction) before the start of printing one page. L
SYNC is a horizontal synchronization signal (line synchronization signal),
When PSYNC reaches the print area 22 of the paper in the vertical direction after T1 time has elapsed after the fall of PSYNC, it falls outside of the horizontal direction I (this paper 2), and then similarly starts printing each of NV lines. fall in front. VCLK is a synchronization clock for image data, and falls at a time T4 after the fall of LSYNC, and thereafter falls by the number of pixels NH in the horizontal direction of the printing area of the paper.

VDATA (di 、d2・・・dNH)は、画像デ
ータでであり、LSYNCの立下りに同期して出力され
る。時間T5 (LSYNC信号周期)とT6(VCL
K信号周期)はそれぞれプリンタにより規定されるマー
ジンに対応する長さである。
VDATA (di, d2...dNH) is image data and is output in synchronization with the falling edge of LSYNC. Time T5 (LSYNC signal period) and T6 (VCL
K signal periods) are each a length corresponding to the margin defined by the printer.

第3図に示すように、印字は、副走査方向(用紙送り方
向)に用紙21に達する前にPSYNC信号か発生され
ることにより開始される。印字は、用紙21内の斜線で
示す印字エリア22内で行われる。なお、上下、左右の
余白部分23の大きさはプリンタにより規定される。各
ラインの始めに用紙21外で同期信号LSYNCが発生
され、印字エリア22内では各画素に対応してVCLK
信号が発生され、それに対応してデータVDATAが送
られ、印字が行われる。
As shown in FIG. 3, printing is started by generating a PSYNC signal before reaching the paper 21 in the sub-scanning direction (paper feeding direction). Printing is performed within a print area 22 indicated by diagonal lines within the paper 21. Note that the sizes of the top, bottom, left and right margin portions 23 are defined by the printer. At the beginning of each line, a synchronizing signal LSYNC is generated outside the paper 21, and within the printing area 22, a synchronizing signal VCLK is generated corresponding to each pixel.
A signal is generated, data VDATA is sent in response, and printing is performed.

第4図は、ラインバッファ5と画像同期部6の回路図で
ある。
FIG. 4 is a circuit diagram of the line buffer 5 and the image synchronization section 6.

ラインバッファ5としては、周辺回路を簡単にするため
にファーストインファーストアウトメモリ (以下FI
FOメモリという)41を用いる。
As line buffer 5, first-in-first-out memory (hereinafter referred to as FI) is used to simplify the peripheral circuitry.
(referred to as FO memory) 41 is used.

FIF○メモリ41は、読出側と書込側が非同期で動作
し、先に書き込まれたデータから読出される。ここに使
用するFIFOメモリ4Iは、アドレス信号は内部で発
生し、アドレスを0にした後は書込み動作、読み出し動
作が1回行われる度にアドレスが1ずつインクリメント
される。このためFIFOメモリ41をアクセスする際
にアドレス信号を発生する必要はない。また、読み出し
側と書き込み側が独立しているため、CPU3はビット
マツプメモリ4の1ライン分の画像データを読み出しと
無関係に書き込めばよい。読み出し側は、プリンタエン
ジン2からの同期信号LSYNCに合わせて画像データ
をFIFOメモリ41から読み出し、プリンタエンジン
2より送られる同期信号VCLKに同期してシリアルに
変換したビデオデータVDATAを出力すれば良い。
In the FIF◯ memory 41, the reading side and the writing side operate asynchronously, and the data written first is read out. In the FIFO memory 4I used here, an address signal is generated internally, and after the address is set to 0, the address is incremented by 1 each time a write operation or a read operation is performed. Therefore, there is no need to generate an address signal when accessing the FIFO memory 41. Further, since the reading side and the writing side are independent, the CPU 3 only needs to write one line of image data in the bitmap memory 4 regardless of reading. On the reading side, the image data may be read from the FIFO memory 41 in synchronization with the synchronization signal LSYNC from the printer engine 2, and the serially converted video data VDATA may be output in synchronization with the synchronization signal VCLK sent from the printer engine 2.

画像同期部6は、FIFOメモリ41より読出された画
像データ(8ビツトパラレル)をシリアルビデオクロッ
クVCLKに同期してシリアルビデオ信号VDATAに
変換するシフトレジスタ42と、シリアルビデオクロッ
クVCLKを8分周してFIFOメモリ41の読出信号
RDを発生するリードタイミング発生回路43と、水平
同期信号LSYNCに基いてFIFOメモリ41への書
き込みのタイミング信号WRRE Qを発生するFIF
O制御タイミング発生回路44とから構成される。
The image synchronization unit 6 includes a shift register 42 that converts the image data (8-bit parallel) read from the FIFO memory 41 into a serial video signal VDATA in synchronization with the serial video clock VCLK, and a shift register 42 that divides the frequency of the serial video clock VCLK by 8. A read timing generation circuit 43 generates a read signal RD for the FIFO memory 41 based on the horizontal synchronization signal LSYNC, and a FIF generates a timing signal WRREQ for writing to the FIFO memory 41 based on the horizontal synchronization signal LSYNC.
It is composed of an O control timing generation circuit 44.

第5図は、リードタイミング発生回路43の回路図であ
り、リードタイミング発生回路43は、3ビツトのカウ
ンタ6IとANDゲート62とから構成される。カウン
タ61はVCLKを計数し、3桁の2進信号Q2.Ql
、QOを出力する。また、カウンタ61は、各ラインの
初めにLSYNC信号でリセットされる。次にVCLK
信号が入力されると、カウンタ6IはIづつインクリメ
ントされる。ANDゲート62は、2進出力信号Q2、
Ql、QOとの積を求め、RDを出力する。
FIG. 5 is a circuit diagram of the read timing generation circuit 43. The read timing generation circuit 43 is composed of a 3-bit counter 6I and an AND gate 62. Counter 61 counts VCLK and 3-digit binary signal Q2. Ql
, outputs QO. The counter 61 is also reset by the LSYNC signal at the beginning of each line. Next, VCLK
When the signal is input, the counter 6I is incremented by I. AND gate 62 receives binary output signal Q2,
Find the product of Ql and QO and output RD.

即ち計数値が“1nのときのみRD−0″を出力する。That is, RD-0 is output only when the count value is 1n.

これにより、8ビツト(1バイト)ごとにリードタイミ
ング信号RDが発生される。
As a result, a read timing signal RD is generated every 8 bits (1 byte).

FIFO制御タイミング発生回路44は、カウンタを備
え、水平同期信号LSYNCを受信すると、後に説明す
るように所定の数のVCLK信号を計数してWRREQ
信号をCPU3に出力する遅延回路であり、FIFOメ
モリ41の書き込みタイミング信号WRRE QをCP
U3に出力する。
The FIFO control timing generation circuit 44 includes a counter, and upon receiving the horizontal synchronization signal LSYNC, counts a predetermined number of VCLK signals and outputs WRREQ as described later.
This is a delay circuit that outputs a signal to the CPU 3, and outputs the write timing signal WRREQ of the FIFO memory 41 to the CP
Output to U3.

なお、簡易な方法として、ワンショットマルチバイブレ
ータをLSYNC信号でトリガーしてもよい 二こで、第6図はFIFOメモリ4Iへの書き込みと読
み出しのタイミングを示し、第7図と第8図は、それぞ
れFIFOメモリ41への書き込みと読み出しのタイミ
ングをさらに詳細に示す。
As a simple method, the one-shot multivibrator may be triggered by the LSYNC signal. Figure 6 shows the timing of writing and reading from the FIFO memory 4I, and Figures 7 and 8 show the timing of writing and reading from the FIFO memory 4I. The timing of writing to and reading from the FIFO memory 41 will be shown in more detail.

FIFOメモリ41への1ライン分のデータの書込の開
始の後に、その1ライン分のデータの読出が開始される
After the writing of one line of data to the FIFO memory 41 is started, the reading of that one line of data is started.

FIFOメモリ41の書込み側では、CPU3がWRR
EQ信号がアクティブになっていることを検出すると、
FIFpメモリ41の書込みアドレスを0にし、124
2分の画像データをFIFOメモリ41に書込む(第7
図参照)。
On the write side of the FIFO memory 41, the CPU 3
When it detects that the EQ signal is active,
Set the write address of the FIFp memory 41 to 0 and set it to 124.
Write 2 minutes of image data to the FIFO memory 41 (7th
(see figure).

なお、WR,WRCLR信号としては、それぞhFrF
oメモリ41の書込みのためのアドレス、FIFOメモ
リ41の書込みアドレスをクリアするだめのアドレスを
CPU3のメモリ空間に割当てておき、CPU3のWR
倍信号それぞれのアドレスとを検出した時にアクティブ
となる信号の論理積をとった信号を用いればよい。CP
U3は、まず書込みアドレスをクリアした後、】ライン
分のデータを順次書込むが、書込みアドレスはWR倍信
号立上がりでインクリメントされる。
Note that the WR and WRCLR signals are hFrF, respectively.
o The address for writing to the memory 41 and the address for clearing the write address of the FIFO memory 41 are allocated to the memory space of the CPU 3, and the WR of the CPU 3
A signal obtained by ANDing signals that become active when the address of each double signal is detected may be used. C.P.
U3 first clears the write address and then sequentially writes the data for the ] line, but the write address is incremented at the rising edge of the WR times signal.

読み出し側は、LSYNC,VCLKf:同期してFI
FOメモリ41より画像データを読み出す(第8図参照
)。LSYNC信号が入力されると、初期化のためFI
FOメモリ41の読み出し側のアドレスがOとなり、ま
たRD倍信号発生させるための3ピントカウンタ61も
クリアされ、さらに、シフトレジスタ42もクリアされ
る。そして、1バイト目(アドレス0)の画像データが
シフトレジスタ42にロードされる。
On the read side, LSYNC, VCLKf: synchronously with FI
Image data is read from the FO memory 41 (see FIG. 8). When the LSYNC signal is input, the FI
The read side address of the FO memory 41 becomes O, the 3-pint counter 61 for generating the RD times signal is also cleared, and the shift register 42 is also cleared. Then, the image data of the first byte (address 0) is loaded into the shift register 42.

カウンタ61は以後VCLK信号の立ち下がりでインク
リメントされ、計数値が1のときRD倍信号アクティブ
となる。この信号はFIFOメモリ41を読み出すため
のクロックとして、またシフトレジスタ42にFIFO
メモリ41から読み出されたデータを8ビツトごとにロ
ードするために使われる。
Thereafter, the counter 61 is incremented at the falling edge of the VCLK signal, and when the count value is 1, the RD times signal becomes active. This signal is used as a clock for reading out the FIFO memory 41, and also as a clock for reading out the FIFO memory 41.
It is used to load data read from memory 41 every 8 bits.

シフトレジスタ42ではFIFOメモリ41から読み出
した8ビツトパラレルデータをシリアルビデオ信号に変
換しプリンタエンジン2に出カスる。すなわち、このシ
フトレジスタ42は、LSYNCが入力されるとクリア
(自データ)され、RD倍信号Lレベルのときは、VC
LKの立上がりでFIFOメモリ41からのデータをロ
ードし、RD倍信号■]レベルのときはVCLKの立上
がりでデータを1ビツトずつシフトする。
The shift register 42 converts the 8-bit parallel data read from the FIFO memory 41 into a serial video signal and outputs it to the printer engine 2. That is, this shift register 42 is cleared (own data) when LSYNC is input, and when the RD double signal is at L level, the VC
The data from the FIFO memory 41 is loaded at the rising edge of LK, and when the RD double signal (■) is at the level, the data is shifted one bit at a time at the rising edge of VCLK.

このようlこラインバンフ75を用いライン単位の同期
とすることにより、CPU3はプリンタエンジン2との
同期をとることが容易となり、CPU3の負荷を減らす
ことが出来る。例えば8M)(2の動作クロックで動作
するCPU18086では、最も高速なデータ転送命令
MOVSBを使うとnバイトのデータ転送時間は9+(
17Xn)タロツクであり、解像度を300dpi、主
走査方向の長さを8,5インチとすると1ライン(=3
19バイト)のデータ転送時間は、9+(17X319
)−2242クロツクなので280psとなる。これは
1バイト単位で同期をとった場合の1.3〜1 、7 
msに比べ非常に小さな値となっている。従って、LS
YNCの周期が2−2.5ms程度であることを考える
と画像データの転送に要する時間はlO%程度であり、
CPU3は他の処理も充分出来ることになる。
By performing line-by-line synchronization using the line buff 75 in this manner, the CPU 3 can easily synchronize with the printer engine 2, and the load on the CPU 3 can be reduced. For example, with a CPU 18086 that operates with an operating clock of 8M) (2), if the fastest data transfer instruction MOVSB is used, the data transfer time for n bytes is 9 + (
If the resolution is 300 dpi and the length in the main scanning direction is 8.5 inches, then one line (=3
19 bytes) data transfer time is 9+(17×319
)-2242 clock, so it is 280 ps. This is 1.3 to 1,7 when synchronizing in 1 byte units.
This is a very small value compared to ms. Therefore, L.S.
Considering that the YNC cycle is about 2-2.5ms, the time required to transfer image data is about 10%,
The CPU 3 will be able to perform other processing as well.

しかもラインバッファ5へ書き込むタイミングは、一定
である必要はなく、読み出される前に書くという条件さ
え満たせばよい。つまり第Nラインの書き込みが、第N
ラインの読み出しに追い越されなければよい。
Moreover, the timing of writing to the line buffer 5 does not have to be constant, and it is sufficient to satisfy the condition that the data be written before being read. In other words, writing on the Nth line is
It is fine as long as it is not overtaken by line reading.

この様に1ライン分のFIFOメモリ41を用いること
により、バイト単位で同期させるための無駄を省略でき
る上に、柔軟な書き込みが可能となる。
By using the FIFO memory 41 for one line in this way, it is possible to omit unnecessary synchronization in byte units and also to enable flexible writing.

次に書き込み開始タイミングの決定について説明する。Next, the determination of the write start timing will be explained.

第6図のタイミングチャートでは、理解が容易な様に、
第Nラインの読み出し開始の一定時間後に第N+1ライ
ンの書き込みを開始しているが、必らずしも一定時間を
待つ必要はなく、第Nラインの第mバイトの読み出しが
終了すれば、第n+1ラインの第mバイトのデータを書
いてもよい。つまり第Nラインの読み出しを、第N+1
ラインの書き込みが追い越さなければよい。
In the timing chart of Figure 6, for easy understanding,
Although the writing of the N+1 line starts after a certain period of time after the start of reading the Nth line, it is not necessary to wait for a certain period of time. Data of the m-th byte of the n+1 line may be written. In other words, the reading of the Nth line is
It is fine as long as the writing on the line does not overtake it.

1ライン分のデータを書き込むのに要する時間【Wは、
1ラインの印字期間よりも短い場合も長い場合もありえ
る。
The time required to write one line of data [W is
It may be shorter or longer than the printing period of one line.

先に述べた条件を合わせると、第Nラインの書き込みの
条件は、■第N−1ラインの読み出しを追い越さないこ
とと、■第Nラインの読み出しに追い越されないことで
ある。
Combining the above-mentioned conditions, the conditions for writing the Nth line are (1) not to overtake the reading of the N-1th line, and (2) not to be overtaken by the reading of the Nth line.

以上の条件を満たす極端な例を第9図に示す。An extreme example satisfying the above conditions is shown in FIG.

この場合、第Nラインの読み出し中に第N+1ラインの
書き込みを開始したが他の割り込み処理(ハツチング部
分参照)により2度中断している。しかし、先Iこ述べ
た「読み出し処理に追い越されない」という条件も満た
している場合である。
In this case, writing of the N+1th line started while reading the Nth line, but was interrupted twice due to other interrupt processing (see the hatched part). However, this is a case where the condition ``not being overtaken by read processing'' mentioned above is also satisfied.

書き込みタイミングにおいて、最も読み出しに対して余
裕のあるタイミングは、第Nラインの第mバイトの読み
出し終了を検出し、第N+1ラインの第mバイトの書き
込みを行なうことである。
In the write timing, the timing with the most margin for reading is to detect the end of reading of the m-th byte of the N-th line and write the m-th byte of the N+1-th line.

しかし、この方法は結局バイト単位の同期を行っている
にすぎず、非常に無駄な時間を消費するとともに第mバ
イトを読んでいることを検出する必要がある。この無駄
な時間は他の処理に回すことができる時間であり処理効
率が悪い。
However, this method only performs byte-by-byte synchronization, which consumes a lot of wasted time and requires detection that the m-th byte is being read. This wasted time can be used for other processing, resulting in poor processing efficiency.

そこで本発明では以下の方法を用いる。Therefore, in the present invention, the following method is used.

まずlライフ分の画像データを最小時間で書く時の所要
時間Tを求める。各ラインの読み出しが終了するタイミ
ングtNendを求める。以上の2つから第N+1ライ
ンの書き込み開始タイミングを以下の様に設定する。す
なわち、第N+1ラインの書き込み開始タイミング時刻
tN、5trtは第Nラインの読み出し終了タイミング
tNendよりもTだけ前の時刻にする(tN+、5t
rt+ T )tNend)。
First, the time T required to write image data for one life in the minimum time is determined. The timing tNend at which reading of each line ends is determined. Based on the above two, the write start timing for the N+1 line is set as follows. In other words, the write start timing tN, 5trt of the N+1 line is set to a time T earlier than the read end timing tNend of the Nth line (tN+, 5t).
rt+T)tNend).

この設定により条件■は必ず満足し、条件■に対しても
充分余裕があり、しかもCPU3は、時刻tN、5tr
tを検出した後は最も効率のよい方法で連続してデータ
をFIFOメモリ41に書き込むことが可能となり、他
の処理に費す時間が充分とれる。
With this setting, condition (2) is definitely satisfied, there is sufficient margin for condition (2), and CPU3 is
After detecting t, it becomes possible to continuously write data to the FIFO memory 41 using the most efficient method, and sufficient time is available for other processing.

FIFOタイミング発生回路44は、このように決定さ
れたタイミングを、印字部からの読み出しの同期信号L
SYNCからクロックVCLKを所定の回数だけ計数し
て、発生する。
The FIFO timing generation circuit 44 uses the timing determined in this way as a synchronization signal L for reading from the printing section.
The clock VCLK is generated by counting a predetermined number of times from the SYNC.

なお、第9図や後述の第13図のデータ書き込みのよう
に書き込みの中断などを行なう場合は、条件■を満j;
すように考慮する。
In addition, when interrupting writing as in the case of data writing in FIG. 9 or FIG. 13 (described later), condition ■ is satisfied;
Please consider this.

次にラインバッファ5にD RA、 MからなるFIF
Oメモリを用いる実施例を説明する。
Next, line buffer 5 has a FIF consisting of DRA and M.
An example using O memory will be described.

DRAMは集積度が高く、コンパクトなシステムに向い
ている。従って、プリンタコントローラのハードウェア
構成の簡素化にとって好ましい。
DRAM has a high degree of integration and is suitable for compact systems. Therefore, it is preferable to simplify the hardware configuration of the printer controller.

しかし、一般には以下の理由により回路が複雑となり、
ある程度の記憶容量を必要とする部分でなけれは、SR
AMの方がよりコンパクトなシステムとなる。そこで、
DRAMを用いる場合は回路のコンパクト化を考慮しな
ければ、プリントコントローラには使用できない。
However, in general, the circuit becomes complicated due to the following reasons.
Unless the part requires a certain amount of storage capacity, SR
AM results in a more compact system. Therefore,
When using DRAM, it cannot be used in a print controller unless consideration is given to making the circuit more compact.

DRAMは、記憶する単位の1つ1つがコンデンサを持
ち、コンデンサに蓄えられた電荷の有無により情報を記
憶する。この電荷は、時間がたつにつれてリークするた
め、規定の時間以内に電荷を再充電する必要がある。こ
れをリフレッシュ動作という。一般的にこの規定時間は
、256にビットDRAMで4ms、LMビットDRA
Mでgms程度となっている。また特殊な例では、1m
sしか保証されない場合もある。
In DRAM, each storage unit has a capacitor, and information is stored depending on the presence or absence of charge stored in the capacitor. This charge leaks over time and must be recharged within a specified time. This is called a refresh operation. Generally, this specified time is 4ms for 256-bit DRAM and 4ms for LM bit DRAM.
M is about GMS. In special cases, 1m
In some cases, only s is guaranteed.

このリフレッシュ動作についてはいろいろな方法がある
が、回路のパフォーマンスを落とさないためにはリフレ
ッシュ専用の回路を付加することが考えられる。しかし
本発明の様な読み出し側と書込み側が非同期で動作して
いるラインバッファ回路では、読み出しも書込みも行な
われていないタイミングを検出し、その間にリフレッシ
ュ動作を行なう必要があり、そのタイミングを検出する
ためには複雑な回路が必要となる欠点がある。
There are various methods for this refresh operation, but in order not to degrade the performance of the circuit, it is conceivable to add a circuit dedicated to refresh. However, in a line buffer circuit like the present invention, in which the read side and the write side operate asynchronously, it is necessary to detect the timing when neither reading nor writing is being performed, and perform a refresh operation during that time. The drawback is that it requires a complicated circuit.

ところで本発明の様に記憶されるデータが一時的に必要
なだけの場合、リフレッシュ動作そのものを省略するこ
とが出来る。つまりラインバッファ5に書込んだデータ
を、規定時間内に、プリンタエンジン2に出力すれば良
い。
By the way, when the data to be stored is only temporarily required as in the present invention, the refresh operation itself can be omitted. In other words, the data written in the line buffer 5 may be output to the printer engine 2 within a specified time.

すなわち、リフレッシュ動作を不必要とするため、書込
み側は書込制御タイミングを検出すると、1ライン分の
データを出来るだけ速く連続してラインバッファ5に書
く。読み出し側は、プリンタエンジン2から送られる同
期信号に合せラインバッファ5を読み出す。この時に、
画像データを書込んでから、そのデータを読み出すまで
の時間がつねにDRAMのデータ保持時間内であるよう
に、書込みと読出しのタイミングを制御する。
That is, in order to make a refresh operation unnecessary, when the writing side detects the write control timing, it writes one line of data to the line buffer 5 continuously as quickly as possible. On the reading side, the line buffer 5 is read in accordance with the synchronization signal sent from the printer engine 2. At this time,
The timing of writing and reading is controlled so that the time from writing image data to reading that data is always within the data retention time of the DRAM.

ところでDRAMのリフレッシュをまっt;<行なわな
い場合、DRAMを構成するコンデンサに蓄えられた電
荷はすべて放電することになる。ここで放電した時の各
ビットの出力を、画像では“白データ″になるように極
性を決定すると、全くリフレッシュしない時、印字結果
は黒く印字されるべき所が白くなることはあっても、そ
の逆は無い。従って、複数ラインにわたって自データが
つづく時は、1度ラインバッファ5に白データを書けば
、次に黒データが現れるまではリフレッシュを行なうこ
とも、各ラインで自データを書込むことも必要が無い。
By the way, if the DRAM is not refreshed at all, all the charges stored in the capacitors constituting the DRAM will be discharged. If the polarity of the output of each bit when discharged is determined so that it becomes "white data" in the image, if there is no refresh at all, the print result may be white where it should be printed black, but The opposite is not true. Therefore, when the own data continues over multiple lines, once the white data is written to the line buffer 5, it is not necessary to refresh until the next black data appears, and it is also necessary to write the own data on each line. None.

この間には、プリントコントローラのCPU3はライン
数をカウントし、管理する必要はあるが、画像データを
ラインバッファ5に書込む必要はないため、他の処理を
行なうことか出来る。例えば、第11図に示す例では、
印字は用紙上の斜線部分にのみ行なわれる。従ってA。
During this time, although the CPU 3 of the print controller needs to count and manage the number of lines, it is not necessary to write the image data to the line buffer 5, so it can perform other processing. For example, in the example shown in FIG.
Printing is performed only on the shaded areas on the paper. Therefore A.

B、C,Dで示す部分の各ラインでは、白データのみを
含むので、リフレッシュを行なわなくてもよい。特に各
ページの最後の黒データのあるラインのデータを出力し
た後は(第11図ではDの部分では)、ラインバッファ
5に関しては制御する必要が無く、例えば次のページの
データの編集を開始することができる。
Each line in the portions B, C, and D contains only white data, so there is no need to refresh it. Especially after outputting the data of the last line of black data of each page (part D in Figure 11), there is no need to control the line buffer 5, and for example, start editing the data of the next page. can do.

実際のDRAMではリフレッシュしないどきの出力は、
全てのヒツトが同じものもあれば第1表の様に、アドレ
ス信号によって決定されるものもある。
In actual DRAM, the output when not refreshed is
In some cases, all the hits are the same, and in others, as shown in Table 1, they are determined by the address signal.

以下余白 第1表 データの極性 第1表に示したDRAMは、リフレッシュしないときに
は(DRAMのデータはすべて#0″となる)、アドレ
ス信号AO−A7のうち、A7とAOの信号の極性が同
じであれば”o”を出力し、A7とAOの信号の極性が
異なるときは、”l”を出力する。
Below is a margin Table 1 Data polarity When the DRAM shown in Table 1 is not refreshed (all DRAM data is #0''), the polarities of the A7 and AO signals among the address signals AO-A7 are the same. If so, it outputs "o", and when the polarities of the A7 and AO signals are different, it outputs "l".

第1表に示されるDRAMの場合には、第1O図のよう
な回路を設けることにより、リフレッシュしない時の出
力の極性をそろえることができる。
In the case of the DRAM shown in Table 1, by providing a circuit as shown in FIG. 1O, the polarity of the output when not refreshed can be made uniform.

第10図の回路ではDRAMとしてFIFOメモリ80
を用い、FIFOメモリ80の入力端子とデータ入力D
INとの間に3−ステートのバッファ81とインバータ
82を並列に接続し、同様にFIFOメモリ80の出力
端子とデータ出力DOUTの間に3−ステートのバッフ
ァ83とインバータ84を並列に接続する。一方CPU
3からのアドレス信号A7、AOがEXORゲート85
に入力され、その出力が3−ステートバッファ81゜8
3のENi子に反転入力され、またインバータ86を介
して3−ステートインバータ82.84のEN端子に反
転入力される。
In the circuit of Fig. 10, the FIFO memory 80 is used as DRAM.
is used to connect the input terminal of the FIFO memory 80 and the data input D
A 3-state buffer 81 and an inverter 82 are connected in parallel between the FIFO memory 80 and the data output DOUT, and a 3-state buffer 83 and an inverter 84 are connected in parallel between the FIFO memory 80 output terminal and the data output DOUT. On the other hand, CPU
Address signals A7 and AO from 3 are EXOR gate 85
and its output is input to the 3-state buffer 81°8.
The signal is inverted and input to the ENi terminal of 3-state inverter 82 and 84, and is also inverted and input to the EN terminal of 3-state inverter 82 and 84 via inverter 86.

す7レソンユしているときは、第1表に示すように、入
力データはそのまま出力される。
When the input data is being processed, the input data is output as is, as shown in Table 1.

すなわち、アドレス信号A7、AOの信号の極性が一致
しないとき、EXORゲート85の出力は″ l′″で
あるので、3−ステートインバータ82のEN端子に”
l”か入力され、3−ステートバッファ81のEN端子
には′O″が入力されるため、データ入力DINに入力
されたデータは3−ステートインバータ82で反転され
、PIF080メモリに入力される。従ってFIFOメ
モリ80には反転されたデータが記憶され、出力時には
3−ステートインバータ84で再び反転され、もとの形
に戻され、データ出力DOUTに出力される。
That is, when the polarities of the address signals A7 and AO do not match, the output of the EXOR gate 85 is "l'", so that the EN terminal of the 3-state inverter 82 is "1".
1" is input and 'O" is input to the EN terminal of the 3-state buffer 81, so the data input to the data input DIN is inverted by the 3-state inverter 82 and input to the PIF080 memory. Therefore, the inverted data is stored in the FIFO memory 80, and at the time of output, it is inverted again by the 3-state inverter 84, returned to its original form, and outputted to the data output DOUT.

一方、アドレスA7、AOの信号の極性が一致するとき
、EXORゲート85の出力は”o”であるので、3−
ステートインバータ82.84は動作せず、データ入力
DTNに入力されたデータは3−ステートバッファ81
を経てそのままFlF○メモリに入力され、3−ステー
トバッファ83を経てそのままデータ出力DOUTに出
力される。
On the other hand, when the polarities of the signals at addresses A7 and AO match, the output of EXOR gate 85 is "o", so 3-
The state inverters 82 and 84 do not operate, and the data input to the data input DTN is transferred to the 3-state buffer 81.
The signal is input to the FlF○ memory as is through the 3-state buffer 83, and is output as is to the data output DOUT.

まに、データをリフレ・ノンユしない時(ラインバッフ
ァ80のデータはすべてHO″となる)、FIFOメモ
リ80はA7とAOの信号の極性が一致しないアドレス
では、”l”を出力するが、3−ステートインバータ8
4で反転されデータ出力DOUTには、70′を出力し
、A7とAOの信号の極性が一致するアドレスでは、0
″′を出力し、3−ステートバッファ83を経てそのま
ま0”かデータ出力DOUTに出力されるため、リフレ
ッシュが行われない時には全てのアドレスにおいてデー
タ出力DOUTには”o’が出力される。
Sometimes, when the data is not refreted or unused (all data in the line buffer 80 is HO''), the FIFO memory 80 outputs ``L'' at addresses where the polarities of the A7 and AO signals do not match, but 3 -state inverter 8
4 and outputs 70' to the data output DOUT, and 0 at the address where the polarity of the A7 and AO signals match.
``'' is output as it is through the 3-state buffer 83 and output as 0'' to the data output DOUT, so when refresh is not performed, ``o'' is output to the data output DOUT at all addresses.

次に、DRAMからなるFIFOメモリ80の場合につ
いて書込み開始タイミングの決定の仕方を以下に述べる
。この場合、上記の条件■、■の他に、リフレッシュの
規定時間t0も考慮しなければならない。書き込みはで
きるだけ連続して行なうものとする。
Next, how to determine the write start timing for the FIFO memory 80 made of DRAM will be described below. In this case, in addition to the above conditions (1) and (2), the prescribed refresh time t0 must also be taken into consideration. Writing should be performed as continuously as possible.

(1)  lライフ分の画像データの書込みに要する時
間t、が、1942分のデータの読み出しに要する時間
【Rよりも短い場合(第12図参照)。
(1) When the time t required to write image data for 1 life is shorter than the time R required to read 1942 minutes of data (see FIG. 12).

各ラインの一番最後のデータが読み出される時刻よりも
DRAMのデータ保持時間L0だけ前の時刻以後に各ラ
インのデータ書込みが終了すれば、リフレッシュ動作は
不用となる。従って、各ラインの一番最後のデータが書
き込まれる時刻からそのデータが読み出される時刻まで
の時間1.を、t。
If data writing for each line is completed after a time that is the data retention time L0 of the DRAM before the time at which the last data of each line is read, the refresh operation becomes unnecessary. Therefore, the time from the time when the last data of each line is written to the time when that data is read is 1. , t.

<toとなるように設定する。そして、書込開始時刻は
、この書込終了時刻より1ライン分のデータを書込むの
に要する時間tWだけ前とすれば良い。
<to. The writing start time may be set earlier than the writing end time by the time tW required to write one line of data.

また書き込みに要する時間1w75−短か過ぎる場合、
この条件を満たす書込開始時刻が各ラインでの読出開始
時刻以後になり、条件■に反する場合がある(tR>t
、+tl)。この場合は各ラインでの書込処理を複数に
分割し、それぞれの処理で先に述べた条件■、■を満た
すように、それぞれの書込開始時刻を決定すれば良い。
Also, if the time required to write is 1w75-too short,
The write start time that satisfies this condition may be after the read start time for each line, which may violate condition (tR>t
, +tl). In this case, the write process for each line may be divided into a plurality of processes, and the write start time of each process may be determined so that the conditions (1) and (2) described above are satisfied.

たとえば、第13図に示すように、1942分の画像デ
ータの書込みに要する時間t、を2つの区間twl 、
tw2(Lwt 十’W2=’W)に分割し、それぞれ
に対応して遅延回路を設けて書込要求タイミング信号W
RREQI。
For example, as shown in FIG. 13, the time t required to write 1942 minutes of image data is divided into two sections twl,
The write request timing signal W is divided into tw2 (Lwt 10'W2='W), and a delay circuit is provided corresponding to each of them.
RREQI.

WRREQ2を発生させる。CPU3は、この2つのタ
イミング信号に対応して、書込処理を2つの区間で行う
Generate WRREQ2. The CPU 3 performs write processing in two sections in response to these two timing signals.

(2) 1ラインの画像データの書込みに要する時間t
Wが、lラインのデータの読み出しに要する時間しRよ
りも長い場合(第14図参照)。
(2) Time t required to write one line of image data
When W is longer than the time R required to read data on line 1 (see FIG. 14).

各ラインの読出開始時刻よりも、DRAMのデータ保持
時間t0より短い時間t1だけ前を各ラインのデータ書
込開始時刻とする。
The data write start time of each line is set to be a time t1 shorter than the data retention time t0 of the DRAM before the read start time of each line.

(発明の効果) 従来、プリンタコントローラlこおいてハードウェアの
ロジック回路あるいは専用LSIが必要となっていたプ
リンタの印字部との画像データ転送の同期について、ラ
インバッファを用いてラインごとの同期をとって、CP
Uからのデータの転送が可能となった。このため回路が
シンプルになり、信頼性の向上とコストダウンが実現で
きる。
(Effects of the Invention) Conventionally, a hardware logic circuit or a dedicated LSI was required for the printer controller, but the synchronization of image data transfer with the print section of the printer is now synchronized line by line using a line buffer. Take, CP
It is now possible to transfer data from U. This simplifies the circuit, improving reliability and reducing costs.

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

第1図は、プリンタの構成を示すブロック図である。 第2図は、各種同期信号のタイミングチャートである。 第3図は、同期信号と印字用紙との関係を示す図である
。 第4図は、ラインバッファと画像同期部の回路図である
。 第5図は、リードタイミング発生回路の回路図である。 第6図は、FIFOメモリへの書き込みと読み出しのタ
イミングチャートである。 第7図と第8図は、それぞれ、FIFOメモリへの書き
込みと読み出しのタイミングチャートである。 第9図は、書込みと読出しの関係を説明するためのタイ
ミングチャートである。 第1O図は、DRAM極性揃え回路の図である。 第11図は、印字の一例の区である。 第12図、第13図、第14図は、いずれも、ラインバ
ッファへの書込みと読出しのタイミングチャートである
。 l・・・コントローラ、    2・・・グリンタエン
ジン、3・・・CI) U 、   5・・・ラインバ
ッファ(DRAM)、6・・・画像同期部。 特許出願人 ミノルタカメラ株式会社 代理人 弁理士 青白 葆 ほか2名 第3トフ
FIG. 1 is a block diagram showing the configuration of the printer. FIG. 2 is a timing chart of various synchronization signals. FIG. 3 is a diagram showing the relationship between synchronization signals and printing paper. FIG. 4 is a circuit diagram of the line buffer and image synchronization section. FIG. 5 is a circuit diagram of the read timing generation circuit. FIG. 6 is a timing chart of writing and reading from the FIFO memory. FIG. 7 and FIG. 8 are timing charts for writing and reading from the FIFO memory, respectively. FIG. 9 is a timing chart for explaining the relationship between writing and reading. FIG. 1O is a diagram of a DRAM polarity alignment circuit. FIG. 11 shows an example of the area of printing. FIG. 12, FIG. 13, and FIG. 14 are all timing charts for writing to and reading from the line buffer. 1... Controller, 2... Glinter engine, 3... CI), 5... Line buffer (DRAM), 6... Image synchronization unit. Patent Applicant Minolta Camera Co., Ltd. Agent Patent Attorney Aohaku Ao and 2 others No. 3 Tofu

Claims (1)

【特許請求の範囲】[Claims] (1)ホストから画像情報を受信し、その情報に従って
画像をビットマップメモリに展開し、そして展開された
画像データを印字部に出力するプリンタコントローラに
おいて、 1ライン分の画像データを記憶し、書き込みと読出しが
非同期で行われ、先に書き込まれたデータから読出され
るラインバッファと、 ビットマップメモリから1ライン分の画像データを読出
してラインバッファに書き込むデータ書込手段と、 印字部から各ラインの印字に先立って出力される水平同
期信号に応じてラインバッファから画像データを読出す
データ読出手段と、 第N−1ラインの画像データの読出しを追い越さず、第
Nラインの画像データの読出しに追い越されないように
、第Nラインの画像データのラインバッファへの書き込
みを行うためのデータ書込要求のタイミング信号を印字
部からの第N−1ラインの水平同期信号に対応して所定
のタイミングで発生し、データ書込手段に送るタイミン
グ発生回路を設けたことを特徴とするプリンタコントロ
ーラ。
(1) In a printer controller that receives image information from the host, develops the image in a bitmap memory according to the information, and outputs the developed image data to the printing section, stores and writes one line of image data. A line buffer that reads data asynchronously and reads the data written first; a data writing means that reads one line of image data from the bitmap memory and writes it to the line buffer; data reading means for reading image data from a line buffer in accordance with a horizontal synchronizing signal outputted prior to printing; In order to avoid being overtaken, the timing signal of the data write request for writing the image data of the Nth line to the line buffer is set at a predetermined timing corresponding to the horizontal synchronization signal of the N-1th line from the printing unit. A printer controller characterized in that it is provided with a timing generation circuit that generates a timing signal and sends it to data writing means.
JP2111072A 1990-04-25 1990-04-25 Printer controller Pending JPH047966A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2111072A JPH047966A (en) 1990-04-25 1990-04-25 Printer controller
US07/690,267 US5163123A (en) 1990-04-25 1991-04-24 Synchronously transferring image data to a printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2111072A JPH047966A (en) 1990-04-25 1990-04-25 Printer controller

Publications (1)

Publication Number Publication Date
JPH047966A true JPH047966A (en) 1992-01-13

Family

ID=14551672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2111072A Pending JPH047966A (en) 1990-04-25 1990-04-25 Printer controller

Country Status (1)

Country Link
JP (1) JPH047966A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5983148A (en) * 1996-03-25 1999-11-09 Trw Occupant Restraint Systems Gmbh Method of controlling activation of a vehicle occupant restraint system, control system and vehicle occupant restraint system
US6390498B1 (en) 1996-08-14 2002-05-21 Siemens Aktiengesellschaft Configuration for triggering restraining devices in a motor vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5983148A (en) * 1996-03-25 1999-11-09 Trw Occupant Restraint Systems Gmbh Method of controlling activation of a vehicle occupant restraint system, control system and vehicle occupant restraint system
US6390498B1 (en) 1996-08-14 2002-05-21 Siemens Aktiengesellschaft Configuration for triggering restraining devices in a motor vehicle

Similar Documents

Publication Publication Date Title
US5163123A (en) Synchronously transferring image data to a printer
JP2004048372A (en) Image processor, image input/output apparatus, scaling method, and memory control method
JPH01502142A (en) print engine drive interface
US5511152A (en) Memory subsystem for bitmap printer data controller
JPH07322056A (en) Picture data conversion device
JPH047966A (en) Printer controller
US4984182A (en) Laser printer controller flexible frame buffer achitecture which allows software to initiate the loading of a frame buffer start address
JPH047965A (en) Printer controller
JP2502753B2 (en) Image output device
JP2974476B2 (en) Memory controller
JP2882532B2 (en) Image data processing device
JP2955300B2 (en) Image processing method and apparatus
JPH11240211A (en) Image formation apparatus and recording medium
JP2955301B2 (en) Image processing method
JPH0611552B2 (en) Printer controller
JPH07156443A (en) Image forming device
JP2922660B2 (en) Image processing device
JP2878719B2 (en) Image data transfer control method and apparatus for page printer
JP2737932B2 (en) Image data reduction device
JPH0784073B2 (en) Printing control system for personal computer
JPH1063258A (en) Device and method for picture processing
JPS60245362A (en) Printer control device
JPH0679930A (en) Bit map memory controller
JPS5816343A (en) Access system of image memory
JPH07123185A (en) Picture processing unit