JPH07210365A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPH07210365A
JPH07210365A JP6006027A JP602794A JPH07210365A JP H07210365 A JPH07210365 A JP H07210365A JP 6006027 A JP6006027 A JP 6006027A JP 602794 A JP602794 A JP 602794A JP H07210365 A JPH07210365 A JP H07210365A
Authority
JP
Japan
Prior art keywords
reception buffer
buffer
size
reception
host
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
JP6006027A
Other languages
Japanese (ja)
Inventor
Masaaki Nagano
雅昭 永野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP6006027A priority Critical patent/JPH07210365A/en
Publication of JPH07210365A publication Critical patent/JPH07210365A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To provide an image forming device capable of performing change to an appropriate size by providing a means for detecting that a reception buffer is in a full state and enlarging the size of the reception buffer. CONSTITUTION:A timer 8 is set so as to investigate how long the full state of the reception buffer is continued. The set time of the timer can be set even by commands from an operation panel 11 and a host device 13. When the timer is set, timer interruption is generated after the lapse of the set time and whether or not the next data are taken out from the reception butter during the period is checked by the interruption routine. When it is ascertained that a printer controller takes time in a data processing or the like and a free area is not made in the reception buffer by the checking, a processing for increasing the size of the reception butter is performed. In the case of increasing the area of the reception buffer, whether or not a memory area to be added to the reception butter is a usable area is investigated.

Description

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

【0003】[0003]

【産業上の利用分野】本願発明は、画像形成装置、詳し
くは、デジタル複合機、レ−ザ−プリンタ、ファクシミ
リ装置等に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, and more particularly to a digital multi-functional peripheral, a laser printer, a facsimile machine and the like.

【0004】[0004]

【従来の技術】従来より、ホスト装置からのデ−タを受
信し、これを記録紙上に画像情報として出力するレ−ザ
−プリンタ等の画像形成装置が知られており、また、ホ
スト装置から送信されるデ−タを一旦受信バッファによ
って記憶することにより、画像形成装置の画像出力とホ
スト装置の転送速度との調整を可能とする画像形成装置
も知られている。
2. Description of the Related Art Conventionally, there has been known an image forming apparatus such as a laser printer which receives data from a host device and outputs it as image information on a recording sheet. There is also known an image forming apparatus capable of adjusting the image output of the image forming apparatus and the transfer speed of the host apparatus by temporarily storing the transmitted data in the receiving buffer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
装置においては、ホストからの画像デ−タを一時蓄える
受信バッファとして用意されたメモリ領域と、フォント
のダウンロ−ド等のために用意されているメモリ領域と
の調整がなされておらず、メモリ領域の有効な利用が困
難な場合が多かった。具体的には、次のような不具合が
生じていた。プリンタを例に説明する。
However, in the conventional apparatus, a memory area prepared as a reception buffer for temporarily storing the image data from the host and a font download are prepared. It was often difficult to use the memory area effectively because it was not coordinated with the memory area. Specifically, the following problems have occurred. A printer will be described as an example.

【0006】従来のプリンタにおいては、受信バッファ
が一杯(フル)になると、受信バッファ内のデ−タがあ
る程度の量、処理し終わるまでプリンタビジ−(BUS
Y)が解除されなかった。従って複雑なデ−タやプリン
タの内部処理に時間がかかるようなデ−タが受信バッフ
ァに多く蓄えられているときは、プリンタ−ビジ−の解
除までかなりの時間を要することとなり、その結果、ホ
スト装置の処理が待機状態となっていた。かかる場合、
ホスト装置によっては次の作業をすることができず不便
な場合も多い。
In the conventional printer, when the receive buffer becomes full, the printer busy (BUS) is used until the data in the receive buffer has been processed to some extent.
Y) was not released. Therefore, when a large amount of complicated data or data that requires a long time for internal processing of the printer is stored in the reception buffer, it takes a considerable time to release the printer-bus, and as a result, The processing of the host device was in a standby state. In such cases,
Depending on the host device, it is often inconvenient that the next work cannot be performed.

【0007】また、従来のプリンタは、受信バッファの
使用状態に対応して受信バッファのサイズ即ち記憶領域
の大きさを調整する機能は備えておらず、受信バッファ
に大きなメモリ領域を割り当てている場合であって、ホ
スト装置から送信されてくるデ−タがほとんど受信バッ
ファにたまらずに処理されている状態では、受信バッフ
ァに割当ている大部分のメモリ−が結果的に不必要なも
のとなり、メモリの有効活用ができなかった。
Further, the conventional printer does not have a function of adjusting the size of the receiving buffer, that is, the size of the storage area in accordance with the usage state of the receiving buffer, and when a large memory area is allocated to the receiving buffer. However, in the state where the data transmitted from the host device is processed almost without being accumulated in the reception buffer, most of the memory allocated to the reception buffer becomes unnecessary as a result, and the memory is Could not be used effectively.

【0008】さらに、従来のプリンタは、受信バッファ
以外に用途に使用されているメモリの使用状況に対応し
て受信バッファのサイズを変更する機能はなかった。従
って、例えば、フォントのダウンロ−ドエリアが不足し
ているため、フォントをダウンロ−ドできない場合に、
受信バッファの空き領域があるにもかかわらず、ダウン
ロ−ドのためにメモリ領域を自動的に開放することはで
きなかった。このため、プリンタを使用しているユ−ザ
−は、フォントのダウンロ−ドを失敗して始めて、プリ
ンタのダウンロ−ド用メモリを増やすためにオペレ−シ
ョンパネルの走査により受信バッファのサイズを小さく
する必要があり、煩雑であった。
Further, the conventional printer does not have a function of changing the size of the receiving buffer in accordance with the use status of the memory used for the purpose other than the receiving buffer. So, for example, if the font cannot be downloaded because the font download area is insufficient,
Despite the free area of the receive buffer, the memory area could not be automatically released for downloading. For this reason, the user using the printer fails to download the font, and then reduces the size of the reception buffer by scanning the operation panel in order to increase the download memory of the printer. It was necessary and complicated.

【0009】そこで、本願発明は、かかる従来技術の欠
点を解消し、受信バッファの大きさをホスト装置との通
信における関係より、適切な大きさに可変可能な画像形
成装置を得ることを目的とする。また、本願発明の他の
目的は受信バッファと、受信バッファ以外の用途に使用
されているメモリ領域の調整を可能とし、画像形成装置
上のメモリ領域を有効に活用しうる画像形成装置を得る
ことを目的とする。
Therefore, an object of the present invention is to solve the drawbacks of the prior art and to obtain an image forming apparatus in which the size of the receiving buffer can be changed to an appropriate size in consideration of the communication with the host device. To do. Another object of the present invention is to provide an image forming apparatus that enables adjustment of a receiving buffer and a memory area used for purposes other than the receiving buffer, and can effectively utilize the memory area on the image forming apparatus. With the goal.

【0010】[0010]

【課題を解決するための手段】本願発明は上記目的を達
成すべく次のような構成となっている。即ち、ホスト装
置から送られてくるデ−タを格納するための受信バッフ
ァを有する画像形成装置において、受信バッファがフル
状態であることを検知し受信バッファのサイズを拡大す
る手段を備ている。
The present invention has the following constitution in order to achieve the above object. That is, the image forming apparatus having the receiving buffer for storing the data sent from the host device is provided with means for detecting that the receiving buffer is in the full state and expanding the size of the receiving buffer.

【0011】または、受信バッファに割り当てられたメ
モリ量の中でホスト装置との通信において不必要なメモ
リ量を算出する手段を有し、受信バッファのサイズがホ
スト装置との通信に必要とされるサイズよりも大きい場
合は、受信バッファサイズを小さくするよう構成されて
いる。
Alternatively, it has means for calculating an unnecessary memory amount in communication with the host device among the memory amounts allocated to the receive buffer, and the size of the receive buffer is required for communication with the host device. If it is larger than the size, the reception buffer size is reduced.

【0012】若しくは、受信バッファ以外に使用される
メモリ領域の使用状況を検知し受信バッファのサイズを
変更する手段を備えるよう構成されている。
Alternatively, there is provided a means for detecting the use status of a memory area used other than the reception buffer and changing the size of the reception buffer.

【0013】[0013]

【実施例】本願発明の一実施例について説明する。図1
は、本願発明の一実施例にかかる画像形成装置の構成ブ
ロック図である。図1中のRAM1は、プログラムが使
用するワ−クメモリ、ホス装置から送信されてくるデ−
タを一時蓄える受信バッファ、ビットマップメモリとし
て使用されるとともに、フォントのダウンロ−ド、ユ−
ザ−プログラムのダウンロ−ド等の用途に使用されるも
のである。
EXAMPLE An example of the present invention will be described. Figure 1
FIG. 1 is a configuration block diagram of an image forming apparatus according to an embodiment of the present invention. RAM 1 in FIG. 1 is a work memory used by a program, and a data transmitted from the host device.
It is used as a receive buffer that temporarily stores data, a bitmap memory, and font download and font.
It is used for downloading the program.

【0014】CPU2は、ROM1に格納されているプ
ログラムに従い、操作パネル5の制御、エンジンインタ
−フェ−ス10を介してプリンタエンジン12の制御、
タイマ−8からのインタ−ラプトの処理など各種の制御
を実行する。不揮発性メモリ3はEEPROMやバッテ
リ−バックアップされたRAMなどからなる。不揮発性
メモリには、プリンタの設定値やメンテナンス情報など
を記憶している。
The CPU 2 controls the operation panel 5 and the printer engine 12 via the engine interface 10 in accordance with the programs stored in the ROM 1.
It executes various controls such as interrupt processing from timer-8. The non-volatile memory 3 includes an EEPROM, a battery-backed-up RAM, and the like. The nonvolatile memory stores printer setting values and maintenance information.

【0015】オプションインタ−フェ−ス4は、各種の
プリンタ機種のコマンド体系に対応したエミュレ−ショ
ンプログラムを格納したエミュレ−ションカ−ド、増設
メモリ、や増設フォントを格納したフォントカ−ドなど
のプリンタコントロ−ラのオプションを装着するために
設けられているインタ−フェ−スである。パネルインタ
−フェ−ス5は、操作パネル11との情報通信を行なう
ためのインタ−フェ−スであり、前記操作パネルはユ−
ザ−にプリンタの状態などを表示する表示部と、ユ−ザ
−が各種のプリンタの設定をマニュアル操作で実施する
操作部からなっている。
The optional interface 4 is a printer such as an emulation card storing an emulation program corresponding to the command system of various printer models, an expansion memory, a font card storing an expansion font, or the like. It is an interface provided for mounting a controller option. The panel interface 5 is an interface for communicating information with the operation panel 11, and the operation panel is a user interface.
The printer has a display section for displaying the printer status and the like, and an operation section for the user to manually set various printers.

【0016】ROM7には、制御プログラム、コンスタ
ントデ−タ、フォントデ−タ、パタ−ンデ−タなどが格
納されている。タイマ−8は、CPU2により設定され
た条件で各種のタイマ−インタ−ラプトを発生させる。
ホストインタ−フェ−ス9は、セントロニクスインタ−
フェ−スに代表されるパラレルインタ−フェ−ス、RS
232CやRS422に代表させるシリアルインタ−フ
ェ−ス、または、SCSI(スカジ−)インタ−フェ−
ス等、ホスト装置とプリンタコントロ−ラの通信のため
のインタ−フェ−スである。
The ROM 7 stores a control program, constant data, font data, pattern data and the like. The timer-8 generates various timer-interrupts under the condition set by the CPU 2.
The host interface 9 is a Centronics interface.
Parallel interface represented by Face, RS
A serial interface represented by 232C or RS422, or a SCSI (Scaldy) interface.
Interface for communication between the host device and the printer controller.

【0017】エンジンインタ−フェ−ス10は、プリン
タエンジン12の状態の情報を入手したり、プリンタコ
ントロ−ラからプリンタエンジンに対して紙送り開始な
どのコマンドを送ったり、また、エンジンのビデオ信号
に同期させてビットマップメモリに展開してある画像デ
−タを転送したりするためのインタ−フェ−スである。
The engine interface 10 obtains information on the status of the printer engine 12, sends a command such as paper feed start from the printer controller to the printer engine, and sends a video signal of the engine. This is an interface for transferring image data developed in a bit map memory in synchronization with.

【0018】ホスト装置13は、各種のコンピュ−タ、
ワ−プロ、ワ−クステ−ション等でありプリンタに画像
形成すべきデ−タを送信する。プリンタエンジン12
は、プリンタコントロ−ラからのコマンドや画像情報を
受けて、紙、OHPシ−ト等に画像情報を形成する。上
述のCPU、ROM、RAM、各インタ−フェ−ス等は
猫猪バスラインを介して接続されている。
The host device 13 includes various computers,
It is a word processor, a workstation, etc. and transmits data to be image-formed to the printer. Printer engine 12
Receives a command and image information from the printer controller and forms image information on paper, OHP sheet or the like. The above-mentioned CPU, ROM, RAM, interfaces, etc. are connected via a cat boar bus line.

【0019】図2は、受信バッファの概念構成図であ
る。受信バッファ14は、ホスト装置13から送られて
くるデ−タを一時プリンタコントロ−ラ内部のRAMに
蓄えておくためのバッファである。
FIG. 2 is a conceptual block diagram of the receive buffer. The reception buffer 14 is a buffer for temporarily storing the data sent from the host device 13 in the RAM inside the printer controller.

【0020】図中符号21は受信バッファに割り当てた
メモリの開始アドレスである。(以下「HOST_ST
ART」と呼ぶ。)符号22は、ホスト装置から送られ
受信バッファに蓄えられているデ−タをプリンタコント
ロ−ラがデ−タ処理のために受信バッファから取り出す
ためのポインタである。(以下「HOST_GET」と
呼ぶ。)
Reference numeral 21 in the drawing is a start address of the memory allocated to the reception buffer. (Hereinafter "HOST_ST
"ART". ) Reference numeral 22 is a pointer for the printer controller to take out the data sent from the host device and stored in the receiving buffer from the receiving buffer for data processing. (Hereinafter referred to as "HOST_GET".)

【0021】HOST_GETは、受信バッファからデ
−タを1バイト取り出すごとに1バイト分インクリメン
トされる。符号23はホストから送られてくるデ−タを
受信バッファに格納するためのポインタである。(以下
「HOST_IN」と呼ぶ。)HOST_INは、ホス
ト装置から1バイトのデ−タを受け取るごとに1バイト
分インクリメントされる。
HOST_GET is incremented by 1 byte each time 1 byte of data is fetched from the reception buffer. Reference numeral 23 is a pointer for storing the data sent from the host in the reception buffer. (Hereinafter, referred to as "HOST_IN".) HOST_IN is incremented by one byte each time 1-byte data is received from the host device.

【0022】HOST_GETは、符号24で表すHO
ST_ENDのところで再び、HOST_STARTに
もどる。但し、受信デ−タでないデ−タが誤って取りだ
されることを防止するため、HOST_INの値と比較
してその処理が行なわれる。HOST_INは、符号2
4で表すHOST_ENDのところで再び、HOST_
STARTにもどる。但し、未だプリンタコントロ−ラ
が処理していないデ−タを破壊することを防止するた
め、HOST_GETと比較してその処理がなされる。
ここで、HOST_END24は、受信バッファに割り
当てられた最後のアドレスである。
HOST_GET is a HO represented by reference numeral 24.
Return to HOST_START again at ST_END. However, in order to prevent the data other than the reception data from being erroneously taken out, the processing is performed in comparison with the value of HOST_IN. HOST_IN is a code 2
At HOST_END indicated by 4, again HOST_
Return to START. However, in order to prevent the data which the printer controller has not processed yet from being destroyed, the processing is performed in comparison with HOST_GET.
Here, HOST_END 24 is the last address assigned to the reception buffer.

【0023】本願発明にかかる一実施例の動作につき、
図3、図4、図5のフロ−チャ−トに基づいて説明す
る。
Regarding the operation of one embodiment according to the present invention,
An explanation will be given based on the flowcharts of FIGS. 3, 4, and 5.

【0024】図3は、プリンタコントロ−ラがデ−タ処
理に時間がかかり、ホストインタ−フェ−スのプリンタ
ビジ−が解除されないとき、受信バッファの大きさを増
やす動作を示すフロ−チャ−トである。プリンタコント
ロ−ラがデ−タ処理に時間がかかり、ホスト装置から送
られてきたデ−タが受信バッファ中に蓄積され、受信バ
ッファがいわゆるフル状態になったとき、デ−タの処理
時間をタイマ−を利用して推定し、デ−タの処理時間が
遅い場合、受信バッファのサイズを増やす動作を示して
いる。
FIG. 3 is a flowchart showing the operation of increasing the size of the reception buffer when the printer controller takes time to process the data and the printer busy of the host interface is not released. It is When the printer controller takes a long time to process the data, the data sent from the host device is accumulated in the receiving buffer, and the receiving buffer is in a so-called full state, the processing time of the data is reduced. This shows an operation of increasing the size of the receiving buffer when the processing time of data is slow, which is estimated by using a timer.

【0025】ステップ31(#31)においては、プリ
ンタのビジ−状態のときの原因を調査している。受信バ
ッファがフルのためプリンタビジ−になっている場合、
ステップ32(#32)の制御に分岐する。ステップ3
2(#32)においては、受信バッファのフル状態がど
の程度の時間続いているのかを調査するため、タイマ−
8を設定する。タイマ−の設定時間は、操作パネル11
や、ホスト装置13からのコマンドでも設定可能であ
る。タイマ−を設定すると設定された時間後に、タイマ
−インタ−ラプトが発生し、そのインタ−ラプトル−チ
ンで、この間次のデ−タが受信バッファから取り出され
たかチェックする(#33)。尚、次のデ−タを処理し
たか否かを調べるためには、HOST_GET、HOS
T_INの値を調べたり、内部的にデ−タを取りだした
か否かのフラグを設けたりすることにより可能である。
In step 31 (# 31), the cause when the printer is in the busy state is investigated. If the printer is busy because the receive buffer is full,
The process branches to the control of step 32 (# 32). Step 3
2 (# 32), in order to investigate how long the reception buffer is in the full state, the timer-
Set 8. The set time of the timer is the operation panel 11
Alternatively, it can be set by a command from the host device 13. When the timer is set, a timer interrupt occurs after the set time, and the interrupt routine checks whether the next data is taken out from the receive buffer during this time (# 33). In order to check whether the next data has been processed, HOST_GET, HOS
This can be done by checking the value of T_IN or internally providing a flag indicating whether or not the data is taken out.

【0026】ステップ34(#34)においては、前ス
テップのチェックにより、プリンタコントロ−ラがデ−
タ処理などに時間を取られ、受信バッファに空領域がで
きないことが判明した場合は受信バッファのサイズを増
やす処理をする。
In step 34 (# 34), the printer controller is de-selected by the check in the previous step.
If it is found that there is no free area in the receive buffer due to time spent on data processing, increase the size of the receive buffer.

【0027】この処理は、HOST_GET、HOST
_INの状態を調査し、状態に応じてHOST_END
の値を増やしたり、HOST_STARTの値を小さく
したりする。尚、場合によっては、受信バッファ内のこ
れらの処理を行なう有効なデ−タを、増加させたメモリ
領域に移動したりすることで実現できる。また、アドレ
スは連続でなくても、別の領域に受信バッファ用のメモ
リエリアを確保することも可能である。この場合には、
受信バッファを管理する情報を付加する必要がある。
This processing is executed by HOST_GET, HOST
Check the _IN status and depending on the status, HOST_END
Is increased or the value of HOST_START is decreased. In some cases, this can be realized by moving effective data for performing these processes in the reception buffer to the increased memory area. Further, even if the addresses are not continuous, it is possible to secure a memory area for the reception buffer in another area. In this case,
It is necessary to add information for managing the receive buffer.

【0028】受信バッファをどの程度増やすかをユ−ザ
が操作パネルやホスト装置からのコマンドにより設定で
きるようにもしておけば、極めて便宜なものとなる。
It will be extremely convenient if the user can set how much the receive buffer should be increased by a command from the operation panel or the host device.

【0029】受信バッファの領域を増やす場合には、受
信バッファに追加するメモリエリアが使用可能な領域で
あるか否かを調査する。上述の動作により、プリンタコ
ントロ−ラの内部処理に時間がかかり、プリンタビジ−
が継続するような場合には、受信バッファのサイズを自
動的に増やすことにより、ホストからのデ−タを受信で
きるようにすることが可能である。
When increasing the area of the reception buffer, it is investigated whether or not the memory area added to the reception buffer is an available area. Due to the above operation, it takes time for the internal processing of the printer controller, and the printer
In the case where the above continues, it is possible to receive the data from the host by automatically increasing the size of the receiving buffer.

【0030】次に、プリンタコントロ−ラのデ−タ処理
時間が短く、ホストから送られてくるデ−タはすぐに処
理されてしまうため、受信バッファの大部分のエリアが
必要ない場合を検知し、この場合、受信バッファのサイ
ズを小さくし、余ったエリアを他の用途に使用できるよ
うにする動作を図4を用いて説明する。
Next, the printer controller data processing time is short, and the data sent from the host is processed immediately. Therefore, it is detected that most of the receiving buffer area is unnecessary. However, in this case, the operation of reducing the size of the reception buffer and making the surplus area available for other purposes will be described with reference to FIG.

【0031】ステップ41(#41)は、受信バッファ
にホスト装置から送られてくるデ−タがほとんどたまら
ない状態を検知するために、チェックする処理のル−プ
の回数をカウンタに設定している。このカウンタの値
は、装置使用者(ユ−ザ−)が図1における操作パネル
11で設定したり、ホスト装置からのコマンドにより設
定することも可能である。
In step 41 (# 41), the number of loops of the processing to be checked is set in the counter in order to detect the state in which the data sent from the host device is hardly accumulated in the reception buffer. . The value of this counter can be set by the device user (user) on the operation panel 11 in FIG. 1 or by a command from the host device.

【0032】ステップ42(#42)は、受信バッファ
にホスト装置から送られてくるデ−タがほとんどたまら
ない状態を検知するため処理である。このチェックはタ
イマに設定された時間間隔でカウンタにセットされた回
数実行される。
Step 42 (# 42) is a process for detecting a state where the data sent from the host device is hardly accumulated in the reception buffer. This check is executed the number of times set in the counter at the time interval set in the timer.

【0033】ステップ43(#43)においては、受信
バッファがフルかどうかの判断だけでなく、どの程度受
信バッファに空き領域があるかをチェックする。各チェ
ックの度の空き領域を把握することにより、どの程度、
受信バッファを小さくできるかを求めることが可能とな
る。
In step 43 (# 43), not only is it determined whether or not the receive buffer is full, but it is checked to what extent the receive buffer has a free area. By grasping the free space at each check,
It becomes possible to determine whether the reception buffer can be made smaller.

【0034】ステップ46(#46)において、受信バ
ッファのサイズを小さくするが、この方法は、HOST
_IN、HOST_GETの状態を見て、HOST_S
TART、HOST_ENDの値を変更することにより
可能である。また、プリンタコントロ−ラの他のジョブ
が必要としているメモリサイズと受信バッファから減ら
せるメモリサイズと比較して、他のジョブで使用する分
だけ受信バッファのサイズを小さくすることが可能であ
る。
In step 46 (# 46), the size of the receiving buffer is reduced.
_IN, HOST_GET status, HOST_S
This is possible by changing the values of TART and HOST_END. Further, it is possible to reduce the size of the reception buffer by the amount used by another job, as compared with the memory size required by another job of the printer controller and the memory size that can be reduced from the reception buffer.

【0035】以上の如く、構成し、受信バッファにホス
ト装置から送られてくるデ−タがほとんどたまらない場
合を検知することにより、受信バッファのサイズを小さ
くすることができる。
As described above, the size of the reception buffer can be reduced by detecting the case where the data sent from the host device is hardly accumulated in the reception buffer.

【0036】メモリの使用状況により判断して受信バッ
ファのサイズを小さくする手段の動作を図5を用いて説
明する。図5は、メモリの使用状況を判断しメモリ不足
が発生したならば、受信バッファを小さくできるかどう
かをチェックし、受信バッファを小さくできる場合は受
信バッファを小さくし、受信バッファを小さくすること
により、フリ−になったメモリをメモリ不足がが発生し
たところへ割り当てる処理の動作を示すものである。
The operation of the means for reducing the size of the reception buffer, which is judged according to the memory usage, will be described with reference to FIG. FIG. 5 shows that if the memory usage is judged and a memory shortage occurs, it is checked whether the receiving buffer can be made smaller. If the receiving buffer can be made smaller, the receiving buffer is made smaller and the receiving buffer is made smaller. , Operation of allocating a free memory to a place where a memory shortage occurs.

【0037】ステップ51(#51)においては、例え
ばダウンロ−ドフォントやダウンロ−ドマクロなどのメ
モリエリアまたは、プリンタコントロ−ラが内部処理に
使用する中間コ−ドのメモリエリアの領域不足をチェッ
クしている。ここでは、いかなる箇所にメモリ不足が発
生したかをRAM中に記憶しておく。必要に応じて、不
足したメモリもRAM中に記憶しておく。ステップ52
(#52)においては、受信バッファの状態を調査す
る。HOST_IN、HOST_GETの値等を調べる
ことにより受信バッファの状態を知る。
In step 51 (# 51), it is checked whether the memory area of the download font or the download macro or the memory area of the intermediate code used by the printer controller for internal processing is insufficient. ing. Here, the place where the memory shortage occurs is stored in the RAM. If necessary, the insufficient memory is also stored in the RAM. Step 52
In (# 52), the state of the receiving buffer is checked. The state of the reception buffer is known by checking the values of HOST_IN and HOST_GET.

【0038】ステップ53(#53)において、受信バ
ッファのサイズを小さくできるかどうか判断する。小さ
くできる場合にはステップ54に進む。
In step 53 (# 53), it is determined whether the size of the reception buffer can be reduced. If it can be reduced, the process proceeds to step 54.

【0039】ステップ54(#54)では、受信バッフ
ァのサイズを小さくしたことにより、フリ−になったメ
モリを、ステップ51において検知されたメモリ不足発
生箇所に割り当てる。
In step 54 (# 54), the free memory due to the reduction of the size of the receiving buffer is allocated to the memory shortage occurrence location detected in step 51.

【0040】以上本例では、受信バッファのサイズを小
さくする例として取り上げたが、受信バッファのサイズ
をメモリの使用状況に対応して増やすことも可能であ
る。
In the above example, the size of the receiving buffer is reduced. However, the size of the receiving buffer can be increased in accordance with the usage status of the memory.

【0041】時間の計測にはタイマを用いず、ソウトウ
エアによる計測によってこれに換えることもできる。
A timer may not be used to measure the time, and the time may be replaced by a software measurement.

【0042】更に、本願はRAM中に受信バッファを設
定したときの具体例により説明してきたが、これに限る
ものではなく、例えば、図1の不揮発性RAM中に受信
バッファを設けた場合にも応用できる。
Further, although the present application has been described by using a specific example in which the receiving buffer is set in the RAM, the present invention is not limited to this. For example, when the receiving buffer is provided in the nonvolatile RAM of FIG. It can be applied.

【0043】[0043]

【発明の効果】以上説明したように本願発明中請求項1
記載の発明によれば、受信バッファがフル状態で、画像
形成装置の処理時間が長い場合に、受信バッファのサイ
ズを大きくすることにより、ホスト装置との通信が再開
可能となり、ホスト装置のデ−タ転送終了までに要する
時間が短縮されるから、ホスト装置を次の作業のために
使用することが可能となる。
As described above, claim 1 of the present invention
According to the above-mentioned invention, when the receiving buffer is full and the processing time of the image forming apparatus is long, the communication with the host apparatus can be restarted by increasing the size of the receiving buffer and the data of the host apparatus can be restarted. Since the time required to complete the data transfer is shortened, the host device can be used for the next work.

【0044】また、請求項2記載の発明によれば、受信
バッファに不必要なメモリ量を算出し、これを、受信バ
ッファ以外のメモリ領域に使用することができるから、
画像形成装置上に装備された、メモリを効率的に活用す
ることができる。一方、請求項3記載の発明によれば、
受信バッファ以外のメモリ領域の使用状況を判断し、受
信バッファのサイズを変更することができるから、メモ
リ不足によって発生するエラ−を事前に回避することが
可能となる。
According to the second aspect of the present invention, it is possible to calculate an unnecessary memory amount for the receiving buffer and use it for the memory area other than the receiving buffer.
The memory mounted on the image forming apparatus can be efficiently used. On the other hand, according to the invention of claim 3,
Since it is possible to change the size of the receiving buffer by judging the usage status of the memory area other than the receiving buffer, it is possible to avoid the error caused by the memory shortage in advance.

【0045】[0045]

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

図1は本願発明の画像形成装置の概要ブロック図であ
る。 図2は本願発明における受信バッファの概念図である。 図3は請求項1記載の発明の動作を示すフロ−チャ−ト
である。 図4は請求項2記載の発明の動作を示すフロ−チャ−ト
である。 図5は請求項3記載の発明の動作を示すフロ−チャ−ト
である。
FIG. 1 is a schematic block diagram of an image forming apparatus of the present invention. FIG. 2 is a conceptual diagram of the reception buffer in the present invention. FIG. 3 is a flowchart showing the operation of the invention described in claim 1. FIG. 4 is a flowchart showing the operation of the invention according to claim 2. FIG. 5 is a flowchart showing the operation of the invention according to claim 3.

【0046】[0046]

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

1 RAM 2 CPU 3 不揮発性メモリ 4 オプションインタ−フェ−ス 5 パネルインタ−フェ−ス 6 バスライン 7 ROM 8 タイマ− 9 ホストインタ−フェ−ス 10 エンジンインタ−フェ−ス 11 操作パネル 12 エンジン 13 ホスト装置 14 受信バッファ 15 プリンタコントロ−ラ 1 RAM 2 CPU 3 Non-volatile memory 4 Optional interface 5 Panel interface 6 Bus line 7 ROM 8 Timer-9 Host interface 10 Engine interface 11 Operation panel 12 Engine 13 Host device 14 Receive buffer 15 Printer controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置から送られてくるデ−タを格
納するための受信バッファを有する画像形成装置におい
て、受信バッファがフル状態であることを検知し受信バ
ッファのサイズを拡大する手段を備えたことを特徴とす
る画像形成装置。
1. An image forming apparatus having a receive buffer for storing data sent from a host device, comprising means for detecting that the receive buffer is full and expanding the size of the receive buffer. An image forming apparatus characterized by the above.
【請求項2】 ホスト装置から送られてくるデ−タを格
納するための受信バッファを有する画像形成装置におい
て、受信バッファに割り当てられたメモリ量の中でホス
ト装置との通信において不必要なメモリ量を算出する手
段を有し、受信バッファのサイズがホスト装置との通信
に必要とされるサイズよりも大きい場合は、受信バッフ
ァサイズを小さくすることを特徴とする画像形成装置。 【0001】
2. An image forming apparatus having a reception buffer for storing data sent from a host device, wherein a memory unnecessary for communication with the host device out of the memory amount allocated to the reception buffer. An image forming apparatus having a means for calculating the amount, wherein the reception buffer size is reduced when the size of the reception buffer is larger than the size required for communication with the host device. [0001]
【請求項3】 ホスト装置から送られてくるデ−タを格
納するための受信バッファを有する画像形成装置におい
て、受信バッファ以外に使用されるメモリ領域の使用状
況を検知し受信バッファのサイズを変更する手段を備え
たことを特徴とする画像形成装置。 【0002】
3. An image forming apparatus having a reception buffer for storing data sent from a host device, detects the usage status of a memory area other than the reception buffer, and changes the size of the reception buffer. An image forming apparatus comprising: [0002]
JP6006027A 1994-01-24 1994-01-24 Image forming device Pending JPH07210365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6006027A JPH07210365A (en) 1994-01-24 1994-01-24 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6006027A JPH07210365A (en) 1994-01-24 1994-01-24 Image forming device

Publications (1)

Publication Number Publication Date
JPH07210365A true JPH07210365A (en) 1995-08-11

Family

ID=11627200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6006027A Pending JPH07210365A (en) 1994-01-24 1994-01-24 Image forming device

Country Status (1)

Country Link
JP (1) JPH07210365A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111591A (en) * 1996-02-16 2000-08-29 Fuji Xerox Co., Ltd. Image processing system and information processing system
US6549982B1 (en) 1999-03-05 2003-04-15 Nec Corporation Buffer caching method and apparatus for the same in which buffer with suitable size is used
JP2018029275A (en) * 2016-08-18 2018-02-22 コニカミノルタ株式会社 Image processing apparatus, method, and program
JP2019020808A (en) * 2017-07-12 2019-02-07 富士通株式会社 Information processing system, information processing apparatus, and method of controlling information processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111591A (en) * 1996-02-16 2000-08-29 Fuji Xerox Co., Ltd. Image processing system and information processing system
US6549982B1 (en) 1999-03-05 2003-04-15 Nec Corporation Buffer caching method and apparatus for the same in which buffer with suitable size is used
JP2018029275A (en) * 2016-08-18 2018-02-22 コニカミノルタ株式会社 Image processing apparatus, method, and program
JP2019020808A (en) * 2017-07-12 2019-02-07 富士通株式会社 Information processing system, information processing apparatus, and method of controlling information processing system

Similar Documents

Publication Publication Date Title
JP5839845B2 (en) Printing apparatus, printing method, and program
US4979132A (en) Control device for use with an image recording system
US5018081A (en) Printer with automatic restart
US5413419A (en) Printer, a printer control system and method
JP3020699B2 (en) Printing equipment
US5630032A (en) Image generating apparatus having a memory for storing data and method of using same
JPH07210365A (en) Image forming device
JP3173721B2 (en) Printer and operation method thereof
US7457943B2 (en) Controller, image processing apparatus, and method of controlling execution of program
JP3311056B2 (en) Image forming method and apparatus
JP3739527B2 (en) Image forming apparatus
JP5062750B2 (en) Image forming apparatus
US20070177919A1 (en) Image forming apparatus, data processing method thereof, and computer-readable recording medium storing program of the method
US5841429A (en) Method and apparatus for managing a character pattern
JP2000267826A (en) Device and method for controlling image output
JP3518833B2 (en) Information processing apparatus and image forming apparatus
JPH023351A (en) Printer
JP2768307B2 (en) Printer device
JP3711609B2 (en) Printing method, printing system, and printer
JP2007185911A (en) Printer controller and printer
JPH10254721A (en) Printing device, interruption request processing method and storage medium
JP2000187567A (en) Method and device for printing control
JP2004326544A (en) Printing system
JP2771671B2 (en) Output control method and device
JP3027849B2 (en) Printing device