JPH10275067A - Printer - Google Patents

Printer

Info

Publication number
JPH10275067A
JPH10275067A JP9080390A JP8039097A JPH10275067A JP H10275067 A JPH10275067 A JP H10275067A JP 9080390 A JP9080390 A JP 9080390A JP 8039097 A JP8039097 A JP 8039097A JP H10275067 A JPH10275067 A JP H10275067A
Authority
JP
Japan
Prior art keywords
print data
print
printing
band
storage area
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
JP9080390A
Other languages
Japanese (ja)
Inventor
Naoki Oda
直樹 織田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP9080390A priority Critical patent/JPH10275067A/en
Publication of JPH10275067A publication Critical patent/JPH10275067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the processing speed of data transfer which is carried out through a buffer memory. SOLUTION: The printer is equipped with a RAM 3 stored with print data for one band to be printed on a recording in a horizontal scanning direction in its buffer area divided into plural storage areas, a DMA controller 22 which writes the print data in the storage areas or reads the sequential print data out of the storage areas, and a print part 12 which prints the print data read out by the DMA controller 22 on the recording form; and the DMA controller 22 reads the print data out of one storage area of the buffer area and then erases the print data stored in the storage area immediately. The reading and writing from and to the storage area are repeated until a readout completion signal from the DMA controller 22 is received by a CPU 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バッファメモリを
介して印字データを印字する印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus for printing print data via a buffer memory.

【0002】[0002]

【従来技術】従来、印字装置には、インパクト方式や感
熱方式、インクジェット方式などの各種の印字方式が採
用されているが、この種のシリアル方式の印字装置は、
これら方式の記録素子が複数備えられた印字ヘッドを主
走査方向に移動させることにより、記録用紙に対して1
バンド分の印字を行った後、この記録用紙を1バンド副
走査するという印字動作を繰り返すことで記録用紙の全
面に文字などを印字するようになっている。このような
シリアル方式の印字装置は、装置全体を制御するCP
U、1バンド分の印字データを複数の格納領域に分けて
格納するバッファメモリ、バッファメモリに対して1バ
ンド分の印字データの読み書きを行うDMAコントロー
ラ、およびDMAコントローラにより1バンド毎に読み
出される印字データに基づいて印字ヘッドを駆動させ、
記録用紙に対して1バンド毎に印字する印字部により概
略構成されている。
2. Description of the Related Art Conventionally, various printing systems such as an impact system, a thermal system, and an ink jet system have been adopted as printing devices.
By moving a print head provided with a plurality of recording elements of these types in the main scanning direction, one print head
After printing for the band, characters are printed on the entire surface of the recording paper by repeating the printing operation of sub-scanning the recording paper for one band. Such a serial printing device has a CP which controls the entire device.
U, a buffer memory for storing print data for one band in a plurality of storage areas, a DMA controller for reading and writing print data for one band in the buffer memory, and printing read for each band by the DMA controller Drive the print head based on the data,
It is roughly constituted by a printing unit that prints one band at a time on recording paper.

【0003】このような印字装置では、バッファメモリ
の複数の格納領域に対し、DMAコントローラが、1バ
ンド分の印字データを書き込んだ後、これら複数の格納
領域から逐次印字データを読み出しつつ印字部に転送す
る。印字データが印字部に転送されると印字ヘッドが主
走査方向に移動しつつ、記憶素子を駆動させることによ
り、記録用紙に対して1バンド分の印字が行われる。そ
して、1バンド分の印字動作が終了すると記録用紙が副
走査方向に1バンド分移動され、DMAコントローラ、
あるいはCPUが全格納領域の印字データを消去した
後、上記と同様の印字動作が繰り返し行われるようにな
っている。
In such a printing apparatus, a DMA controller writes one band of print data into a plurality of storage areas of a buffer memory, and then sequentially reads out the print data from the plurality of storage areas to a printing unit. Forward. When the print data is transferred to the printing unit, one band is printed on the recording paper by driving the storage element while moving the print head in the main scanning direction. When the printing operation for one band is completed, the recording paper is moved by one band in the sub-scanning direction,
Alternatively, after the CPU erases the print data in all the storage areas, the same print operation as described above is repeatedly performed.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来の印
字装置では、1バンド分の印字動作が終了する毎に、バ
ッファメモリの全ての格納領域の印字データを消去して
いるので、この全ての格納領域の消去が完了されるまで
次バンド分の印字データの書き込みを行うことができ
ず、1バンド毎にデータ転送が停滞してしまうことか
ら、効率良くデータ転送を行うことができないという課
題があった。
However, in the above-mentioned conventional printing apparatus, every time the printing operation for one band is completed, the print data in all the storage areas of the buffer memory is erased. Until erasure of the storage area is completed, writing of print data for the next band cannot be performed, and data transfer stagnates for each band, so that data transfer cannot be performed efficiently. there were.

【0005】本発明は、上記の点に鑑みて提案されたも
のであって、バッファメモリを介して行われるデータ転
送の処理速度を向上することができる印字装置を提供す
ることを目的としている。
[0005] The present invention has been proposed in view of the above points, and has as its object to provide a printing apparatus capable of improving the processing speed of data transfer performed via a buffer memory.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載した発明の印字装置は、被記録体に
対して印字される印字データを複数の格納領域に分けて
格納するバッファメモリと、前記バッファメモリの複数
の格納領域に印字データを書き込む書込手段と、前記バ
ッファメモリの複数の格納領域から逐次印字データを読
み出す読出手段と、前記読出手段により読み出された印
字データを前記被記録体に印字する印字手段とを備えた
印字装置であって、前記読出手段により前記バッファメ
モリの一の格納領域から印字データが読み出された直
後、その一の格納領域の印字データを消去する逐次消去
手段を有している。
According to a first aspect of the present invention, there is provided a printing apparatus comprising: a buffer for storing print data to be printed on a recording medium in a plurality of storage areas; A memory, writing means for writing print data to a plurality of storage areas of the buffer memory, reading means for sequentially reading print data from the plurality of storage areas of the buffer memory, and print data read by the reading means. A printing device for printing on the recording medium, wherein immediately after print data is read from one storage area of the buffer memory by the reading means, the print data of the one storage area is read. It has a sequential erasing means for erasing.

【0007】この印字装置によれば、バッファメモリの
一の格納領域から印字データが読み出された直後、その
一の格納領域の印字データが消去されるので、複数の格
納領域からの読出完了時点で、ほぼ全ての格納領域の印
字データが消去されており、次の印字データの書き込み
を即時に可能とすることから、連続して印字データをバ
ッファメモリに読み書きすることができ、バッファメモ
リを介して行われるデータ転送の処理速度を向上するこ
とができる。その結果、印字速度を向上することができ
る。
According to this printing apparatus, immediately after the print data is read from one storage area of the buffer memory, the print data of the one storage area is erased. Since the print data in almost all the storage areas has been erased and the next print data can be written immediately, the print data can be read and written to the buffer memory continuously, and Processing speed of the data transfer performed by the user can be improved. As a result, the printing speed can be improved.

【0008】また、請求項2に記載した発明の印字装置
は、請求項1に記載の印字装置であって、前記印字手段
は、前記被記録体に対して主走査方向に移動しながら印
字データを印字し、前記バッファメモリは、前記印字手
段の主走査方向の移動で印字される1バンド分の印字デ
ータを複数の格納領域に格納している。
A printing apparatus according to a second aspect of the present invention is the printing apparatus according to the first aspect, wherein the printing means moves the print data while moving in the main scanning direction with respect to the recording medium. And the buffer memory stores, in a plurality of storage areas, print data for one band printed by moving the printing means in the main scanning direction.

【0009】この印字装置によれば、請求項1に記載の
印字装置による効果に加えて、印字手段が、被記録体に
対して主走査方向に移動しながら印字データを印字し、
バッファメモリが、印字手段の主走査方向の移動で印字
される1バンド分の印字データを複数の格納領域に格納
しているので、1バンド分毎に行われる印字データの読
み書きを間断なく連続的に行うことができる。
According to this printing apparatus, in addition to the effect of the printing apparatus according to claim 1, the printing means prints print data while moving in the main scanning direction with respect to the recording medium,
Since the buffer memory stores the print data for one band printed by the movement of the printing means in the main scanning direction in a plurality of storage areas, the reading and writing of the print data performed for each band is continuously performed without interruption. Can be done.

【0010】[0010]

【発明の実施形態】以下、本発明の好ましい実施の形態
を、図面を参照しつつ具体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be specifically described below with reference to the drawings.

【0011】図1は、本発明に係る印字装置を備えたフ
ァクシミリ装置のブロック図であり、このファクシミリ
装置は、CPU1、NCU2、RAM3、モデム4、R
OM5、EEPROM6、ゲートアレイ7、コーデック
8、およびインターフェース9を備えている。CPU
1、NCU2、RAM3、モデム4、ROM5、EEP
ROM6、ゲートアレイ7、コーデック8、およびイン
ターフェース9は、バス線により相互に接続されてい
る。バス線には、アドレスバス、データバス、および制
御信号線が含まれる。ゲートアレイ7には、読取部1
1、印字部12、操作部13、および表示部14が接続
されている。NCU2には、通信回線の一例としての電
話回線15が接続されている。インターフェース9に
は、パーソナルコンピュータ31が接続可能である。
FIG. 1 is a block diagram of a facsimile apparatus provided with a printing apparatus according to the present invention. The facsimile apparatus includes a CPU 1, an NCU 2, a RAM 3, a modem 4, an R
An OM 5, an EEPROM 6, a gate array 7, a codec 8, and an interface 9 are provided. CPU
1, NCU2, RAM3, modem 4, ROM5, EEP
The ROM 6, the gate array 7, the codec 8, and the interface 9 are mutually connected by a bus line. The bus lines include an address bus, a data bus, and a control signal line. The gate array 7 includes a reading unit 1
1, a printing unit 12, an operation unit 13, and a display unit 14 are connected. A telephone line 15 is connected to the NCU 2 as an example of a communication line. A personal computer 31 can be connected to the interface 9.

【0012】CPU1は、ファクシミリ装置全体を制御
する。NCU2は、電話回線15に接続されて網制御を
行う。RAM3は、データ転送におけるバッファメモリ
としての機能を有するとともに、その他各種のデータを
記憶する。モデム4は、送信データの変調や受信データ
の復調などを行う。ROM5は、CPU1により実行さ
れる各種のプログラムなどを記憶している。EEPRO
M6は、各種のデータやフラグなどを記憶する。ゲート
アレイ7は、CPU1に対する入出力インターフェース
として機能するとともに、印字処理などを行う。コーデ
ック8は、送信ファクシミリデータの符号化などを行
う。インターフェース9は、パーソナルコンピュータ3
1などの周辺装置との接点となる。読取部11は、イメ
ージセンサなどにより原稿から画像を読み取る。印字部
12は、記録素子が配列されたインクジェットノズルな
どの印字ヘッドや用紙搬送手段を有し、被記録体として
の記録用紙上に文字や図形などの印字データを印字す
る。操作部13は、キースイッチ群などからなり、使用
者の操作に応じた信号を出力する。表示部14は、LC
Dなどからなり、CPU1により制御されて各種の表示
を行う。
The CPU 1 controls the entire facsimile machine. The NCU 2 is connected to the telephone line 15 and performs network control. The RAM 3 has a function as a buffer memory in data transfer, and stores various other data. The modem 4 performs modulation of transmission data and demodulation of reception data. The ROM 5 stores various programs executed by the CPU 1 and the like. EEPRO
M6 stores various data, flags, and the like. The gate array 7 functions as an input / output interface to the CPU 1 and performs a printing process and the like. The codec 8 performs encoding of transmission facsimile data and the like. The interface 9 is a personal computer 3
It becomes a contact point with peripheral devices such as 1. The reading unit 11 reads an image from a document using an image sensor or the like. The printing unit 12 has a print head such as an inkjet nozzle or the like in which recording elements are arranged, and a paper transport unit, and prints print data such as characters and figures on a recording paper as a recording medium. The operation unit 13 includes a key switch group and the like, and outputs a signal according to a user operation. The display unit 14 displays LC
D and the like, and are controlled by the CPU 1 to perform various displays.

【0013】図2は、図1におけるゲートアレイ7によ
り実現されている印字処理部のブロック図であって、こ
の図に基づいて本発明に係る印字装置の要点について説
明すると、RAM3は、モデム4やインターフェース9
を介して転送される印字データを印字部12に転送する
際の一時的な記憶領域を確保することにより、バッファ
メモリとして利用される。このRAM3のバッファ領域
は、後述する印字ヘッドの印字幅に対応した1バンド分
の印字データを格納する容量を確保しており、印字デー
タ1バイト毎にアドレスにより指定される複数の格納領
域に分かれた構造を有する。この格納領域への印字デー
タの読み書きは、後述するDMAコントローラ22によ
り行われる。具体的に説明すると、バッファ領域の複数
の格納領域は、1バイトずつ印字データを格納するよう
に割り当てられており、全格納領域をもって1バンド分
の印字データを格納するように構成されている。すなわ
ち、印字ヘッドが1回主走査されると、この印字ヘッド
の記録素子から主走査方向に沿って所定数の画素が印字
されるが、これが1バンド分の印字データに相当し、こ
の1バンド分の印字データが8ビット毎に各格納領域に
記憶されている。
FIG. 2 is a block diagram of a print processing unit realized by the gate array 7 in FIG. 1. The essential points of the printing apparatus according to the present invention will be described with reference to FIG. And interface 9
By securing a temporary storage area when transferring print data transferred via the printer to the printing unit 12, the print data is used as a buffer memory. The buffer area of the RAM 3 secures a capacity for storing one band of print data corresponding to a print width of a print head, which will be described later, and is divided into a plurality of storage areas specified by an address for each byte of print data. It has a structure. Reading and writing of print data in this storage area is performed by a DMA controller 22 described later. More specifically, a plurality of storage areas in the buffer area are allocated so as to store print data one byte at a time, and the entire storage area is configured to store one band of print data. That is, when the print head is scanned once, a predetermined number of pixels are printed from the recording element of the print head along the main scanning direction. This corresponds to one band of print data. Print data is stored in each storage area every 8 bits.

【0014】CPU1は、ROM5に格納されたプログ
ラムに基づいて、印字データの転送を制御する。ここ
で、実際のRAM3への印字データの読み書きは、後述
のDMAコントローラ22により直接行われており、C
PU1は、DMAコントローラ22による1バンド分毎
の印字データの転送動作を制御するものである。具体的
には、CPU1がDMAコントローラ22から1バンド
分の印字データの書込開始信号を受けると、DMAコン
トローラ22に直接データを書き込ませるためにバス線
を開放し、1バンド分の印字データの読出完了信号を受
けると、DMAコントローラ2によるバス線の使用を閉
鎖する。このバス線の開放・閉鎖は、クロック信号に基
づいて高速に行われており、RAM3に対する印字デー
タの転送動作も高速に行われている。
The CPU 1 controls transfer of print data based on a program stored in the ROM 5. Here, the actual reading and writing of the print data to and from the RAM 3 is directly performed by a DMA controller 22 described later.
The PU 1 controls the transfer operation of the print data for each band by the DMA controller 22. Specifically, when the CPU 1 receives a write start signal for one band of print data from the DMA controller 22, the bus line is opened to directly write data to the DMA controller 22, and the print data of one band is printed. Upon receiving the read completion signal, the DMA controller 2 closes the use of the bus line. The opening and closing of the bus line are performed at high speed based on the clock signal, and the operation of transferring the print data to the RAM 3 is also performed at high speed.

【0015】ゲートアレイ7における印字処理部16
は、I/F制御部21、DMAコントローラ22、およ
び印字制御部23を有するハードロジック回路として概
略構成されている。この印字処理部16の内部バス線に
は、CPU1、RAM3、およびインターフェース9が
接続されている。
The print processing unit 16 in the gate array 7
Is schematically configured as a hard logic circuit having an I / F control unit 21, a DMA controller 22, and a print control unit 23. The CPU 1, the RAM 3, and the interface 9 are connected to the internal bus line of the print processing unit 16.

【0016】I/F制御部21は、たとえばパーソナル
コンピュータ31からインターフェース9を介して入力
された印字データをDMAコントローラ22に対して転
送制御するものである。
The I / F control unit 21 controls transfer of print data input from the personal computer 31 via the interface 9 to the DMA controller 22, for example.

【0017】DMAコントローラ22は、I/F制御部
21から転送されてきた印字データを、1バンド分毎に
RAM3のバッファ領域に書き込んだ後、1バンド分毎
に読み出し、バッファ領域を介して行われる1バンド分
毎のデータ転送を高速に繰り返す。具体的には、DMA
コントローラ22が1バンド分の印字データをバッファ
領域に書き込む際、このバッファ領域に設定された格納
領域のアドレスを指定しつつ、複数の格納領域に分けて
1バンド分の印字データを書き込み、1バンド分の印字
データの書き込みが完了すると、先頭アドレスの格納領
域から所定の順序で1バンド分の印字データを読み出
す。複数の格納領域から印字データを読み出す際、DM
Aコントローラ22は、一の格納領域からのデータ読出
を完了した直後、その一の格納領域に格納されている印
字データを消去しており、この複数の格納領域に対して
読出/消去を繰り返しながら1バンド分の印字データの
読み出しを行う。ただし、一の格納領域に書き込まれる
たとえば8ビットの印字データが、全ビット共に0であ
る場合、その印字データの書き込みは行わない。同様
に、一の格納領域から読み出したたとえば8ビットの印
字データが、全ビット共に0である場合、その格納領域
の消去は行わない。
The DMA controller 22 writes the print data transferred from the I / F control unit 21 into the buffer area of the RAM 3 for each band, reads the print data for each band, and reads the print data via the buffer area. The data transfer for each band is repeated at high speed. Specifically, DMA
When the controller 22 writes the print data for one band into the buffer area, the controller 22 writes the print data for one band in a plurality of storage areas while specifying the address of the storage area set in the buffer area. When the writing of the print data for one band is completed, the print data for one band is read from the storage area of the head address in a predetermined order. When reading print data from multiple storage areas,
Immediately after completing the data reading from one storage area, the A controller 22 erases the print data stored in the one storage area, and repeats reading / erasing the plurality of storage areas. The print data for one band is read. However, when the print data of, for example, 8 bits written in one storage area is 0 for all bits, the writing of the print data is not performed. Similarly, if all the bits of the 8-bit print data read from one storage area are 0, the storage area is not erased.

【0018】すなわち、DMAコントローラ22は、バ
ッファメモリの複数の格納領域に印字データを書き込む
書込手段と、バッファメモリの複数の格納領域から逐次
印字データを読み出す読出手段とを実現している。ま
た、バッファメモリの一の格納領域から印字データが読
み出された直後、その一の格納領域の印字データを消去
する逐次消去手段を実現している。
That is, the DMA controller 22 implements writing means for writing print data in a plurality of storage areas of the buffer memory and reading means for sequentially reading print data from the plurality of storage areas of the buffer memory. Further, immediately after the print data is read from one storage area of the buffer memory, a sequential erasing means for erasing the print data of the one storage area is realized.

【0019】ここで、具体的に消去動作について説明す
ると、格納領域からデータを消去することは、記録素子
が駆動されないような白データが格納領域に書き込まれ
た状態と同様であることから、たとえばアセンブリ言語
で「00H」と表現されるようなデータを書き込むこと
により消去動作が実行され、一の格納領域における読出
/消去は、ほぼ同時に行われるものである。
Here, the erasing operation will be specifically described. Erasing data from the storage area is the same as writing white data in the storage area so that the recording element is not driven. An erase operation is executed by writing data expressed as "00H" in the assembly language, and reading / erasing in one storage area is performed almost simultaneously.

【0020】印字制御部23は、DMAコントローラ2
2に1バンド分毎に読み出される印字データに基づい
て、印字部12の印字ヘッドを駆動制御する。具体的に
は、1バンド分の印字データが所定の順序でDMAコン
トローラ22から転送されると、印字制御部23は、印
字ヘッドを記録用紙に対して主走査方向に移動させなが
ら記録素子を駆動し、その結果、印字ヘッドの印字幅に
対応した1バンド分の画素が記録用紙上に印字される。
印字制御部23は、1バンド分の印字データの印字が完
了すると、図示しない搬送手段によって記録用紙を副走
査方向に移動させ、この1バンド分の印字を繰り返すこ
とにより、記録用紙全体に文字や図形などの画素が印字
される。すなわち、印字制御部23および印字部12
は、印字データを被記録体に印字する印字手段を実現し
ている。
The print controller 23 includes a DMA controller 2
In step 2, the print head of the printing unit 12 is driven and controlled based on the print data read for each band. Specifically, when one band of print data is transferred from the DMA controller 22 in a predetermined order, the print control unit 23 drives the recording element while moving the print head in the main scanning direction with respect to the recording paper. As a result, pixels for one band corresponding to the print width of the print head are printed on the recording paper.
When printing of the print data for one band is completed, the print control unit 23 moves the recording paper in the sub-scanning direction by a not-shown conveying means, and repeats the printing for one band, so that characters or characters are printed on the entire recording paper. Pixels such as figures are printed. That is, the print control unit 23 and the print unit 12
Implements printing means for printing print data on a recording medium.

【0021】次に、このように構成された印字装置の動
作の要点について、図3を参照しつつ説明する。
Next, the essential points of the operation of the printing apparatus thus configured will be described with reference to FIG.

【0022】図3は、本発明に係る印字装置の印字動作
を示したフローチャートであり、この図に示すように、
まず、印字処理が開始され、インターフェース9を介し
てI/F制御部21に印字データが転送されてくると、
CPU1は、DMAコントローラ22に対してI/F制
御部21から印字データを取り込むよう要求する(S
1)。
FIG. 3 is a flowchart showing a printing operation of the printing apparatus according to the present invention. As shown in FIG.
First, when the printing process is started and print data is transferred to the I / F control unit 21 via the interface 9,
The CPU 1 requests the DMA controller 22 to fetch print data from the I / F control unit 21 (S
1).

【0023】印字データの取込要求を受けたDMAコン
トローラ22は、I/F制御部21から印字データを取
り込み、CPU1に対してRAM3のバッファ領域への
書込開始信号を送出する(S2)。
The DMA controller 22, which has received the print data fetch request, fetches the print data from the I / F controller 21 and sends a write start signal to the buffer area of the RAM 3 to the CPU 1 (S2).

【0024】書込開始信号を受けたCPU1は、DMA
コントローラ22に直接RAM3への書き込みを行わせ
るためにバス線を開放する(S3)。
Upon receiving the write start signal, the CPU 1
The bus line is released to cause the controller 22 to directly write data to the RAM 3 (S3).

【0025】CPU1によりバス線が開放されると、D
MAコントローラ22は、アドレスを指定しつつバッフ
ァ領域の複数の格納領域に1バンド分の印字データを連
続して書き込む(S4)。
When the bus line is released by the CPU 1, D
The MA controller 22 continuously writes one band of print data in a plurality of storage areas of the buffer area while designating an address (S4).

【0026】書き込みを完了すると、DMAコントロー
ラ22は、最初に書き込んだ一の格納領域から印字デー
タを読み出し、印字制御部23に転送する(S5)。
When the writing is completed, the DMA controller 22 reads out the print data from the one storage area in which the data was written first, and transfers it to the print control unit 23 (S5).

【0027】一の印字データを読み出した直後、DMA
コントローラ22は、その読み出した一の格納領域に格
納されている印字データを消去する(S6)。このよう
にして、DMAコントローラ22は、所定の順序で複数
の格納領域に対して印字データの読出/消去を行いつつ
印字制御部23に転送し、それに同期して印字制御部2
3が印字ヘッドを記録用紙に対して主走査方向に移動さ
せつつ記録素子を駆動させて印字を行う。
Immediately after reading one print data, the DMA
The controller 22 deletes the print data stored in the one read storage area (S6). In this manner, the DMA controller 22 transfers the read data to the print control unit 23 while reading / erasing the print data from / to the plurality of storage areas in a predetermined order, and synchronously with the print control unit 2
Reference numeral 3 performs printing by driving the recording element while moving the print head in the main scanning direction with respect to the recording paper.

【0028】DMAコントローラ22による格納領域か
らの印字データの読み出しがされている間、CPU1
は、DMAコントローラ22から送出される読出完了信
号に基づいて、全格納領域から印字データを読み出した
か否かを判断する(S7)。
While print data is being read from the storage area by the DMA controller 22, the CPU 1
Determines whether or not print data has been read from all storage areas based on the read completion signal sent from the DMA controller 22 (S7).

【0029】読出完了信号をDMAコントローラ22か
ら受信すると(S7:YES)、CPU1は、次の1バ
ンド分の印字データがI/F制御部21において待機さ
れていないかどうかを、I/F制御部21からの取込要
求信号に基づいて判断し(S8)、取込要求信号を受信
すると(S8:YES)、S1のステップに戻って、次
に待機された1バンド分の印字データの取り込むようD
MAコントローラ22に通知する。
When the read completion signal is received from the DMA controller 22 (S7: YES), the CPU 1 determines whether or not the print data for the next one band is waiting in the I / F control unit 21 by the I / F control. Judgment is made based on the capture request signal from the unit 21 (S8). When the capture request signal is received (S8: YES), the process returns to step S1 to capture the next waiting print data for one band. Yo D
Notify the MA controller 22.

【0030】S8において、I/F制御部21からの取
込要求信号が受信されないと(S8:NO)、すなわち
全ての印字データの転送が完了されたときは、CPU1
は、このメインルーチンを終了する。
In S8, if the capture request signal from the I / F control unit 21 is not received (S8: NO), that is, if the transfer of all the print data is completed, the CPU 1
Ends this main routine.

【0031】S7において、DMAコントローラ22か
らの読出完了信号が受信されないと(S7:NO)、S
5のステップに戻り、CPU1によりバス線が開放され
たまま、DMAコントローラ22が、一の格納領域から
の印字データの読み出しを繰り返し行う。
At S7, if the read completion signal is not received from the DMA controller 22 (S7: NO), S
Returning to step 5, the DMA controller 22 repeatedly reads out print data from one storage area while the bus line is opened by the CPU 1.

【0032】このように、バッファ領域の1バンド分の
印字データの書き込みを開始してから読み出しを完了す
るまでのDMAコントローラ22によるデータ転送は、
格納領域の消去動作に要する時間をほとんど要しないこ
とから、間断なく連続した高速動作で行うことができ
る。
As described above, the data transfer by the DMA controller 22 from the start of the writing of the print data for one band in the buffer area to the completion of the reading is as follows.
Since almost no time is required for the erasing operation of the storage area, the operation can be continuously performed at high speed without interruption.

【0033】したがって、この印字装置によれば、バッ
ファ領域の一の格納領域から印字データが読み出された
直後、その一の格納領域の印字データが消去されるの
で、複数の格納領域からの読出完了時点で、1バンド分
の格納領域の印字データが消去されており、次の1バン
ド分の印字データの書き込みを即時に可能とすることか
ら、間断なく連続して1バンド分の印字データをRAM
3のバッファ領域に読み書きすることができ、バッファ
メモリとしてのRAM3を介して行われるデータ転送の
処理速度を向上することができる。
Therefore, according to this printing apparatus, immediately after the print data is read from one storage area of the buffer area, the print data of the one storage area is erased. At the time of completion, the print data in the storage area for one band has been erased, and the writing of the print data for the next one band can be immediately performed. RAM
3 can be read and written to and from the buffer area, and the processing speed of data transfer performed via the RAM 3 as a buffer memory can be improved.

【0034】なお、本実施形態においては、インクジェ
ット方式による印字装置として説明したが、特にこれに
限定することはなく、インパクト方式や感熱方式による
印字ヘッドを備えたシリアル方式の印字装置であっても
よい。
Although the present embodiment has been described as a printing apparatus using an ink jet system, the present invention is not particularly limited to this, and a printing apparatus of a serial system having a print head of an impact system or a thermal system may be used. Good.

【0035】[0035]

【発明の効果】以上説明したように、請求項1に記載し
た発明の印字装置によれば、バッファメモリの一の格納
領域から印字データが読み出された直後、その一の格納
領域の印字データが消去されるので、複数の格納領域か
らの読出完了時点で、ほぼ全ての格納領域の印字データ
が消去されており、次の印字データの書き込みを即時に
可能とすることから、連続して印字データをバッファメ
モリに読み書きすることができ、バッファメモリを介し
て行われるデータ転送の処理速度を向上することができ
る。その結果、印字速度を向上することができる。
As described above, according to the printing apparatus of the first aspect, immediately after the print data is read from one storage area of the buffer memory, the print data of the one storage area is read. Is erased, so that at the point of completion of reading from multiple storage areas, the print data in almost all storage areas has been erased, and the next print data can be written immediately. Data can be read from and written to the buffer memory, and the processing speed of data transfer performed via the buffer memory can be improved. As a result, the printing speed can be improved.

【0036】また、請求項2に記載した発明の印字装置
によれば、請求項1に記載の印字装置による効果に加え
て、印字手段が、被記録体に対して主走査方向に移動し
ながら印字データを印字し、バッファメモリが、印字手
段の主走査方向の移動で印字される1バンド分の印字デ
ータを複数の格納領域に格納しているので、1バンド分
毎に行われる印字データの読み書きを間断なく連続的に
行うことができる。
According to the printing apparatus of the present invention, in addition to the effect of the printing apparatus of the first aspect, the printing unit moves in the main scanning direction with respect to the recording medium. The print data is printed, and the buffer memory stores the print data for one band printed by moving the printing means in the main scanning direction in a plurality of storage areas. Reading and writing can be performed continuously without interruption.

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

【図1】本発明に係る印字装置を備えたファクシミリ装
置のブロック図である。
FIG. 1 is a block diagram of a facsimile apparatus provided with a printing device according to the present invention.

【図2】図1に示すファクシミリ装置に備えられた印字
処理部のブロック図である。
FIG. 2 is a block diagram of a print processing unit provided in the facsimile apparatus shown in FIG.

【図3】本発明に係る印字装置の印字動作を示したフロ
ーチャートである。
FIG. 3 is a flowchart showing a printing operation of the printing apparatus according to the present invention.

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

1 CPU 3 RAM 5 ROM 7 ゲートアレイ 9 インターフェース 12 印字部 16 印字処理部 21 I/F制御部 22 DMAコントローラ 23 印字制御部 Reference Signs List 1 CPU 3 RAM 5 ROM 7 Gate array 9 Interface 12 Printing unit 16 Print processing unit 21 I / F control unit 22 DMA controller 23 Print control unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 被記録体に対して印字される印字データ
を複数の格納領域に分けて格納するバッファメモリと、 前記バッファメモリの複数の格納領域に印字データを書
き込む書込手段と、 前記バッファメモリの複数の格納領域から逐次印字デー
タを読み出す読出手段と、 前記読出手段により読み出された印字データを前記被記
録体に印字する印字手段とを備えた印字装置であって、 前記読出手段により前記バッファメモリの一の格納領域
から印字データが読み出された直後、その一の格納領域
の印字データを消去する逐次消去手段を有することを特
徴とする印字装置。
A buffer memory for storing print data to be printed on a recording medium in a plurality of storage areas; a writing unit for writing print data in a plurality of storage areas of the buffer memory; A printing apparatus comprising: a reading unit that sequentially reads print data from a plurality of storage areas of a memory; and a printing unit that prints the print data read by the reading unit on the recording medium. Immediately after print data is read from one storage area of the buffer memory, the printing apparatus further comprises a sequential erasing means for erasing the print data of the one storage area.
【請求項2】 前記印字手段は、前記被記録体に対して
主走査方向に移動しながら印字データを印字し、前記バ
ッファメモリは、前記印字手段の主走査方向の移動で印
字される1バンド分の印字データを複数の格納領域に格
納している、請求項1に記載の印字装置。
2. The printing unit prints print data while moving in the main scanning direction on the recording medium, and the buffer memory stores one band printed by moving the printing unit in the main scanning direction. 2. The printing apparatus according to claim 1, wherein the print data for each minute is stored in a plurality of storage areas.
JP9080390A 1997-03-31 1997-03-31 Printer Pending JPH10275067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9080390A JPH10275067A (en) 1997-03-31 1997-03-31 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9080390A JPH10275067A (en) 1997-03-31 1997-03-31 Printer

Publications (1)

Publication Number Publication Date
JPH10275067A true JPH10275067A (en) 1998-10-13

Family

ID=13716971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9080390A Pending JPH10275067A (en) 1997-03-31 1997-03-31 Printer

Country Status (1)

Country Link
JP (1) JPH10275067A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100334096B1 (en) * 1999-06-18 2002-05-02 윤종용 DMA Double Buffering Apparatus and Method in Laser Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100334096B1 (en) * 1999-06-18 2002-05-02 윤종용 DMA Double Buffering Apparatus and Method in Laser Printer

Similar Documents

Publication Publication Date Title
US5937152A (en) Printer with buffer memory
US5467437A (en) Recording apparatus
JPH0939306A (en) Printer
JP3707509B2 (en) Multifunctional parallel processing electronic device
JPH10275067A (en) Printer
USRE40677E1 (en) Facsimile machine having printer unit and interface
JP3397059B2 (en) Printing apparatus and image recording method
US6897976B2 (en) Record control apparatus and recording apparatus
JP2002219830A (en) Multifunction printer and its controlling method
JPH07304213A (en) Printer and control method thereof
JP2002137460A (en) Print system and storage control method
JPH078585B2 (en) Hand scan printer
JPS5941051A (en) Character pattern generator
JP2877036B2 (en) Printing method and dot printer
JPH1158891A (en) Recording system, recording method, and memory medium
JP4323622B2 (en) Recording device
JP3612778B2 (en) Printer
JP3542443B2 (en) Host computer and data transfer method
JP2842011B2 (en) Image data generation device
US20110298856A1 (en) Recording apparatus and data processing method for recording apparatus
JPH11179979A (en) Image recorder
JPH10272810A (en) Printer
JP2005041032A (en) Image forming method and device
JP3213093B2 (en) Facsimile machine
JP2842009B2 (en) Image data generation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20031211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070123