JP2001277605A - Image output system and method for controlling data transfer - Google Patents

Image output system and method for controlling data transfer

Info

Publication number
JP2001277605A
JP2001277605A JP2000095716A JP2000095716A JP2001277605A JP 2001277605 A JP2001277605 A JP 2001277605A JP 2000095716 A JP2000095716 A JP 2000095716A JP 2000095716 A JP2000095716 A JP 2000095716A JP 2001277605 A JP2001277605 A JP 2001277605A
Authority
JP
Japan
Prior art keywords
output
image data
buffer memory
storage device
page buffer
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
JP2000095716A
Other languages
Japanese (ja)
Inventor
Akio Sugaya
章男 菅谷
Kiyohiro Tsunekawa
清宏 恒川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2000095716A priority Critical patent/JP2001277605A/en
Publication of JP2001277605A publication Critical patent/JP2001277605A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To more improve a throughput for printing job data. SOLUTION: When it is judged that a page buffer memory in a RAM 1006 is running short, an image swap control part 1013 makes output image data of the page buffer memory unloaded into a hard disk 1003 within an image output stand-by time. Moreover, it is judged whether or not the output image data unloaded into the hard disk 1003 can be restored to the page buffer memory. The image data are not unloaded if the image data cannot be restored. The image data are unloaded if the image data can be restored. When the unloading completes and the page buffer memory is set free, output image data are generated and stored to the page buffer memory. When the storing the output image data to the page buffer memory completes, the output image data unloaded to the hard disk 1003 are restored to the page buffer memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像出力システムおよ
びデータ転送制御方法に関する。
The present invention relates to an image output system and a data transfer control method.

【0002】[0002]

【従来の技術】近年、コンピュータ、プリンタにとどま
らず、コピー機能やファックス機能を備えたマルチファ
ンクション画像処理装置などの多様な周辺機器群が相互
接続されてLAN(local area network)が構築されて
いる。
2. Description of the Related Art In recent years, a LAN (local area network) has been constructed by interconnecting various peripheral devices such as a multi-function image processing device having a copy function and a fax function as well as a computer and a printer. .

【0003】フロアなどの構内接続としてのLANは、
1つのユーザグループとして接続機器の共有使用やデー
タ転送が可能であり、地理的に離れた場所にある幾つか
のLANが、ISDN(integrated services digital
network)回線、公衆電話回線などにより、相互接続さ
れてWAN(wide area network)が構成される場合も
ある。
[0003] The LAN as a premises connection such as a floor is
As a user group, shared use of connected devices and data transfer are possible, and several LANs located at geographically separated locations are integrated services digital (ISDN).
In some cases, a WAN (wide area network) is configured by being interconnected by a network), a public telephone line, or the like.

【0004】通常、それぞれのLANやWANには、フ
ァイルサーバやプリントサーバを含むコンピュータ群に
より構成され、各コンピュータ内に搭載されるネットワ
ークオペレーティングシステムの機能として、データや
ファイルの転送、共有、プリンタの共有などを行う各種
プロトコルに対応している。また、各コンピュータ上で
動作するアプリケーションから転送された印刷ジョブ
は、一般に、プリントサーバを介してネットワーク上の
プリンタへ、印刷ジョブの転送を行なうことができるよ
うになっている。さらに、ネットワークを構築するため
の各種機器、ネットワーク上のコンピュータなどを含む
装置の遠隔管理を行なうための通信プロトコルも標準化
されており、例えば、SNMP(simple network manag
ement protocol)などがある。
Normally, each LAN or WAN is constituted by a group of computers including a file server and a print server, and functions of a network operating system mounted in each computer include data and file transfer, sharing, and printer operation. It supports various protocols such as sharing. In general, a print job transferred from an application running on each computer can be transferred to a printer on a network via a print server. Furthermore, communication protocols for remotely managing various devices for constructing a network and devices including computers on the network have been standardized. For example, a simple network managment (SNMP) has been standardized.
ement protocol).

【0005】これらのプロトコルを実装したネットワー
ク機器の場合には、ネットワーク管理ソフトウェアによ
り、ネットワーク上の遠隔地から各種機器を管理するこ
とができ、例えば、プリンタの場合には、プリンタの情
報の取得、状態監視、状態変化時の通知、初期化制御な
どを行うことができる。
[0005] In the case of a network device implementing these protocols, various devices can be managed from a remote location on the network by network management software. For example, in the case of a printer, acquisition of printer information, Status monitoring, notification of status change, initialization control, and the like can be performed.

【0006】また、LANを構成するものとして、イー
サネット(登録商標)ケーブルによりコンピュータとプ
リンタ等を接続するものが一般的であるが、近年、より
高速なIEEE1394-1995(High Performance Serial Bus)
方式によるデジタル機器のネットワーク接続も実現され
ている。IEEE1394シリアルバスのインタフェースを備え
る機器は、各自固有のIDを有し、それを認識し合うこ
とで1つのネットワークを構成している。ネットワーク
接続された各機器は、それぞれがコンピュータを介する
ことなく独自に他装置へのデータ送信可能であり、また
データ受信も可能となるように構成されている場合もあ
る。
A LAN is generally composed of a computer and a printer connected by an Ethernet (registered trademark) cable. In recent years, however, a higher speed IEEE1394-1995 (High Performance Serial Bus) has been used.
Network connection of digital devices by this method has also been realized. Devices having an IEEE 1394 serial bus interface have unique IDs, and recognize each other to constitute one network. Each of the devices connected to the network may be configured to be able to independently transmit data to another device without using a computer and to receive data.

【0007】LANを構成する各コンピュータ上で動作
するユーザアプリケーションには、文書作成ソフト、表
計算ソフトなど様々なものがある。それらのアプリケー
ションを使用して作成されたデータは、オペレーティン
グシステムの一機能としてプリンタドライバソフトウェ
アにより、プリンタ制御言語であるPDL(PrinterDes
cription Language)データに変換された後、印刷ジョ
ブとしてプリントスプーラに一時的に格納され、プリン
タに送出される。
[0007] There are various user applications running on each computer constituting the LAN, such as document creation software and spreadsheet software. Data created by using these applications is converted into a printer control language PDL (PrinterDes) by printer driver software as a function of the operating system.
After being converted to cription language) data, the data is temporarily stored in a print spooler as a print job and sent to a printer.

【0008】ここで、印刷ジョブはプリンタドライバソ
フトウェアにより、プリンタに1対1に対応したPDL
データとして、1つまたは複数のアプリケーション文書
ファイルから生成され、1つの印刷文書を構成する単位
であり、通常、ジョブ開始命令とジョブ終了命令によっ
て区切られている。また、ジョブ開始命令などにはPD
Lデータの種類やバージョン情報が付加されており、プ
リンタで処理する際の印刷ジョブ処理モジュールの判別
情報として利用される。
[0008] Here, the print job is processed by the printer driver software in a PDL one-to-one correspondence with the printer.
Data is a unit generated from one or a plurality of application document files to constitute one print document, and is usually separated by a job start command and a job end command. In addition, PD
The type and version information of the L data is added, and is used as discrimination information of the print job processing module when processing is performed by the printer.

【0009】このようなネットワーク環境下に接続され
た画像出力装置においては、データ送信源であるホスト
コンピュータからデータを受信し、データ転送が完了す
ると送信側は格納されたデータを削除し、受信側は受け
取ったデータの出力処理を確実に実行した後、削除する
ように構成されている。
In an image output apparatus connected under such a network environment, data is received from a host computer as a data transmission source, and when the data transfer is completed, the transmission side deletes the stored data, and the reception side deletes the stored data. Is configured to reliably execute output processing of received data and then delete it.

【0010】このようにデータ送信源から送信されたデ
ータの出力処理を確実にした画像出力装置は、データの
出力が正常終了するまで画像デ一夕を保持しなければな
らないため、大容量のデータ格納領域としてハードディ
スクを備えている場合がある。特に、ネットワーク接続
された画像出力装置の場合には、複数のユーザから利用
されるため大量の出力データを保持しなければならない
ため、多くの場合、ハードディスク等の大容量ストレー
ジを持つことが多い。
The image output apparatus which ensures the output processing of the data transmitted from the data transmission source as described above must hold the image data until the data output is normally completed. In some cases, a hard disk is provided as a storage area. In particular, in the case of an image output device connected to a network, a large amount of output data must be held because it is used by a plurality of users, and therefore, in many cases, the image output device often has a large capacity storage such as a hard disk.

【0011】また、印刷装置においては、出力された用
紙の加工処理、例えば、複数ページを束ねるステイプル
処理、複数部数をソートして出力するソート処理、さら
には両面印刷と組み合わせることによって製本印刷処理
などを実施できる場合があり、そのために印刷ジョブを
構成する全てのページデータを保持しておく必要がある
ために、大容量の2次記憶装置としてハードディスクを
備えられるように構成されている。
Further, in the printing apparatus, processing of output paper, such as stapling processing for binding a plurality of pages, sorting processing for sorting and outputting a plurality of copies, and bookbinding printing processing in combination with double-sided printing, etc. In some cases, it is necessary to hold all the page data constituting the print job. Therefore, a hard disk is provided as a large-capacity secondary storage device.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、データ
送信源である情報処理装置から転送された印刷ジョブデ
ータは、大容量のハードディスクに格納されることにな
るが、ハードディスク装置などの2次記憶装置は読み出
し速度/書き込み速度がRAM(random accessmemor
y)に比較して遅く、高速な印刷装置に適用することは
困難であった。
However, print job data transferred from an information processing apparatus as a data transmission source is stored in a large-capacity hard disk. Read / write speed is RAM (random accessmemor)
It was difficult to apply to a printing device that is slower and faster than y).

【0013】たとえ、2次記憶装置を採用したとして
も、ページ画像データを保持するために、印刷処理に先
立って書き込み処理と読み出し処理を実行しなければな
らず、印刷ジョブ解析時間などの処理時間が増大するこ
とになる。特に、印刷ジョブの最初のページは、ハード
ディスクへのアクセス時間が単純に加算されることにな
り、ランダムアクセスメモリに保持する場合に比べて、
より顕著に出力時間が増大してしまう。
Even if a secondary storage device is employed, write and read processing must be executed prior to print processing in order to retain page image data, and processing time such as print job analysis time is required. Will increase. In particular, the first page of a print job simply adds to the access time to the hard disk, compared to storing it in random access memory.
The output time increases more remarkably.

【0014】データ送信源である情報処理装置から転送
された印刷ジョブデータを保持するためにRAMを利用
する場合もあるが、RAMは2次記憶装置に比較して高
価であるため装置のコストがアップすることになる。
In some cases, a RAM is used to hold print job data transferred from an information processing apparatus which is a data transmission source. However, the RAM is expensive as compared with a secondary storage device, so that the cost of the apparatus is low. Will be up.

【0015】本発明の目的は、上記のような問題点を解
決し、印刷ジョブデータの処理効率をより向上させるこ
とができる画像出力システムおよびデータ転送制御方法
を提供することにある。
An object of the present invention is to provide an image output system and a data transfer control method capable of solving the above-mentioned problems and further improving the processing efficiency of print job data.

【0016】[0016]

【課題を解決するための手段】請求項1の発明は、受信
された印刷ジョブをストアするための受信バッファと、
該受信バッファの画像データから出力画像データを生成
する生成手段と、該生成手段により生成された出力画像
データをストアするためのページバッファメモリであっ
て複数ページ分の出力画像データをストア可能なページ
バッファメモリとを有する画像出力システムにおいて、
2次記憶装置と、前記ページバッファメモリにメモリ不
足が発生したか否かを判定するメモリ不足判定手段と、
該メモリ不足判定手段により肯定判定された場合に、画
像出力待機時間内で、前記ページバッファメモリの出力
画像データを前記2次記憶装置に待避させ、しかも、該
2次記憶装置に待避させた出力画像データを前記ページ
バッファメモリにリストア可能か否かを判定する判定手
段と、該判定手段により肯定判定された場合に、前記ペ
ージバッファメモリに保持されている出力画像データを
前記2次記憶装置に待避させる待避手段と、該待避手段
による待避が終了して前記ページバッファメモリが解放
された場合に、前記生成手段を制御して出力画像データ
を生成させ前記ページバッファメモリにストアさせる制
御手段と、該制御手段による制御により前記ページバッ
ファメモリへの出力画像データのストアが完了した場合
に、前記2次記憶装置に待避させてある出力画像データ
を前記ページバッファメモリにリストアするリストア手
段とを備えたことを特徴とする。
According to a first aspect of the present invention, there is provided a receiving buffer for storing a received print job;
Generating means for generating output image data from the image data in the receiving buffer; and a page buffer memory for storing the output image data generated by the generating means, the page being capable of storing a plurality of pages of output image data. An image output system having a buffer memory;
A secondary storage device, and a memory shortage determination unit that determines whether a memory shortage has occurred in the page buffer memory;
When the memory shortage determination unit makes an affirmative determination, the output image data of the page buffer memory is saved in the secondary storage device within the image output standby time, and the output saved in the secondary storage device is saved. Determining means for determining whether image data can be restored to the page buffer memory; and, when the determination means makes an affirmative determination, outputting the output image data held in the page buffer memory to the secondary storage device. Evacuation means for evacuation, and control means for controlling the generation means to generate output image data to store the image data in the page buffer memory when the evacuation by the evacuation means is completed and the page buffer memory is released. When the storage of the output image data in the page buffer memory is completed by the control of the control means, the secondary storage Characterized in that a restoring means for restoring the output image data which had been saved in location in the page buffer memory.

【0017】請求項1において、判定手段は、前記ペー
ジバッファメモリから前記2次記憶装置へ待避させる出
力画像データの容量を取得する取得手段と、該取得手段
により取得された容量の出力画像データを前記2次記憶
装置に書き込み、該2次記憶装置から読み出すのに要す
る時間を算出する書込読出時間算出手段と、画像出力待
機時間を算出する画像出力待機時間算出手段とを有し、
前記書込読出時間算出手段により算出された書込読出時
間が、画像出力待機時間算出手段により算出された画像
出力待機時間より小さい場合に、当該ページの出力画像
データを前記2次記憶装置に書き込み該2次記憶装置か
ら読み出すことが可能と判定することができる。
In a preferred embodiment, the determining means obtains the capacity of the output image data to be saved from the page buffer memory to the secondary storage device, and outputs the output image data having the capacity obtained by the obtaining means. A writing / reading time calculating unit for calculating a time required for writing to the secondary storage device and reading from the secondary storage device; and an image output standby time calculating unit for calculating an image output standby time,
If the write / read time calculated by the write / read time calculation means is smaller than the image output standby time calculated by the image output standby time calculation means, the output image data of the page is written to the secondary storage device. It can be determined that the data can be read from the secondary storage device.

【0018】請求項1において、印刷ジョブの出力が完
了した場合に2次記憶装置の出力画像データを削除する
削除手段をさらに備えることができる。
According to the first aspect of the present invention, it is possible to further comprise a deletion unit for deleting the output image data of the secondary storage device when the output of the print job is completed.

【0019】請求項4の発明は、受信された印刷ジョブ
をストアするための受信バッファと、該受信バッファの
画像データから出力画像データを生成する出力画像デー
タ生成手段と、該出力画像データ生成手段によって生成
された出力画像データをストアするためのページバッフ
ァメモリであって複数ページ分の出力画像データをスト
ア可能なページバッファメモリとを有する画像出力シス
テムにおいて、2次記憶装置と、画像出力待機時間内
に、前記ページバッファメモリの出力画像データを前記
2次記憶装置に待避させ、しかも、該2次記憶装置に待
避させた出力画像データを前記ページバッファメモリに
リストア可能か否かを判定する判定手段と、該判定手段
により肯定判定された場合に、前記ページバッファメモ
リに保持されている出力画像データを前記2次記憶装置
に待避させる待避手段と、該待避手段により出力画像デ
ータが待避された場合に、前記ページバッファメモリを
解放する解放手段と、前記ページバッファメモリまたは
前記2次記憶装置への出力画像データのストアが完了し
た場合に、次の画像出力に関係する出力画像データが前
記2次記憶装置に存在するか否かを判定する存否判定手
段と、該存否判定手段により肯定判定された場合に、前
記2次記憶装置に待避させてある出力画像データを前記
ページバッファメモリにリストアするリストア手段とを
備えたことを特徴とする。
According to a fourth aspect of the present invention, there is provided a receiving buffer for storing a received print job, output image data generating means for generating output image data from image data in the receiving buffer, and output image data generating means. Output system having a page buffer memory for storing the output image data generated by the method and a page buffer memory capable of storing output image data for a plurality of pages, a secondary storage device, and an image output standby time And determining whether or not the output image data of the page buffer memory is saved in the secondary storage device, and whether the output image data saved in the secondary storage device can be restored in the page buffer memory. Means, and when the determination means makes an affirmative determination, the information is held in the page buffer memory. Saving means for saving output image data in the secondary storage device, releasing means for releasing the page buffer memory when the output image data is saved by the saving means, the page buffer memory or the secondary storage When the storage of the output image data in the apparatus is completed, the presence / absence determination means for determining whether or not the output image data related to the next image output exists in the secondary storage device, And a restoring means for restoring the output image data saved in the secondary storage device to the page buffer memory when the judgment is made.

【0020】請求項4において、判定手段は、前記ペー
ジバッファメモリから前記2次記憶装置へ待避させる出
力画像データの容量を取得する取得手段と、該取得手段
により取得された容量の出力画像データを前記2次記憶
装置に書込み、該2次記憶装置から読み出すのに要する
時間を算出する書込読出時間算出手段と、画像出力待機
時間を算出する画像出力待機時間算出手段とを有し、前
記書込読出時間算出手段により算出された書込読出時間
が、画像出力待機時間算出手段により算出された画像出
力待機時間より小さい場合に、当該ページの出力画像デ
ータを前記2次記憶装置に書き込み該2次記憶装置から
読み出すことが可能と判定することができる。
According to a fourth aspect of the present invention, the determining means obtains a capacity of the output image data to be saved from the page buffer memory to the secondary storage device, and outputs the capacity of the output image data obtained by the obtaining means. A writing / reading time calculating unit for calculating a time required for writing to the secondary storage device and reading from the secondary storage device; and an image output standby time calculating unit for calculating an image output standby time. If the write / read time calculated by the read / write time calculation means is smaller than the image output standby time calculated by the image output standby time calculation means, the output image data of the page is written to the secondary storage device. It can be determined that the data can be read from the next storage device.

【0021】請求項4において、印刷ジョブの出力が完
了した場合に前記2次記憶装置の出力画像データを削除
する削除手段をさらに備えることができる。
According to a fourth aspect of the present invention, the image processing apparatus may further include a deletion unit for deleting the output image data of the secondary storage device when the output of the print job is completed.

【0022】請求項7の発明は、受信された印刷ジョブ
をストアするための受信バッファと、該受信バッファの
画像データから出力画像データを生成する生成手段と、
該生成手段により生成された出力画像データをストアす
るためのページバッファメモリであって複数ページ分の
出力画像データをストア可能なページバッファメモリと
を有する画像出力システムのデータ転送制御方法におい
て、前記ページバッファメモリにメモリ不足が発生した
か否かを判定するメモリ不足判定ステップと、メモリ不
足判定ステップにて肯定判定した場合に、画像出力待機
時間内で、前記ページバッファメモリの出力画像データ
を前記2次記憶装置に待避させ、しかも、該2次記憶装
置に待避させた出力画像データを前記ページバッファメ
モリにリストア可能か否かを判定する判定ステップと、
該判定ステップにて肯定判定した場合に、前記ページバ
ッファメモリに保持されている出力画像データを前記2
次記憶装置に待避させる待避ステップと、待避が終了し
て前記ページバッファメモリが解放された場合に、前記
生成手段を制御して出力画像データを生成させ前記ペー
ジバッファメモリにストアさせる制御ステップと、該制
御ステップにて前記ページバッファメモリへの出力画像
データのストアが完了した場合に、前記2次記憶装置に
待避させてある出力画像データを前記ページバッファメ
モリにリストアするリストアステップとを備えたことを
特徴とする。
According to a seventh aspect of the present invention, there is provided a receiving buffer for storing a received print job, and generating means for generating output image data from the image data in the receiving buffer.
A data transfer control method for an image output system, comprising: a page buffer memory for storing output image data generated by said generating means, and a page buffer memory capable of storing output image data for a plurality of pages. A memory shortage determination step for determining whether or not a memory shortage has occurred in the buffer memory; and an affirmative determination in the memory shortage determination step. A determination step of determining whether the output image data saved in the secondary storage device and further saved in the secondary storage device can be restored in the page buffer memory;
If an affirmative determination is made in the determination step, the output image data held in the page buffer
A saving step of saving to the next storage device, and a controlling step of controlling the generating means to generate output image data and storing the image data in the page buffer memory when the saving is completed and the page buffer memory is released. A restoring step of restoring the output image data saved in the secondary storage device to the page buffer memory when the storing of the output image data in the page buffer memory is completed in the control step. It is characterized by.

【0023】請求項7において、判定ステップは、前記
ページバッファメモリから前記2次記憶装置へ待避させ
る出力画像データの容量を取得する取得ステップと、取
得した容量の出力画像データを前記2次記憶装置に書き
込み、該2次記憶装置から読み出すのに要する時間を算
出する書込読出時間算出ステップと、画像出力待機時間
を算出する画像出力待機時間算出ステップとを有し、前
記書込読出時間算出ステップにて算出された書込読出時
間が、画像出力待機時間算出ステップにて算出された画
像出力待機時間より小さい場合に、当該ページの出力画
像データを前記2次記憶装置に書き込み該2次記憶装置
から読み出すことが可能と判定することができる。
8. The apparatus according to claim 7, wherein the determining step includes obtaining an amount of output image data to be saved from the page buffer memory to the secondary storage device, and storing the obtained amount of output image data in the secondary storage device. And an image output standby time calculating step for calculating an image output standby time, and a write / read time calculating step for calculating an image output standby time. If the write / read time calculated in the step (c) is smaller than the image output standby time calculated in the image output standby time calculation step, the output image data of the page is written to the secondary storage device. It can be determined that the data can be read out from the.

【0024】請求項7において、印刷ジョブの出力が完
了した場合に前記2次記憶装置の出力画像データを削除
する削除ステップをさらに備えることができる。
According to a seventh aspect of the present invention, the method may further comprise the step of deleting the output image data of the secondary storage device when the output of the print job is completed.

【0025】請求項10の発明は、受信された印刷ジョ
ブをストアするための受信バッファと、該受信バッファ
の画像データから出力画像データを生成する出力画像デ
ータ生成手段と、該出力画像データ生成手段によって生
成された出力画像データをストアするためのページバッ
ファメモリであって複数ページ分の出力画像データをス
トア可能なページバッファメモリとを有する画像出力シ
ステムのデータ転送制御方法において、画像出力待機時
間内に、前記ページバッファメモリの出力画像データを
前記2次記憶装置に待避させ、しかも、該2次記憶装置
に待避させた出力画像データを前記ページバッファメモ
リにリストア可能か否かを判定する判定ステップと、該
判定ステップにて肯定判定した場合に、前記ページバッ
ファメモリに保持されている出力画像データを前記2次
記憶装置に待避させる待避ステップと、該待避ステップ
にて出力画像データを待避させた場合に、前記ページバ
ッファメモリを解放する解放ステップと、前記ページバ
ッファメモリまたは前記2次記憶装置への出力画像デー
タのストアが完了した場合に、次の画像出力に関係する
出力画像データが前記2次記憶装置に存在するか否かを
判定する存否判定ステップと、該存否判定ステップにて
肯定判定した場合に、前記2次記憶装置に待避させてあ
る出力画像データを前記ページバッファメモリにリスト
アするリストアステップとを備えたことを特徴とする。
According to a tenth aspect of the present invention, there is provided a receiving buffer for storing a received print job, output image data generating means for generating output image data from image data in the receiving buffer, and output image data generating means. A page buffer memory for storing the output image data generated by the method and a page buffer memory capable of storing a plurality of pages of output image data. A determining step of saving the output image data of the page buffer memory in the secondary storage device and determining whether the output image data saved in the secondary storage device can be restored in the page buffer memory; If the determination in the determination step is affirmative, the data is held in the page buffer memory. A saving step for saving the output image data stored in the secondary storage device; a releasing step for releasing the page buffer memory when the output image data is saved in the saving step; A step of determining whether output image data relating to the next image output is present in the secondary storage device when storage of the output image data in the secondary storage device is completed; A restoring step of restoring the output image data saved in the secondary storage device to the page buffer memory when an affirmative judgment is made in the judging step.

【0026】請求項10において、判定ステップは、前
記ページバッファメモリから前記2次記憶装置へ待避さ
せる出力画像データの容量を取得する取得ステップと、
該取得ステップにて取得した容量の出力画像データを前
記2次記憶装置に書込み、該2次記憶装置から読み出す
のに要する時間を算出する書込読出時間算出ステップ
と、画像出力待機時間を算出する画像出力待機時間算出
ステップとを有し、前記書込読出時間算出ステップにて
算出した書込読出時間が、画像出力待機時間算出ステッ
プにて算出した画像出力待機時間より小さい場合に、当
該ページの出力画像データを前記2次記憶装置に書き込
み該2次記憶装置から読み出すことが可能と判定するこ
とができる。
In the tenth aspect, the determining step includes an obtaining step of obtaining a capacity of the output image data to be saved from the page buffer memory to the secondary storage device.
A writing / reading time calculating step of calculating a time required for writing the output image data of the capacity acquired in the acquiring step to the secondary storage device and reading the image data from the secondary storage device; and calculating an image output standby time. An image output standby time calculation step, wherein when the write / read time calculated in the write / read time calculation step is smaller than the image output standby time calculated in the image output standby time calculation step, It can be determined that output image data can be written to the secondary storage device and can be read from the secondary storage device.

【0027】請求項10において、印刷ジョブの出力が
完了した場合に前記2次記憶装置の出力画像データを削
除する削除ステップをさらに備えることができる。
According to a tenth aspect of the present invention, the method may further comprise the step of deleting the output image data of the secondary storage device when the output of the print job is completed.

【0028】[0028]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0029】<第1の実施の形態>図1は本発明の第1
の実施の形態を示す。これはレーザビームプリンタの例
であり、その構造を図2に示す。なお、レーザビームプ
リンタに代えて、他のプリント方式のプリンタを用いて
も良い。
<First Embodiment> FIG. 1 shows a first embodiment of the present invention.
An embodiment will be described. This is an example of a laser beam printer, and its structure is shown in FIG. Note that a printer of another printing method may be used instead of the laser beam printer.

【0030】図2を説明する。図2において、230は
用紙カセットであって、記録紙Sを収納するためのもの
であり、不図示の仕切り版によって電気的に記録紙Sの
サイズを検出する機構を有する。231はピックアップ
ローラであって、給紙のたびに間欠的に1回転して、用
紙カセット230に収納されている記録紙Sの最上位の
記録紙のみを分離するものである。230Sは記録紙検
出センサであり、用紙カセット230に収納されている
記録紙Sの量を検出するものである。
Referring to FIG. In FIG. 2, reference numeral 230 denotes a paper cassette for storing the recording paper S, which has a mechanism for electrically detecting the size of the recording paper S by a partition plate (not shown). A pickup roller 231 intermittently makes one rotation each time paper is fed, and separates only the highest-order recording paper of the recording paper S stored in the paper cassette 230. A recording paper detection sensor 230S detects the amount of the recording paper S stored in the paper cassette 230.

【0031】204は給紙ローラであり、ピックアップ
ローラ231により分離された記録紙Sの先端部をレジ
ストシャッタ227まで搬送するものである。227は
レジストシャッタであり、記録用紙を押圧して給紙を停
止させるものである。203は手差し給紙ローラであ
り、手差用トレイ202に載置された記録紙Sをレジス
トシャッタ227まで搬送するものである。233はオ
プション給紙ローラ(給紙中継搬送ローラ)であり、給
紙オプション107から給紙された記録紙Sをプリンタ
102本体内へ供給するものである。
Reference numeral 204 denotes a paper feed roller, which conveys the leading end of the recording paper S separated by the pickup roller 231 to the registration shutter 227. Reference numeral 227 denotes a registration shutter which presses the recording sheet to stop the sheet feeding. Reference numeral 203 denotes a manual feed roller, which conveys the recording paper S placed on the manual feed tray 202 to the registration shutter 227. An optional paper feed roller (paper feed relay conveyance roller) 233 supplies the recording paper S fed from the paper feed option 107 into the main body of the printer 102.

【0032】205はレジストローラ対であって、手差
し給紙ローラ203、ピックアップローラ231、オプ
ション給紙ローラ233の下流に設けてあり、記録紙S
を画像記録部207に同期搬送するものである。
Reference numeral 205 denotes a pair of registration rollers, which are provided downstream of the manual paper feed roller 203, the pickup roller 231, and the optional paper feed roller 233.
Is synchronously conveyed to the image recording unit 207.

【0033】206はレーザスキャナ部であり、レーザ
ユニット215と、ポリゴンミラー216と、ビーム検
出器217と、結像レンズ群218と、折返ミラー21
9と、光量センサ270とを有する。レーザユニット2
15はビデオコントローラ103からの画像信号に従っ
て変調されたレーザ光を出射するものである。レーザユ
ニット215から出射されたレーザ光は、ポリゴンミラ
ー216により、結像レンズ群218および折返ミラー
219を介して、感光ドラム220上を走査され、感光
ドラム220上に潜像が形成される。ビーム検出器21
7はレーザユニット215からのレーザ光を検出して主
走査同期信号を出力するものである。光量センサ270
はレーザユニット215からのレーザ光の光量を検出す
るものである。
Reference numeral 206 denotes a laser scanner unit, which includes a laser unit 215, a polygon mirror 216, a beam detector 217, an imaging lens group 218, and a folding mirror 21.
9 and a light amount sensor 270. Laser unit 2
Reference numeral 15 denotes a laser beam modulated in accordance with an image signal from the video controller 103. The laser light emitted from the laser unit 215 is scanned on the photosensitive drum 220 by the polygon mirror 216 via the imaging lens group 218 and the folding mirror 219, and a latent image is formed on the photosensitive drum 220. Beam detector 21
Reference numeral 7 is for detecting a laser beam from the laser unit 215 and outputting a main scanning synchronization signal. Light intensity sensor 270
Is for detecting the amount of laser light from the laser unit 215.

【0034】207は画像記録部207であって、レジ
ストローラ対205の下流に設けてあり、感光ドラム2
20と、前露光ランプ221と、一次帯電器222と、
現像器223と、クリーナ225と、転写帯電器224
とを有する。一次帯電器222は感光ドラム220上を
均一に帯電させるものである。現像器223は一次帯電
器222により帯電され、レーザスキャナ部206によ
りレーザ露光されて感光ドラム220に形成された潜像
をトナー現像するものである。転写帯電器224は現像
器223により現像された感光ドラム上のトナー像を、
レジストローラ205により給紙される記録紙S上に転
写するものである。クリーナ225は感光ドラム220
上の残存トナーを取り除くものである。前露光ランプ2
21は感光ドラム220を光除電するものである。
An image recording unit 207 is provided downstream of the pair of registration rollers 205 and
20, a pre-exposure lamp 221, a primary charger 222,
Developing device 223, cleaner 225, transfer charger 224
And The primary charger 222 charges the photosensitive drum 220 uniformly. The developing unit 223 is charged by the primary charging unit 222, and is used for developing the latent image formed on the photosensitive drum 220 by laser exposure by the laser scanner unit 206 with toner. The transfer charger 224 transfers the toner image on the photosensitive drum developed by the developing device 223 to
The image is transferred onto the recording paper S fed by the registration roller 205. The cleaner 225 is a photosensitive drum 220
This removes the remaining toner. Pre-exposure lamp 2
Reference numeral 21 denotes a member for light-eliminating the photosensitive drum 220.

【0035】208は定着器であり、転写帯電器224
により記録紙Sに転写されたトナー画像を熱定着させる
ものである。210は搬送ローラであり、トナー像が定
着された記録紙Sを装置外に排出するものである。20
9は排紙センサであり、記録紙Sの排紙状態、例えば、
紙づまりの発生やミスプリントの発生などを検出するも
のである。211はフラッパであり、記録が完了した記
録紙Sの搬送方向を、排紙トレイ213側または排紙オ
プション108側に切り換えるものである。214およ
び212は排紙ローラであり、フラッパ211の切り換
えにより搬送される記録紙Sを、積載トレイ213に排
出するものである。213は排紙積載量検出センサであ
り、積載トレイ213上に積載された記録紙の積載量を
検出するものである。109は制御ユニット109であ
る。
Reference numeral 208 denotes a fixing device, which is a transfer charger 224.
Is used to thermally fix the toner image transferred to the recording paper S. Reference numeral 210 denotes a transport roller for discharging the recording paper S on which the toner image has been fixed to the outside of the apparatus. 20
Reference numeral 9 denotes a paper discharge sensor, which is a discharge state of the recording paper S, for example,
This is for detecting the occurrence of a paper jam or the occurrence of a misprint. Reference numeral 211 denotes a flapper that switches the conveyance direction of the recording sheet S on which recording has been completed to the discharge tray 213 side or the discharge option 108 side. Reference numerals 214 and 212 denote paper discharge rollers for discharging the recording paper S conveyed by switching the flapper 211 to the stack tray 213. Reference numeral 213 denotes a discharged paper stacking amount detection sensor which detects the stacking amount of the recording paper stacked on the stacking tray 213. Reference numeral 109 denotes a control unit 109.

【0036】107は給紙オプションであり、ペーパデ
ッキコントローラ107aと、操作部107bと、ペー
パデッキ241と、ペーパデッキ給紙ローラ242と、
給紙中継搬送ローラ243と、搬送ローラ244とを有
する。
Reference numeral 107 denotes a paper feed option, which includes a paper deck controller 107a, an operation unit 107b, a paper deck 241, a paper deck paper feed roller 242,
It has a paper feed relay conveyance roller 243 and a conveyance roller 244.

【0037】ペーパデッキ241は昇降するデッキ上に
記録紙Sを大容量に積載するものである。ペーパデッキ
給紙ローラ242はペーパデッキ241上に積載された
記録紙Sを給紙するものである。搬送ローラ244はペ
ーパデッキ給紙ローラ242から給紙される記録紙Sを
オプション給紙ローラ233方向に搬送するものであ
る。給紙中継搬送ローラ243はペーパデッキ241の
下部に着脱可能に複数接続可能な他の給紙系オプション
ユニット(異なるサイズまたは同一サイズの記録紙を給
紙可能な )から給紙される記録紙を中継搬送する。記
録紙格納量検出センサ241sはペーパデッキ241上
に載置された記録紙Sの載置量を検出するものである。
ペーパデッキコントローラ107aはペーパデッキオプ
ションユニット107を制御するものである。
The paper deck 241 is for loading a large amount of recording paper S on a deck that moves up and down. The paper deck feeding roller 242 feeds the recording paper S stacked on the paper deck 241. The transport roller 244 transports the recording paper S fed from the paper deck paper feed roller 242 toward the optional paper feed roller 233. The paper feed relay conveyance roller 243 is used to feed recording paper fed from another paper feeding system optional unit (which can feed recording papers of different sizes or the same size) detachably connectable to a lower portion of the paper deck 241. Carry relay. The recording paper storage amount detection sensor 241s detects the amount of the recording paper S placed on the paper deck 241.
The paper deck controller 107a controls the paper deck option unit 107.

【0038】フィニッシャオプションユニット等の排紙
オプションユニット108において、251は第1排紙
ビン、252は第2排紙ビン、253は第3排紙ビンで
あり、記録済みの記録紙Sを仕分けして積載するもので
ある。260はビン昇降モータであり、排紙ビン251
〜253を上下に移動させて記録紙Sを各ビンへ仕分け
するものである。254はフラッパであり、プリンタ1
02本体のフラッパ211により振り分けられ、排紙オ
プションユニット108に送られた記録紙Sをビデオコ
ントローラ103からの指示にしたがって、記録用紙の
フェース切り換えを行なうように搬送切り換えを行なう
ものである。
In the discharge option unit 108 such as a finisher option unit, 251 is a first discharge bin, 252 is a second discharge bin, and 253 is a third discharge bin. It is loaded. Reference numeral 260 denotes a bin elevating motor, which is a discharge bin 251.
253 are moved up and down to sort the recording paper S into the respective bins. Reference numeral 254 denotes a flapper, and the printer 1
In accordance with an instruction from the video controller 103, the transport of the recording paper S distributed by the flapper 211 of the main body 02 is performed so that the face of the recording paper is switched according to an instruction from the video controller 103.

【0039】261は排紙積載量検出センサであり、ビ
ン昇降モータ260により昇降される第1排紙ビン25
1〜第3排紙ビン253に排紙される記録用紙の積載量
を検出するものである。排紙積載量検出センサ261は
高さセンサであり、第1排紙ビン251〜第38排紙ビ
ン253に積載された記録用紙の高さが例えば88mm
(約700枚に相当)に到達した(検出した)時点で、
フィニッシャコントローラ108aが満載をオプション
コントローラ部106を介してビデオコントローラ10
3に通知するものである。ビデオコントローラ103に
より統括インタフェース90を通してフェースアップ指
定の場合は、フラッパ254に振り分けられた記録紙S
は、ローラ255によりそのまま排紙口へ送られる。他
方、ビデオコントローラ103により統括インタフェー
ス90を通してフェースダウン指定の場合は、フラッパ
254に振り分けられた記録紙Sは、ローラ256およ
びローラ257により一旦記録紙Sの後端がローラ25
6を越えるまで搬送され、次に、ローラ257が反転し
て記録紙Sの後端からローラ258に送り込まれ、排紙
口へ送られる。
Reference numeral 261 denotes a discharged paper stacking amount detection sensor, which is a first discharge bin 25 which is raised and lowered by a bin lifting motor 260.
This is for detecting the stacked amount of recording paper discharged to the first to third discharge bins 253. The discharged paper stacking amount detection sensor 261 is a height sensor, and the height of the recording paper stacked in the first discharge bin 251 to the thirty-eighth discharge bin 253 is, for example, 88 mm.
(Corresponding to about 700 sheets) when it reaches (detects)
When the finisher controller 108a is fully loaded, the video controller 10
3 is notified. When the video controller 103 designates the face-up through the general interface 90, the recording paper S sorted to the flapper 254 is used.
Is sent to the sheet discharge port by the roller 255 as it is. On the other hand, when the video controller 103 designates the face-down operation through the general interface 90, the recording paper S distributed to the flapper 254 is temporarily moved by the rollers 256 and 257 so that the rear end of the recording paper S is
The recording paper S is conveyed until it exceeds 6, and then the roller 257 is reversed and fed from the rear end of the recording sheet S to the roller 258 and sent to the paper discharge port.

【0040】259はステイプラであり、ビデオコント
ローラ103により統括インタフェース90を通してス
テイプル指定されている場合は、不図示のステイプルト
レイに記録紙Sを蓄え、記録紙Sを整列して、ステイプ
ラ259がステイプル実行して第1排紙ビン251〜第
3排紙ビン253のいずれかに排紙するものである。ビ
デオコントローラ103により統括インタフェース90
を通してシフト指定されている場合は、ステイプル指定
されている場合と同様に、不図示のステイプルトレイに
用紙を蓄え、記録紙Sを整列し記録紙Sをトレイごとず
らして、すなわち、排紙される記録紙Sの載置域(トレ
イ)をずらしてから、第1排紙ビン251〜第39排紙
ビン253のいずれかに排出するものである。
Reference numeral 259 denotes a stapler. When the stapler is designated by the video controller 103 through the general interface 90, the recording paper S is stored in a staple tray (not shown), the recording paper S is aligned, and the stapler 259 executes stapling. Then, the paper is discharged to one of the first discharge bin 251 to the third discharge bin 253. The video controller 103 controls the overall interface 90
, The sheets are stored in a staple tray (not shown), the recording sheets S are aligned, and the recording sheets S are shifted with respect to each tray, that is, discharged. After the placement area (tray) of the recording paper S is shifted, the recording paper S is discharged to one of the first discharge bin 251 to the thirty-ninth discharge bin 253.

【0041】259sはステイプル針残量検出センサで
あり、ステイプル259内に格納されたステイプル針の
残量を検出する。
Reference numeral 259s denotes a staple remaining amount detection sensor for detecting the remaining amount of the staple stored in the staple 259.

【0042】フィニッシャオプションユニット108は
フィニッシャコントローラ108aによって制御され
る。オプションコントローラ部106、ペーパデッキコ
ントローラ107、フィニッシャコントローラ108
は、それぞれコネクタで接続され、オプションユニット
インタフェース70によりシリアル通信を行なうもので
ある。互いに同じコネクタにより直列接続され、従っ
て、ベーパデッキオプションユニット107と、フィニ
ッシャオプションユニット108は、その接続順を入れ
替えて接続することも可能である。
The finisher option unit 108 is controlled by a finisher controller 108a. Optional controller unit 106, paper deck controller 107, finisher controller 108
Are connected by connectors and perform serial communication by the option unit interface 70. The vapor deck option unit 107 and the finisher option unit 108 can be connected in the same connection order.

【0043】手差し給紙ローラ203、ピックアップロ
ーラ231、ペーパデッキ給紙ローラ242の下流に
は、記録紙Sを搬送するレジストローラ対205、給紙
ローラ204、搬送ローラ244がそれぞれ設けてあ
り、レジストローラ対205の下流には、レーザスキャ
ナ部206からのレーザ光によって、記録紙S上にトナ
ー像を形成する画像記録部207が設けてある。
Downstream of the manual paper feed roller 203, the pickup roller 231, and the paper deck paper feed roller 242, a pair of registration rollers 205 for conveying the recording paper S, a paper feed roller 204, and a conveyance roller 244 are provided, respectively. An image recording unit 207 that forms a toner image on the recording paper S by a laser beam from the laser scanner unit 206 is provided downstream of the roller pair 205.

【0044】画像記録部207の下流には、記録紙S上
に転写されたトナー像を熱定着する定着器208が設け
てあり、定着器208の下流には、排紙部の搬送状態を
検出する排紙センサ209と、記録紙を搬送する搬送ロ
ーラ210と、記録が完了した記録紙Sの搬送方向を切
り換えるフラッパ211等が設けてある。
Downstream of the image recording unit 207, there is provided a fixing unit 208 for thermally fixing the toner image transferred onto the recording paper S. Downstream of the fixing unit 208, the conveyance state of the sheet discharging unit is detected. And a flapper 211 for switching the transport direction of the recording paper S on which recording has been completed.

【0045】次に、図1を説明する。図1において、1
02はレーザビームプリンタであり、各種オプションユ
ニットが接続可能であり、LAN302と汎用インタフ
ェース(例えば、UWインタフェース、セントロニクス
等)で接続され、LAN302から汎用インタフェース
を介して転送された印刷情報(所定のプリンタ言語に基
づく文字コードデータ、図形描画命令、イメージデータ
等の画像情報や用紙切り換え、排紙口切り換えなど装置
制御情報を含む)に基づき記録画像を行なう。
Next, FIG. 1 will be described. In FIG. 1, 1
Reference numeral 02 denotes a laser beam printer to which various optional units can be connected. The laser beam printer is connected to the LAN 302 via a general-purpose interface (for example, a UW interface, Centronics, etc.) and print information (a predetermined printer The recording image is formed based on image information such as character code data, graphic drawing commands, and image data based on the language, and device control information such as paper switching and paper outlet switching.

【0046】103はビデオコントローラであって、L
AN302と汎用インタフェースで接続され、LAN3
02から汎用インタフェースを介して転送される印刷デ
ータ(各種PDLデータ等)を受信し、受信された印刷
データに基づくドットデータ等からなるページ情報を生
成し、ビデオインタフェース80を介してエンジンコン
トローラ105に対してイメージデータ(2値または多
値)を送信するとともに、統括インタフェース90を介
してオプションコントローラ部106に給紙指定および
排紙指定コマンド等を送信する。
Reference numeral 103 denotes a video controller, and L
The LAN 302 is connected to the AN 302 via a general-purpose interface.
02, print data (various PDL data, etc.) transferred via a general-purpose interface, generates page information including dot data based on the received print data, and sends the page information to the engine controller 105 via the video interface 80. The image data (binary or multi-valued) is transmitted to the option controller 106 via the general interface 90.

【0047】エンジンコントローラ105はビデオコン
トローラ103から転送されるイメージデータに基づい
て、周知の電子写真プロセスによって感光ドラム220
上に潜像を形成し、供給された記録紙Sに転写し、定着
して印字を行なう。この時、オプションコントローラ部
106に対して給排紙のタイミングの指示等を行なう。
The engine controller 105 performs a known electrophotographic process based on the image data transferred from the video
A latent image is formed thereon, transferred to the supplied recording paper S, fixed, and printed. At this time, an instruction is given to the option controller unit 106 regarding the timing of paper supply and discharge.

【0048】104は操作部であり、操作のための各種
スイッチ(ボタン)、LED(light emitting diode)
表示器、LCD(liquid crystal display)表示器等か
ら構成されるユーザとのインタフェースである。ユーザ
は操作部104を操作することによりレーザビームプリ
ンタ102に所定の動作を指示することができる。ユー
ザにより設定された各種データ等はNVRAM(nonvol
atile RAM)1013(図3)等に記憶管理される。
An operation unit 104 includes various switches (buttons) for operation and an LED (light emitting diode).
This is an interface with a user including a display, an LCD (liquid crystal display) display, and the like. The user can instruct the laser beam printer 102 to perform a predetermined operation by operating the operation unit 104. Various data set by the user are stored in NVRAM (nonvol
atile RAM) 1013 (FIG. 3).

【0049】オプションコントローラ部106は不図示
のCPU(central processing unit)と、ROM(rea
d only memory)と、RAM等を有し、ビデオコントロ
ーラ103からの給排紙指定等と、エンジンコントロー
ラ105からの給排紙指示等に基づいて、1台以上のオ
プションユニットを統括して制御し、各種オプションユ
ニットに具備されるオプションコントローラユニットと
オプションユニットインタフェース70を介して通信を
行ない、各種オプションユニットを統括的に制御するも
のである。
The option controller unit 106 includes a CPU (central processing unit) (not shown) and a ROM (rea
d only memory), a RAM, and the like, and controls and controls one or more optional units based on a paper supply / discharge designation from the video controller 103 and a paper supply / discharge instruction from the engine controller 105. The communication is performed with an option controller unit provided in the various option units via the option unit interface 70 to control the various option units as a whole.

【0050】オプションコントローラ部106のRAM
には、ビデオコントローラ103がアクセス可能な不図
示の共有メモリがある。この共有メモリは約40ページ
分の搬送状況管理エリア、基本ステータスエリア、コマ
ンドステータス管理エリア等から構成され、ビデオコン
トローラ103は上記共有メモリの各エリアを介して各
オプンョン装置に対する指定を行なう。搬送状況管理エ
リアはビデオコントローラ103が印字方法(給紙口、
排紙口、色、ステイプルする、シフトする等)を各オプ
ションユニットへ通知する領域と、各オプション状態
(どこまで印字した、正常に排紙完了した等)をビデオ
コントローラ103に通知する領域から構成される。基
本ステータスエリアは各オプションユニットの異常(紙
づまり発生、紙なしステイプル針なし等)をビデオコン
トローラ103に通知する領域である。コマンド・ステ
ータス管理エリアは、ビデオコントローラ103とコマ
ンドステータスのやりとりを行なう領域である。
RAM of option controller 106
Has a shared memory (not shown) that can be accessed by the video controller 103. The shared memory includes a transport status management area for about 40 pages, a basic status area, a command status management area, and the like. The video controller 103 specifies each optional device via each area of the shared memory. The conveyance status management area is printed by the video controller 103 using the printing method (paper feeding port,
An area for notifying each option unit of a paper discharge port, a color, stapling, shifting, and the like, and an area for notifying the video controller 103 of each option state (how much printed, normally completed paper discharge, etc.). You. The basic status area is an area for notifying the video controller 103 of an abnormality of each option unit (paper jam, no paper, staples, etc.). The command / status management area is an area for exchanging command status with the video controller 103.

【0051】107は給紙オプションユニットであっ
て、給紙オプションユニットとしては例えばペーパデッ
キオプションユニットがあり、内部にペーパデッキコン
トローラ107aを有し、オプションコントローラ部1
06から送信される制御情報に基づいて給紙制御を行な
うものである。ペーパデッキコントローラ107aは不
図示のCPU、ROM、RAMを有し、ROMにはプロ
グラムの他に、給紙オプションユニット107の拡張情
報、例えば、ペーパデッキに格納可能な用紙サイズの情
報等が格納してあり、CPUはROMのプログラムに従
って給紙オプションユニット107を制御する。
Reference numeral 107 denotes a paper feed option unit. As the paper feed option unit, for example, there is a paper deck option unit, which has a paper deck controller 107a therein,
The paper feed control is performed on the basis of the control information transmitted from 06. The paper deck controller 107a has a CPU, a ROM, and a RAM (not shown). In the ROM, in addition to the program, extended information of the paper feed option unit 107, for example, information of a paper size that can be stored in the paper deck is stored. The CPU controls the paper feed option unit 107 according to a program in the ROM.

【0052】108は排紙オプションユニットであっ
て、排紙オプションユニットとしては例えばステイプル
機能を有するフィニッシャオプションユニットがあり、
内部にフィニッシャコントローラ108aを有し、オプ
ションコントローラ部106からの制御情報に基づい
て、ステイプル動作および排紙動作を行なうものであ
る。
Reference numeral 108 denotes a paper discharge option unit. As the paper discharge option unit, for example, there is a finisher option unit having a staple function.
It has a finisher controller 108a inside and performs a stapling operation and a paper discharging operation based on control information from the option controller unit 106.

【0053】フィニッシャコントローラ108aは不図
示のCPUと、ROMと、RAMを有し、CPUはRO
Mに格納されたプログラムに従って排紙オプションユニ
ット108を制御する。フィニッシャコントローラ10
8a内のROMには、排紙オプションユニット108の
拡張情報、例えば、排紙ビンの数、ステイプル機能の有
無、排紙用紙を所定の方向にずらすシフト機能の有無、
排紙用紙のフェースの向きを反転させる反転機能の有無
の情報等が格納されている。
The finisher controller 108a has a CPU (not shown), a ROM, and a RAM.
The paper discharge option unit 108 is controlled according to the program stored in M. Finisher controller 10
In the ROM in 8a, extended information of the paper discharge option unit 108, for example, the number of paper discharge bins, the presence or absence of the staple function, the presence or absence of the shift function for shifting the paper discharge in a predetermined direction,
Information on the presence / absence of a reversing function for reversing the direction of the face of the discharged paper is stored.

【0054】給紙オプションユニット107および排紙
オプションユニット108には、表示部および各種キー
を備える操作部107bおよび108bがそれぞれ設け
てあり、操作部107bおよび108bにより、各オプ
ション使用時のユーザへのメッセージと操作方法等を、
表示、操作可能である。
The paper feed option unit 107 and the paper discharge option unit 108 are provided with operation units 107b and 108b having a display unit and various keys, respectively. The operation units 107b and 108b allow the user to use each option. Message and operation method etc.
It can be displayed and operated.

【0055】109は制御ユニットであり、プリンタ1
02の印字プロセス制御を行なうエンジンコントローラ
105と、プリンタ102全体の制御とホストコンピュ
ータ等の外部装置101からのデータを解析しイメージ
データに変換するビデオコントローラ103と、各種オ
プションユニットを統括して制御するオプションコント
ローラ部106とを有する。
Reference numeral 109 denotes a control unit, which is a printer 1
02, an engine controller 105 for controlling the printing process, a video controller 103 for controlling the entire printer 102, analyzing data from an external device 101 such as a host computer, and converting the data into image data, and integrally controlling various optional units. And an option controller unit 106.

【0056】エンジンコントローラ105はレーザスキ
ャナ部206と、画像記録部207と、定着器208と
による電子写真プロセスを制御し、レーザプリンタ10
2本体内の記録紙搬送を制御するものである。エンジン
コントローラ105は排紙センサ209によりプリンタ
エンジン本体内の紙搬送状態(紙づまり発生など)を検
出してビデオコントローラ103に通知することができ
る。
The engine controller 105 controls the electrophotographic process by the laser scanner unit 206, the image recording unit 207, and the fixing unit 208, and
2 controls the recording paper conveyance in the main body. The engine controller 105 can detect a paper conveyance state (paper jam occurrence or the like) in the printer engine main body by the paper discharge sensor 209 and notify the video controller 103 of the detected state.

【0057】オプションコントローラ部106は各種オ
プションユニットと、共通バスとなるオプションユニッ
トインタフェース70を介して、同一のプロトコルで通
信可能になっている。また、オプションコントローラ部
106は、統括インタフェース90を介してビデオコン
トローラ103に接続してある図3は図1のビデオコン
トローラ103の構成を示す。印刷ジョブはパーソナル
コンピュータ300上で動作するアプリケーションプロ
グラムによりプリンタ用の制御言語として生成され、プ
リントサーバ301内のプリントスプーラに格納され
る。
The option controller unit 106 can communicate with various option units by the same protocol via the option unit interface 70 serving as a common bus. The option controller unit 106 is connected to the video controller 103 via the general interface 90. FIG. 3 shows the configuration of the video controller 103 in FIG. The print job is generated as a control language for a printer by an application program operating on the personal computer 300 and stored in a print spooler in the print server 301.

【0058】パーソナルコンピュータ300やプリント
サーバ301は、ネットワークオペレーティングシステ
ムの提供する機能として実現される。プリントサーバ3
01はプリンタ102を構成するLANインタフェース
カード304とLAN302を介して通信制御処理を実
行し印刷ジョブをビデオコントローラ103へ転送する
ものである。
The personal computer 300 and the print server 301 are realized as functions provided by a network operating system. Print server 3
Reference numeral 01 denotes a printer which executes a communication control process via the LAN interface card 304 and the LAN 302 constituting the printer 102 and transfers a print job to the video controller 103.

【0059】他ユーザの利用するパーソナルコンピュー
タ303においても、印刷ジョブが同様にパーソナルコ
ンピュータ303上で動作するアプリケーションプログ
ラムによりプリンタ用の制御言語として生成され、プリ
ントサーバ301内のプリントスプーラ内に格納され
る。プリントサーバ301はレーザビームプリンタ10
2のLANインタフェースカード304とLAN302
を介して通信制御処理を実行し、印刷ジョブをビデオコ
ントローラ103へ転送する。
In a personal computer 303 used by another user, a print job is similarly generated as a control language for a printer by an application program operating on the personal computer 303 and stored in a print spooler in the print server 301. . The print server 301 is the laser beam printer 10
2 LAN interface card 304 and LAN 302
And executes a communication control process to transfer the print job to the video controller 103.

【0060】ここで、印刷ジョブとは、入力ページのひ
とかたまりを定義するジョブ開始命令とジョブ終了命令
により区切られたデータ単位で入力され、このかたまり
を指すものである。また、入力されたデータをビデオコ
ントローラ103が自律的にジョブ開始/終了を判定す
ることにより印刷ジョブを構成する場合もある。
Here, a print job is input in data units delimited by a job start command and a job end command that define a group of input pages, and indicates the group. In some cases, a print job is formed by the video controller 103 autonomously determining the start / end of a job based on input data.

【0061】図3において、104、302は図1と同
一部分を示す。ビデオコントローラ103はCPU10
01と、RAM1006と、ROM1002と、入力部
1012と、NVRAM1013と、映像スワップ制御
部1013と、記憶制御部1007と、オプションイン
タフェース1010と、印刷部インタフェース1008
とが、システムバス1004を介して相互に接続してあ
る。
In FIG. 3, reference numerals 104 and 302 denote the same parts as in FIG. The video controller 103 is a CPU 10
01, RAM 1006, ROM 1002, input unit 1012, NVRAM 1013, video swap control unit 1013, storage control unit 1007, option interface 1010, printing unit interface 1008
Are connected to each other via a system bus 1004.

【0062】ROM1002のプログラムROMには、
制御プログラムと、印刷ジョブを解析するジョブ解析モ
ジュールと、印刷部1009へ転送されるビットマップ
画像を生成する画像生成モジュール等がストアしてあ
る。ROM1002のフォント用ROMには、出力画像
を生成する際に使用するフォントデータ(アウトライン
フォントデータまたはドットフォントデータ)等がスト
アしてある。
The program ROM of the ROM 1002 includes:
A control program, a job analysis module for analyzing a print job, an image generation module for generating a bitmap image transferred to the printing unit 1009, and the like are stored. The font ROM of the ROM 1002 stores font data (outline font data or dot font data) used when generating an output image.

【0063】CPU1001はプログラム用ROMの制
御プログラムに従って、ビデオコントローラ103の各
種のデバイスとのアクセスを総括的に制御し、印刷部イ
ンタフェース1008を介して印刷部1009に出力情
報としての画像信号を出力するものである。印刷部10
09はエンジンコントローラ105により制御される。
また、エンジンコントローラ105内で検出された紙搬
送状況などの通知も印刷部インタフェース1008を介
して入力される。
The CPU 1001 comprehensively controls access to various devices of the video controller 103 according to a control program of the program ROM, and outputs an image signal as output information to the printing unit 1009 via the printing unit interface 1008. Things. Printing unit 10
09 is controlled by the engine controller 105.
Further, a notification such as a paper conveyance status detected in the engine controller 105 is also input via the printing unit interface 1008.

【0064】CPU1001はLANインタフェースカ
ード304を介して入力部1012とプリントサーバ3
01との間で通信を行なわせることができる。ROM1
002のプログラム用ROMの制御プログラムは、タス
クと称されるロードモジュール単位に不図示のシステム
クロックによって時分割制御するリアルタイムOS(op
erating system)と、機能単位に動作する複数のロード
モジュール(タスク)とを有する。
The CPU 1001 communicates with the input unit 1012 and the print server 3 via the LAN interface card 304.
01 can be communicated with. ROM1
The control program of the program ROM 002 is a real-time OS (op
erating system) and a plurality of load modules (tasks) that operate in functional units.

【0065】RAM1006はCPU1001の主メモ
リ、ワークエリア、受信バッファ等として機能し、不図
示の増設ボードに接続されるオプションRAMによりメ
モリ容量を拡張することができる。RAM1006は入
力部1012に入力された印刷データを中間コードか中
間ビットマップ画像として格納するページバッファメモ
リと、出力ビットマップ画像を出力する際に一時的に保
持される画像出力メモリと、ハードディスク(HD)1
003に記憶された外字、フォーム画像などの登録デー
タを一時記憶するためのキャッシュメモリ等に用いられ
る。また、RAM1006はオプションインタフェース
部1010を介して排紙オプションユニット108内の
排紙検出センサ等によって得られる排紙部の処理状況、
各排紙ビンごとの用紙の積載の有無、積載量情報などを
記憶しておく排紙口情報格納部としても利用される。
The RAM 1006 functions as a main memory, a work area, a reception buffer, and the like of the CPU 1001, and its memory capacity can be expanded by an optional RAM connected to an extension board (not shown). A RAM 1006 stores a page buffer memory that stores print data input to the input unit 1012 as an intermediate code or an intermediate bitmap image, an image output memory that is temporarily stored when an output bitmap image is output, and a hard disk (HD) ) 1
It is used as a cache memory or the like for temporarily storing registered data such as external characters and form images stored in 003. The RAM 1006 stores the processing status of the paper discharge unit obtained by a paper discharge detection sensor or the like in the paper discharge option unit 108 via the option interface unit 1010,
It is also used as a paper outlet information storage unit for storing the presence / absence of paper stacking for each paper discharging bin, loading amount information, and the like.

【0066】オプションインタフェース部1010はC
PU1001からの指示に従ってオプションコントロー
ラ部106との通信制御(オプションユニットへの指示
コマンドの送信やオプションユニットの紙搬送状態の検
出情報を受信するなど)を行なう。エンジンインタフェ
ース部1008とオプションコントローラ部106との
通信信号をスルーで統括インタフェース90に送ること
もある。
The option interface unit 1010 is C
In accordance with an instruction from the PU 1001, communication control with the option controller unit 106 (such as transmission of an instruction command to the option unit and reception of detection information on the paper transport state of the option unit) is performed. A communication signal between the engine interface unit 1008 and the option controller unit 106 may be transmitted to the general interface 90 through.

【0067】記憶制御部1007はハードディスク10
03へのアクセスを制御するものである。ハードディス
ク1003はホストコンピュータ300から入力された
印刷データを印刷すべきデータやフォームデータを中間
コード化もしくは出力ビットマップ画像化して、画像ス
ワップ制御部1013により格納される出力画像格納メ
モリとして利用される。また、ハードディスク1003
はホストコンピュータ300上の外字ファイルやフォー
ムファイルなどから転送された登録データを記憶する登
録メモリとしても利用される。
The storage control unit 1007 includes the hard disk 10
03 is controlled. The hard disk 1003 converts print data input from the host computer 300 into data to be printed or form data into an intermediate code or an output bitmap image, and is used as an output image storage memory stored by the image swap control unit 1013. Also, the hard disk 1003
Is also used as a registration memory for storing registration data transferred from an external character file or form file on the host computer 300.

【0068】なお、ハードディスク1003は1個に限
らず、1個以上を備えて、内蔵フォントに加えて、オプ
ションフォントカード、言語系(PDL)の異なるプリ
ンタ制御言語を解釈するエミュレーションプログラムを
格納したハードディスクを複数接続することができる。
The number of hard disks 1003 is not limited to one, and one or more hard disks are provided. In addition to built-in fonts, an optional font card and a hard disk storing an emulation program for interpreting a printer control language of a different language (PDL) are stored. Can be connected.

【0069】2次記憶装置としてハードディスクに限定
するものではなく、他の2次記憶装置を装着しても良
い。
The secondary storage device is not limited to a hard disk, and another secondary storage device may be mounted.

【0070】図4は図1に示すROM1002のプログ
ラムROMにストアされる制御プログラムの一例を示す
フローチャートである。パーソナルコンピュータ300
から印刷指示が行われると、プリントサーバ301とL
ANインタフェースカード304との通信制御を実行し
て、生成された印刷ジョブを入力部1012に入力さ
せ、入力された印刷ジョブをRAM1006内の受信バ
ッファに一時格納する(S401)。
FIG. 4 is a flowchart showing an example of a control program stored in the program ROM of the ROM 1002 shown in FIG. Personal computer 300
When a print instruction is issued from the server, the print server 301 and L
By executing communication control with the AN interface card 304, the generated print job is input to the input unit 1012, and the input print job is temporarily stored in the reception buffer in the RAM 1006 (S401).

【0071】ついで、RAM1006内のページバッフ
ァメモリに出力ビットマップ画像を格納できるか否かを
判定する(S402)。この判定は、出力ビットマップ
画像の格納が許容される最大ページ数情報や、ページバ
ッファメモリのメモリが不足しているかを検出すること
により行う。
Next, it is determined whether or not the output bitmap image can be stored in the page buffer memory in the RAM 1006 (S402). This determination is made by detecting information on the maximum number of pages permitted to store the output bitmap image and whether the memory of the page buffer memory is insufficient.

【0072】そして、RAM1006内のページバッフ
ァメモリが不足していると判断した場合は、RAM10
06内のページバッファメモリ内に既に保持中の出力ビ
ットマップ画像(前ページ画像)を、画像スワップ部1
013の各モジュールによりハードディスク1003に
待避させる(S403)。
If it is determined that the page buffer memory in the RAM 1006 is insufficient, the RAM 10
The output bitmap image (previous page image) already held in the page buffer memory 06 is replaced with the image swap unit 1.
013 is saved in the hard disk 1003 (S403).

【0073】他方、ページバッファメモリの利用が可能
になったと判断した場合は、ジョブ解析モジュールによ
り、RAM1006の受信バッファの印刷ジョブを読み
出し、印刷ジョブのジョブ解析(PDL解釈)を行い、
画像生成モジュールにより、ビットマップ画像を生成
し、RAM1006内のページバッファメモリに出力ビ
ットマップページデータとして格納する(S404)。
On the other hand, if it is determined that the page buffer memory can be used, the job analysis module reads the print job in the reception buffer of the RAM 1006 and performs job analysis (PDL interpretation) of the print job.
The image generation module generates a bitmap image and stores it as output bitmap page data in a page buffer memory in the RAM 1006 (S404).

【0074】ジョブ解析モジュールが、制御コードなど
で指定された印字位置に対応させた後、画像生成モジュ
ールがRAM1006内のページバッファメモリに出力
ビットマップページデータとして格納するが、印刷デー
タ中の改ページ命令などのページ終了制御コードを検出
するまで同一ページの中間データとしてページ単位に格
納する。
After the job analysis module causes the print position specified by the control code or the like to correspond to the print position, the image generation module stores the output bitmap page data in the page buffer memory in the RAM 1006. Until a page end control code such as an instruction is detected, the data is stored in page units as intermediate data of the same page.

【0075】そして、入力された1ページ分の出力ビッ
トマップ画像がページバッファメモリに格納されると
(S405)、ビットマップ画像出力モジュールによ
り、出力すべきビットマップ画像がRAM1006内の
ページバッファメモリに存在せず、ハードディスク10
03に保持されていると判断したならば(S406)、
中間データ読み出しモジュールにより、ハードディスク
1003から出力ビットマップ画像を読み出し、RAM
1006内のページバッファメモリに再格納する(S4
07)。
When the input output bitmap image for one page is stored in the page buffer memory (S405), the bitmap image to be output is stored in the page buffer memory in the RAM 1006 by the bitmap image output module. Does not exist, hard disk 10
03 (S406),
The output bitmap image is read from the hard disk 1003 by the intermediate data reading module,
1006 again in the page buffer memory (S4
07).

【0076】RAM1006内のページバッファメモリ
に出力ビットマップ画像が保持されると、ビットマップ
画像出力モジュールにより、RAM1006内のページ
バッファメモリから出力ビットマップ画像を読み出し、
RAM1006内の画像出力メモリに順次書き込む。つ
いで、画像出力メモリからビットマップ画像を読み出
し、印刷部インタフェース1008を介してエンジンコ
ントローラ105に出力し、出力処理を終了する(S4
08)。
When the output bitmap image is held in the page buffer memory in the RAM 1006, the output bitmap image is read from the page buffer memory in the RAM 1006 by the bitmap image output module.
The data is sequentially written to the image output memory in the RAM 1006. Next, a bitmap image is read from the image output memory, output to the engine controller 105 via the printing unit interface 1008, and the output process is terminated (S4).
08).

【0077】エンジンコントローラ105が、送信され
たビットマップ画像を印刷部1009によって印刷処理
を実行する。
The engine controller 105 executes printing processing of the transmitted bitmap image by the printing unit 1009.

【0078】エンジンコントローラ105ヘビットマッ
プ画像の転送出力が終了したならば、印刷部インタフェ
ース1008を介して得られるエンジンコントローラ1
05の処理状況、もしくはオプションインタフェース1
010を介して得られるオプションコントローラ106
の処理状況、すなわち、紙づまりやミスプリントなどが
発生せず、正常に記録紙Sが印刷されたか否かを判断
し、正常に印刷処理が終了したならば、RAM1006
内のページバッファメモリを解放する(S409)。
When the transfer output of the bitmap image to the engine controller 105 is completed, the engine controller 1 obtained through the printing unit interface 1008
05 processing status or optional interface 1
Option controller 106 obtained via 010
That is, it is determined whether or not the recording paper S has been printed normally without occurrence of a paper jam or misprint, and if the printing processing has been completed normally, the RAM 1006
Then, the page buffer memory inside is released (S409).

【0079】そして、1ページの出力処理が完了する
と、以後、印刷ジョブが終了するまで、S401〜S4
10を繰り返す。
When the output processing of one page is completed, the processing from S401 to S4 is continued until the print job is completed.
Repeat 10

【0080】そして、印刷ジョブの出力が完了したなら
ば、画像スワップ制御部1013内の出力ビットマップ
削除モジュールによって、ハードディスク1003内の
出力ビットマップ画像データを削除し、その後、印刷ジ
ョブの処理を終了する(S411)。
When the output of the print job is completed, the output bitmap image data in the hard disk 1003 is deleted by the output bitmap deletion module in the image swap control unit 1013, and thereafter, the processing of the print job is ended. (S411).

【0081】図5は図3の画像スワップ制御部1013
による処理手順の一例を示すフローチャートである。出
力ビットマップ画像を保持するためのRAM1006内
のページバッファメモリが不足したと判断されると(図
4のS402)、本処理の実行が開始される。画像スワ
ップ制御部1013の画像格納判定モジュールが、RA
M1006内のページバッファメモリに保持されている
出力ビットマップ画像の最後に出力すべきページ(前ペ
ージ)のビットマップ画像のデータ容量を取得し(S5
01)、取得したデータ容量から、ビットマップ画像を
ハードディスク1003に格納する場合の格納時間を算
出する(S502)。ついで、取得したデータ容量か
ら、ビットマップ画像をハードディスク1003から読
み出す場合の読み出し時間を算出する(S503)。
FIG. 5 shows the image swap control unit 1013 of FIG.
Is a flowchart showing an example of a processing procedure according to FIG. When it is determined that the page buffer memory in the RAM 1006 for holding the output bitmap image is insufficient (S402 in FIG. 4), the execution of this processing is started. The image storage determination module of the image swap control unit
The data capacity of the bitmap image of the last page (previous page) to be output of the output bitmap image held in the page buffer memory in M1006 is acquired (S5).
01), the storage time for storing the bitmap image in the hard disk 1003 is calculated from the acquired data capacity (S502). Next, a read time for reading a bitmap image from the hard disk 1003 is calculated from the acquired data capacity (S503).

【0082】S502、S503の時間算出にあたって
は、ハードディスク1003の単位データ量あたり、例
えば1MByteあたりの基準書き込み時間と、基準読み出
し時間を、ROM1002内に記憶しておき、
In calculating the time in S502 and S503, the reference write time and the reference read time per unit data amount of the hard disk 1003, for example, per 1 MByte are stored in the ROM 1002.

【0083】[0083]

【数1】(画像データ容量/1MByte)×(基準書き込
み時間)=HD格納時間 (画像データ容量/1MByte)×(基準読み出し時間)
=HD読み出し時間 等の式で算出できる。
(Image data capacity / 1 MByte) × (Reference writing time) = HD storage time (Image data capacity / 1 MByte) × (Reference reading time)
= HD readout time.

【0084】画像スワップ制御部1013の画像判定モ
ジュールは、最後に出力すべきページが、ROM100
2内の画像出力モジュールによってエンジンコントロー
ラ105へ転送されるまでの画像出力待機時間を算出す
る(S504)。
The image determination module of the image swap control unit 1013 determines that the last page to be output is the ROM 100
Then, an image output standby time until the image output module in No. 2 is transferred to the engine controller 105 is calculated (S504).

【0085】画像出力待機時間の算出は、RAM100
6内のページバッファメモリに保持中の出力すべき総ペ
ージ数と、印刷部1009が記録紙Sを出力可能な最大
印刷スピード(ppm:page per minute)とによって
求めることができる。
The calculation of the image output standby time is performed by the RAM 100
6 and the maximum printing speed (ppm: page per minute) at which the printing unit 1009 can output the recording paper S.

【0086】例えば、RAM1006のページバッファ
メモリに保持中の出力ページ画像において、判定対象と
なっているページ番号(最終ページ)から、判定時点で
画像出力モジュールによってエンジンコントローラ10
5に出力されているページ番号を引くことにより、RA
M1006内のページバッファメモリに保持中で出力予
定の総ページ数を算出することができる。
For example, in the output page image held in the page buffer memory of the RAM 1006, the image output module at the time of the determination starts with the engine controller 10 based on the page number (the last page) to be determined.
5 by subtracting the page number output to
It is possible to calculate the total number of pages to be output and held in the page buffer memory in M1006.

【0087】レーザビームプリンタ102の印刷部10
09が記録紙Sを出力可能な最大印刷スピード情報、例
えば、30ppmは、1分間に30ページの印刷が可能
なので、2秒/ページの出力時間が必要といった情報を
格納しておく。
The printing unit 10 of the laser beam printer 102
09 stores the maximum printing speed information at which the recording paper S can be output, for example, 30 ppm stores information such that 30 pages can be printed per minute, so that an output time of 2 seconds / page is required.

【0088】この2つの情報から、From these two pieces of information,

【0089】[0089]

【数2】(出力予定のページ数)×(1ページ当たりの
出力時間)=出力待機時間 等の式で、判定対象の出力ビットマップ画像が印刷部1
009によって実際に印刷されるまで待機時間を算出で
きる。
## EQU2 ## The output bitmap image to be determined is printed by the printing unit 1 using an expression such as (number of pages to be output) × (output time per page) = output standby time.
By means of 009, the standby time until printing is actually performed can be calculated.

【0090】より正確には、両面印刷が指示されている
か、コピー部数が指示されているか等の情報を、RAM
1006内のページバッファメモリに保持された出力ビ
ットマップ画像の出力情報として記憶しておくことによ
り、上記式に加味することにより確実な出力待機時間を
算出できる。
More precisely, information such as whether double-sided printing is instructed or the number of copies is instructed is stored in the RAM.
By storing it as output information of the output bitmap image held in the page buffer memory in 1006, a reliable output standby time can be calculated by taking into account the above equation.

【0091】このようにして得られた3つの時間から、
画像スワップ制御部1013内の画像格納判定モジュー
ルがRAM1006内のページバッファメモリに保持し
ている最後の出力ビットマップ画像ページをハードディ
スク1003に格納するかいなかを判断する(S50
5)。そして
From the three times obtained in this way,
The image storage determination module in the image swap control unit 1013 determines whether to store the last output bitmap image page held in the page buffer memory in the RAM 1006 in the hard disk 1003 (S50).
5). And

【0092】[0092]

【数3】出力待機時間 ≧ HD格納時間 + HD読
み出し時間 ならば、ハードディスク1003に格納すべきと判断
し、画像スワップ制御部1013内の中間データ格納モ
ジュールによって、出力ビットマップをハードディスク
1003に格納する(S506)。格納完了後、画像ス
ワップ制御部1013が、出力ビットマップを格納して
いたRAM1006内のページバッファメモリを解放す
る(S507)。
[Expression 3] If output standby time ≧ HD storage time + HD read time, it is determined that the data should be stored in the hard disk 1003, and the output bitmap is stored in the hard disk 1003 by the intermediate data storage module in the image swap control unit 1013. (S506). After the storage is completed, the image swap control unit 1013 releases the page buffer memory in the RAM 1006 that has stored the output bitmap (S507).

【0093】ここで、RAM1006のページバッファ
メモリが解放されると、ページバッファメモリの不足状
態ではないと判断され(図4のS402)、後続の印刷
ジョブの解析処理を再開できる。他方、
Here, when the page buffer memory of the RAM 1006 is released, it is determined that the page buffer memory is not in a shortage state (S402 in FIG. 4), and the analysis processing of the subsequent print job can be resumed. On the other hand,

【0094】[0094]

【数4】出力待機時間 < HD格納時間 + HD読
み出し時間 である場合に(S505)、ハードディスク1003へ
の格納処理を実施すると、エンジンコントローラ105
への出力実行処理(図4のS408)の開始時間が遅く
なり、パフォーマンスが劣化することになるので、ハー
ドディスク1003への格納は行わない。この場合、ペ
ージバッファメモリに保持中のページ画像の出力処理
(図4のS408)が実行されるまで、後続の印刷ジョ
ブの解析処理の実行が待機状態となる。
## EQU4 ## If the output standby time is shorter than the HD storage time + HD read time (S505), the storage processing to the hard disk 1003 is executed, and the engine controller 105
The start time of the output execution process (S408 in FIG. 4) is delayed, and the performance is degraded. Therefore, the data is not stored in the hard disk 1003. In this case, the execution of the analysis processing of the subsequent print job is in a standby state until the output processing of the page image held in the page buffer memory (S408 in FIG. 4) is executed.

【0095】S401〜S411の処理モジュールにお
いて、中間ページデータ生成処理タスク(S401〜S
405)と、ビットマップ画像出力タスク(S406〜
S410)とに、タスク分割して並列処理が可能となる
ように構成されている。
In the processing modules of S401 to S411, the intermediate page data generation processing task (S401 to S411)
405) and a bitmap image output task (S406-
S410), the task is divided so that parallel processing is possible.

【0096】S501において、前ページの出力ビット
マップ画像のみを対象として画像格納判定処理を行う例
を説明したが、RAM1006内のページバッファメモ
リに保持中のページを順次格納対象として判定し、可能
な限りのページ画像をハードディスク1003に格納で
きるようにしてもよい。このように構成すれば、RAM
1006内のページバッファメモリをさらに有効活用で
きる。
In S501, an example has been described in which the image storage determination processing is performed only on the output bitmap image of the previous page. However, the pages held in the page buffer memory in the RAM 1006 are sequentially determined as storage targets, and possible. As many page images as possible may be stored in the hard disk 1003. With this configuration, the RAM
The page buffer memory in 1006 can be used more effectively.

【0097】また、出力ビットマップ画像はRAM10
06内のページバッファメモリに格納する際に不図示の
圧縮モジュールによって圧縮して格納してもよい。この
場合は、ROM1002内の画像出力モジュールが出力
実行時に、RAM1006内の画像出力メモリにビット
マップ画像を一時格納する際に不図示の伸長モジュール
によって伸長して格納することになる。このように構成
すれば、RAM1006内のページバッファメモリをさ
らに有効活用できる。
The output bitmap image is stored in the RAM 10
When the data is stored in the page buffer memory 06, the data may be compressed and stored by a compression module (not shown). In this case, when the image output module in the ROM 1002 executes the output, when the bitmap image is temporarily stored in the image output memory in the RAM 1006, it is expanded and stored by an expansion module (not shown). With this configuration, the page buffer memory in the RAM 1006 can be more effectively utilized.

【0098】S402の判定処理かRAM1006内の
ページバッファメモリのみを対象とする例を説明した
が、これに限らない。例えば、印刷部1009の紙づま
りや用紙切れなどが発生した場合に、画像スワップ制御
部1013が起動するように構成してもよい。この場
合、S504の出力待機時間は無限大と算出するように
し、S505の画像格納判定処理では画像格納処理が実
行される。
Although the determination processing in S402 or an example in which only the page buffer memory in the RAM 1006 is targeted has been described, the present invention is not limited to this. For example, the configuration may be such that the image swap control unit 1013 is activated when a paper jam or a paper shortage in the printing unit 1009 occurs. In this case, the output standby time in S504 is calculated to be infinite, and the image storage processing is executed in the image storage determination processing in S505.

【0099】次に、図6を参照して印刷ジョブの処理手
順をより詳細に説明する。ここで、画像生成処理部はP
DLデータ等の印刷ジョブをROM1002内のジョブ
解析モジュールで解析し、ROM1002内の画像生成
モジュールによって出力ビットマップ画像を生成する処
理タスクである。画像スワップ制御部1013内の画像
格納判定モジュールと、出力ビットマップ画像格納モジ
ュールと、出力ビットマップ画像読み出しモジュールも
画像生成処理タスクで動作する。また、RAM1006
内のページバッファメモリからハードディスク1003
に画像を格納した後、ページバッファメモリを削除(解
放)する削除モジュールも本タスクで動作する場合もあ
る。
Next, the processing procedure of a print job will be described in more detail with reference to FIG. Here, the image generation processing unit is P
This is a processing task in which a print job such as DL data is analyzed by a job analysis module in the ROM 1002, and an output bitmap image is generated by an image generation module in the ROM 1002. The image storage determination module, the output bitmap image storage module, and the output bitmap image readout module in the image swap control unit 1013 also operate in the image generation processing task. Also, RAM 1006
From the page buffer memory in the hard disk 1003
After the image is stored in the task, the deletion module that deletes (releases) the page buffer memory may also operate in this task.

【0100】画像読み出し処理部は画像スワップ制御部
1013内の出力ビットマップ画像読み出しモジュール
であり、ハードディスク1003に格納された出力ビッ
トマップ画像をRAM1006内のページバッファメモ
リに読み出す処理である。画像出力処理部は、生成され
た出力ビットマップ画像の印刷部1009に出力するR
OM1002内の画像出力モジュールが動作する処理タ
スクである。画像削除処理部は出力が完了した後、RA
M1006内のページバッファメモリに格納されている
出力ビットマップ画像を削除してメモリ解放を行う処理
モジュールである。
The image reading processing unit is an output bitmap image reading module in the image swap control unit 1013, and is a process for reading the output bitmap image stored in the hard disk 1003 into the page buffer memory in the RAM 1006. The image output processing unit outputs R to the printing unit 1009 of the generated output bitmap image.
This is a processing task in which the image output module in the OM 1002 operates. After the output is completed, the image deletion processing unit
This is a processing module that deletes the output bitmap image stored in the page buffer memory in M1006 and releases the memory.

【0101】今、ROM1002内の画像生成処理部が
ページ1、ページ2、ページ3と出力ビットマップ画像
を順次に生成し、RAM1006内のページバッファメ
モリに格納した後、ページバッファメモリ不足が発生し
たとすると、画像スワップ制御部1013の画像格納判
定モジュールが
Now, the image generation processing unit in the ROM 1002 sequentially generates page 1, page 2, page 3 and output bitmap images, and stores them in the page buffer memory in the RAM 1006. Then, the image storage determination module of the image swap control unit 1013

【0102】[0102]

【数5】p3-wt ≧ p3-t1 + p3-t2 か否かを判定する(図6(b),(c)参照)。ただ
し、p3-t1はページ3のHD格納時間であり、p3-t2はペ
ージ3のHD読み出し時間であり、p3-wtはページ3出
力待機時間である。
It is determined whether or not p3-wt ≧ p3-t1 + p3-t2 (see FIGS. 6B and 6C). Here, p3-t1 is the HD storage time of page 3, p3-t2 is the HD read time of page 3, and p3-wt is the page 3 output standby time.

【0103】そして、画像スワップ制御部1013の画
像格納判定モジュールが肯定判定すると、RAM100
6内のページバッファメモリに格納されているページ3
の出力ビットマップ画像を、ハードディスク1003に
待避させ、ページ3のページバッファメモリを解放す
る。
When the image storage determination module of the image swap control unit 1013 makes a positive determination, the RAM 100
Page 3 stored in page buffer memory 6
Is saved on the hard disk 1003, and the page buffer memory of page 3 is released.

【0104】ページ3のページバッファメモリが解放さ
れると、ROM1002内のジョブ解析モジュールおよ
び画像生成モジュールは、ページ4の画像生成処理を開
始し、解放したページバッファメモリにページ4の出力
ビットマップ画像を格納する(図6(b)参照)。
When the page buffer memory of page 3 is released, the job analysis module and the image generation module in the ROM 1002 start the image generation processing of page 4 and store the output bitmap image of page 4 in the released page buffer memory. Is stored (see FIG. 6B).

【0105】ページ4の出力ビットマップ画像がページ
バッファメモリに格納されると、ビットマップ画像出力
モジュールは出力すべきページ3のビットマップ画像が
RAM1006内のページバッファメモリに存在せず、
しかも、ハードディスク1003に保持されているか否
かを判定する。そして、肯定判定した場合は、中間デー
タ読み出しモジュールはハードディスク1003からペ
ージ3の出力ビットマップ画像を読み出し(図6(c)
参照)、RAM1006内のページバッファメモリにリ
ストアする。
When the output bitmap image of page 4 is stored in the page buffer memory, the bitmap image output module determines that the bitmap image of page 3 to be output does not exist in the page buffer memory of RAM 1006,
In addition, it is determined whether or not the data is stored in the hard disk 1003. If the determination is affirmative, the intermediate data reading module reads the output bitmap image of page 3 from the hard disk 1003 (FIG. 6C).
), And restore to the page buffer memory in the RAM 1006.

【0106】その後、ビットマップ画像出力モジュール
はRAM1006内のページバッファメモリからページ
3の出力ビットマップ画像を読み出し、RAM1006
内の画像出力メモリに順次書き込む。ついで、画像出力
メモリからビットマップ画像を読み出し、印刷部インタ
フェース1008を介してエンジンコントローラ105
に出力し、エンジンコントローラ105が、送信された
ビットマップ画像を印刷部1009によって印刷処理を
実行する(図6(d)参照)。そして、エンジンコント
ローラ105ヘビットマップ画像の転送出力が終了し、
その後、印刷処理が正常終了したならば、RAM100
6内のページバッファメモリを解放する。
Thereafter, the bitmap image output module reads the output bitmap image of page 3 from the page buffer memory in the RAM 1006, and
Is sequentially written to the image output memory in the section. Next, the bitmap image is read from the image output memory, and the engine controller 105 is read via the printing unit interface 1008.
, And the engine controller 105 executes printing processing of the transmitted bitmap image by the printing unit 1009 (see FIG. 6D). Then, the transfer output of the bitmap image to the engine controller 105 ends,
After that, if the printing process is normally completed, the RAM 100
Release the page buffer memory in 6.

【0107】そして、印刷ジョブの出力が完了したなら
ば、画像スワップ制御部1013内の出力ビットマップ
削除モジュールはハードディスク1003内の出力ビッ
トマップ画像データを削除し、その後、印刷ジョブの処
理を終了する(図6(e)参照)。
When the output of the print job is completed, the output bitmap deletion module in the image swap control unit 1013 deletes the output bitmap image data in the hard disk 1003, and thereafter ends the print job processing. (See FIG. 6E).

【0108】ページ4の出力ビットマップ画像が生成さ
れた後、再び、ページバッファメモリ不足が発生したと
すると、画像格納判定モジュールは
If the page buffer memory shortage occurs again after the output bitmap image of page 4 is generated, the image storage determination module

【0109】[0109]

【数6】p4-wt ≧ p4-t1 + p4-t2 か否かを判定する。ただし、p4-t1はページ4のHD格
納時間であり、p4-t2はページ4のHD読み出し時間で
あり、p4-wtはページ4の出力待機時間である。
It is determined whether or not p4-wt ≧ p4-t1 + p4-t2. Here, p4-t1 is the HD storage time of page 4, p4-t2 is the HD read time of page 4, and p4-wt is the output standby time of page 4.

【0110】画像格納判定モジュールが肯定判定する
と、RAM1006内のページバッファメモリに格納さ
れているページ4の出力ビットマップ画像を、ハードデ
ィスク1003に待避させ、ページ4のページバッファ
メモリを解放する。
When the image storage determination module makes a positive determination, the output bitmap image of page 4 stored in the page buffer memory in the RAM 1006 is saved on the hard disk 1003, and the page buffer memory of page 4 is released.

【0111】そして、ページ4のページバッファメモリ
が解放されると、ROM1002内のジョブ解析モジュ
ールおよび画像生成モジュールは、ページ5の画像生成
処理を開始し、解放されたページバッファメモリにペー
ジ5の出力ビットマップ画像を格納する。
When the page buffer memory of the page 4 is released, the job analysis module and the image generation module in the ROM 1002 start the image generation processing of the page 5, and output the page 5 to the released page buffer memory. Stores a bitmap image.

【0112】その後のページ4の出力ビットマップ画像
の処理手順は、ページ3の出力ビットマップ画像の場合
と本質的に同様であるので、説明は省略する。
The subsequent processing procedure for the output bitmap image of page 4 is essentially the same as that for the output bitmap image of page 3, and a description thereof will be omitted.

【0113】印刷装置の印刷スピード(ppm)情報か
ら算出される1ページあたりの出力時間間隔をsとし、
印刷ジョブの全てのページにおいて、
The output time interval per page calculated from the printing speed (ppm) information of the printing apparatus is s,
On every page of the print job,

【0114】[0114]

【数7】1ページの画像生成時間 < s ならば、画像出力は印刷部1009の最大スピードで行
われる。
## EQU7 ## If the image generation time for one page is <s, the image output is performed at the maximum speed of the printing unit 1009.

【0115】このように、ページバッファメモリが直ち
に再利用可能になるので、ページバッファメモリ不足が
発生しても画像生成処理タスクが待機状態になることを
防止できる。また、画像生成処理部の待機時間が無くな
るため、出力処理に影響されることなく画像生成処理を
実行できるようになる。
As described above, since the page buffer memory can be reused immediately, it is possible to prevent the image generation processing task from being in a standby state even if the page buffer memory shortage occurs. Further, since the standby time of the image generation processing unit is eliminated, the image generation processing can be performed without being affected by the output processing.

【0116】上述したメモリ不足が発生すると、従来の
画像生成処理部によれば、図6(a)に示すように、ペ
ージ1の画像出力処理が完了して、ページバッファメモ
リが解放されるまで、印刷ジョブの解析生成処理の待機
状態がtl時間続くことになる。また、ページ4が生成
されると、同様にページ2の画像出力処理が完了するま
で、t2時間の待機状態が発生することになる。
When the memory shortage described above occurs, according to the conventional image generation processing unit, as shown in FIG. 6A, until the image output processing of page 1 is completed and the page buffer memory is released. Thus, the standby state of the print job analysis and generation processing lasts for tl time. When the page 4 is generated, a standby state for a time t2 occurs until the image output processing of the page 2 is completed.

【0117】次に、本実施の形態における処理手順と従
来の処理手順との相違点を明確にするため、従来の処理
手順を図7を参照して説明する。ここで、従来の画像生
成処理部はPDLデータ等の印刷ジョブをジョブ解析モ
ジュールで解祈し、画像生成モジュールによって出力ビ
ットマップ画像を生成する処理タスクである。従来の画
像出力処理部は、生成された出力ビットマップ画像の印
刷部1009に出力する画像出力モジュールが動作する
処理タスクである。従来の画像削除処理部は、出力が完
了した後、ページバッファメモリに格納されている出力
ビットマップ画像を削除してメモリ解放を行う処理モジ
ュールである。
Next, the conventional processing procedure will be described with reference to FIG. 7 in order to clarify the difference between the processing procedure in the present embodiment and the conventional processing procedure. Here, the conventional image generation processing unit is a processing task of praying a print job such as PDL data by a job analysis module and generating an output bitmap image by the image generation module. The conventional image output processing unit is a processing task in which an image output module that outputs the generated output bitmap image to the printing unit 1009 operates. The conventional image deletion processing unit is a processing module that deletes the output bitmap image stored in the page buffer memory and releases the memory after the output is completed.

【0118】今、上述したのと同様にして、ページ1、
2、3と順次出力ビットマップ画像を生成し、RAM1
006等のページバッファメモリに格納するが、ページ
3まで格納した後、ページバッファメモリ不足が発生し
たとする。メモリ不足が発生すると、ページ1の画像出
力処理が完了して、ページバッファメモリが解放される
まで、印刷ジョブの解析生成処理の待機状態がtl時間
続くことになる。
Now, in the same manner as described above, page 1,
Output bitmap images are sequentially generated as 2, 3, and
Storing in the page buffer memory such as 006, it is assumed that the page buffer memory shortage occurs after the page 3 is stored. When a memory shortage occurs, the standby state of the analysis and generation processing of the print job continues for tl time until the image output processing of page 1 is completed and the page buffer memory is released.

【0119】そして、tl時間が経過した後、ページ1
が出力完了すると、ページ4の画像生成処理が再開さ
れ、解放されたページバッファメモリにページ4の画像
が格納される。ページ4が生成されると、同様にページ
2の画像出力処理が完了するまで、t2時間の待機状態
が発生し、ページ4が出力完了し、ページバッファメモ
リが解放された後、ページ5の画像生成処理が再開さ
れ、解放されたページバッファメモリにページ5の画像
が格納される。
Then, after the elapse of the tl time, the page 1
Is completed, the image generation processing of page 4 is restarted, and the image of page 4 is stored in the released page buffer memory. When the page 4 is generated, a waiting state for a time t2 occurs similarly until the image output processing of the page 2 is completed. After the output of the page 4 is completed and the page buffer memory is released, the image of the page 5 is generated. The generation process is restarted, and the image of page 5 is stored in the released page buffer memory.

【0120】このように、ページバッファメモリをペー
ジ単位のリングバッファとして使用して画像生成処理を
実行しているが、ページバッファメモリ不足が発生する
と、画像生成処理タスクが待機状態になってしまう。ま
た、
As described above, the image generation processing is executed by using the page buffer memory as a ring buffer for each page. However, if the page buffer memory becomes insufficient, the image generation processing task will be in a standby state. Also,

【0121】[0121]

【数8】画像生成時間 > 各ページの出力間隔時間 となると、印刷部1009の印刷処理自体のパフォーマ
ンスが劣化していた。
[Formula 8] When the image generation time> the output interval time of each page, the performance of the print processing itself of the printing unit 1009 has deteriorated.

【0122】以上、本実施の形態では、本発明をレーザ
ビームプリンタに適用した例を説明したが、本発明の機
能が実行されるのであれば、単体の機器であっても、複
数の機器からなるシステムであっても、LAN等のネッ
トワークを介して処理が行われるシステムであっても本
発明を適用できることは言うまでもない。
As described above, in the present embodiment, an example in which the present invention is applied to a laser beam printer has been described. However, as long as the functions of the present invention are executed, even if a single device is used, a plurality of devices can be used. It is needless to say that the present invention can be applied to a system in which processing is performed via a network such as a LAN or the like.

【0123】また、システムまたは装置にプログラムを
供給することによって実施される場合にも適用できるこ
とは言うまでもない。この場合、本発明に係るプログラ
ムを格納した記憶媒体が、本発明を構成することにな
る。そして、この記憶媒体からそのプログラムをシステ
ムまたは装置に読み出すことによって、そのシステムま
たは装置が特定の態様で機能する。
Needless to say, the present invention can be applied to a case where the present invention is implemented by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to the system or the device, the system or the device functions in a specific mode.

【0124】<第2の実施の形態>本実施の形態は第1
の実施の形態との比較でいえば、処理手順が異なる。
<Second Embodiment> The present embodiment relates to the first embodiment.
The processing procedure is different in comparison with the third embodiment.

【0125】図8は本実施の形態において図3に示すR
OM1002のプログラムROMにストアされる画像生
成処理プログラムの一例を示すフローチャートである。
パーソナルコンピュータ300から印刷指示があると、
生成された印刷ジョブはプリントサーバ301とLAN
インタフェースカード304との通信制御を実行し、入
力部1012に入力し、RAM1006の受信バッファ
に一時的に格納する(S801)。格納された印刷ジョ
ブ(印刷位置を示す制御コードや文字コード等が記載さ
れたPDLデータ)をROM1002内のジョブ解析モ
ジュールにより読み出し、印刷ジョブのジョブ解析(P
DL解釈)を実行し、ROM1002内の画像生成モジ
ュールによりビットマップ画像を生成し、RAM100
6内のページバッファメモリに出力ビットマップページ
データとして格納する(S802)。
FIG. 8 shows an embodiment of the present invention in which R shown in FIG.
9 is a flowchart illustrating an example of an image generation processing program stored in a program ROM of the OM 1002.
When there is a print instruction from the personal computer 300,
The generated print job is transmitted from the print server 301 to the LAN.
The communication control with the interface card 304 is executed, input to the input unit 1012, and temporarily stored in the reception buffer of the RAM 1006 (S801). The stored print job (PDL data in which a control code or a character code indicating a print position is described) is read by a job analysis module in the ROM 1002, and the job analysis (P
DL interpretation), a bitmap image is generated by an image generation module in the ROM 1002, and the RAM 100
6 is stored as output bitmap page data in the page buffer memory (S802).

【0126】ジョブ解析モジュールは制御コード等で指
定された印刷位置に対応させた後、画像生成モジュール
がRNM1006内のページバッファメモリに出力ビッ
トマップページデータとして格納するが、印刷データ中
の改ページ命令などのページ終了制御コードを検出する
まで同一ページの中間データとしてページ単位に格納す
る。
The job analysis module stores the output bitmap page data in the page buffer memory in the RNM 1006 after making the job analysis module correspond to the print position specified by the control code or the like. Until a page end control code such as is detected, the data is stored in page units as intermediate data of the same page.

【0127】入力された1ページ分の解析処理を終了し
出力ビットマップ画像がページバッファメモリに格納さ
れると(S803)、画像スワップ制御部1013の画
像格納判定モジュールが、RAM1006内のページバ
ッファメモリ内に生成された出力ビットマップ画像のデ
ータ容量を取得し(S804)、取得したデータ容量か
ら、ビットマップ画像をハードディスク1003に格納
する場合の格納時間を算出する(S805)。
When the analysis processing for the input one page is completed and the output bitmap image is stored in the page buffer memory (S803), the image storage determination module of the image swap control unit 1013 operates the page buffer memory in the RAM 1006. The data capacity of the output bitmap image generated in the storage device is acquired (S804), and the storage time for storing the bitmap image in the hard disk 1003 is calculated from the acquired data capacity (S805).

【0128】さらに、取得したデータ容量から、ビット
マップ画像をハードディスク1003から読み出す場合
の読み出し時間を算出する(S806)。この読み出し
時間算出は
Further, a read time for reading a bitmap image from the hard disk 1003 is calculated from the obtained data capacity (S806). This read time calculation

【0129】[0129]

【数9】(画像データ容量/1MByte)×(基準書き込
み時間)=HD格納時間 (画像データ容量/1MByte)×(基準読み出し時間)
=HD読み出し時間 等の式で算出できる。
(Image data capacity / 1 MByte) × (Reference writing time) = HD storage time (Image data capacity / 1 MByte) × (Reference reading time)
= HD readout time.

【0130】画像スワップ制御部1013の画像格納判
定モジュールは、生成されたページが、ROM1002
内の画像出力モジュールによってエンジンコントローラ
105へ転送されるまでの画像出力待機時間を算出する
(S807)。この画像出力待機時間の算出は、RAM
1006内のページバッファメモリに保持中の当該ペー
ジより先立って出力すべき総ページ数と、印刷部100
9が記録紙Sを出力可能な最大印刷スピード(ppm)
とによって求めることができる。
The image storage determination module of the image swap control unit 1013 stores the generated page in the ROM 1002
An image output standby time until the image output module is transferred to the engine controller 105 is calculated (S807). The calculation of the image output standby time is performed in the RAM
The total number of pages to be output prior to the page being held in the page buffer memory in 1006 and the printing unit 100
9 is the maximum printing speed at which the recording paper S can be output (ppm)
And can be determined by:

【0131】これら2つの情報から、From these two pieces of information,

【0132】[0132]

【数10】(出力予定のページ数)×(1ページ当たり
の出力時間)=出力待機時間 等の式で生成された出力ビットマップ画像が印刷部10
09によって実際に印刷されるまでの待機時間を算出す
る。
The output bitmap image generated by the equation (number of pages to be output) × (output time per page) = output standby time is printed by the printing unit 10.
In step 09, a standby time until printing is actually performed is calculated.

【0133】このようにして得られた3つの時間から、
画像スワップ制御部1013内の画像格納判定モジュー
ルがRAM1006内のページバッファメモリ内に生成
した出力ビットマップ画像ページをハードディスク10
03に格納するかいなかを判断する(S808)。
From the three times thus obtained,
The output bitmap image page generated by the image storage determination module in the image swap control unit 1013 in the page buffer memory in the RAM 1006 is stored in the hard disk 10.
03 is determined (S808).

【0134】[0134]

【数11】出力待機時間 ≧ HD格納時間 + HD
読み出し時間 であれば(S808)、ハードディスク1003に格納
すべきと判断し、画像スワップ制御部1013内の中間
データ格納モジュールによって出力ビットマップ画像を
ハードディスク1013に格納する(S809)。
[Equation 11] Output standby time ≧ HD storage time + HD
If it is the read time (S808), it is determined that the output bitmap image should be stored in the hard disk 1003, and the output bitmap image is stored in the hard disk 1013 by the intermediate data storage module in the image swap control unit 1013 (S809).

【0135】格納完了後、画像スワップ制御部1013
が、出力ビットマップを格納していたRAM1006内
のページバッファメモリを解放する(S810)。
After storage is completed, the image swap control unit 1013
Releases the page buffer memory in the RAM 1006 that has stored the output bitmap (S810).

【0136】ここで、RAM1006のページバッファ
メモリを解放することにより、印刷部1009での印刷
処理の完了を待たずに、後続の印刷ジョブの解析処理を
再開できる。他方、
Here, by releasing the page buffer memory of the RAM 1006, the analysis process of the subsequent print job can be resumed without waiting for the completion of the printing process in the printing unit 1009. On the other hand,

【0137】[0137]

【数12】出力待機時間 < HD格納時間 + HD
読み出し時間 であれば(S808)、ハードディスク1003への格
納処理を実施すると、エンジンコントローラ105への
出力実行処理(S408)の開始時間が遅くなり、パフ
ォーマンスが劣化することになるので、ハードディスク
への格納は行わない。この場合、ページバッファメモリ
に保持中のページ画像の出力処理が実行されるまで、後
続の印刷ジョブの解析処理の実行が待機状態となる。
[Expression 12] Output standby time <HD storage time + HD
If the time is the read time (S808), execution of the process of storing the data in the hard disk 1003 will delay the start time of the process of executing the output to the engine controller 105 (S408), deteriorating the performance. Is not performed. In this case, the execution of the analysis processing of the subsequent print job is in a standby state until the output processing of the page image held in the page buffer memory is executed.

【0138】このようにして、1ページの出力処理が完
了すると、印刷ジョブが終了するまで、S801〜S8
11を繰り返す。
When the output processing of one page is completed in this manner, steps S801 to S8 are performed until the print job is completed.
Repeat step 11.

【0139】図9は本実施の形態において図3に示すR
OM1002のプログラムROMにストアされる画像出
力処理プログラムの一例を示すフローチャートである。
ROM1002内の画像生成モジュールは、画像生成処
理タスクによって1ページ分の出力すべき出力ビットマ
ップ画像がRAM1006内のページバッファメモリ
か、ハードディスク1003内の中間ページ画像格納領
域への格納が完了したと判断すると(S901)、RO
M1002内のビットマップ画像出力モジュールは、出
力すべきビットマップ画像がRAM1006内のページ
バッファメモリに存在せず、ハードディスク1003に
保持されているか判断する(S902)。そして、肯定
判定したならば、画像スワップ制御部1013内の中間
データ読み出しモジュールにより、ハードディスク10
03内に格納された出力ビットマップ画像を読み出し、
RAM1006内のページバッファメモリに再格納する
(S903)。
FIG. 9 shows an embodiment of the present invention in which R shown in FIG.
11 is a flowchart illustrating an example of an image output processing program stored in a program ROM of the OM 1002.
The image generation module in the ROM 1002 determines that the output bitmap image for one page to be output has been completely stored in the page buffer memory in the RAM 1006 or the intermediate page image storage area in the hard disk 1003 by the image generation processing task. Then (S901), RO
The bitmap image output module in M1002 determines whether the bitmap image to be output does not exist in the page buffer memory in the RAM 1006 and is stored in the hard disk 1003 (S902). If the determination is affirmative, the intermediate data reading module in the image swap control unit 1013 causes the hard disk 10
Read out the output bitmap image stored in 03,
The data is stored again in the page buffer memory in the RAM 1006 (S903).

【0140】このようにして、RAM1006内のペー
ジバッファメモリに出力ビットマップ画像が保持される
と、ROM1002内のビットマップ画像出力モジュー
ルは、RAM1006内のページバッファメモリから出
力ビットマップ画像を読み出し、RAM1006内の画
像出力メモリに順次ビットマップ画像を書き込み、画像
出力メモリから印刷部インタフェース1008を介して
エンジンコントローラ105にビットマップ画像を出力
し出力処理を終了する(S904)。エンジンコントロ
ーラ105は送信されたビットマップ画像を印刷部10
09によって印刷処理を実行する。
As described above, when the output bitmap image is held in the page buffer memory in the RAM 1006, the bitmap image output module in the ROM 1002 reads the output bitmap image from the page buffer memory in the RAM 1006, and Then, the bitmap image is sequentially written to the image output memory, and the bitmap image is output from the image output memory to the engine controller 105 via the printing unit interface 1008, and the output process ends (S904). The engine controller 105 transmits the transmitted bitmap image to the printing unit 10.
09 to execute the printing process.

【0141】エンジンコントローラ105ヘビットマッ
プ画像の転送出力が終了したならば、印刷部インタフェ
ース1008を介して得られるエンジンコントローラ1
05の処理状況、もしくはオプションインタフェース1
010を介して得られるオプションコントローラ106
処理状況、すなわち、紙づまりやミスプリントなどの発
生せず正常に記録紙Sが印刷されたか否かを判断し、正
常に印刷処理が終了したならば、RAM1006内のペ
ージバッファメモリを解放する(S905)。
When the transfer output of the bitmap image to the engine controller 105 is completed, the engine controller 1 obtained via the printing unit interface 1008
05 processing status or optional interface 1
Option controller 106 obtained via 010
The processing status, that is, whether or not the recording paper S has been printed normally without occurrence of a paper jam or misprinting is determined, and when the printing processing is normally completed, the page buffer memory in the RAM 1006 is released ( S905).

【0142】このようにして、1ページの出力処理が完
了すると、出力すべきビットマップ画像がなくなるま
で、S901〜S906を繰り返す。
When the output processing for one page is completed, steps S901 to S906 are repeated until there is no more bitmap image to be output.

【0143】印刷ジョブの出力が完了したならば(S9
06)、画像スワップ制御部1013内の出力ビットマ
ップ削除モジュールによって、ハードディスク1003
に格納されている出力ビットマップ画像データを削除し
印刷ジョブの処理を終了する(S907)。
If the output of the print job is completed (S9
06), the output bitmap deletion module in the image swap control unit 1013 causes the hard disk 1003
Is deleted, and the processing of the print job is terminated (S907).

【0144】上述した画像生成処理タスクと画像出力処
理タスクはタスク分割されており、同期を取りながら並
列処理が可能となるように構成されている。
The above-described image generation processing task and image output processing task are divided into tasks, and are configured so that parallel processing can be performed while maintaining synchronization.

【0145】また、出力ビットマップ画像はRAM10
06内のページバッファメモリに格納する際に、不図示
の圧縮モジュールによって圧縮して格納してもよい。こ
の場合は、ROM1002内の画像出力モジュールが出
力実行時に、RAM1006内の画像出力メモリにビッ
トマップ画像を一次格納する際に不図示の伸長モジュー
ルによって伸長して格納することになる。このように構
成すれば、RAM1006内のページバッファメモリを
さらに有効活用できる。
The output bitmap image is stored in the RAM 10
When the data is stored in the page buffer memory 06, the data may be compressed and stored by a compression module (not shown). In this case, when the image output module in the ROM 1002 executes the output, when the bitmap image is temporarily stored in the image output memory in the RAM 1006, it is expanded and stored by an expansion module (not shown). With this configuration, the page buffer memory in the RAM 1006 can be more effectively utilized.

【0146】また、S808の画像格納判定処理におい
て、例えば、印刷部1009の紙づまりや用紙切れなど
が発生した場合には、画像出力処理タスクは停止状態に
あり、そのような場合には、S807の出力待機時間は
無限大と算出するようにし、S808の画像格納判定処
理では必ず画像格納処理が実行されるように構成され
る。
In the image storage determination processing in S808, for example, if a paper jam or a paper out of the printing unit 1009 occurs, the image output processing task is in a stopped state. Is set to be infinite, and in the image storage determination process of S808, the image storage process is always executed.

【0147】次に、図10を参照して印刷ジョブ処理手
順をより詳細に説明する。ここで、画像生成処理部はP
DLデータ等の印刷ジョブをROM1002内のジョブ
解析モジュールで解析し、ROM1002内の画像生成
モジュールによって出力ビットマップ画像を生成する処
理タスクである。画像スワップ制御部1013内の画像
格納判定モジュール、出力ビットマップ画像格納モジュ
ールは、画像生成処理タスクで動作し、生成された出力
ビットマップ画像をハードディスク1003へ格納もし
くは読み出し処理を行う。また、出力ビットマップ画像
をRAM1006内のページバッファメモリからハード
ディスク1003に画像を格納した後にページバッファ
メモリを削除(解放)する削除モジュールも本タスクで
動作する場合もある。
Next, the print job processing procedure will be described in more detail with reference to FIG. Here, the image generation processing unit is P
This is a processing task in which a print job such as DL data is analyzed by a job analysis module in the ROM 1002, and an output bitmap image is generated by an image generation module in the ROM 1002. The image storage determination module and the output bitmap image storage module in the image swap control unit 1013 operate in the image generation processing task, and store or read out the generated output bitmap image on the hard disk 1003. Further, a deletion module that deletes (releases) the page buffer memory after storing the output bitmap image from the page buffer memory in the RAM 1006 to the hard disk 1003 may also operate in this task.

【0148】画像読み出し処理部は画像スワップ制御部
1013内の出力ビットマップ画像読み出しモジュール
であり、ハードディスク1003に格納された出力ビッ
トマップ画像をRAM1006内のページバッファメモ
リに読み出す処理である。この処理は、画像出力処理部
によって起動され、画像生成処理タスクに優先して読み
出しが実行される。画像出力処理部は、生成された出力
ビットマップ画像の印刷部1009に出力するROM1
002内の画像出力モジュールが動作する処理タスクで
ある。画像削除処理部は出力が完了した後、RAM10
06内のページバッファメモリに格納されている出力ビ
ットマップ画像を削除してメモリ解放を行う処理モジュ
ールである。
The image reading processing unit is an output bitmap image reading module in the image swap control unit 1013, and is a process for reading the output bitmap image stored in the hard disk 1003 into the page buffer memory in the RAM 1006. This processing is started by the image output processing unit, and the reading is executed prior to the image generation processing task. The image output processing unit is a ROM 1 that outputs the generated output bitmap image to the printing unit 1009.
002 is a processing task in which the image output module operates. After the output is completed, the image deletion processing unit
This processing module deletes the output bitmap image stored in the page buffer memory in No. 06 and releases the memory.

【0149】まず、印刷ジョブの先頭ページであるペー
ジ1の出力ビットマップ画像がROM1002内の画像
生成処理部により生成されると、生成された出力ビット
マップ画像はRAM1006内のページバッファメモリ
に格納される。しかし、出力実行のための処理に時間は
かかるが、出力待機時間p1-wtは実質的に存在しないの
で、通常、先頭ページの出力待機時間は、前の印刷ジョ
ブが終了していない場合を除き、ゼロとし、画像格納判
定モジュールで常にハードディスク1003に格納しな
いと判断される。したがって、出力ビットマップ画像の
ハードディスクへの格納は行われない(図10(b),
(d)参照)。
First, when the output bitmap image of page 1 which is the first page of the print job is generated by the image generation processing unit in ROM 1002, the generated output bitmap image is stored in the page buffer memory in RAM 1006. You. However, although it takes time to execute the output, the output waiting time p1-wt does not substantially exist, so the output waiting time of the first page is usually set unless the previous print job has been completed. , And zero, and the image storage determination module determines that the image is not always stored in the hard disk 1003. Therefore, the output bitmap image is not stored in the hard disk (FIG. 10B,
(D)).

【0150】ついで、ページ2の出力ビットマップ画像
が生成されると、生成された出力ビットマップ画像はR
AM1006内のページバッファメモリに格納される。
そして、ROM1002内の画像出力モジュールによっ
てエンジンコントローラ105へ転送されるまでの画像
出力待機時間p2-wtが算出される。そして、この場合、
Next, when an output bitmap image of page 2 is generated, the generated output bitmap image is R
It is stored in the page buffer memory in the AM 1006.
Then, an image output standby time p2-wt until transfer to the engine controller 105 by the image output module in the ROM 1002 is calculated. And in this case,

【0151】[0151]

【数13】出力待機時間 < HD格納時間 + HD
読み出し時間 であるので、ハードディスク1003への格納処理を実
施すると、エンジンコントローラ105への出力実行処
理の開始時間が遅くなり、パフォーマンスが劣化するこ
とになるので、画像スワップ制御部1013内の画像格
納判定モジュールにより、ハードディスク1003に格
納しないと判断される。したがって、出力ビットマップ
画像のハードディスクへの格納は行われない(図10
(b),(d)参照)。
[Expression 13] Output standby time <HD storage time + HD
Therefore, when the storage processing to the hard disk 1003 is performed, the start time of the output execution processing to the engine controller 105 is delayed, and the performance is deteriorated. Therefore, the image storage determination in the image swap control unit 1013 is performed. The module determines that the data is not stored in the hard disk 1003. Therefore, the output bitmap image is not stored in the hard disk (FIG. 10).
(See (b) and (d)).

【0152】ページ3の出力ビットマップ画像が生成さ
れると、画像スワップ制御部1013の画像格納判定モ
ジュールにより、
When the output bitmap image of page 3 is generated, the image storage determination module of the image swap control unit 1013 uses

【0153】[0153]

【数14】p3-wt ≧ p3-t1 + p3-t2 否かが判定される。ただし、p3-wtはページ3の出力待
機時間であり、p3-t1はページ3のHD格納時間であ
り、p3-t2はページ3のHD読み出し時間である。
It is determined whether p3-wt ≧ p3-t1 + p3-t2. Here, p3-wt is the output standby time of page 3, p3-t1 is the HD storage time of page 3, and p3-t2 is the HD read time of page 3.

【0154】この場合、肯定判定され、RAM1006
内のページバッファメモリに格納されたページ3の出力
ビットマップ画像がハードディスク1003に記憶さ
れ、ページ3のページバッファメモリが解放されること
になる。
In this case, an affirmative decision is made and the RAM 1006
The output bitmap image of page 3 stored in the page buffer memory is stored in the hard disk 1003, and the page buffer memory of page 3 is released.

【0155】ページ3のページバッファメモリが解放さ
れると、ROM1002内のジョブ解析モジュールおよ
び画像生成モジュールによって後続の画像生成処理のた
めに再利用される。
When the page buffer memory of page 3 is released, it is reused by the job analysis module and the image generation module in the ROM 1002 for the subsequent image generation processing.

【0156】その後、ページ4の出力ビットマップ画像
が生成されると、画像格納判定モジュールが起動され、
Thereafter, when an output bitmap image of page 4 is generated, the image storage determination module is activated, and

【0157】[0157]

【数15】p4-wt ≧ p4-t1 + p4-t2 か否かが判定される。ただし、p4-t1はページ4のHD
格納時間であり、p4-t2はページ4のHD読み出し時間
であり、p4-wtはページ4の出力待機時間である。
It is determined whether or not p4-wt ≧ p4-t1 + p4-t2. However, p4-t1 is the HD of page 4
The storage time, p4-t2 is the HD read time of page 4, and p4-wt is the output standby time of page 4.

【0158】この場合も、肯定判定され、RAM100
6内のページバッファメモリに格納されたページ4の出
力ビットマップ画像がハードディスク1003に記憶さ
れ、ページ4のページバッファメモリが解放される。解
放されたページバッファメモリは後続の画像生成処理部
で再利用される。
In this case as well, an affirmative decision is made and the RAM 100
The output bitmap image of page 4 stored in the page buffer memory of No. 6 is stored in the hard disk 1003, and the page buffer memory of page 4 is released. The released page buffer memory is reused in the subsequent image generation processing unit.

【0159】次に、本実施の形態における処理手順と従
来の処理手順との相違点を明確にするため、従来の処理
手順を図11を参照して説明する。従来の画像生成処理
部は、PDLデータ等の印刷ジョブをジョブ解析モジュ
ールで解析し、画像生成モジュールによって出力ビット
マップ画像を生成した後、ハードディスクに格納する処
理タスクである。従来の画像出力処理部は、ハードディ
スク1003に格納された出力ビットマップ画像を読み
出して、印刷部1009に出力する画像出力モジュール
が動作する処理タスクである。従来の画像削除処理部
は、出力が完了した後、ハードディスク1003内のペ
ージ格納領域に格納されている出力ビットマップ画像を
削除する処理モジュールである。
Next, a conventional processing procedure will be described with reference to FIG. 11 in order to clarify the difference between the processing procedure in the present embodiment and the conventional processing procedure. The conventional image generation processing unit is a processing task of analyzing a print job such as PDL data by a job analysis module, generating an output bitmap image by the image generation module, and storing the output bitmap image on a hard disk. The conventional image output processing unit is a processing task in which an image output module that reads an output bitmap image stored in the hard disk 1003 and outputs the read output bitmap image to the printing unit 1009 operates. The conventional image deletion processing unit is a processing module that deletes the output bitmap image stored in the page storage area in the hard disk 1003 after the output is completed.

【0160】ページ1、2、3、4の出力ビットマップ
画像が、従来の画像生成処理部により、順次、RAM1
006のワークメモリ等に生成され、ハードディスク1
003のページ格納領域に格納される。ハードディスク
1003に格納された出力ビットマップ画像は、従来の
画像出力処理部により、順次、読み出され、印刷部10
09に出力され、印刷処理が実行される。そして、正常
に印刷処理が終了したならば、ハードディスク1003
に格納された出力ビットマップ画像が、画像削除処理モ
ジュールにより削除される。
Output bitmap images of pages 1, 2, 3, and 4 are sequentially stored in RAM 1 by a conventional image generation processing unit.
006 generated in the work memory, etc.
003 is stored in the page storage area. The output bitmap image stored in the hard disk 1003 is sequentially read out by the conventional image output processing unit, and
09 and print processing is executed. When the printing process is completed normally, the hard disk 1003
Are deleted by the image deletion processing module.

【0161】このように、画像生成処理および画像出力
処理において、出力ビットマップ画像をハードディスク
1003へ格納し、読み出しを逐次処理で実行するた
め、処理時間が増大し、その結果、
As described above, in the image generation processing and the image output processing, the output bitmap image is stored in the hard disk 1003, and the reading is executed by the sequential processing, so that the processing time is increased.

【0162】[0162]

【数16】画像生成時間 > 各ページの出力間隔時間 となる場合が増大してしまい、印刷部1009の印刷処
理自体のパフォーマンスが劣化していた。
## EQU16 ## The case where the image generation time> the output interval time of each page increases, and the performance of the printing process itself of the printing unit 1009 has deteriorated.

【0163】以上、本実施の形態では、出力処理時間に
影響を与えないように、RAMより低速な2次記憶装置
の問題点を補いつつ、ページバッファメモリを直ちに再
利用可能とすることにより、印刷ジョブの全てのページ
の画像生成処理および出力処理に対して2次記憶メモリ
利用時のパフォーマンスの劣化を避けることができるだ
けでなく、RAM1006を有効活用できるので、画像
生成処理タスクを最大限に動作させることが可能とな
る。
As described above, in this embodiment, the page buffer memory can be immediately reused while compensating for the problem of the secondary storage device which is slower than the RAM so as not to affect the output processing time. The image generation processing and output processing of all pages of the print job can be prevented from deteriorating in performance when the secondary storage memory is used, and the RAM 1006 can be effectively used, so that the image generation processing task can be operated to the maximum. It is possible to do.

【0164】[0164]

【発明の効果】以上説明したように、本発明によれば、
上記のように構成したので、印刷ジョブデータの処理効
率をより向上させることができる。
As described above, according to the present invention,
With the configuration described above, the processing efficiency of print job data can be further improved.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】図1に示すレーザビームプリンタ102の構造
を示す断面図である。
FIG. 2 is a sectional view showing the structure of the laser beam printer 102 shown in FIG.

【図3】図1に示すビデオコントローラ103の構成の
一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a configuration of a video controller 103 shown in FIG.

【図4】第1の実施の形態において図3のROM100
2のプログラムROMにストアされる制御プログラムの
一例を示すフローチャートである。
FIG. 4 shows the ROM 100 of FIG. 3 in the first embodiment;
9 is a flowchart illustrating an example of a control program stored in a second program ROM.

【図5】図3の画像スワップ制御部1013による処理
手順の一例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a processing procedure by an image swap control unit in FIG.

【図6】本発明の第1の実施の形態における各処理タイ
ミングを示すタイミングチャートである。
FIG. 6 is a timing chart showing each processing timing according to the first embodiment of the present invention.

【図7】従来例の各処理タイミングを示すタイミングチ
ャートである。
FIG. 7 is a timing chart showing each processing timing of a conventional example.

【図8】第2の実施の形態において図3のROM100
2のプログラムROMにストアされる制御プログラムの
一例を示すフローチャートである。
FIG. 8 shows the ROM 100 of FIG. 3 in the second embodiment.
9 is a flowchart illustrating an example of a control program stored in a second program ROM.

【図9】画像出力処理タスクの動作を示すフローチャー
トである。
FIG. 9 is a flowchart illustrating an operation of an image output processing task.

【図10】第2の実施の形態における各処理タイミング
を示すタイミングチャートである。
FIG. 10 is a timing chart showing each processing timing in the second embodiment.

【図11】従来例の各処理タイミングを示すタイミング
チャートである。
FIG. 11 is a timing chart showing each processing timing of a conventional example.

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

l02 プリンタ 103 ビデオコントローラ 104 操作部 105 エンジンコントローラ l06 オプションコントローラ 107 給紙オプションユニット 108 排紙オプションユニット 300 パーソナルコンピュータ 301 プリントサーバ 302 LAN 303 パーソナルコンピュータ 304 LANインタフェースカード 1001 CPU 1002 ROM 1003 ハードディスク 1004 システムバス 1005 NVRAM 1006 RAM 1008 印刷部インタフェース 1009 印刷部 1010 オプションインタフェース 1011 排紙ユニット部 1013 画像スワップ制御部 102 printer 103 video controller 104 operation unit 105 engine controller 106 option controller 107 paper feed option unit 108 paper ejection option unit 300 personal computer 301 print server 302 LAN 303 personal computer 304 LAN interface card 1001 CPU 1002 ROM 1003 hard disk 1004 system bus 1005 NVRAM 1006 RAM 1008 printing unit interface 1009 printing unit 1010 option interface 1011 paper discharge unit unit 1013 image swap control unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C087 AB05 AC08 BC02 BC05 BC06 BC14 BD41 5B021 AA01 BB01 BB04 CC02 DD09 DD10 9A001 BB03 BB04 BB06 CC02 CZ08 DZ15 JJ27 JJ35 KK42  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C087 AB05 AC08 BC02 BC05 BC06 BC14 BD41 5B021 AA01 BB01 BB04 CC02 DD09 DD10 9A001 BB03 BB04 BB06 CC02 CZ08 DZ15 JJ27 JJ35 KK42

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 受信された印刷ジョブをストアするため
の受信バッファと、該受信バッファの画像データから出
力画像データを生成する生成手段と、該生成手段により
生成された出力画像データをストアするためのページバ
ッファメモリであって複数ページ分の出力画像データを
ストア可能なページバッファメモリとを有する画像出力
システムにおいて、 2次記憶装置と、 前記ページバッファメモリにメモリ不足が発生したか否
かを判定するメモリ不足判定手段と、 該メモリ不足判定手段により肯定判定された場合に、画
像出力待機時間内で、前記ページバッファメモリの出力
画像データを前記2次記憶装置に待避させ、しかも、該
2次記憶装置に待避させた出力画像データを前記ページ
バッファメモリにリストア可能か否かを判定する判定手
段と、 該判定手段により肯定判定された場合に、前記ページバ
ッファメモリに保持されている出力画像データを前記2
次記憶装置に待避させる待避手段と、 該待避手段による待避が終了して前記ページバッファメ
モリが解放された場合に、前記生成手段を制御して出力
画像データを生成させ前記ページバッファメモリにスト
アさせる制御手段と、 該制御手段による制御により前記ページバッファメモリ
への出力画像データのストアが完了した場合に、前記2
次記憶装置に待避させてある出力画像データを前記ペー
ジバッファメモリにリストアするリストア手段とを備え
たことを特徴とする画像出力システム。
1. A receiving buffer for storing a received print job, generating means for generating output image data from image data in the receiving buffer, and storing output image data generated by the generating means. An image output system having a page buffer memory capable of storing output image data for a plurality of pages, the secondary storage device; and determining whether a memory shortage has occurred in the page buffer memory. A memory shortage determination unit that performs an affirmative determination by the memory shortage determination unit to save the output image data of the page buffer memory to the secondary storage device within an image output standby time; Judgment to judge whether output image data saved in a storage device can be restored in the page buffer memory Means for outputting the output image data held in the page buffer memory when the determination means makes a positive determination.
Evacuation means for evacuation in the next storage device; and when the evacuation by the evacuation means is completed and the page buffer memory is released, the generation means is controlled to generate output image data and store it in the page buffer memory. Control means, and when the storage of the output image data in the page buffer memory is completed by the control of the control means,
A restoring means for restoring output image data saved in the next storage device to the page buffer memory.
【請求項2】 請求項1において、前記判定手段は、 前記ページバッファメモリから前記2次記憶装置へ待避
させる出力画像データの容量を取得する取得手段と、 該取得手段により取得された容量の出力画像データを前
記2次記憶装置に書き込み、該2次記憶装置から読み出
すのに要する時間を算出する書込読出時間算出手段と、 画像出力待機時間を算出する画像出力待機時間算出手段
とを有し、 前記書込読出時間算出手段により算出された書込読出時
間が、画像出力待機時間算出手段により算出された画像
出力待機時間より小さい場合に、当該ページの出力画像
データを前記2次記憶装置に書き込み該2次記憶装置か
ら読み出すことが可能と判定することを特徴とする画像
出力システム。
2. The image processing device according to claim 1, wherein the determining unit obtains a capacity of the output image data to be saved from the page buffer memory to the secondary storage device, and outputs the capacity obtained by the obtaining unit. A write / read time calculating unit for calculating a time required for writing image data to the secondary storage device and reading the image data from the secondary storage device; and an image output standby time calculating unit for calculating an image output standby time. When the write / read time calculated by the write / read time calculation means is smaller than the image output standby time calculated by the image output standby time calculation means, the output image data of the page is stored in the secondary storage device. An image output system, which determines that writing is possible from the secondary storage device.
【請求項3】 請求項1において、印刷ジョブの出力が
完了した場合に前記2次記憶装置の出力画像データを削
除する削除手段をさらに備えたことを特徴とする画像出
力システム。
3. The image output system according to claim 1, further comprising a deletion unit that deletes the output image data of the secondary storage device when the output of the print job is completed.
【請求項4】 受信された印刷ジョブをストアするため
の受信バッファと、該受信バッファの画像データから出
力画像データを生成する出力画像データ生成手段と、該
出力画像データ生成手段によって生成された出力画像デ
ータをストアするためのページバッファメモリであって
複数ページ分の出力画像データをストア可能なページバ
ッファメモリとを有する画像出力システムにおいて、 2次記憶装置と、 画像出力待機時間内に、前記ページバッファメモリの出
力画像データを前記2次記憶装置に待避させ、しかも、
該2次記憶装置に待避させた出力画像データを前記ペー
ジバッファメモリにリストア可能か否かを判定する判定
手段と、 該判定手段により肯定判定された場合に、前記ページバ
ッファメモリに保持されている出力画像データを前記2
次記憶装置に待避させる待避手段と、 該待避手段により出力画像データが待避された場合に、
前記ページバッファメモリを解放する解放手段と、 前記ページバッファメモリまたは前記2次記憶装置への
出力画像データのストアが完了した場合に、次の画像出
力に関係する出力画像データが前記2次記憶装置に存在
するか否かを判定する存否判定手段と、 該存否判定手段により肯定判定された場合に、前記2次
記憶装置に待避させてある出力画像データを前記ページ
バッファメモリにリストアするリストア手段とを備えた
ことを特徴とする画像出力システム。
4. A receiving buffer for storing a received print job, output image data generating means for generating output image data from the image data in the receiving buffer, and an output generated by the output image data generating means. An image output system having a page buffer memory for storing image data and a page buffer memory capable of storing output image data for a plurality of pages, comprising: a secondary storage device; The output image data of the buffer memory is saved in the secondary storage device, and
Determining means for determining whether the output image data saved in the secondary storage device can be restored in the page buffer memory; and when the determination means makes a positive determination, the output image data is held in the page buffer memory. Output image data
Evacuation means for evacuation in the next storage device, and when the output image data is evacuation by the evacuation means,
Releasing means for releasing the page buffer memory; and when output image data is completely stored in the page buffer memory or the secondary storage device, output image data related to the next image output is stored in the secondary storage device. Presence / absence determination means for determining whether or not the output image data is stored in the secondary storage device, and restore means for restoring the output image data saved in the secondary storage device to the page buffer memory when the presence / absence determination means makes an affirmative determination. An image output system comprising:
【請求項5】 請求項4において、前記判定手段は、 前記ページバッファメモリから前記2次記憶装置へ待避
させる出力画像データの容量を取得する取得手段と、 該取得手段により取得された容量の出力画像データを前
記2次記憶装置に書込み、該2次記憶装置から読み出す
のに要する時間を算出する書込読出時間算出手段と、 画像出力待機時間を算出する画像出力待機時間算出手段
とを有し、 前記書込読出時間算出手段により算出された書込読出時
間が、画像出力待機時間算出手段により算出された画像
出力待機時間より小さい場合に、当該ページの出力画像
データを前記2次記憶装置に書き込み該2次記憶装置か
ら読み出すことが可能と判定することを特徴とする画像
出力システム。
5. The image processing device according to claim 4, wherein the determining unit obtains a capacity of the output image data to be saved from the page buffer memory to the secondary storage device, and outputs the capacity obtained by the obtaining unit. A writing / reading time calculating unit for calculating a time required for writing image data to the secondary storage device and reading the image data from the secondary storage device; and an image output standby time calculating unit for calculating an image output standby time. When the write / read time calculated by the write / read time calculation means is smaller than the image output standby time calculated by the image output standby time calculation means, the output image data of the page is stored in the secondary storage device. An image output system, which determines that writing is possible from the secondary storage device.
【請求項6】 請求項4において、印刷ジョブの出力が
完了した場合に前記2次記憶装置の出力画像データを削
除する削除手段をさらに備えたことを特徴とする画像出
力システム。
6. The image output system according to claim 4, further comprising a deletion unit that deletes the output image data of the secondary storage device when the output of the print job is completed.
【請求項7】 受信された印刷ジョブをストアするため
の受信バッファと、該受信バッファの画像データから出
力画像データを生成する生成手段と、該生成手段により
生成された出力画像データをストアするためのページバ
ッファメモリであって複数ページ分の出力画像データを
ストア可能なページバッファメモリとを有する画像出力
システムのデータ転送制御方法において、 前記ページバッファメモリにメモリ不足が発生したか否
かを判定するメモリ不足判定ステップと、 メモリ不足判定ステップにて肯定判定した場合に、画像
出力待機時間内で、前記ページバッファメモリの出力画
像データを前記2次記憶装置に待避させ、しかも、該2
次記憶装置に待避させた出力画像データを前記ページバ
ッファメモリにリストア可能か否かを判定する判定ステ
ップと、 該判定ステップにて肯定判定した場合に、前記ページバ
ッファメモリに保持されている出力画像データを前記2
次記憶装置に待避させる待避ステップと、 待避が終了して前記ページバッファメモリが解放された
場合に、前記生成手段を制御して出力画像データを生成
させ前記ページバッファメモリにストアさせる制御ステ
ップと、 該制御ステップにて前記ページバッファメモリへの出力
画像データのストアが完了した場合に、前記2次記憶装
置に待避させてある出力画像データを前記ページバッフ
ァメモリにリストアするリストアステップとを備えたこ
とを特徴とするデータ転送制御方法。
7. A receiving buffer for storing a received print job, generating means for generating output image data from image data in the receiving buffer, and storing output image data generated by the generating means. A data transfer control method for an image output system having a page buffer memory capable of storing output image data for a plurality of pages, wherein it is determined whether the page buffer memory has run out of memory. When the affirmative determination is made in the memory shortage determination step and the memory shortage determination step, the output image data of the page buffer memory is evacuated to the secondary storage device within the image output standby time.
A determining step of determining whether or not the output image data saved in the next storage device can be restored in the page buffer memory; and an affirmative determination in the determining step, the output image held in the page buffer memory. Data
A saving step for saving to the next storage device; and a controlling step for, when saving and ending the page buffer memory, controlling the generating means to generate output image data and store the output image data in the page buffer memory; A restoring step of restoring the output image data saved in the secondary storage device to the page buffer memory when the storing of the output image data in the page buffer memory is completed in the control step. A data transfer control method.
【請求項8】 請求項7において、前記判定ステップ
は、 前記ページバッファメモリから前記2次記憶装置へ待避
させる出力画像データの容量を取得する取得ステップ
と、 取得した容量の出力画像データを前記2次記憶装置に書
き込み、該2次記憶装置から読み出すのに要する時間を
算出する書込読出時間算出ステップと、 画像出力待機時間を算出する画像出力待機時間算出ステ
ップとを有し、 前記書込読出時間算出ステップにて算出された書込読出
時間が、画像出力待機時間算出ステップにて算出された
画像出力待機時間より小さい場合に、当該ページの出力
画像データを前記2次記憶装置に書き込み該2次記憶装
置から読み出すことが可能と判定することを特徴とする
データ転送制御方法。
8. The method according to claim 7, wherein the determining step includes: obtaining an amount of output image data to be saved from the page buffer memory to the secondary storage device; A write / read time calculating step for calculating a time required for writing to the secondary storage device and reading from the secondary storage device; and an image output standby time calculating step for calculating an image output standby time. If the write / read time calculated in the time calculation step is smaller than the image output standby time calculated in the image output standby time calculation step, the output image data of the page is written to the secondary storage device. A data transfer control method comprising determining that data can be read from a next storage device.
【請求項9】 請求項7において、印刷ジョブの出力が
完了した場合に前記2次記憶装置の出力画像データを削
除する削除ステップをさらに備えたことを特徴とするデ
ータ転送制御方法。
9. The data transfer control method according to claim 7, further comprising a deletion step of deleting the output image data of the secondary storage device when the output of the print job is completed.
【請求項10】 受信された印刷ジョブをストアするた
めの受信バッファと、該受信バッファの画像データから
出力画像データを生成する出力画像データ生成手段と、
該出力画像データ生成手段によって生成された出力画像
データをストアするためのページバッファメモリであっ
て複数ページ分の出力画像データをストア可能なページ
バッファメモリとを有する画像出力システムのデータ転
送制御方法において、 画像出力待機時間内に、前記ページバッファメモリの出
力画像データを前記2次記憶装置に待避させ、しかも、
該2次記憶装置に待避させた出力画像データを前記ペー
ジバッファメモリにリストア可能か否かを判定する判定
ステップと、 該判定ステップにて肯定判定した場合に、前記ページバ
ッファメモリに保持されている出力画像データを前記2
次記憶装置に待避させる待避ステップと、 該待避ステップにて出力画像データを待避させた場合
に、前記ページバッファメモリを解放する解放ステップ
と、 前記ページバッファメモリまたは前記2次記憶装置への
出力画像データのストアが完了した場合に、次の画像出
力に関係する出力画像データが前記2次記憶装置に存在
するか否かを判定する存否判定ステップと、 該存否判定ステップにて肯定判定した場合に、前記2次
記憶装置に待避させてある出力画像データを前記ページ
バッファメモリにリストアするリストアステップとを備
えたことを特徴とするデータ転送制御方法。
10. A receiving buffer for storing a received print job, output image data generating means for generating output image data from image data in the receiving buffer,
A data transfer control method for an image output system, comprising: a page buffer memory for storing output image data generated by said output image data generating means, and a page buffer memory capable of storing a plurality of pages of output image data. Saving the output image data of the page buffer memory to the secondary storage device within the image output standby time,
A judging step of judging whether or not the output image data saved in the secondary storage device can be restored in the page buffer memory, and if the judgment result is affirmative, the output image data is held in the page buffer memory. Output image data
A saving step for saving in the next storage device, a releasing step for releasing the page buffer memory when the output image data is saved in the saving step, an output image to the page buffer memory or the secondary storage device When the data storage is completed, the presence / absence determination step of determining whether or not output image data related to the next image output exists in the secondary storage device; Restoring the output image data saved in the secondary storage device to the page buffer memory.
【請求項11】 請求項10において、前記判定ステッ
プは、 前記ページバッファメモリから前記2次記憶装置へ待避
させる出力画像データの容量を取得する取得ステップ
と、 該取得ステップにて取得した容量の出力画像データを前
記2次記憶装置に書込み、該2次記憶装置から読み出す
のに要する時間を算出する書込読出時間算出ステップ
と、 画像出力待機時間を算出する画像出力待機時間算出ステ
ップとを有し、 前記書込読出時間算出ステップにて算出した書込読出時
間が、画像出力待機時間算出ステップにて算出した画像
出力待機時間より小さい場合に、当該ページの出力画像
データを前記2次記憶装置に書き込み該2次記憶装置か
ら読み出すことが可能と判定することを特徴とするデー
タ転送制御方法。
11. The method according to claim 10, wherein the determining step includes: obtaining an amount of output image data to be saved from the page buffer memory to the secondary storage device; and outputting the capacity obtained in the obtaining step. A writing / reading time calculating step for calculating a time required for writing image data to the secondary storage device and reading the image data from the secondary storage device; and an image output standby time calculating step for calculating an image output standby time. If the write / read time calculated in the write / read time calculation step is smaller than the image output standby time calculated in the image output wait time calculation step, the output image data of the page is stored in the secondary storage device. A data transfer control method comprising: determining that data can be read from the secondary storage device.
【請求項12】 請求項10において、印刷ジョブの出
力が完了した場合に前記2次記憶装置の出力画像データ
を削除する削除ステップをさらに備えたことを特徴とす
るデータ転送制御方法。
12. The data transfer control method according to claim 10, further comprising a deletion step of deleting output image data of said secondary storage device when output of a print job is completed.
JP2000095716A 2000-03-30 2000-03-30 Image output system and method for controlling data transfer Pending JP2001277605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000095716A JP2001277605A (en) 2000-03-30 2000-03-30 Image output system and method for controlling data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000095716A JP2001277605A (en) 2000-03-30 2000-03-30 Image output system and method for controlling data transfer

Publications (1)

Publication Number Publication Date
JP2001277605A true JP2001277605A (en) 2001-10-09

Family

ID=18610578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000095716A Pending JP2001277605A (en) 2000-03-30 2000-03-30 Image output system and method for controlling data transfer

Country Status (1)

Country Link
JP (1) JP2001277605A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100630129B1 (en) * 2005-03-28 2006-09-27 삼성전자주식회사 Method for saving data of hard disk drive in wireless terminal
JP2009292047A (en) * 2008-06-05 2009-12-17 Canon Inc Image forming apparatus, image processing method and program
JP2011031585A (en) * 2009-08-05 2011-02-17 Canon Inc Recording device and recording control method for the same
JP2013530451A (en) * 2010-05-17 2013-07-25 ヒューレット−パッカード・インデイゴ・ビー・ブイ Printing system with in-line finishing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100630129B1 (en) * 2005-03-28 2006-09-27 삼성전자주식회사 Method for saving data of hard disk drive in wireless terminal
JP2009292047A (en) * 2008-06-05 2009-12-17 Canon Inc Image forming apparatus, image processing method and program
JP2011031585A (en) * 2009-08-05 2011-02-17 Canon Inc Recording device and recording control method for the same
JP2013530451A (en) * 2010-05-17 2013-07-25 ヒューレット−パッカード・インデイゴ・ビー・ブイ Printing system with in-line finishing

Similar Documents

Publication Publication Date Title
US6614546B1 (en) Image processing system and image forming apparatus
JP4988980B2 (en) Printing apparatus, control method, and storage medium
JP4942179B2 (en) Print control apparatus, control method therefor, and device driver
US20070080776A1 (en) Image processing apparatus and control method therefor
JP2001205864A (en) Image processor and method as well as program storing medium
JP2001103254A (en) Image processing system
JP2005149317A (en) Information processor, jam recovery method, program, recording medium, and print system
JPH08262814A (en) Printer
JP4136103B2 (en) Printing system, printing system control method, and computer-readable storage medium
JP2001277605A (en) Image output system and method for controlling data transfer
JP4677229B2 (en) Printing apparatus and printing method
JP2007055024A (en) Printing apparatus
JP2001105668A (en) Image output apparatus and control method thereof
JP4872018B2 (en) Printing control apparatus, printing apparatus, control method, and storage medium
JP3768696B2 (en) Sheet processing apparatus and method for controlling sheet processing apparatus
JP4124869B2 (en) Loading device
US10924617B2 (en) Image forming system, portable terminal, and error notification method
JP2000246996A (en) Image-recording apparatus, discharge history information output method, and memory medium
JP2001103256A (en) Image processing system
JP3507338B2 (en) Image recording apparatus and control method of the image recording apparatus
JP4346747B2 (en) Image recording device
JP3450700B2 (en) Image output method and apparatus
JP2000250359A (en) Image recorder, method for displaying ejection feasible information and storage medium
JP2001080165A (en) Image recorder, image recording system, control method of image recorder, control method of image recording system and memory medium
JP4346725B2 (en) Image output method and apparatus