JPH04205345A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPH04205345A
JPH04205345A JP2335593A JP33559390A JPH04205345A JP H04205345 A JPH04205345 A JP H04205345A JP 2335593 A JP2335593 A JP 2335593A JP 33559390 A JP33559390 A JP 33559390A JP H04205345 A JPH04205345 A JP H04205345A
Authority
JP
Japan
Prior art keywords
data
buffer
host computer
full
storage means
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
JP2335593A
Other languages
Japanese (ja)
Inventor
Hiroshi Sukunami
宿南 博史
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2335593A priority Critical patent/JPH04205345A/en
Publication of JPH04205345A publication Critical patent/JPH04205345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Electrophotography Configuration And Component (AREA)

Abstract

PURPOSE:To heighten processing efficiency by evading the transmission awaiting state of a connected host computer, etc., from occurring by storing data inputted from the outside in a second data storage means when an area provided at a first data storage means is filled. CONSTITUTION:When an I/F control part 3 inputs the data from the host computer 2, an interruption processing part 6 stops the host computer 2 by rising a BUSY1 signal, and stores the data in a first buffer 4. When a counter OUTCTR1 is updated and difference between a counter IHCTR1 arrives at a prescribed limit value, full of buffer occurs, and a timer 9 is set as stopping the host computer 2, and the full flag of the first buffer 4 is set. Meanwhile, when the full of buffer occurs in the first buffer 4 at the time of inputting the data, input data is stored in a second buffer 5, and a counter 0UTCTR2 is updated similarly as the first buffer 4. Thereby. it is possible to accelerate the processing efficiency by evading the transmission awaiting state of the connected host computer from occurring.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えばレーザプリンタ等の画像形成装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to an image forming apparatus such as a laser printer.

(従来の技術) 一般に、レーザプリンタ等の画像形成装置は、接続され
たホストコンビコータから送出されるホストデータを順
次格納する人力バッファを備え、この人力バッファに格
納されたデータに基づき順次処理を行う。
(Prior Art) Generally, an image forming apparatus such as a laser printer is equipped with a manual buffer that sequentially stores host data sent from a connected host combination coater, and processes the data sequentially based on the data stored in the manual buffer. conduct.

ところで、こうした処理のプロセスが複雑になると、処
理中に多くのホストデータが入力バッファに人力されバ
ッファフルの状態に至る場合がある。この場合、画像形
成装置側では、入力バッファに空きが生じるまでホスト
データの入力を禁止する制御が行われる。このため、ホ
ストコンピュータ側では、送信待ちの状態となる。
By the way, when such processing becomes complicated, a large amount of host data may be manually input into the input buffer during processing, leading to a buffer full state. In this case, on the image forming apparatus side, control is performed to prohibit input of host data until there is space in the input buffer. Therefore, the host computer enters a state of waiting for transmission.

ところが、ホストコンピュータのO8によっては一定時
間以上送信待ちの状態が続くと、送信先に異常が生じた
ものと見なして送信を中止するものがある。この場合、
画像形成装置側では、入力バッファにその後空きが生じ
ても、それまで送信されていた一連のホストデータをも
はや受信できない。このため、ホストコンピュータ側よ
り一度処理したデータを含めたデータを最初から再送信
しなければならない。よって、再送信の手間や一度プリ
ントアウトしたものをもう一度行う等の無駄が発生し、
処理効率か大幅に低下するという問題があった。
However, depending on the O8 of the host computer, if the state of waiting for transmission continues for a certain period of time or more, it is assumed that an abnormality has occurred at the destination and the transmission is stopped. in this case,
On the image forming apparatus side, even if the input buffer becomes empty after that, the series of host data that had been transmitted up to that point can no longer be received. Therefore, data including data that has been processed once must be retransmitted from the beginning from the host computer side. This results in wasteful efforts such as having to resend documents and reprinting documents that have already been printed out.
There was a problem in that the processing efficiency was significantly reduced.

(発明が解決しようとする課題) このように従来の画像形成装置において、入力バッファ
がバッファフルの状態になったときホストコンピュータ
側が送信待ちの状態となるため、ホストコンピュータの
O8によっては一度処理したデータを含めたデータを最
初から再送信する事態を生じ、処理効率が大幅に低下す
るという問題があった。
(Problem to be Solved by the Invention) As described above, in conventional image forming apparatuses, when the input buffer becomes full, the host computer enters a waiting state for transmission. There was a problem in that the data including the data was retransmitted from the beginning, resulting in a significant drop in processing efficiency.

そこで、本発明は、接続されたホストコンピュータ等の
送信待ち状態の発生を回避し、処理効率を高めた画像形
成装置を提供することを目的としている。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image forming apparatus that avoids the transmission waiting state of a connected host computer or the like and improves processing efficiency.

[発明の構成] (課題を解決するための手段) 本発明は、上記課題を解決するため、外部から入力され
たデータを格納する領域を有する第1及び第2のデータ
格納手段と、前記第1のデータ格納手段の有する領域の
満配状態及び満配解除状態を検出する検出手段と、この
検出手段により第1のデータ格納手段の有する領域の満
配状態が検出されたとき、前記外部から入力されたデー
タを前記第2のデータ格納手段に格納させ、前記検出手
段により第1のデータ格納手段の有する領域の満配解除
状態が検出されたとき、前記外部から入力されたデータ
を前記第1のデータ格納手段に格納させるよう制御する
制御手段とを具備する。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the present invention provides first and second data storage means each having an area for storing externally input data; a detection means for detecting a full state and a full state of the area of the first data storage means; The input data is stored in the second data storage means, and when the detection means detects that the area of the first data storage means is in a non-full state, the data input from the outside is stored in the second data storage means. and control means for controlling the first data storage means to store the data.

(作 用) 本発明では、第1のデータ格納手段の有する領域か満配
状態となったとき、外部から入力されたデータを第2の
データ格納手段に格納させているので、第2のデータ格
納手段か満配状態にならない限り接続されたホストコン
ピュータ等の送信待ち状態の発生を回避でき、処理効率
を高めることができる。
(Function) In the present invention, when the area of the first data storage means becomes full, data inputted from the outside is stored in the second data storage means. As long as the storage means is not fully occupied, the occurrence of a transmission waiting state in the connected host computer, etc. can be avoided, and processing efficiency can be improved.

(実施例) 以下、本発明の実施例の詳細を図面に基づき説明する。(Example) Hereinafter, details of embodiments of the present invention will be explained based on the drawings.

第1図は本発明の一実施例に係るレステムの構成を示す
図であり、1はレーザプリンタ、2はこのレーザプリン
タ1に接続されたホストコンピュータを示している。
FIG. 1 is a diagram showing the configuration of a restem according to an embodiment of the present invention, in which numeral 1 indicates a laser printer and numeral 2 indicates a host computer connected to the laser printer 1. As shown in FIG.

レーザプリンタ1におけるI/F制御部3は、第2図に
示すように、ホストコンピュータ2より入力されたデー
タを第1または第2のバッファ4゜5に格納するI/F
割込み処理部6と、中央処理部7からデータ要求がされ
る毎に第1または第2のバッファ4,5に格納された1
つのデータを中央処理部7に送るデータ送出部8と、バ
ッファフル時にタイマ9がタイムアツプする一定時間毎
にホストデータを入力するための処理を行うタイマ割込
み部10からなる。
As shown in FIG. 2, the I/F control unit 3 in the laser printer 1 is an I/F that stores data input from the host computer 2 in a first or second buffer 4.5.
1 stored in the first or second buffers 4 and 5 each time a data request is made from the interrupt processing unit 6 and the central processing unit 7.
The data sending unit 8 sends data to the central processing unit 7, and the timer interrupt unit 10 performs processing for inputting host data at fixed time intervals when the timer 9 times out when the buffer is full.

中央処理部7は、データ処理部11及びページ展開部1
2を備え、データを解析してページ編集を行い、ページ
編集されたデータをイメージ転送部13を介しエンジン
制御部14へ転送するためのイメージデータに転量する
処理を行う。
The central processing unit 7 includes a data processing unit 11 and a page development unit 1
2, which analyzes data, performs page editing, and transfers the page-edited data to image data to be transferred to the engine control unit 14 via the image transfer unit 13.

第3図はホストインタフェースの一例として本実施例で
使用するパラレルI/Fを示す図である。
FIG. 3 is a diagram showing a parallel I/F used in this embodiment as an example of a host interface.

また、第4図(a)は通常のデータ送受信のタイミング
を示し、第4図(’b)はバッファフル時のデータ送受
信のタイミングを示し、第4図(c)はバッファフル時
にタイマ9のタイムアウトに同期してホストデータを入
力する状態を示している。
Also, FIG. 4(a) shows the timing of normal data transmission and reception, FIG. 4('b) shows the timing of data transmission and reception when the buffer is full, and FIG. 4(c) shows the timing of timer 9 when the buffer is full. This shows a state in which host data is input in synchronization with timeout.

以下、第5図乃至第7図のフローチャートに基づき本実
施例の動作を説明する。
The operation of this embodiment will be explained below based on the flowcharts shown in FIGS. 5 to 7.

1/F制御部3は、ホストコンピュータ2からの5TR
OBE O信号の立ち下がりで割込みがかかりデータを
入力する。
The 1/F control unit 3 receives 5TR from the host computer 2.
An interrupt occurs at the falling edge of the OBE O signal and data is input.

すると、割込み処理部6は、BUSY l信号を立ち上
げてホストコンピュータ2を止め(S501)、データ
を入力して第1のバッファ4に格納する(S502)。
Then, the interrupt processing unit 6 raises the BUSY l signal to stop the host computer 2 (S501), inputs data, and stores it in the first buffer 4 (S502).

ここで、第1のバッファ4の管理は最後にデ−タを格納
したエリアのアドレスをもつカウンタ0しTCTRIと
、中央処理部7へ次に転送するデータを格納17たエリ
アのアドレスを持つカウンタI NCTR1とを持つこ
とて行われる。ずなわち、カウンタ0LTCTh’ l
はデータ人力毎に更新され、カウンタI NCTR1は
データ送出毎に更新され、第1のバッファ4の最後のア
ドレスに達17たときは、次に最初のアドレスへ更新さ
れるリングバッファ形式をとっている。
Here, the first buffer 4 is managed by a counter 0 to TCTRI that has the address of the area where data was last stored, and a counter that has the address of the area 17 that stored the next data to be transferred to the central processing unit 7. This is done by having INCTR1. That is, counter 0LTCTh' l
is updated every time data is input, counter INCTR1 is updated every time data is sent out, and when the last address of the first buffer 4 is reached, it is updated to the next first address in a ring buffer format. There is.

そり、て、データ入力時にカウンタ0UTCTRLを更
新して、カウンタINCTRIとの差が所定のリミット
値に達するとバッファフルとなり(S503 ) 、ホ
ストコンピュータ2を止めたままタイマ9を設定し、第
1のバッファ4のフルクラブ(BFI)をセットする 
(S504)。
Then, when inputting data, the counter 0UTCTRL is updated, and when the difference with the counter INCTRI reaches a predetermined limit value, the buffer becomes full (S503), and while the host computer 2 is stopped, the timer 9 is set, and the first Set buffer 4 full club (BFI)
(S504).

バッファフルでなければ、BLISY 1信号をOFF
 。
If the buffer is not full, turn off the BLISY 1 signal
.

へCK信号をONに12、ホストコンピュータ2に次の
データを要求する(5505)。
12, and requests the next data from the host computer 2 (5505).

一方、データ入力時に第1のバッファ4が既にバッファ
フルの時(BFI−1)は(350B)、入力データを
第2のバッファ5に格納し5、第1のバッファ4と同様
のカウンタ0UTCTR2を更新する(S507)。
On the other hand, when the first buffer 4 is already full at the time of data input (BFI-1), the input data is stored in the second buffer 5 (5) and the counter 0UTCTR2 similar to the first buffer 4 is set. Update (S507).

この後、第2のバッファ5かバッファフルになった時は
(3508)、第2のバッファ5のフルフラグ(BF2
)をセットしく5509)、以後節1のバ・ソファ4の
バ・ソファフルか角イ除されるまてホストコンピュータ
2を止める。
After this, when the second buffer 5 becomes full (3508), the full flag of the second buffer 5 (BF2
) is set (5509), and the host computer 2 is then stopped until the buffer 4 of the section 1 is full.

次に、タイマ割込み部10は、第2のバッファ5のフル
フラグ(BF2)がセット・されていないとき(S 6
01 ) 、!1USYI信号をOFF 、 ACK信
号をONにして(S[102)、ホストコンピュータ2
にデータ要求をすると同時にタイマ9をセットする(8
603)。
Next, when the full flag (BF2) of the second buffer 5 is not set (S 6
01),! 1 Turn off the USYI signal, turn on the ACK signal (S[102), and host computer 2
Set timer 9 at the same time as making a data request to
603).

また、データ送出部8は、中央処理部7からデータ要求
かある毎にデータを送り、カウンタI NCTR1を更
新する(S701)。
Further, the data sending section 8 sends data every time there is a data request from the central processing section 7, and updates the counter INCTR1 (S701).

ここで、第1のバッファ4かバッファフルの場合は、カ
ウンタI NCTRLとカウンタ0UTCTRLとの差
をチエツクし、所定のリミット値以下に縮まっていれば
第1のバッファ4バツフアフル状態を解除する(S70
2)。このとき、第2のバッファ5にデータかあるとき
すなわちカウンタ0IJTCTR2とカウンタlNCT
R2とか等しくないとき(S703)、第2のバッファ
5の全てのデータを第1のバッファ4に順次転送しく5
704)、同時にカウンタ0UTCTRIを更新する(
5705)。そして、転送終了時に第2のバッファ5の
カウンタをリセット(カウンタ0UTCTR−カウンタ
lNCTR2) L、、BF2−1のときはこれをクリ
アするとともにタイマ9をOFFとする(S706)。
Here, if the first buffer 4 is full, the difference between the counter INCTRL and the counter 0UTCTRL is checked, and if the difference is smaller than a predetermined limit value, the first buffer 4 is released from the buffer full state (S70
2). At this time, when there is data in the second buffer 5, that is, the counter 0IJTCTR2 and the counter INCT
When R2 is not equal (S703), all data in the second buffer 5 is sequentially transferred to the first buffer 4.
704), and simultaneously updates the counter 0UTCTRI (
5705). Then, at the end of the transfer, the counter of the second buffer 5 is reset (counter 0UTCTR-counter 1NCTR2) L,, if BF2-1, this is cleared and the timer 9 is turned off (S706).

このように本実施例のレーザプリンタは、上述した割込
め処理部6、タイマ割込み部10及びデータ送出部8が
実現する機能により第2のバッファ5がバッファフルに
ならない限り、接続されたホストコンピュータ2の送信
待ち状態の発生を回避できる。
In this way, the laser printer of the present embodiment is configured so that unless the second buffer 5 becomes full due to the functions realized by the interrupt processing section 6, timer interrupt section 10, and data sending section 8, the laser printer connected to the host computer The occurrence of the transmission waiting state in step 2 can be avoided.

[発明の効果コ 以上説明1.たように本発明によれば、第1のデータ格
納手段の有する領域が満配状態となったとき、外部から
入力されたデータを第2のデータ格納手段に格納させて
いるので、第2のデータ格納手段が満配状態にならない
限り接続されたホストコンピュータ等の送信待ち状態の
発生を回避でき、処理効率を高めることができる。
[Effects of the invention: Explanation 1. According to the present invention, when the area of the first data storage means becomes full, data input from the outside is stored in the second data storage means. As long as the data storage means does not become full, it is possible to avoid the occurrence of a transmission waiting state in the connected host computer, etc., and improve processing efficiency.

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

第1図は本発明の一実施例に係るシステムの構成を示す
図、第2図は第1図に示ずI/F制御部の構成を示す図
、第3図はホストインタフェースの一例として本実施例
で使用するパラレルI/Fを示す図、第4図(a)〜(
c)は第3図に示す信号のタイミングを示す波形図、第
5図乃至第7図は本実施例の動作を示すフローチャート
である。 ]、・・・レーザプリンタ、2・・・ホストコンピュー
タ、3・・I/F制御部、4・・・第1のバッファ、5
・・・第2のバッファ、6・・・I/F割込み処理部、
7・・・中央処理部、8・・・データ送出部、9・・・
タイマ、]S0・タイマ割込み部、11・・データ処理
部、12・・・ページ展開部、]S3・・イメージ転送
部、14・・・エンジン制御部。 第1図 第2図 第3図 5ELECT  1 (a) (b) SELECT  1 (e) 第4図 第5図 第6図
FIG. 1 is a diagram showing the configuration of a system according to an embodiment of the present invention, FIG. 2 is a diagram showing the configuration of an I/F control unit not shown in FIG. 1, and FIG. Figures 4(a) to 4(a) are diagrams showing the parallel I/F used in the example.
c) is a waveform diagram showing the timing of the signals shown in FIG. 3, and FIGS. 5 to 7 are flowcharts showing the operation of this embodiment. ], ... laser printer, 2 ... host computer, 3 ... I/F control unit, 4 ... first buffer, 5
. . . second buffer, 6 . . I/F interrupt processing unit,
7... Central processing unit, 8... Data sending unit, 9...
Timer, ]S0: Timer interrupt unit, 11: Data processing unit, 12: Page development unit, ]S3: Image transfer unit, 14: Engine control unit. Figure 1 Figure 2 Figure 3 Figure 5 ELECT 1 (a) (b) SELECT 1 (e) Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)外部から入力されたデータを格納する領域を有す
る第1及び第2のデータ格納手段と、前記第1のデータ
格納手段の有する領域の満配状態及び満配解除状態を検
出する検出手段と、この検出手段により第1のデータ格
納手段の有する領域の満配状態が検出されたとき、前記
外部から入力されたデータを前記第2のデータ格納手段
に格納させ、前記検出手段により第1のデータ格納手段
の有する領域の満配解除状態が検出されたとき、前記外
部から入力されたデータを前記第1のデータ格納手段に
格納させるよう制御する制御手段と を具備することを特徴とする画像形成装置。
(1) First and second data storage means each having an area for storing externally input data, and a detection means for detecting a full state and a full state of the area of the first data storage means. When the detection means detects that the area of the first data storage means is full, the data input from the outside is stored in the second data storage means, and the detection means and control means for controlling the data inputted from the outside to be stored in the first data storage means when a full release state of the area of the data storage means is detected. Image forming device.
JP2335593A 1990-11-30 1990-11-30 Image forming device Pending JPH04205345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2335593A JPH04205345A (en) 1990-11-30 1990-11-30 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2335593A JPH04205345A (en) 1990-11-30 1990-11-30 Image forming device

Publications (1)

Publication Number Publication Date
JPH04205345A true JPH04205345A (en) 1992-07-27

Family

ID=18290323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2335593A Pending JPH04205345A (en) 1990-11-30 1990-11-30 Image forming device

Country Status (1)

Country Link
JP (1) JPH04205345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892979A (en) * 1994-07-20 1999-04-06 Fujitsu Limited Queue control apparatus including memory to save data received when capacity of queue is less than a predetermined threshold

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892979A (en) * 1994-07-20 1999-04-06 Fujitsu Limited Queue control apparatus including memory to save data received when capacity of queue is less than a predetermined threshold

Similar Documents

Publication Publication Date Title
JPH04205345A (en) Image forming device
US6075616A (en) Printer apparatus
US6050732A (en) Double-side printing control method
JP2865131B2 (en) Data transfer method
JPH03263158A (en) Common bus arbitration control system
JP2001331440A (en) Data reception processor
US10602014B2 (en) Image processing apparatus, control method of image processing apparatus, and storage medium
JP3535611B2 (en) Control method of image forming apparatus
JPH0467248A (en) Data reception processor
JP3167062B2 (en) Image recording device
JPH0218653A (en) Reoutput system for received data
JP3624046B2 (en) Image forming apparatus, video controller, option controller, and control method in option sheet feeding apparatus
JPH11212904A (en) Data transfer system
JPH08317106A (en) Image forming network device
JPS5945763A (en) Facsimile controller
JPH10278364A (en) Page printer
JP3331337B2 (en) Facsimile communication control method
JPH0531973A (en) Image recording device
JPS63206053A (en) Control system for transmission buffer
JPH01171948A (en) Printer control apparatus
JPS63254860A (en) Printer controller
JP2001005636A (en) Buffer memory control circuit
JPH09238214A (en) Image information processor
JPH02299052A (en) Dma controller
JP2002096539A (en) Printer, printing system, and method for controlling printer