JP2001010128A - Page printer and page print system - Google Patents

Page printer and page print system

Info

Publication number
JP2001010128A
JP2001010128A JP2000142213A JP2000142213A JP2001010128A JP 2001010128 A JP2001010128 A JP 2001010128A JP 2000142213 A JP2000142213 A JP 2000142213A JP 2000142213 A JP2000142213 A JP 2000142213A JP 2001010128 A JP2001010128 A JP 2001010128A
Authority
JP
Japan
Prior art keywords
host
data
printer
buffer
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000142213A
Other languages
Japanese (ja)
Other versions
JP3367556B2 (en
Inventor
Noriyoshi Chiba
徳良 千葉
Tetsuya Suzuki
哲也 鈴木
Kazuyuki Onuma
和幸 大沼
Hiroyasu Ogata
裕保 尾形
Michio Maruyama
三千男 丸山
Kazunori Chihara
一徳 千原
Sunao Murata
すなお 村田
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 JP2000142213A priority Critical patent/JP3367556B2/en
Publication of JP2001010128A publication Critical patent/JP2001010128A/en
Application granted granted Critical
Publication of JP3367556B2 publication Critical patent/JP3367556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent overrun error and underrun error. SOLUTION: A host 1 delivers the image data of each page, in units of band, to a page printer 3 and a page printer 3 writes each received band data into a receiving buffer in a DRAM 21 through a DMA. Each band data is then transferred from the receiving buffer to an imaging section 13-19, 27 through the DMA. The host 1 acquires an empty buffer capacity from a printer immediately before each band data is transferred and transmits a band data only when the printer 3 can receive it. The printer 3 permits the DMA to transfer a data after a volume of receiving data, calculated by a CPU 23 not to generate an under error based on the data receiving rate or data transfer rate, is stored in the buffer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テムなどで使用されるページプリンタに関し、特に、イ
メージデータをバッファメモリに蓄積し、そしてバッフ
ァメモリからイメージデータを読み出して印刷エンジン
へ転送する動作の制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page printer used in a computer system or the like, and more particularly, to a control of an operation of accumulating image data in a buffer memory, reading image data from the buffer memory and transferring the image data to a print engine. About.

【0002】[0002]

【従来の技術】ページプリンタにおいて、イメージデー
タをビットマップ展開してバッファメモリに書き込む速
度と、バッファメモリからイメージデータを読み出して
印刷エンジンに転送する速度とは、相違するのが普通で
ある。また、バッファメモリの容量が小さくて1ページ
分のイメージデータを蓄積できないことも多い。そのた
め、特に複雑でデータ量の多いイメージ場合、イメージ
データの展開とバッファメモリへの書き込みが印刷エン
ジンへの転送時期に間に合わずに、ページの印刷途中で
バッファメモリから読み出すデータがなくなり印刷が続
けれらなくなるエラーが生じることがある(このエラー
を本明細書では「アンダーランエラー」という)。ま
た、これとは逆に、イメージデータの展開と書き込みが
非常に早くてバッファメモリが満杯になり後続のデータ
が書き込めなくなるエラー(この明細書では「オーバー
ランエラー」という)が生じることもある。
2. Description of the Related Art In a page printer, the speed at which image data is developed into a bit map and written into a buffer memory is generally different from the speed at which image data is read from the buffer memory and transferred to a print engine. In addition, the capacity of the buffer memory is so small that image data for one page cannot often be stored. Therefore, especially when the image is complicated and has a large amount of data, the expansion of the image data and the writing to the buffer memory cannot be performed in time for the transfer to the print engine, and there is no data to be read from the buffer memory during the printing of the page, and the printing cannot be continued. A missing error may occur (this error is referred to herein as an "underrun error"). On the other hand, an error (hereinafter, referred to as "overrun error" in this specification) may occur in which the expansion and writing of the image data are so fast that the buffer memory becomes full and the subsequent data cannot be written.

【0003】この問題に対して、特許第2663861
号のページプリンタは、バッファメモリのライトアドレ
スとリードアドレスとの一致を検出することによってエ
ラー発生を検出して、これをホストに通知し、それによ
り、利用者にエラー発生を知らせて適当な処置を利用者
が講じ得るようにしている。
[0003] To solve this problem, Japanese Patent No. 2663861
The page printer detects the occurrence of an error by detecting a match between the write address and the read address of the buffer memory, notifies the host of the error, and thereby notifies the user of the occurrence of the error and takes appropriate action. Is made available to the user.

【0004】[0004]

【発明が解決しようとする課題】しかし、上述の従来技
術の利点は、エラーが発生したとき、これを利用者に知
らせて対策をとらせることに止る。利用者にとっては、
エラーが生ぜずに常に印刷が成功することが理想的であ
る。もしエラーが発生したとしても、それに対する適切
な対策をシステムが自動的に講じてくれる方が望まし
い。
However, the advantage of the above-mentioned prior art is that when an error occurs, the user is notified of the error and takes a countermeasure. For the user,
Ideally, printing should always succeed without error. If an error occurs, it is desirable that the system automatically take appropriate measures against it.

【0005】本発明の目的は、オーバーランエラーを未
然に防止することにある。
An object of the present invention is to prevent an overrun error.

【0006】[0006]

【課題を解決するための手段】本発明に従えば、ページ
プリンタは、バッファを含むメモリと、データを基に画
像を形成して出力する画像出力部と、ホストから受信し
たデータをバッファへ書きこむ受信部と、バッファ内の
データを画像出力部へ転送する転送部と、バッファの空
き容量に関する情報をホストに通知する空きバッファ容
量通知部とを備える。ホストは、ページプリンタからの
通知に基づき、プリンタが受信できるサイズのデータを
プリンタに送信する。これにより、オーバーランエラー
が防止される。
According to the present invention, a page printer includes a memory including a buffer, an image output unit that forms and outputs an image based on data, and writes data received from a host to the buffer. A receiving unit, a transfer unit that transfers data in the buffer to the image output unit, and a free buffer capacity notifying unit that notifies the host of information regarding free space of the buffer. The host transmits data of a size that can be received by the printer to the printer based on the notification from the page printer. Thereby, an overrun error is prevented.

【0007】好適な実施形態では、ホストは、所定単
位、例えばバンド単位で圧縮した又は圧縮しないデータ
をプリンタに送り、各バンドデータの送信開始の直前
に、プリンタから空きバッファ容量を取得して、その空
きバッファ容量がそのバンドデータのサイズ以上であれ
ば、そのバンドデータの送信を開始し、そうでなけれ
ば、空きバッファ容量がそのバンドデータのサイズ以上
になるまで待ってから、そのバンドデータの送信を開始
する。
In a preferred embodiment, the host sends compressed or uncompressed data in a predetermined unit, for example, a band unit to the printer, and obtains a free buffer capacity from the printer immediately before the start of transmission of each band data. If the free buffer capacity is equal to or larger than the size of the band data, the transmission of the band data is started; otherwise, wait until the free buffer capacity is equal to or larger than the size of the band data, and then wait for the size of the band data. Start sending.

【0008】好適な実施形態では、ページプリンタは、
更に、アンダーランエラーなどのプリンタエラーや各ペ
ージの印刷成功などの各種プリンタステータスを検出し
てホストに通知する機能をもつ。その場合、プリンタ
は、検出結果の情報を一旦メモリに保存し、ホストから
要求があったときにメモリ内の情報をホストに送信す
る。ホストは、各バンドデータの送信を開始しようとす
る直前に、プリンタに要求してプリンタステータスを取
得する。
[0008] In a preferred embodiment, the page printer comprises:
Further, it has a function of detecting a printer error such as an underrun error and various printer statuses such as successful printing of each page and notifying the host. In that case, the printer temporarily stores the information of the detection result in the memory, and transmits the information in the memory to the host when requested by the host. Immediately before the host starts to transmit each band data, the host requests the printer to acquire the printer status.

【0009】本発明のホストは典型的にはコンピュータ
であるが、そのためのコンピュータプログラム(例え
ば、プリンタドライバプログラム)は、ディスク型スト
レージ、半導体メモリおよび通信ネットワークなどの各
種の媒体を通じてコンピュータにインストールまたはロ
ードすることができる。
The host of the present invention is typically a computer, and a computer program (eg, a printer driver program) for the host is installed or loaded on the computer via various media such as a disk storage, a semiconductor memory, and a communication network. can do.

【0010】[0010]

【発明の実施の形態】図1は、本発明の一実施形態の構
成を示す。
FIG. 1 shows the configuration of an embodiment of the present invention.

【0011】本実施形態のページプリンタ3は、ホスト
1側でビットマップ展開されたイメージデータをホスト
1から受信して印刷するホストベースドプリンタであ
る。このプリンタ3は、パラレルインタフェースのよう
な専用インタフェ−ス又はLANのようなネットワーク
を介して、ホスト1と双方向通信可能に接続され、ホス
ト1からはビットマップ展開されたイメージデータを受
信し、また、ホスト1へはプリンタの各種ステータス
(例えば、空きバッファ容量、エラー情報、印刷成功情
報など)を送信することができる。ホスト1から受信し
たイメージデータを蓄えるための受信バッファは、プリ
ンタ3内のDRAM21内に固定又は可変の容量で確保
されている。この受信バッファの容量は、1ページ分の
イメージデータのサイズより小さくてよい。後述するC
PU23のワークエリアもDRAM21内に確保されて
おり、このワークエリアではホスト1に通知すべきステ
ータス情報などが記憶される。
The page printer 3 of the present embodiment is a host-based printer that receives image data bit-developed by the host 1 from the host 1 and prints the image data. The printer 3 is connected to the host 1 via a dedicated interface such as a parallel interface or a network such as a LAN so as to be capable of bidirectional communication. Further, various statuses of the printer (for example, free buffer capacity, error information, printing success information, etc.) can be transmitted to the host 1. A receiving buffer for storing image data received from the host 1 is secured in the DRAM 21 in the printer 3 with a fixed or variable capacity. The capacity of the reception buffer may be smaller than the size of image data for one page. C described later
The work area of the PU 23 is also secured in the DRAM 21, and in this work area, status information to be notified to the host 1 and the like are stored.

【0012】プリンタ3は、電子写真プロセスを実行す
る機構である印刷エンジン27と、イメージデータをホ
スト1から受信して必要な加工を施し印刷エンジン27
に渡す一連の処理回路、すなわちインタフェース回路1
1、DMAコントローラ13、データ伸張回路15、ビ
デオコントローラ17及び後処理回路19を有してい
る。これらの処理回路11〜19は、例えば専用ハード
ウェアロジック回路で構成されている。さらに、プリン
タ3は、ホスト1からの要求の解釈やエラーの検出やプ
リンタステータスの管理などを行うために、CPU2
3、プログラムや固定データを格納したROM25、及
び前述のDRAM21などからなるマイクロコンピュー
タを有する。各部の機能は次のとおりである。
The printer 3 has a print engine 27 which is a mechanism for executing an electrophotographic process, and a printer engine 27 which receives image data from the host 1 and performs necessary processing.
Series of processing circuits to be passed to
1, a DMA controller 13, a data expansion circuit 15, a video controller 17, and a post-processing circuit 19. These processing circuits 11 to 19 are configured by, for example, dedicated hardware logic circuits. Further, the printer 3 has a CPU 2 for interpreting requests from the host 1, detecting errors, managing printer status, and the like.
3. A microcomputer including a ROM 25 storing programs and fixed data and the above-described DRAM 21 and the like. The function of each part is as follows.

【0013】インタフェース回路11は、ホスト1から
の要求及びイメージデータの受信や、ホスト1へのステ
ータス情報の送信などの、ホスト1との双方向通信の制
御を行う。インタフェース回路11に受信された要求
は、CPU23により直接読み出される。CPU23は
その要求を解釈し、要求に基づいた制御を実行する。D
MAコントローラ13は、DRAM21内の受信バッフ
ァに対するイメージデータの書き込み及び読み出しをD
MAにより行う。DMAによるイメージデータのDRA
M21への入出力経路には、受信DMA31と転送DM
A33の2チャンネルがある。受信DMA31を通じ
て、ホスト1からのイメージデータがDRAM21に書
き込まれる。また、転送DMA33を通じて、イメージ
データがDRAM21からデータ伸張回路15へ転送さ
れる。
The interface circuit 11 controls bidirectional communication with the host 1 such as reception of a request and image data from the host 1, transmission of status information to the host 1, and the like. The request received by the interface circuit 11 is directly read by the CPU 23. The CPU 23 interprets the request and executes control based on the request. D
The MA controller 13 performs writing and reading of image data to and from the reception buffer in the DRAM 21 by D.
Performed by MA. DRA of image data by DMA
The input / output path to M21 includes a reception DMA 31 and a transfer DM.
There are two channels, A33. Image data from the host 1 is written to the DRAM 21 through the reception DMA 31. The image data is transferred from the DRAM 21 to the data expansion circuit 15 via the transfer DMA 33.

【0014】データ伸張回路15は、ホスト1からのイ
メージデータが圧縮されていた場合、これを元のデータ
に伸張してから後段のビデオコントローラ17へ渡す。
ホスト1から圧縮されずに来たデータには、そのままビ
デオコントローラ17へ渡す。ビデオコントローラ17
は、印刷エンジン27へのイメージデータの転送(ビデ
オ転送という)のタイミングを制御する。
When the image data from the host 1 has been compressed, the data decompression circuit 15 decompresses the image data to the original data and passes it to the video controller 17 at the subsequent stage.
The data not compressed from the host 1 is passed to the video controller 17 as it is. Video controller 17
Controls the timing of image data transfer to the print engine 27 (referred to as video transfer).

【0015】後処理回路19は、イメージデータの解像
度を印刷エンジン27に合わせるための解像度変換、文
字などの輪郭を滑らかなものにするエッジスムージン
グ、ガンマ特性などを考慮して階調値を調整する階調制
御などの後処理をイメージデータに施して印刷エンジン
27に送る。上述した解像度変換は、例えば印刷エンジ
ン27の解像度が600dpiである場合、ホストから
受信したデータが300dpiであったならば、これを
エンジン27と同じ600dpiに変換する機能であ
る。この解像度変換機能があることによって、後述する
ように、例えば、ホスト1から最初に600dpiのイ
メージデータを送ったところアンダーエラーが生じて印
刷が失敗した場合、次にホスト1からのイメージデータ
の解像度を300dpiに落として印刷をリトライす
る、といったことが可能になる。
The post-processing circuit 19 adjusts the gradation value in consideration of resolution conversion for adjusting the resolution of the image data to the print engine 27, edge smoothing for smoothing the outline of characters and the like, gamma characteristics, and the like. Post-processing such as gradation control is performed on the image data and sent to the print engine 27. The resolution conversion described above is a function of converting the data received from the host to 300 dpi, for example, if the resolution of the print engine 27 is 600 dpi and the data received from the host is 300 dpi. With this resolution conversion function, as described later, for example, if printing fails when an under error occurs when the host 1 first sends 600 dpi image data, then the resolution of the image data from the host 1 Can be reduced to 300 dpi and printing can be retried.

【0016】CPU23は、印刷の開始時にホスト1か
らの要求を受けてプリンタ情報(通信モード、RAMサ
イズなどの1つの印刷ジョブである程度固定的な状態情
報)をホスト1に通知したり、印刷の最中にプリンタの
現在のステータス(エンジンの状態、空きバッファ容
量、エラーが発生中か、各ページ毎に印刷が成功した
か、などの時々刻々変動する状態情報)を実時間で取得
してDRAM21内のワークエリアに記録し、ホスト1
から要求があるとそのステータスをホスト1に通知した
りする。これらの機能のうち特に本発明に直接関わるも
のとして、CPU23は、DMAコントローラ13のD
RAM21へのライトアドレス(受信DMAアドレス)
とリードアドレス(転送DMAアドレス)を基に、DR
AM2内の受信バッファの空き容量を計算し、この空き
容量をDRAM21内のワークエリアに記録して、ホス
ト1から要求があるとこの空き受信バッファ容量をホス
ト1に通知する。
At the start of printing, the CPU 23 notifies the host 1 of printer information (state information fixed to some extent in one print job such as a communication mode and a RAM size) upon receiving a request from the host 1 or prints. In the meantime, the current status of the printer (status information that fluctuates every moment, such as whether the status of the engine, the free buffer capacity, whether an error has occurred, whether printing has succeeded for each page, etc.) is acquired in real time, and the Record in the work area in the host 1
When a request is received from the host 1, the status is notified to the host 1. Among these functions, the one directly related to the present invention is that the CPU 23
Write address to RAM 21 (received DMA address)
And the read address (transfer DMA address)
The free space of the receiving buffer in the AM 2 is calculated, and this free space is recorded in the work area in the DRAM 21, and when there is a request from the host 1, the free receiving buffer capacity is notified to the host 1.

【0017】次に、上記の構成の下での動作を説明す
る。
Next, the operation under the above configuration will be described.

【0018】図2は、ホスト1がプリンタ3へイメージ
データ送るときに各ページ毎に行う制御のフローを示
す。
FIG. 2 shows a control flow performed for each page when the host 1 sends image data to the printer 3.

【0019】ホスト1は、まず、印刷しようとするペー
ジが1ページ目か2ページ目以降かを判断し(S1)、
1ページ目であれば、プリンタ3からプリンタ情報(通
信モード(プリンタ3と、ホスト1との間で成立してい
る通信モードであって、例えばパラレル通信の場合はCo
mpatibilityやECPなど)、DRAMサイズなどであり、
これらのプリンタ情報が準備できていない場合には準備
中を示す情報)を取得し(S2)、これに基づきプリン
タ3の制限事項を把握する。2ページ目以降は、プリン
タ情報の取得は行なわない。また、1ページ目のときだ
けでなく、ステップS6の印字エラーが発生した後もプ
リンタ情報を取得し、プリンタ3がエラーから復帰して
いるか否かをチェックする。
The host 1 first determines whether the page to be printed is the first page or the second and subsequent pages (S1).
If it is the first page, the printer 3 sends the printer information (communication mode (communication mode established between the printer 3 and the host 1; for example, in the case of parallel communication, Co
mpatibility and ECP), DRAM size, etc.
If the printer information has not been prepared, information indicating that the printer is being prepared is acquired (S2), and based on this, the restrictions on the printer 3 are grasped. After the second page, the printer information is not obtained. Further, the printer information is acquired not only for the first page but also after the print error in step S6 occurs, and it is checked whether the printer 3 has recovered from the error.

【0020】プリンタ3からプリンタ情報を受けると、
ホスト1は、そのプリンタ情報が有効か無効か、つまり
上述した通信モードやDRAMサイズなどを示した有効
なプリンタ情報であるか、準備中を示す無効なプリンタ
情報かを判断し(S3)、情報が準備中(無効)の場合
は、ホスト1は有効なプリンタ情報を受けるまでプリン
タ情報をプリンタ3から繰り返しリードする。なお、プ
リンタ情報が準備中(無効)になる原因は、プリンタ3
がプリンタイニシャライズ中か、又はエラーからの復帰
中であることである。
When printer information is received from the printer 3,
The host 1 determines whether the printer information is valid or invalid, that is, valid printer information indicating the communication mode and the DRAM size described above or invalid printer information indicating preparation is being performed (S3). Is in preparation (invalid), the host 1 repeatedly reads the printer information from the printer 3 until receiving valid printer information. The reason why the printer information is being prepared (invalid) is that the printer 3
Is in the process of initializing the printer or recovering from an error.

【0021】有効なプリンタ情報を取得すると、ホスト
1は、プリンタ3の通信モードやRAMサイズを基にイ
メージデータの送信モード(解像度など)を決定する。
次に、ホスト1は、印刷しようとするイメージデータに
関するホスト情報(イメージデータの解像度、トータル
バンド数など)をプリンタ3へ送信する(S4)。プリ
ンタ3は、このホスト情報を基に、レジスタの設定やバ
ッファクリアなどのページ設定を行う。
Upon acquiring valid printer information, the host 1 determines a transmission mode (resolution, etc.) of image data based on the communication mode of the printer 3 and the RAM size.
Next, the host 1 transmits host information (resolution of image data, total number of bands, etc.) relating to image data to be printed to the printer 3 (S4). The printer 3 performs page settings such as register setting and buffer clear based on the host information.

【0022】次に、ホスト1は、プリンタ3からプリン
タステータス(エンジンの状態、空きバッファ容量、エ
ラーが発生中か、各ページ毎に印刷が成功したか、な
ど)を受信し(S5)、これに基づきプリンタ3が1バ
ンドのイメージデータを受信可能か否かをチェックする
(S6、S8)。すなわち、次の〜の条件が満たさ
れていれば、受信可能と判断する。
Next, the host 1 receives the printer status (the state of the engine, the free buffer capacity, whether an error has occurred, whether printing has succeeded for each page, etc.) from the printer 3 (S5), and It is checked whether or not the printer 3 can receive one band of image data based on (S6, S8). That is, if the following conditions are satisfied, it is determined that reception is possible.

【0023】印刷エンジン27が印刷動作可能であ
る。すなわち、印刷エンジン27がデータ受信可能であ
り、印刷不能状態(紙無し、紙ジャム、カバーオープ
ン、エンジン異常など)でなく、かつ、定着器の温度が
規定値である。
The print engine 27 can perform a printing operation. That is, the print engine 27 can receive data, is not in a print-disabled state (no paper, paper jam, cover open, engine abnormality, etc.), and the temperature of the fixing unit is a specified value.

【0024】プリンタ3のページ設定が完了してい
る。
The page setting of the printer 3 has been completed.

【0025】受信バッファに1バンド分以上の空きが
ある。
There is a free space of one band or more in the reception buffer.

【0026】エラーが発生していない。No error has occurred.

【0027】また、プリンタ3は1ページの印刷が終了
する度に、印刷の成功/失敗のフラグを立てる。ホスト
1は、プリンタ3から取得したステータスに含まれる印
刷成功/失敗のフラグを見て(S6)、「成功」であれ
ばそのページのイメージデータをホスト1内から削除
し、「失敗」であれば、ステップS1に戻り失敗したペ
ージからイメージデータを再送信する。再送信する場
合、印刷失敗の原因がアンダーランエラーであるときに
は、イメージデータの解像度をもっと低い値に変換して
(例えば、600dpiから300dpiに落とし)
(S7)、再送信する。解像度を落とすことによってデ
ータサイズが小さくなるので、後に詳述するように、再
送信ではアンダーランエラーが生じにくくなる。
The printer 3 sets a success / failure flag each time printing of one page is completed. The host 1 looks at the print success / failure flag included in the status acquired from the printer 3 (S6). If “success”, the host 1 deletes the image data of the page from the host 1; For example, the process returns to step S1, and retransmits the image data from the failed page. In the case of retransmission, if the cause of the printing failure is an underrun error, the resolution of the image data is converted to a lower value (for example, dropped from 600 dpi to 300 dpi).
(S7), and retransmit. Since the data size is reduced by lowering the resolution, as will be described later, underrun errors are less likely to occur in retransmission.

【0028】ステップS8でプリンタ3が1バンドを受
信可能と判断した場合にのみ、ホスト1は1バンドのイ
メージデータを送信する(S9)。これにより、オーバ
ーランエラーが回避される。ホスト1は、バンドイメー
ジデータを送信する前に、そのバンドデータが圧縮によ
ってサイズが縮小する否か判断し、縮小する場合にはそ
のバンドデータを圧縮し、縮小しない場合は圧縮しな
い。そして、ホスト1は、バンドイメージデータの送信
前に、プリンタ3に対し、そのバンドデータが圧縮デー
タであるか否か(圧縮ON/OFF)、圧縮したバンド
データのサイズ(圧縮OFFの場合は、元のバンドデー
タサイズ)を通知しておく。プリンタ3は、そのバンド
イメージデータをDRAM21の受信バッファに蓄え、
所定バンド数のデータが蓄えられたらビデオ転送をスタ
ートする。
Only when the printer 3 determines in step S8 that one band can be received, the host 1 transmits one band of image data (S9). Thereby, an overrun error is avoided. Before transmitting the band image data, the host 1 determines whether or not the size of the band data is reduced by compression. If the size is reduced, the band data is compressed. If not reduced, the band data is not compressed. Then, before transmitting the band image data, the host 1 asks the printer 3 whether or not the band data is compressed data (compression ON / OFF), the size of the compressed band data (in the case of compression OFF, (Original band data size). The printer 3 stores the band image data in a reception buffer of the DRAM 21,
When data of a predetermined number of bands is stored, video transfer is started.

【0029】次にホスト1は、1ページの全てのバンド
データを送信し終えたかチェックし(S10)、送信し
終えてなければステップS5へ戻る。このようにして、
ホスト1は、バンド単位でイメージデータをプリンタ3
に送信し、その都度、送信前にプリンタステータスをチ
ェックしてプリンタ3が1バンド分のデータを受信でき
るか確認する。よって、プリンタ3は、少なくとも1バ
ンド分の空きバッファ容量があるときに、多くとも1バ
ンドサイズのデータを受信することになる(圧縮OFF
で1バンド、圧縮ONでは1バンド未満)。これによ
り、前述したようにオーバーランエラーが回避される。
Next, the host 1 checks whether all the band data of one page has been transmitted (S10), and if not completed, returns to step S5. In this way,
The host 1 transmits the image data to the printer 3 in band units.
Each time, the printer status is checked before transmission to confirm whether the printer 3 can receive one band of data. Therefore, when there is at least one band of free buffer capacity, the printer 3 receives at most one band of data (compression OFF).
For 1 band, and less than 1 band for compression ON). This avoids an overrun error as described above.

【0030】図3は、プリンタ3がホスト1からデータ
を受信するときの動作フローを示す。
FIG. 3 shows an operation flow when the printer 3 receives data from the host 1.

【0031】まず、ホスト1がプリンタ情報を要求して
きた場合(S11でYES)、プリンタ3のCPU23
が、通信モードやRAMサイズなどのプリンタ情報をホ
スト1に送信する(S13)。また、プリンタ情報が準
備できたいない場合(S12でNO)には、準備中であ
ること(具体的には、プリンタイニシャライズ中である
こと、又はエラーからの復帰中であること)をホスト1
に知らせる(S14)。
First, when the host 1 requests printer information (YES in S11), the CPU 23 of the printer 3
Transmits printer information such as the communication mode and the RAM size to the host 1 (S13). If the printer information has not been prepared (NO in S12), the host 1 indicates that the printer information is being prepared (specifically, that the printer is being initialized or that it is recovering from an error).
(S14).

【0032】プリンタ情報をホスト1に送信した後、プ
リンタ3のCPU23は、ホスト1からイメージデータ
に関するホスト情報(解像度300dpi/600dp
i、トータルバンド数)を受信し、その情報を基にデー
タ受信に関するレジスタ設定、バッファクリアなどのペ
ージ設定を行う(S15)。
After transmitting the printer information to the host 1, the CPU 23 of the printer 3 sends the host information (resolution 300 dpi / 600 dpi) regarding the image data from the host 1.
i, the total number of bands), and based on the information, register setting for data reception and page setting such as buffer clear are performed (S15).

【0033】続いて、ホスト1から1バンドのイメージ
データを受信するための処理に入る(S16)。この1
バンド受信の制御フローを図4に示す。
Subsequently, a process for receiving one band of image data from the host 1 is started (S16). This one
FIG. 4 shows a control flow of band reception.

【0034】図4に示すように、まずホスト1からプリ
ンタステータスの要求が来ると(S21でYES)、C
PU23が現在のプリンタのステータスをホスト1に通
知する(S22、S23、S24)。具体的には、現在
印字エラーが発生している場合には、その印字エラーの
種類などのエラーステータスをホスト1に通知して(S
23)、図3のステップS11に戻る。エラーが発生し
ていない場合には、空きバッファ容量、エンジン状態、
ページ設定が終わったか、ページの印刷が成功したか、
などのステータス情報をホスト1に送る(S24)。な
お、空きバッファ容量は、前述したように、DMAコン
トローラ13の転送DMAアドレスと受信DMAアドレ
スから計算する。前述したように、ホスト1は、このス
テータス情報を基にプリンタ1が1バンド分のデータを
受信できるか判断し、受信できると判断すると、圧縮O
N/OFFやバンド圧縮サイズなどのバンド情報、続い
てそのバンドのイメージデータをプリンタ3に送る。
As shown in FIG. 4, when a printer status request is first received from the host 1 (YES in S21), C
The PU 23 notifies the host 1 of the current status of the printer (S22, S23, S24). Specifically, if a print error has occurred at present, the host 1 is notified of an error status such as the type of the print error (S
23), and return to step S11 in FIG. If no errors occurred, free buffer space, engine status,
Whether the page settings have been completed, the page has been printed successfully,
Is sent to the host 1 (S24). The free buffer capacity is calculated from the transfer DMA address and the reception DMA address of the DMA controller 13 as described above. As described above, the host 1 determines whether or not the printer 1 can receive one band of data based on the status information.
Band information such as N / OFF and band compression size, and then image data of the band are sent to the printer 3.

【0035】プリンタ3のCPU23は、圧縮ON/O
FFやバンド圧縮サイズなどのバンド情報に基づいてD
MAコントローラ13の受信DMAに関するパラメータ
(受信DMAアドレスの開始ポイント、バンドデータの
バイト数など)を設定し(S26)、DMAコントロー
ラ13にデータ受信を許可する(S27)。それによ
り、DMAコントローラ13が受信DMA31の経路で
ホスト1から1バンド分のイメージデータを受信してD
RAM21の受信バッファに書き込む。なお、ホスト1
からバンド情報が来ない場合には(S25でNO)、制
御はステップS21に戻る。
The CPU 23 of the printer 3 performs compression ON / O
D based on band information such as FF and band compression size
The parameters related to the reception DMA of the MA controller 13 (the start point of the reception DMA address, the number of bytes of the band data, etc.) are set (S26), and the DMA controller 13 is allowed to receive data (S27). As a result, the DMA controller 13 receives image data for one band from the host 1 on the path of the
Write to the reception buffer of the RAM 21. Note that host 1
If the band information does not come from (NO in S25), the control returns to step S21.

【0036】データ受信を開始したDMAコントローラ
13は、ステップS26で設定されたバイト数のイメー
ジデータつまり1バンドのイメージデータを受信し終わ
ると、その旨をCPU23に通知し、CPU23の制御
は図3に示したステップS17へ進む。
When the DMA controller 13 that has started receiving data has received the image data of the number of bytes set in step S26, that is, the image data of one band, the DMA controller 13 notifies the CPU 23 of that fact. The process proceeds to step S17 shown in FIG.

【0037】CPU23は、ステップS17でDRAM
21の受信バッファに所定バンド数分のイメージデータ
が蓄えられたか否かをチェックする。まだ所定バンド数
分のデータが蓄えられてなければ、再びステップS16
へ戻って後続のバンドデータの受信を繰り返す。所定バ
ンド数分のデータが蓄えられたならば、CPU23はD
MAコントローラ13にビデオ転送を許可する(S1
8)。これにより、ビデオ転送が開始する。すなわち、
DMAコントローラ13はDRAM21からイメージデ
ータを読み出してデータ伸張回路15へ転送する動作を
開始し、データ伸張回路15、ビデオコントローラ17
及び後処理回路19もそれぞれの処理を開始して、印刷
エンジン27が印刷を開始する。ビデオ転送開始後も、
ホスト1からのバンド単位でのデータ受信は同様に続け
られる(S19)(詳細は図4に示した通り)。1ペー
ジ分のデータの受信が完了すると(S20でYES)、
制御はステップS11に戻り、次のページのデータ受信
が同様の手順で開始される。
The CPU 23 determines in step S17 that the DRAM
It is checked whether or not a predetermined number of bands of image data have been stored in the reception buffer 21. If the data for the predetermined number of bands has not been stored yet, step S16 is performed again.
Then, the reception of the subsequent band data is repeated. If data for a predetermined number of bands has been stored, the CPU 23
Permit video transfer to MA controller 13 (S1)
8). Thus, the video transfer starts. That is,
The DMA controller 13 starts the operation of reading image data from the DRAM 21 and transferring the read image data to the data decompression circuit 15, and the data decompression circuit 15 and the video controller 17
The post-processing circuit 19 also starts the respective processes, and the print engine 27 starts printing. After the video transfer starts,
Data reception from the host 1 in band units is similarly continued (S19) (details are shown in FIG. 4). When the reception of the data for one page is completed (YES in S20),
Control returns to step S11, and data reception of the next page is started in a similar procedure.

【0038】上述のステップS17で判断する「所定バ
ンド数」は、アンダーランエラーを防止することを目的
として、CPU23が各ページ毎に、次の原理に基づい
て決定するものである。
The "predetermined number of bands" determined in step S17 is determined by the CPU 23 for each page based on the following principle for the purpose of preventing an underrun error.

【0039】すなわち、ホスト1からのデータ受信速度
をx〔バイト/秒〕、ビデオ転送の速度をy〔バイト/
秒〕、データ圧縮率をα、1ページの全データ数をT
〔バイト〕、受信バッファのサイズをM〔バイト〕、ビ
デオ転送を開始する時点で受信バッファに蓄えられてい
るデータサイズをP〔バイト〕とする。通常、データ受
信速度xよりもビデオ転送速度yの方が高速であり、こ
の高速のビデオ転送の転送DMAアドレスが低速のデー
タ受信の受信DMAアドレスに追いついてしまうとアン
ダーランエラーが生じる。しかし、 P≦M …(1) (α×T−P)/x<T/y …(2) を満足するようにPを設定しておけば、ビデオ転送の転
送DMAアドレスがデータ受信の受信DMAアドレスに
追いつかないうちに1ページ分のデータ受信が完了する
ので、アンダーランエラーは生じない。(1)、(2)
式より、 M≧P>T(α−x/y) …(3) が導かれる。この(3)式を満たすようにPを設定すれ
ばアンダーランエラーは生じない。この実施形態では、
バイト数でなくバンド数で決めているので、(3)式を
満たす最小のP〔バイト〕を圧縮バンドサイズ〔バイ
ト〕で割って、その商に1を加えた値を上記「所定バン
ド数」として設定すればよい。
That is, the data reception speed from the host 1 is x [byte / sec], and the video transfer speed is y [byte / sec].
Seconds], the data compression rate is α, and the total number of data on one page is T
[Byte], the size of the reception buffer is M [byte], and the data size stored in the reception buffer at the time of starting the video transfer is P [byte]. Normally, the video transfer speed y is higher than the data reception speed x, and if the transfer DMA address of the high-speed video transfer catches up with the reception DMA address of the low-speed data reception, an underrun error occurs. However, if P is set so as to satisfy P ≦ M (1) (α × T−P) / x <T / y (2), the transfer DMA address of the video transfer becomes the data reception reception. Since data reception for one page is completed before catching up with the DMA address, no underrun error occurs. (1), (2)
From the formula, M ≧ P> T (α−x / y) (3) is derived. If P is set so as to satisfy the expression (3), no underrun error occurs. In this embodiment,
Since it is determined not by the number of bytes but by the number of bands, the minimum P [byte] satisfying the expression (3) is divided by the compression band size [byte], and the value obtained by adding 1 to the quotient is calculated as the "predetermined number of bands". It should just be set as.

【0040】この「所定バンド数」が受信バッファに蓄
積された時点でビデオ転送を開始することにより、アン
ダーランエラーが回避できる。それに加え、ビデオ転送
の開始を必要最小限だけ遅らせるに過ぎないので、印刷
速度も高い。
By starting the video transfer when the "predetermined number of bands" is accumulated in the reception buffer, an underrun error can be avoided. In addition, the printing speed is high because the start of the video transfer is only delayed as little as necessary.

【0041】なお、ページの最初で「所定バンド数」を
決めても、ページの途中で圧縮率αが低下したり、ホス
ト1からのデータ受信速度が低下したりすると、アンダ
ーランエラーが発生する可能性が出てくる。この場合、
バッファサイズMをより大きく確保するか、イメージの
解像度を落として1ページの全データサイズTを小さく
する必要がある。特に解像度変換の効果は大きく、例え
ば、600dpiから300dpiに解像度を落とすと
データサイズTは4分の1になる。従って、一旦アンダ
ーランエラーが生じた後のデータ再送信の際に解像度変
換を行うことは(図2、ステップS7)、アンダーラン
エラーを再び生じさせなくする効果が大きい。解像度変
換により印刷画質は若干悪化するが、利用者にとって、
印刷できないよりは好ましい。
Even if the "predetermined number of bands" is determined at the beginning of the page, an underrun error occurs if the compression ratio α decreases in the middle of the page or if the data reception speed from the host 1 decreases. The possibilities come out. in this case,
It is necessary to secure a larger buffer size M or reduce the resolution of the image to reduce the total data size T of one page. In particular, the effect of the resolution conversion is great. For example, when the resolution is reduced from 600 dpi to 300 dpi, the data size T is reduced to 4. Therefore, performing the resolution conversion at the time of retransmitting the data once the underrun error has occurred (FIG. 2, step S7) has a great effect of preventing the underrun error from occurring again. The print quality is slightly degraded by the resolution conversion, but for the user,
It is preferable to not printing.

【0042】図5は、ビデオ転送に関してCPU23が
行う制御フローである。
FIG. 5 is a control flow performed by the CPU 23 regarding video transfer.

【0043】CPU23は、ビデオ転送が可能であるか
(すなわち、イメージデータが上記所定バンド数以上受
信済みか)をチェックし(S31)、受信済みであれ
ば、イメージデータに関するホスト情報(解像度、トー
タルバンド数など)を基にビデオ転送に関するレジスタ
設定を行う(S32)。次に、圧縮ON/OFF、圧縮
バンドサイズなどのバンド情報を基にDMAコントロー
ラ13の転送DMAに関するパラメータ(転送DMAド
レスの開始ポイント、バンドデータのバイト数など)及
びデータ伸張回路15のパラメータ(伸張ON/OFF
など)を設定する。転送DMAアドレスの開始ポイント
を設定する際、現在実行中(又は、これから開始する)
の受信DMAアドレスの開始ポイントと、設定しようと
している転送DMAアドレスの開始ポイントとを比較し
(S33)、両者が一致する場合はアンダーランエラー
と判断し、アンダーランエラーフラグをDRAM21の
ワークエリアにセットする(S34)。このアンダーラ
ンエラーは、前述したようにホスト1が各バンド送信に
先立ってプリンタステータスを読み出すことによって
(図2、S5)、ホスト1に通知される。ホスト1がプ
リンタのステータスを読み出した時点で、アンダーラン
エラーフラグは解除される。前述したように、ホスト1
は、アンダーランエラーを検知したら、エラーの発生し
たイメージデータに対し解像度を落として最初のバンド
から再送信し、これに続いて、後続のバンドのイメージ
データも解像度を落として送信する。
The CPU 23 checks whether video transfer is possible (ie, whether image data has been received by the predetermined number of bands or more) (S31). If received, host information (resolution, total The register setting related to video transfer is performed based on the number of bands (S32). Next, based on band information such as compression ON / OFF and compression band size, parameters relating to transfer DMA of the DMA controller 13 (start point of transfer DMA address, number of bytes of band data, etc.) and parameters of the data expansion circuit 15 (expansion) ON / OFF
Etc.). Currently executing (or starting from now) when setting the start point of the transfer DMA address
The start point of the received DMA address is compared with the start point of the transfer DMA address to be set (S33). If they match, it is determined that an underrun error has occurred, and an underrun error flag is set in the work area of the DRAM 21. It is set (S34). This underrun error is notified to the host 1 by the host 1 reading the printer status prior to each band transmission (S5 in FIG. 2) as described above. When the host 1 reads the status of the printer, the underrun error flag is released. As mentioned above, host 1
Upon detecting an underrun error, retransmits the image data in which the error has occurred with the resolution reduced from the first band, and subsequently transmits the image data of the subsequent band with the resolution reduced.

【0044】アンダーランエラーが発生していない場
合、プリンタ3のCPU23は、DMAコントローラ1
3に1バンドの転送DMAを許可する(S35)。1バ
ンドの転送DMAが終了する度にDMAコントローラ1
3がその旨を通知するので、CPU23はステップS3
3に戻る。こうして、1ページの転送が完了するまで、
1バンドの転送DMA設定と転送DMAの実行とを繰り
返す。1ページの転送が完了したら(S36でYE
S)、CPU23は、印刷成功フラグをDRAM21の
ワークエリアにセットする(S37)。印刷成功フラグ
は、ホスト1がプリンタステータスを読み出すときにホ
スト1に通知される。ホスト1がプリンタのステータス
を読み出した時点で、印刷成功フラグは解除される。前
述したように、ホスト1は、印刷成功フラグを受信した
ら、そのページのイメージデータを削除する。
If no underrun error has occurred, the CPU 23 of the printer 3
In step S35, one band transfer DMA is permitted (S35). Each time the one-band transfer DMA is completed, the DMA controller 1
3 notifies that fact, the CPU 23 proceeds to step S3
Return to 3. Thus, until one page transfer is completed
The transfer DMA setting of one band and the execution of the transfer DMA are repeated. When the transfer of one page is completed (YE in S36)
S), the CPU 23 sets a print success flag in the work area of the DRAM 21 (S37). The print success flag is notified to the host 1 when the host 1 reads the printer status. When the host 1 reads the status of the printer, the print success flag is cleared. As described above, upon receiving the print success flag, the host 1 deletes the image data of the page.

【0045】1ページ分のビデオ転送が完了すると制御
はステップS31へ戻り、次のページのビデオ転送が同
様の手順で開始される。イメージデータの圧縮率が高
い、もしくは受信バッファサイズが十分に大きい場合
は、複数ページのイメージデータが受信バッファ43に
蓄えられ、印刷エンジン27の最大スループットで連続
印刷される。
When the video transfer for one page is completed, the control returns to step S31, and the video transfer for the next page is started in the same procedure. When the compression ratio of the image data is high or the reception buffer size is sufficiently large, the image data of a plurality of pages is stored in the reception buffer 43 and is continuously printed at the maximum throughput of the print engine 27.

【0046】図6は、DRAM21の構成を示す。FIG. 6 shows a configuration of the DRAM 21.

【0047】既に説明したように、DRAM21内には
ワークエリア41と受信バッファ43が確保されてい
る。ワークエリア31はヒープメモリ及びスタックメモ
リとして使用される。図示の例では、DRAM21の全
エリアのうちバッファ先頭アドレスBUFTOPからバ
ッファ最終アドレスBUFBTMまでが受信バッファ4
3である。受信DMAでは、そのアドレスポイント(受
信DMAアドレス)RADを、バッファ先頭アドレスB
UFTOPからバッファ最終アドレスBUFBTMへ向
かう方向へ進めていき、バッファ最終アドレスBUFB
TMに達するとバッファ先頭アドレスBUFTOPに戻
る。同様に、転送DMAでも、そのアドレスポイント
(転送DMAアドレス)TADを、バッファ先頭アドレ
スBUFTOPからバッファ最終アドレスBUFBTM
へ向かう方向へ進めていき、バッファ最終アドレスBU
FBTMに達するとバッファ先頭アドレスBUFTOP
に戻る。このように受信バッファ43はリングバッファ
として使用される。
As described above, the work area 41 and the receiving buffer 43 are secured in the DRAM 21. The work area 31 is used as a heap memory and a stack memory. In the example shown in the figure, the reception buffer 4 stores all the areas of the DRAM 21 from the buffer start address BUFTOP to the buffer end address BUFBTM.
3. In the reception DMA, the address point (reception DMA address) RAD is set to the buffer start address B
Proceed in the direction from UFTOP to the buffer last address BUFBTM, and
When it reaches TM, it returns to the buffer start address BUFTOP. Similarly, in the transfer DMA, the address point (transfer DMA address) TAD is changed from the buffer start address BUFTOP to the buffer end address BUFBTM.
To the buffer end address BU
When the FBTM is reached, the buffer top address BUFTOP
Return to Thus, the reception buffer 43 is used as a ring buffer.

【0048】図示の例は、受信バッファ43にBページ
のデータ53を蓄積中であり、且つBページの前のAペ
ージのデータ51のビデオ転送を開始しようとしている
状態を示している。各ページのデータ51、53には、
各ページイメージに関するホスト情報(解像度、トータ
ルバンド数など)、各バンドの情報(圧縮ON/OF
F、圧縮バンドサイズなど)及び各バンドのイメージデ
ータなどが含まれている。
The illustrated example shows a state in which data 53 of page B is being stored in the reception buffer 43 and video transfer of data 51 of page A before page B is about to be started. The data 51 and 53 of each page include
Host information (resolution, total number of bands, etc.) on each page image, information on each band (compression ON / OF)
F, compression band size, etc.) and image data of each band.

【0049】この実施形態では、前述したようにオーバ
ーランエラーを防止するため、ホスト1はバンド単位で
データを送信し、その都度、その送信に先立ってプリン
タ3が受信バッファ43の空き容量を計算してホスト1
に通知し、その空き容量が1バンド以上であるときのみ
ホスト1は送信を実行する。以下に、その空き容量を計
算する方法を説明する。
In this embodiment, in order to prevent an overrun error as described above, the host 1 transmits data in band units, and each time the printer 3 calculates the free space of the reception buffer 43 prior to the transmission. And host 1
, And the host 1 executes transmission only when the free space is one or more bands. Hereinafter, a method of calculating the free space will be described.

【0050】図7は、受信バッファ43の2つの状態を
示している。つまり、図7(A)は「受信DMAアドレ
スRAD>転送DMAアドレスTAD」の状態、図7
(B)は「受信DMAアドレスRAD<転送DMAアド
レスTAD」の状態を示している。ハッチングで示した
領域に受信データが蓄積されており、「空」と記した領
域が空き領域である。
FIG. 7 shows two states of the reception buffer 43. That is, FIG. 7A shows a state of “reception DMA address RAD> transfer DMA address TAD”.
(B) shows the state of “reception DMA address RAD <transfer DMA address TAD”. Received data is accumulated in the area indicated by hatching, and the area described as “empty” is an empty area.

【0051】図7(A)に示す「受信DMAアドレスR
AD>転送DMAアドレスTAD」のときには、 空き容量=(TAD−BUFTOP)+(BUFBTM
−RAD) であり、図7(B)に示す「受信DMAアドレスRAD
<転送DMAアドレスTAD」のときには、 空き容量=TAD−RAD である。
The "received DMA address R" shown in FIG.
AD> transfer DMA address TAD ”, free space = (TAD-BUFTOP) + (BUFBTM
−RAD), and the “receiving DMA address RAD” shown in FIG.
When <transfer DMA address TAD ”, the free space = TAD-RAD.

【0052】図8は、この空き容量の計算に用いられる
回路(又はソフトの処理流れ)を示す。
FIG. 8 shows a circuit (or software processing flow) used for calculating the free space.

【0053】図8において、TADSTは転送DMAア
ドレスのスタートポイントであり、RADSTは受信D
MAアドレスのスタートポイントであり、既に述べたよ
うに、これらは各バンドの転送DMA及び各バンドの受
信DMAをそれぞれ開始するときにCPU23によって
それぞれ設定される。TADCNTは転送DMAを行お
うとする受信バッファのアドレスを示すカウンタであ
り、RADCNTは受信DMAを行おうとする受信バッ
ファのアドレスを示すカウンタである。
In FIG. 8, TADST is the start point of the transfer DMA address, and RADT is the reception D address.
These are the start points of the MA address, and as described above, these are set by the CPU 23 when the transfer DMA of each band and the reception DMA of each band are started. TADCNT is a counter indicating the address of a reception buffer for which transfer DMA is to be performed, and radCNT is a counter indicating the address of a reception buffer for which reception DMA is to be performed.

【0054】転送DMAアドレスカウンタ61は、各バ
ンドの転送DMAが実行される間、転送DMAスタート
アドレスTADSTを出力値の初期値として、その出力
値を、バッファ先頭アドレスBUFTOPから受信バッ
ファ最終アドレスBUFBTMまでリング状に循環する
るように1づつ進めていく。この転送DMAアドレスカ
ウンタ61の出力値が転送DMAアドレスTADであ
る。
The transfer DMA address counter 61 sets the transfer DMA start address TADST as an initial output value and executes the output value from the buffer start address BUFTOP to the reception buffer end address BUFBTM during the execution of the transfer DMA of each band. Step by step so as to circulate in a ring. The output value of the transfer DMA address counter 61 is the transfer DMA address TAD.

【0055】同様に、受信DMAアドレスカウンタ63
は、各バンドの受信DMAが実行される間、受信DMA
スタートアドレスRADSTを出力値の初期値として、
その出力値を、バッファ先頭アドレスBUFTOPから
受信バッファ最終アドレスBUFBTMまでリング状に
循環するように1づつ進めていく。この受信DMAアド
レスカウンタ61の出力値が受信DMAアドレスRAD
である。
Similarly, the reception DMA address counter 63
Indicates that the reception DMA is executed while the reception DMA of each band is executed.
Using the start address RADT as the initial value of the output value,
The output value is advanced by one so as to circulate in a ring from the buffer start address BUFTOP to the reception buffer end address BUFBTM. The output value of the reception DMA address counter 61 is the reception DMA address RAD
It is.

【0056】比較器65が、転送DMAアドレスTAD
と受信DMAアドレスRADを比較して、いずれが大き
いかを示すアドレス比較フラグADCMPRをセットす
る。減算器67、69、71が、「TAD−BUFTO
P=TSUBTP」、「TAD−RAD=TSUB
R」、「BUFBTM−RAD=BTSUBR」をそれ
ぞれ計算する。
The comparator 65 sets the transfer DMA address TAD
And the received DMA address RAD, and sets an address comparison flag ADCMPR indicating which is larger. The subtracters 67, 69, and 71 operate as “TAD-BUFTO”.
P = TSUBTP "," TAD-RAD = TSSUB
R "and" BUFBTM-RAD = BTSUBR ", respectively.

【0057】CPU23は、アドレス比較フラグADC
MPRを見て、「受信DMAアドレスRAD>転送DM
AアドレスTAD」のときには、 空き容量=TSUBTP+BTSUBR とし、「受信DMAアドレスRAD<転送DMAアドレ
スTAD」のときには、 空き容量=TSUBR とする。
The CPU 23 sets the address comparison flag ADC
Looking at the MPR, “Receive DMA address RAD> Transfer DM
In the case of "A address TAD", the free space is set to TSUBTP + BTSUBR, and in the case of "reception DMA address RAD <transfer DMA address TAD", free space is set to TSUBBR.

【0058】次に、本発明の第2の実施形態について説
明する。この実施形態の全体構成は図1に示したものと
同様である。この実施形態では、ホスト1がビデオ転送
の開始タイミングを決めてプリンタ3へ指示する。一般
に、ホスト1はプリンタ3に比べてCPUの処理能力が
高いので、ホスト1で開始タイミングを決定した方が、
プリンタ3で決めるよりも、より正確に開始タイミング
を設定することができる。また、プリンタ3は、ホスト
1から指示された開始タイミングが来る前に受信バッフ
ァの空き容量が所定量(例えば、1バンド)まで減った
ときには、その時点で自主的にビデオ転送を開始する。
これにより、ホスト1から指示された開始タイミングが
来る前に受信バッファが満杯になりプリンタ3がストー
ルする、という事態が回避される。ホスト1から指示さ
れた開始タイミングより早くにビデオ転送を開始した場
合でも実際には正常に印刷できるケースがあるので、エ
ラー発生を最小限にとどめることができる。また、ホス
ト1が指示したビデオ転送の開始タイミングが1ページ
分のデータ受信完了より早いタイミングであった場合に
おいて、アンダーランエラーが発生した場合には、ホス
ト1はまず、開始タイミングを1ページ分のデータ受信
完了後に変更してプリンタ3に指示した上で、データを
再送する。それでも、再びアンダーランエラーが発生し
た場合には、ホスト1は次に解像度を落としたデータ
(例えば、元々の600dpiを300dpiにしたデ
ータ)をプリンタ3に再送する。プリンタの受信バッフ
ァは、元の高い解像度のデータを1ページ分格納できる
必要はないが、解像度を落としたデータを1ページ分格
納できる容量はもつ。
Next, a second embodiment of the present invention will be described. The overall configuration of this embodiment is the same as that shown in FIG. In this embodiment, the host 1 determines the start timing of the video transfer and instructs the printer 3. Generally, since the host 1 has a higher CPU processing capacity than the printer 3, it is better for the host 1 to determine the start timing.
The start timing can be set more accurately than determined by the printer 3. Further, when the free space of the reception buffer decreases to a predetermined amount (for example, one band) before the start timing instructed by the host 1 comes, the printer 3 starts video transfer voluntarily at that time.
This avoids a situation in which the receiving buffer becomes full and the printer 3 stalls before the start timing specified by the host 1 comes. Even if video transfer is started earlier than the start timing instructed by the host 1, there is a case where printing can be normally performed in practice, so that occurrence of an error can be minimized. If the start timing of the video transfer specified by the host 1 is earlier than the completion of data reception for one page, and an underrun error occurs, the host 1 first sets the start timing to one page. After the completion of the data reception, the data is changed and instructed to the printer 3, and then the data is retransmitted. Still, if an underrun error occurs again, the host 1 resends the next lower-resolution data (for example, the original 600 dpi to 300 dpi data) to the printer 3. The receiving buffer of the printer does not need to be able to store the original high-resolution data for one page, but has a capacity to store one-page data with reduced resolution.

【0059】図9は、この実施形態における、ホスト1
がプリンタ3へイメージデータ送るときに各ページ毎に
行う制御のフローチャートホストの制御フローを示す。
FIG. 9 shows the host 1 in this embodiment.
3 is a flowchart of control performed for each page when image data is transmitted to the printer 3.

【0060】ここでは、図2に示した前の実施形態のホ
ストの制御フローと異なるところだけを説明する。説明
しない部分は図2のフローと同じである。
Here, only the points different from the control flow of the host of the previous embodiment shown in FIG. 2 will be described. Parts not described are the same as those in the flow of FIG.

【0061】ホスト1は、ステップS43でホスト情報
(つまり、イメージデータに関する情報)をプリンタ3
に送信するが、このホスト情報にはイメージデータの解
像度(300/600dpi)やトータルバンド数の
他、ビデオ転送の開始タイミング(何バンド目か)が含
まれている。この開始タイミングはホスト1が、最初の
実施形態で説明した(3)式、つまり、 M≧P>T(α−x/y) …(3) の条件が満たされるように決定する。ここに、xはホス
ト1からのデータ受信速度〔バイト/秒〕、yはビデオ
転送の速度〔バイト/秒〕、αはデータ圧縮率、Tは1
ページの全データ数〔バイト〕、Mは受信バッファのサ
イズ〔バイト〕、Pはビデオ転送の開始時点で受信バッ
ファに蓄えられているデータサイズ〔バイト〕である。
ホスト1は、開始タイミングを決定する際、イメージデ
ータを送信するポートの種類(パラレル、USB、イー
サネット(登録商標)など)、もしくはポートの通信モ
ード(パラレルの場合のCompatibility、ECPなど)に応
じて、データ受信速度xが異なるから、それに応じて開
始タイミングを変える。例えば、パラレルのECPのよう
に受信速度xが速い場合は早い開始タイミングを設定
し、ネットワーク通信のように受信速度xが安定してい
ない場合は遅い開始タイミング(例えば、1ページのデ
ータ全てを受信した後にビデオ転送を開始するように)
を設定する。なお、プリンタ3はステップS42にて必
要に応じてホスト1との間で成立している通信モードを
プリンタ情報としてホスト1に前もって知らせておく
(例えば、パラレルの通信モード(Compatibility又はE
CP)はプリンタ3が知らせないとホスト1は分らないの
で、プリンタ3からホスト1に知らせる。)。
The host 1 sends the host information (that is, information on image data) to the printer 3 in step S43.
The host information includes the image data resolution (300/600 dpi), the total number of bands, and the video transfer start timing (the band number). The start timing is determined by the host 1 so that the expression (3) described in the first embodiment, that is, the condition of M ≧ P> T (α−x / y) (3) is satisfied. Here, x is the data reception speed [byte / second] from the host 1, y is the video transfer speed [byte / second], α is the data compression ratio, and T is 1
The total number of bytes [bytes] of the page, M is the size of the receiving buffer [bytes], and P is the data size [bytes] stored in the receiving buffer at the start of video transfer.
When determining the start timing, the host 1 determines the type of the port for transmitting the image data (parallel, USB, Ethernet (registered trademark), etc.) or the communication mode of the port (compatibility, ECP, etc. in the case of parallel). Since the data reception speed x is different, the start timing is changed accordingly. For example, when the reception speed x is fast as in parallel ECP, a fast start timing is set, and when the reception speed x is not stable as in network communication, a slow start timing (for example, all data of one page is received) To start the video transfer after
Set. The printer 3 informs the host 1 of the communication mode established with the host 1 as necessary at step S42 as printer information (for example, the parallel communication mode (Compatibility or E).
Since the host 1 cannot know the CP) unless the printer 3 notifies the host 3, the printer 3 notifies the host 1. ).

【0062】プリンタ3は、ステップS44でホスト1
から送られて来たホスト情報を基に、レジスタの設定や
バッファクリアなどのページ設定を行う。その際、ホス
ト情報に含まれる上記開始タイミングもプリンタ3内の
レジスタに設定される。その後、プリンタ3は、ホスト
1から送られてくる各ページのデータを受信バッファに
蓄え、そして、原則として、各ページ毎にホスト1から
指示された開始タイミングになると(つまり、ホスト1
から指示された開始タイミングとしてのバンド数を受信
すると)ビデオ転送を開始する。
The printer 3 determines in step S44 that the host 1
Page setting such as register setting and buffer clear based on the host information sent from. At this time, the start timing included in the host information is also set in a register in the printer 3. Thereafter, the printer 3 stores the data of each page sent from the host 1 in the reception buffer, and, in principle, at the start timing designated by the host 1 for each page (that is, the host 1)
The video transfer is started when the number of bands as the start timing instructed from is received.

【0063】また、プリンタ3は1ページの印刷が終了
する度に、印刷の成功/失敗のフラグを立て、ホスト1
は、プリンタ3から取得したステータスに含まれる印刷
成功/失敗のフラグを見て(S46)、「成功」であれ
ばそのページのイメージデータをホスト1内から削除
し、「失敗」であれば、ステップS47のエラー処理に
進んで、失敗したページからデータの再送信を行う。
The printer 3 sets a print success / failure flag each time printing of one page is completed, and
Sees the print success / failure flag included in the status acquired from the printer 3 (S46), deletes the image data of the page from the host 1 if "successful", Proceeding to the error processing of step S47, data is retransmitted from the failed page.

【0064】図10は、このエラー処理のフローを示
す。
FIG. 10 shows the flow of this error processing.

【0065】まず、エラー内容をチェックし(S5
1)、エラー原因が紙ジャムだった場合には、失敗した
ページから単純に再送信を行う。一方、エラー原因がア
ンダーランエラーだった場合には、次に、エラー発生時
にプリンタ3に対し指示してあったビデオ転送の開始タ
イミングをチェックし(S52)、フライングスタート
(つまり、1ページの全データの受信完了前にビデオ転
送を開始すること)を指示してあった場合には、「1ペ
ージの全データの受信完了後にビデオ転送を開始する」
よう開始タイミングを変更し(S53)、その変更後の
開始タイミングをプリンタ3に指示し直して(図9、S
44)失敗ページからデータを再送信する(図9、S4
9)。また、エラー発生時に既に「1ページの全データ
の受信完了後にビデオ転送を開始する」ようプリンタ3
に指示してあった場合には、解像度を落として(例えば
600dpiから300dpiに落として)失敗ページ
のデータを作り直し(S53)、その落とした解像度を
プリンタ3に通知して(図9、S44)失敗ページにつ
いては解像度を落としたデータを再送信する(図9、S
49)。尚、上述のデータ再送信は、ホスト1が自動的
に行ってもよいし、或いは、エラーが発生したことをユ
ーザに知らせ、再送するか否か、再送する場合は解像度
を落とすか否かをユーザに選択させてもよい。
First, the contents of the error are checked (S5).
1) If the cause of the error is a paper jam, retransmission is simply performed from the failed page. On the other hand, if the cause of the error is an underrun error, the start timing of the video transfer instructed to the printer 3 at the time of occurrence of the error is checked (S52), and the flying start (that is, all the one page) is started. (Starting video transfer before data reception is completed) is instructed to start video transfer after reception of all data of one page is completed.
The start timing is changed (S53), and the changed start timing is instructed to the printer 3 again (FIG. 9, S
44) Retransmit data from the failed page (FIG. 9, S4)
9). In addition, when an error occurs, the printer 3 starts to "start video transfer after receiving all data of one page".
If the instruction has been given, the data of the failed page is recreated by lowering the resolution (for example, from 600 dpi to 300 dpi) (S53), and the lowered resolution is notified to the printer 3 (S44 in FIG. 9). For the failed page, retransmit the data with reduced resolution (FIG. 9, S
49). Note that the above-described data retransmission may be automatically performed by the host 1, or the user may be notified that an error has occurred, and whether or not to retransmit, and if so, whether to decrease the resolution. The user may make a selection.

【0066】図11は、プリンタ3がホスト1からデー
タを受信するときの動作フローを示す。
FIG. 11 shows an operation flow when the printer 3 receives data from the host 1.

【0067】ここでは、図3に示した最初の実施形形態
のプリンタ制御フローと異なる部分だけを説明する。説
明しない部分は、図3のフローと同じである。
Here, only the parts different from the printer control flow of the first embodiment shown in FIG. 3 will be described. Parts not described are the same as those in the flow of FIG.

【0068】ステップS65で、プリンタ3はホスト1
からホスト情報(解像度、トータルバンド数、ビデオ転
送の開始タイミングなど)を受信し、その情報を基にデ
ータ受信に関するレジスタ設定、バッファクリアなどの
ページ設定を行う。
At step S65, the printer 3
The host information (resolution, total number of bands, start timing of video transfer, etc.) is received from the server, and based on the information, register setting for data reception and page setting such as buffer clear are performed.

【0069】続いて、プリンタ3は、図4に示したよう
な流れでホスト1から1バンド分のイメージデータを受
信する処理に入る(S66)。そして、ホスト1から受
信バッファにデータを受信しつつ、プリンタ3は、ホス
ト1から指定された開始タイミングとしてのバイト数を
受信し終わったかどうかと、受信バッファの空き容量が
1バンド未満になったかどうかをチェックする(S6
7)。指定バイト数を受信完了した場合、プリンタ3は
ビデオ転送を開始することができる(S68)。ホスト
1から指示されたバンド数が全ての1ページのトータル
バンド数、つまりホスト1から「1ページの全データの
受信完了に開始せよ」と指示されていた場合、ビデオ転
送開始後直ちにステップS61へ戻り(S71)次ペー
ジのデータ受信動作に入る。
Subsequently, the printer 3 enters a process of receiving one band of image data from the host 1 in a flow as shown in FIG. 4 (S66). Then, while receiving data from the host 1 into the reception buffer, the printer 3 determines whether the number of bytes as the start timing specified by the host 1 has been received, and whether the free space of the reception buffer has become less than one band. Check whether (S6
7). When the specified number of bytes has been received, the printer 3 can start video transfer (S68). When the number of bands specified by the host 1 is the total number of bands for all one pages, that is, when the host 1 has instructed “start the reception of all data of one page”, the process immediately proceeds to step S61 after the start of the video transfer. Return (S71) The operation for receiving data of the next page is started.

【0070】また、データの圧縮率が予想外に悪い、或
いは元のデータが受信バッファサイズよりかなり大きい
等の事情があると、ホスト1から指示されたバンド数を
受信しないうちに受信バッファの空き容量が1バンド未
満になることがある。この場合、バッファ空き容量が1
バンド1バンド未満になった時点でプリンタ3はビデオ
転送を開始する。この場合、アンダーランエラーが発生
する確率が高くなるが、ホスト1が指定した開始タイミ
ングに十分大きいマージンが含まれていることなどの理
由から、正常に印刷ができるケースも少なくない。
If the data compression ratio is unexpectedly bad or the original data is considerably larger than the reception buffer size, the reception buffer becomes vacant before the number of bands specified by the host 1 is received. The capacity may be less than one band. In this case, the free buffer space is 1
The printer 3 starts video transfer when the band becomes less than one band. In this case, the probability of occurrence of an underrun error increases, but there are many cases where printing can be performed normally because the start timing designated by the host 1 includes a sufficiently large margin.

【0071】図12は、プリンタ3が行うビデオ転送の
制御フローである。
FIG. 12 is a control flow of the video transfer performed by the printer 3.

【0072】ここでは、図5に示した最初の実施形態の
ビデオ転送フローと異なる部分だけ説明する。説明しな
い部分は、図5のフローと同じである。
Here, only the portions different from the video transfer flow of the first embodiment shown in FIG. 5 will be described. Parts not described are the same as those in the flow of FIG.

【0073】まず、ビデオ転送が可能であるかを、ホス
ト1から指示されたバンド数以上を受信済みか否かによ
りチェックする(S71)。受信済みであれば、図5の
フローと同様の手順で1バンドのビデオ転送を実行する
(S72〜S75)。そして、プリンタエンジンの状態
をチェックし(S76)、紙ジャムが発生していたら、
紙ジャムエラーフラグをセットする(S77)。ホスト
1は、紙ジャムエラーを検出した場合には、図10に示
したようにパラメータを変更することなくデータを再送
する。
First, it is checked whether video transfer is possible by checking whether or not the number of bands specified by the host 1 has been received (S71). If received, one-band video transfer is executed in the same procedure as in the flow of FIG. 5 (S72 to S75). Then, the state of the printer engine is checked (S76), and if a paper jam has occurred,
The paper jam error flag is set (S77). When detecting a paper jam error, the host 1 retransmits the data without changing the parameters as shown in FIG.

【0074】以上、本発明の一実施形態を説明したが、
これらの実施形態はあくまで本発明の説明のための例示
であり、本発明をこれら実施形態にのみ限定する趣旨で
はない。従って、本発明は、上記実施形態以外の様々な
形態でも実施することができるものである。
As described above, one embodiment of the present invention has been described.
These embodiments are merely examples for describing the present invention, and are not intended to limit the present invention only to these embodiments. Therefore, the present invention can be implemented in various forms other than the above-described embodiment.

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

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

【図2】ホスト1がプリンタ3へイメージデータ送ると
きに各ページ毎に行う制御のフローチャート。
FIG. 2 is a flowchart of control performed for each page when a host 1 sends image data to a printer 3;

【図3】プリンタ3がホスト1からデータを受信すると
きのプリンタCPU23の制御のフローチャート。
FIG. 3 is a flowchart of control of a printer CPU 23 when the printer 3 receives data from a host 1.

【図4】1バンド受信の制御のフローチャート。FIG. 4 is a flowchart of one-band reception control.

【図5】ビデオ転送の制御のフローチャート。FIG. 5 is a flowchart of control of video transfer.

【図6】DRAM21のメモリマップ。FIG. 6 is a memory map of a DRAM 21;

【図7】受信バッファ43の2つの状態を示す図。FIG. 7 is a diagram showing two states of a reception buffer 43.

【図8】空きバッファ容量の計算に用いられる回路(又
はソフト)の構成図。
FIG. 8 is a configuration diagram of a circuit (or software) used for calculating a free buffer capacity.

【図9】本発明の第2の実施形態における、ホスト1が
プリンタ3へイメージデータ送るときに各ページ毎に行
う制御のフローチャート。
FIG. 9 is a flowchart of control performed for each page when the host 1 sends image data to the printer 3 according to the second embodiment of the present invention.

【図10】第2の実施形態における、ホストのエラー処
理のフローチャート。
FIG. 10 is a flowchart of error processing of a host according to the second embodiment.

【図11】第2の実施形態における、プリンタ3がホス
ト1からデータを受信するときのプリンタCPU23の
制御のフローチャート。
FIG. 11 is a flowchart of control of the printer CPU 23 when the printer 3 receives data from the host 1 in the second embodiment.

【図12】第2の実施形態における、ビデオ転送の制御
のフローチャート。
FIG. 12 is a flowchart of control of video transfer in the second embodiment.

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

1 ホスト 3 プリンタ 13 DMAコントローラ 21 DRAM 23 CPU 43 受信バッファ 1 Host 3 Printer 13 DMA Controller 21 DRAM 23 CPU 43 Receive Buffer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大沼 和幸 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 (72)発明者 尾形 裕保 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 (72)発明者 丸山 三千男 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 (72)発明者 千原 一徳 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 (72)発明者 村田 すなお 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kazuyuki Onuma 3-3-5 Yamato, Suwa City, Nagano Prefecture Inside Seiko Epson Corporation (72) Inventor Hiroyasu Ogata 3-5-5 Yamato Suwa City, Nagano Prefecture Seiko Epson Inside (72) Inventor Michio Maruyama 3-3-5 Yamato, Suwa City, Nagano Prefecture Seiko Epson Corporation (72) Inventor Kazunori Chihara 3-5-5 Yamato, Suwa City, Nagano Prefecture Seiko Epson Corporation ( 72) Inventor Murata Sunao 3-5-5 Yamato, Suwa City, Nagano Prefecture Inside Seiko Epson Corporation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 バッファを含むメモリと、 データを基に画像を形成して出力する画像出力部と、 ホストから受信したデータを前記バッファへ書きこむ受
信部と、 前記バッファ内のデータを前記画像出力部へ転送する転
送部と、 前記ホストをして前記プリンタが受信可能なサイズのデ
ータを送信せしめるために、前記バッファの空き容量に
関する情報を前記ホストに通知する空きバッファ容量通
知部とを備えたページプリンタ。
A memory including a buffer; an image output unit configured to form and output an image based on data; a reception unit configured to write data received from a host into the buffer; A transfer unit that transfers the data to an output unit; and a free buffer capacity notifying unit that notifies the host of information about the free space of the buffer to cause the host to transmit data of a size receivable by the printer. Page printer.
【請求項2】 前記空きバッファ容量通知部は、前記ホ
ストが所定単位のデータの送信を開始しようとする都
度、この送信の開始に先立って、前記空き容量に関する
情報を前記ホストに通知する請求項1記載のページプリ
ンタ。
2. The free-buffer-capacity notifying unit notifies the host of information on the free space each time the host attempts to start transmitting data in a predetermined unit, before starting the transmission. 1. The page printer according to 1.
【請求項3】 ホストと、このホストから送信されるデ
ータをページ単位で印刷するページプリンタとを備える
ページプリントシステムにおいて、 前記ページプリンタは、 バッファを含むメモリと、 前記データを基に画像を形成して出力する画像出力部
と、 前記ホストから受信したデータを前記バッファへ書きこ
む受信部と、 前記バッファ内のデータを前記画像出力部へ転送する転
送部と、 前記バッファの空き容量に関する情報を前記ホストに通
知する空きバッファ容量通知部とを備え、 前記ホストは、前記ページプリンタから通知される前記
バッファの空き容量に関する情報に基づき、前記ページ
プリンタが受信できるサイズのデータをプリンタに送信
する手段を備えるページプリントシステム。
3. A page printing system comprising a host and a page printer for printing data transmitted from the host in page units, wherein the page printer forms a memory based on the data with a memory including a buffer. An image output unit that outputs the data received from the host to the buffer; a transfer unit that transfers the data in the buffer to the image output unit; and information about the free space of the buffer. An empty buffer capacity notifying unit for notifying the host, wherein the host transmits data of a size receivable by the page printer to a printer based on information on the free capacity of the buffer notified from the page printer. A page print system comprising:
【請求項4】 ホストから受信したデータをバッファに
一時的に蓄積してからバッファから画像出力部へ転送す
るように構成され前記バッファの空き容量に関する情報
を前記ホストに通知する機能をもったページプリンタに
対して、前記データを送信するホストにおいて、 前記ページプリンタから通知される前記バッファの空き
容量に関する情報に基づき、前記ページプリンタが受信
できるサイズのデータを前記プリンタに送信する手段を
備えた、ページプリンタのためのホスト。
4. A page configured to temporarily accumulate data received from a host in a buffer and then transferring the data from the buffer to an image output unit, and having a function of notifying the host of information on the free space in the buffer. A host for transmitting the data to a printer, comprising: a unit for transmitting data of a size receivable by the page printer to the printer based on information on the free space of the buffer notified from the page printer; Host for page printer.
【請求項5】 ホストから受信したデータをバッファに
一時的に蓄積してからバッファから画像出力部へ転送す
るように構成され前記バッファの空き容量に関する情報
を前記ホストに通知する機能をもったページプリンタに
対して、前記データを送信するホストとして、コンピュ
ータを機能させるためのプログラムを担持したコンピュ
ータ読取可能な記録媒体において、 前記ホストが、 前記ページプリンタから通知される前記バッファの空き
容量に関する情報に基づき、前記ページプリンタが受信
できるサイズのデータを前記プリンタに送信する手段を
備えた、コンピュータ読取可能な記録媒体。
5. A page configured to temporarily accumulate data received from a host in a buffer, and then transfer the data from the buffer to an image output unit, and have a function of notifying the host of information on the free space in the buffer. In a computer-readable recording medium that carries a program for causing a computer to function as a host that transmits the data to a printer, the host stores information on the free space of the buffer notified from the page printer. A computer-readable recording medium comprising means for transmitting data of a size that can be received by the page printer to the printer based on the data.
JP2000142213A 1998-09-29 2000-05-15 Page printer and page print system Expired - Fee Related JP3367556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000142213A JP3367556B2 (en) 1998-09-29 2000-05-15 Page printer and page print system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-275074 1998-09-29
JP27507498 1998-09-29
JP2000142213A JP3367556B2 (en) 1998-09-29 2000-05-15 Page printer and page print system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9799799A Division JP3284464B2 (en) 1998-09-29 1999-04-05 Page printer and page print system

Publications (2)

Publication Number Publication Date
JP2001010128A true JP2001010128A (en) 2001-01-16
JP3367556B2 JP3367556B2 (en) 2003-01-14

Family

ID=26551306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000142213A Expired - Fee Related JP3367556B2 (en) 1998-09-29 2000-05-15 Page printer and page print system

Country Status (1)

Country Link
JP (1) JP3367556B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008152401A (en) * 2006-12-14 2008-07-03 Seiko Epson Corp Print system and print control method for print system
JP2009223202A (en) * 2008-03-18 2009-10-01 Fujitsu Microelectronics Ltd Creating method of data for exposure, and photomask manufacturing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4196782B2 (en) 2003-08-26 2008-12-17 セイコーエプソン株式会社 Image processing apparatus and image processing program causing computer to execute image processing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008152401A (en) * 2006-12-14 2008-07-03 Seiko Epson Corp Print system and print control method for print system
US8441666B2 (en) 2006-12-14 2013-05-14 Seiko Epson Corporation Printing control device and printing control method
JP2009223202A (en) * 2008-03-18 2009-10-01 Fujitsu Microelectronics Ltd Creating method of data for exposure, and photomask manufacturing method

Also Published As

Publication number Publication date
JP3367556B2 (en) 2003-01-14

Similar Documents

Publication Publication Date Title
JP3284464B2 (en) Page printer and page print system
US20060176513A1 (en) Printer, printer control method, and recording medium
US20050063001A1 (en) Printing system and printing control method
JP3367555B2 (en) Page printer and page print system
JP3367556B2 (en) Page printer and page print system
US7212303B2 (en) Print control method for a multifunctional printer including a facsimile feature
JP3772585B2 (en) Printing system
US8947707B1 (en) Method and apparatus for printing raster page
JP4035969B2 (en) Image generation apparatus, image forming apparatus, print control apparatus, data transfer method, data conversion method, data transfer program, and data conversion program
US7880917B2 (en) Image forming apparatus and print system
JP2001142670A (en) Printing system and printer
US8724125B2 (en) Method and system for printing according to transmission conditions
JP2002019212A (en) Printer
JP3509840B2 (en) Page printer
JP2000301780A (en) Print system
JP4589768B2 (en) Information processing device
JP2000168174A (en) Printer
JPH11198488A (en) Printer and control thereof
JPS63182150A (en) Laser printer controller
JPH06227100A (en) Printer device
JP2000259363A (en) Printing server, printing control method, medium recording printing control program and network printing system
JPH11120091A (en) Time-out control system
US7218408B2 (en) Image printing system
JPH11194914A (en) Print control unit
JP4065466B2 (en) Data communication system

Legal Events

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

Free format text: PAYMENT UNTIL: 20081108

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091108

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091108

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101108

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101108

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111108

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111108

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121108

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121108

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131108

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees