[go: up one dir, main page]

JP4856604B2 - Image forming apparatus, image data processing method, and program - Google Patents

Image forming apparatus, image data processing method, and program Download PDF

Info

Publication number
JP4856604B2
JP4856604B2 JP2007218593A JP2007218593A JP4856604B2 JP 4856604 B2 JP4856604 B2 JP 4856604B2 JP 2007218593 A JP2007218593 A JP 2007218593A JP 2007218593 A JP2007218593 A JP 2007218593A JP 4856604 B2 JP4856604 B2 JP 4856604B2
Authority
JP
Japan
Prior art keywords
image data
page
page memory
reading
image
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.)
Expired - Fee Related
Application number
JP2007218593A
Other languages
Japanese (ja)
Other versions
JP2009055205A (en
Inventor
理恵 中村
美紀 河内
大輔 野口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007218593A priority Critical patent/JP4856604B2/en
Publication of JP2009055205A publication Critical patent/JP2009055205A/en
Application granted granted Critical
Publication of JP4856604B2 publication Critical patent/JP4856604B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storing Facsimile Image Data (AREA)

Description

本発明は、原稿を読み取って生成した画像データを出力する画像形成装置等に関し、特に、画像データの所定の記憶装置に読み書きする画像形成装置、画像データ処理方法及びプログラムに関する。   The present invention relates to an image forming apparatus that outputs image data generated by reading a document, and more particularly to an image forming apparatus, an image data processing method, and a program that read and write image data in a predetermined storage device.

原稿を読み取って用紙に印刷する複写機では、原稿を読み取る読み取り速度と、用紙に印刷する記録速度が一致しない(記録速度の方が遅い)場合が多い。この記録速度と読取速度との速度差を吸収するため、読取装置が記録装置の処理能力に合わせる方法、又は、読み取った原稿の1ページ分の画像データを記憶するページメモリを用いる方法、が採用されている。   In a copying machine that reads an original and prints it on paper, the reading speed for reading the original and the recording speed for printing on the paper often do not match (the recording speed is slower). In order to absorb this speed difference between the recording speed and the reading speed, a method in which the reading device matches the processing capability of the recording device or a method using a page memory that stores image data for one page of the read original is adopted. Has been.

記録装置の処理能力に合わせる方法は、記録装置より画像データの要求信号が出された時にのみ、読取装置よりデータを転送し、それ以外は読取動作を待機状態にさせる方法である。   The method of matching the processing capability of the recording apparatus is a method in which data is transferred from the reading apparatus only when a request signal for image data is issued from the recording apparatus, and the reading operation is set in a standby state otherwise.

また、ページメモリを用いる方法は、少なくとも1ページ分の画像データを記憶できるページメモリを設けそこにいったん画像データをバッファリングすることで、読取装置と記録装置を非同期で動作させる方法である(例えば、特許文献1参照。)。   In addition, a method using a page memory is a method in which a page memory capable of storing at least one page of image data is provided, and the image data is buffered once to operate the reading device and the recording device asynchronously (for example, , See Patent Document 1).

特許文献1には、読み取った原稿の画像データをページ単位で画像記憶部に書き込み、さらに、画像記憶部に記憶された画像データを、記録装置の出力経過またはユーザ設定された出力順序に基づいてページメモリに書き込む画像処理装置が記載されている。この画像処理装置は、読み取られた又は画像記憶部の画像データをページメモリに書き込む際、出力が終了したページがある場合は該ページを記憶した領域を書き込み先とし、出力が終了したページがない場合は、最も後に出力されるページを記憶した領域から順に使用可能な領域を検索して書き込み先とする。かかる構成により、出力の優先順位の高いページの画像データをページメモリに残すことができ、原稿の読み取り又は画像の出力を高速に行って利便性を向上させることができる。   In Patent Document 1, image data of a read original is written in an image storage unit in units of pages, and further, image data stored in the image storage unit is stored on the basis of an output process of a recording apparatus or a user-set output order. An image processing apparatus that writes to a page memory is described. When writing image data read or stored in the image storage unit to the page memory, if there is a page that has been output, this image processing apparatus uses the area storing the page as the write destination and there is no page for which output has ended In this case, the usable area is searched in order from the area storing the page to be output last, and is set as the writing destination. With this configuration, it is possible to leave image data of a page with a high output priority in the page memory, and it is possible to improve convenience by reading a document or outputting an image at high speed.

また、多値画像を印字する場合であって、読取装置からの画像情報をn値以下の階調度で画像形成する場合は画像データをページメモリに記憶し、画像情報をn値を超える階調度で画像形成する場合は、読取装置と画像形成部の同期をとる画像形成装置が提案されている(例えば、特許文献2参照。)。特許文献2記載の画像形成装置は、n値を超える階調度の画像はページメモリを介さずに出力するのでページメモリの容量の制約を受けることがなく、n値以下の階調度の画像はページメモリに記憶されるので多部数複写や、縦横回転が可能になる。したがって、コスト低減と高機能化とを両立することができる。
特開2004−236132号公報 特開平08−102830号公報
In the case of printing a multi-value image, when image information from a reading device is formed with a gradation level of n or less, the image data is stored in the page memory, and the image information is stored with a gradation level exceeding the n value. In the case of forming an image, an image forming apparatus that synchronizes the reading device and the image forming unit has been proposed (for example, see Patent Document 2). Since the image forming apparatus described in Patent Document 2 outputs an image having a gradation level exceeding the n value without passing through the page memory, the image memory having no gradation value equal to or less than the n value is not limited by the page memory capacity. Since it is stored in the memory, multiple copies and vertical and horizontal rotation are possible. Therefore, both cost reduction and high functionality can be achieved.
Japanese Patent Laid-Open No. 2004-236132 Japanese Patent Application Laid-Open No. 08-102830

しかしながら、記録装置の処理能力に合わせる方法ではページメモリを必要としないためコスト削減が容易となるが、同一ページを複数印刷する場合、同一ページの印刷が全て終了しないと次のページを読み込めず、複写動作に時間がかかるという問題を生じる。   However, the method that matches the processing capability of the recording apparatus does not require page memory, so it is easy to reduce the cost.However, when printing the same page multiple times, the next page cannot be read unless all printing of the same page is completed. The problem arises that the copying operation takes time.

一方、ページメモリを用いる方法は、ページメモリの管理を主とする比較的簡単な制御で、読取装置と出力装置の整合を取ることができる反面、高精細な多値のモノクロ画像やカラー画像データを記憶するため大容量のページメモリを必要となり、コスト増や小型化が困難になるという問題がある。   On the other hand, the method using the page memory can achieve the alignment between the reading device and the output device by relatively simple control mainly for the management of the page memory, but on the other hand, the high-definition multi-value monochrome image or color image data. Is required to store a large amount of page memory, which increases the cost and makes it difficult to reduce the size.

また、特許文献2記載の画像形成装置は、SAFという特殊なメモリをページメモリに用いるためページメモリを独立して構成する必要があり、n値を超える階調度の画像を多部数複写する場合を想定すると、コスト増をもたらすという問題がある。   In addition, since the image forming apparatus described in Patent Document 2 uses a special memory called SAF as a page memory, it is necessary to configure the page memory independently, and a case where a large number of images with gradation levels exceeding n values are copied. Assuming that there is a problem of increasing costs.

本発明は、上記課題に鑑み、ページメモリ専用の記憶装置を用いずにコストの抑制を図ると共に、複写動作の時間を短縮できる、画像形成装置、画像データ処理方法及びプログラムを提供することを目的とする。   SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide an image forming apparatus, an image data processing method, and a program capable of reducing the cost without using a dedicated storage device for page memory and reducing the time for copying operation. And

上記課題に鑑み、本発明は、原稿を読み取り該原稿の画像データを生成する読み取り手段と、実行されたプログラムの作業領域となる記憶装置と、前記画像データを用紙に出力する出力手段と、を有する画像形成装置において、前記記憶装置を、アプリケーションに応じて、アプリケーションの領域、データ領域、及び、前記画像データを記憶する領域に分割する記憶領域管理手段と、前記画像データを記憶する領域を確保及び開放すると共に、確保した場合、該画像データを記憶し又読み出す以外のプロセスのアクセスを禁止する記憶領域確保手段と前記画像データを記憶する領域を、前記画像データを記憶する所定数のページメモリに区画する画像記憶領域制御手段と、前記ページメモリに記憶した前記画像データを読み出し、該ページメモリの画像データの出力後、前記読み取り手段により生成された前記画像データを前記ページメモリに記憶するページメモリ制御手段と、を有し、前記画像記憶領域制御手段は、印刷条件がカラー印刷若しくはモノクロ印刷かに応じて、又は、原稿の用紙サイズ若しくは印刷用の用紙サイズに応じて、区画する前記ページメモリの数又はサイズを決定する、を有することを特徴とする。 In view of the above problems, the present invention includes a reading unit that reads a document and generates image data of the document, a storage device that is a work area of an executed program, and an output unit that outputs the image data to a sheet. In the image forming apparatus, a storage area management unit that divides the storage device into an application area, a data area, and an area for storing the image data according to an application, and an area for storing the image data are secured. And a storage area securing means for prohibiting access to a process other than storing and reading out the image data, and an area for storing the image data in a predetermined number of pages for storing the image data. Image storage area control means for partitioning the memory, and reading out the image data stored in the page memory; After outputting the image data in the memory, anda page memory control means for storing the image data generated in the page memory by said reading means, said image storage area control means, the printing condition is color printing or monochrome The number or size of the page memories to be partitioned is determined according to printing or according to the paper size of the original or the paper size for printing .

本発明によれば、アプリケーションが使用する記憶装置の一部をページメモリに割り当てることで、比較的容易な制御で画像データのアクセス制御を実現できる。また、ページメモリの数を制御できるので、複写条件に適したメモリ空間を提供できる。
本発明によれば、モノクロ機かカラー機かに応じて、区画するページメモリの数を決定することで、ページメモリの数を最適化し、複写を効率的に実行できる。
本発明によれば、読み取り手段の最大読み取り領域の大きさに基づきページメモリの数を最適化し、複写を効率的に実行できる。
本発明によれば、記憶装置の容量に基づき柔軟にページメモリの数を決定することで、複写を効率的に実行できる。
According to the present invention, access control of image data can be realized with relatively easy control by allocating a part of a storage device used by an application to a page memory. Further, since the number of page memories can be controlled, a memory space suitable for the copy conditions can be provided.
According to the present invention, the number of page memories to be partitioned is determined according to whether it is a monochrome machine or a color machine, so that the number of page memories can be optimized and copying can be performed efficiently.
According to the present invention, the number of page memories can be optimized based on the size of the maximum reading area of the reading means, and copying can be performed efficiently.
According to the present invention, copying can be efficiently executed by flexibly determining the number of page memories based on the capacity of the storage device.

また、本発明の一形態において、出力手段が正常な場合、ページメモリ制御手段は、複数あるページメモリの第1ページメモリに画像データを記憶し、出力手段に出力エラーが生じた場合、ページメモリ制御手段は、出力エラーにより出力できなかったページの画像データを複数あるページメモリの第2ページメモリに記憶し、出力エラーが解消した場合、第2ページメモリの画像データを第1ページメモリの画像データよりも先に読み出し、出力手段に送出する、ことを特徴とする。   In one embodiment of the present invention, when the output unit is normal, the page memory control unit stores the image data in the first page memory of the plurality of page memories, and when an output error occurs in the output unit, the page memory The control means stores the image data of the page that could not be output due to the output error in the second page memory of the plurality of page memories, and when the output error is resolved, the image data of the second page memory is stored in the image of the first page memory. It is characterized in that it is read out before data and sent to output means.

本発明によれば、出力エラーが生じたページを第2ページメモリに記憶させることができるので、再読込をなくすか最小限にでき、原稿の順番通りに印刷することができる。   According to the present invention, since a page in which an output error has occurred can be stored in the second page memory, rereading can be eliminated or minimized, and printing can be performed in the order of documents.

また、本発明の一形態において、ページメモリ制御手段は、読み取り手段が読み取った画像データを、複数のページメモリの全てが該画像データの記憶状態になるまで順次記憶すると共に、ページメモリに記憶した順に、出力手段とは非同期に、出力手段に画像データを送出し、複数のページメモリの全てが該画像データの記憶状態になった場合、最も古い画像データが記憶されたページメモリに読み取り手段が読み取った画像データを上書きする、ことを特徴とする。   In one embodiment of the present invention, the page memory control unit sequentially stores the image data read by the reading unit until all of the plurality of page memories are in a storage state of the image data, and stores the image data in the page memory. In order, the image data is sent to the output means asynchronously with the output means, and when all of the plurality of page memories are in the storage state of the image data, the reading means is read into the page memory in which the oldest image data is stored. The read image data is overwritten.

本発明によれば、複数のページメモリに順次画像データを記憶させながら、印刷することができるので、比較的容易な制御で画像データのアクセス制御を実現できる。   According to the present invention, since image data can be printed while being sequentially stored in a plurality of page memories, access control of image data can be realized with relatively easy control.

また、本発明の一形態において、ページメモリ制御手段は、別々の画像データが複数のページメモリにそれぞれ記憶された場合、出力手段に複数のページメモリに記憶された画像データの出力を順次要求する、ことを特徴とする。   In one embodiment of the present invention, the page memory control means sequentially requests the output means to output the image data stored in the plurality of page memories when the separate image data is stored in the plurality of page memories. It is characterized by that.

本発明によれば、所定ページ毎に記憶、印刷を繰り返すので、両面印刷などの制御を容易に実現できる。   According to the present invention, since storage and printing are repeated for each predetermined page, control such as double-sided printing can be easily realized.

また、本発明の一形態において、画像記憶領域制御手段は、読み取り手段及び出力手段の処理速度に応じて、区画するページメモリの数を決定する、ことを特徴とする。   In one embodiment of the present invention, the image storage area control means determines the number of page memories to be partitioned according to the processing speeds of the reading means and the output means.

本発明によれば、読み取り手段及び出力手段の処理速度に応じて、区画するページメモリの数を決定することで、読み取り手段及び出力手段の処理速度に応じてページメモリの数を最適化し、複写を効率的に実行できる。   According to the present invention, the number of page memories to be partitioned is determined according to the processing speed of the reading means and the output means, so that the number of page memories is optimized according to the processing speed of the reading means and the output means, and copying is performed. Can be executed efficiently.

また、本発明の一形態において、画像記憶領域制御手段は、画像データを記憶装置に記憶又は読み出す際の処理速度に基づき、区画する前記ページメモリの数を決定する、ことを特徴とする。   In one embodiment of the present invention, the image storage area control means determines the number of the page memories to be partitioned based on a processing speed when image data is stored in or read from the storage device.

本発明によれば、記憶装置の処理速度に基づきページメモリの数を最適化し、複写を効率的に実行できる。   According to the present invention, the number of page memories can be optimized based on the processing speed of the storage device, and copying can be executed efficiently.

ページメモリ専用の記憶装置を用いずにコストの抑制を図ると共に、複写動作の時間を短縮できる、画像形成装置、画像データ処理方法及びプログラムを提供することができる。   It is possible to provide an image forming apparatus, an image data processing method, and a program capable of reducing the cost without using a storage device dedicated to the page memory and shortening the copying operation time.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。
本実施形態の画像形成装置は、ページメモリを単体で設けるのでなく、所定の記憶装置の一部をページメモリとして扱うことでコスト増を抑制すると共に、画像データの入出力制御を容易にする。また、記憶装置のうち、任意の条件に基づきページメモリの容量を可変とするので、該条件に最適なページメモリ構成とすることができ、複写動作の時間を短縮できる。
The best mode for carrying out the present invention will be described below with reference to the drawings.
The image forming apparatus according to the present embodiment does not provide a page memory alone, but handles a part of a predetermined storage device as a page memory, thereby suppressing an increase in cost and facilitating input / output control of image data. Further, since the capacity of the page memory in the storage device is variable based on an arbitrary condition, a page memory configuration optimum for the condition can be obtained, and the time for the copying operation can be shortened.

始めに、画像形成装置100の概略を図1に基づき説明する。画像形成装置100の構成は、大きく、原稿を読み取る読み取りユニット132、画像を形成する画像形成部141、自動原稿搬送装置(以下ADF)167、ADF167から送り出される原稿をスタックする原稿排紙トレイ163、給紙カセット135〜138を備える給紙部139、記録用紙をスタックする排紙部(排紙トレイ)133により構成される。   First, an outline of the image forming apparatus 100 will be described with reference to FIG. The configuration of the image forming apparatus 100 is largely divided into a reading unit 132 for reading a document, an image forming unit 141 for forming an image, an automatic document feeder (ADF) 167, a document discharge tray 163 for stacking documents sent from the ADF 167, The paper feed unit 139 includes paper feed cassettes 135 to 138, and a paper discharge unit (discharge tray) 133 that stacks recording sheets.

ADF167の原稿台166上に原稿Dをセットして図示せぬ入力装置で操作(例えばプリントキーを押下)すると、最上位の原稿Dがピックアップローラ168の回転により矢印B1方向へ送り出され、原稿搬送ベルト165の回転により、画像読み取りユニット132に固定されたコンタクトガラス164上へ給送され、そこで停止する。コンタクトガラス164上に載置された原稿Dの画像は、画像形成部141とコンタクトガラス164の間に位置する読み取りユニット132によって読み取る。   When the document D is set on the document table 166 of the ADF 167 and operated by an input device (not shown) (for example, a print key is pressed), the uppermost document D is sent in the direction of the arrow B1 by the rotation of the pickup roller 168, and the document is conveyed. By the rotation of the belt 165, the belt is fed onto the contact glass 164 fixed to the image reading unit 132, and stops there. The image of the document D placed on the contact glass 164 is read by the reading unit 132 located between the image forming unit 141 and the contact glass 164.

読み取りユニット132は、コンタクトガラス164上の原稿Dを照明する露光ランプ131、原稿画像を結像する光学系160等を有し、光学系160は、第1ミラー171、レンズ172、原稿画像を結像させるCCD161等を有している。露光ランプ131と第1ミラー171は図示しない第1キャリッジ上に固定され、第2ミラー173及び第3ミラー174は図示しない第2キャリッジ上に固定されている。第1キャリッジが副走査方向に移動して原稿Dを走査する際は、CCDまでの光路長が変わらないように、第1キャリッジと第2キャリッジが2対1の相対速度で機械的に走査される。   The reading unit 132 includes an exposure lamp 131 that illuminates the document D on the contact glass 164, an optical system 160 that forms an image of the document, and the optical system 160 connects the first mirror 171, the lens 172, and the document image. It has a CCD 161 and the like for imaging. The exposure lamp 131 and the first mirror 171 are fixed on a first carriage (not shown), and the second mirror 173 and the third mirror 174 are fixed on a second carriage (not shown). When the first carriage moves in the sub-scanning direction and scans the document D, the first carriage and the second carriage are mechanically scanned at a relative speed of 2: 1 so that the optical path length to the CCD does not change. The

画像読み取り終了後、原稿Dを原稿搬送ベルト165の回転により矢印B2方向へ搬送して排紙トレイ163上へ排出する。このように、原稿Dを1枚ずつコンタクトガラス164上へ給送して原稿画像を画像読み取りユニット132によって読み取る。   After the image reading is completed, the document D is transported in the direction of the arrow B2 by the rotation of the document transport belt 165 and discharged onto the discharge tray 163. In this way, the document D is fed one by one onto the contact glass 164 and the document image is read by the image reading unit 132.

読み取りユニット132の不図示の画像処理部は、露光ランプが原稿Dを照明して反射した光を、CCDにより光電変換してアナログデータを生成する。アナログデータは、A/Dコンバータによりデジタルの画像データに変換され、さらにシェーディング補正、MTF補正、ガンマ補正等が施される。さらに、シェーディング補正を行った画像データに対しMTF補正、γ補正等が施される。これらの処理が施された画像データ(デジタルデータ)はいったんメモリ(図2のRAM16)に記憶される。   The image processing unit (not shown) of the reading unit 132 generates analog data by photoelectrically converting light reflected by the exposure lamp illuminating the document D by the CCD. Analog data is converted into digital image data by an A / D converter, and further subjected to shading correction, MTF correction, gamma correction, and the like. Further, MTF correction, γ correction, and the like are performed on the image data subjected to the shading correction. The image data (digital data) subjected to these processes is temporarily stored in a memory (RAM 16 in FIG. 2).

画像形成部141の内部には、像担持体である感光体144が配置してある。感光体144は、図において時計方向に回転駆動し、帯電装置147によって表面を所定の電位に帯電させる。また、書き込みユニット149は、読み取りユニット132によって読み取った画像情報に応じて光変調したレーザ光Lを照射し、それを図示しない高速回転するポリゴンミラーにより偏光する。偏光されたレーザ光Lは図示しない結像レンズを通過し、ミラー143により折り返して感光体144に照射される。   Inside the image forming unit 141, a photoconductor 144 as an image carrier is arranged. The photosensitive member 144 is driven to rotate in the clockwise direction in the drawing, and the charging device 147 charges the surface to a predetermined potential. The writing unit 149 emits a laser beam L that is light-modulated according to the image information read by the reading unit 132, and is polarized by a polygon mirror that rotates at a high speed (not shown). The polarized laser light L passes through an imaging lens (not shown), is folded back by a mirror 143, and is irradiated onto the photosensitive member 144.

レーザ光Lは、帯電させた感光体144の表面を画像情報のライン単位毎に露光し、これによって感光体144の表面に静電潜像を形成する。この静電潜像は現像装置142を通るときトナーを吸着することで現像され、対向する転写装置145によって感光体144と転写装置145の間に給送された記録材9に転写される。トナー像転写後の感光体144表面は、クリーニング装置148によって清掃する。   The laser beam L exposes the surface of the charged photoconductor 144 for each line unit of image information, thereby forming an electrostatic latent image on the surface of the photoconductor 144. This electrostatic latent image is developed by adsorbing toner when passing through the developing device 142, and transferred to the recording material 9 fed between the photosensitive member 144 and the transfer device 145 by the opposing transfer device 145. The surface of the photoreceptor 144 after the toner image transfer is cleaned by a cleaning device 148.

画像形成部141の下部に配置した複数の給紙カセット135〜138には、用紙等の記録材9を収容しており、いずれかの給紙カセット135〜138から記録材9を矢印B3方向へ送り出し、その記録材9の表面に、上述のように感光体144の表面に形成したトナー像を転写する。   A plurality of paper feed cassettes 135 to 138 arranged at the lower part of the image forming unit 141 contain recording materials 9 such as paper, and the recording materials 9 are fed from any of the paper feed cassettes 135 to 138 in the direction of arrow B3. The toner image formed on the surface of the photoreceptor 144 as described above is transferred onto the surface of the recording material 9.

次に、記録材9を矢印B4で示すように画像形成部141内の定着装置110を通し、熱と圧力の作用によって記録材9の表面に転写されたトナー像を定着させる。定着装置110を通った記録材9を排出ローラ対134によって搬送し、矢印B5で示すように排紙トレイ133へ排出し、スタックする。   Next, the recording material 9 is passed through the fixing device 110 in the image forming unit 141 as indicated by an arrow B4, and the toner image transferred to the surface of the recording material 9 by the action of heat and pressure is fixed. The recording material 9 that has passed through the fixing device 110 is conveyed by the discharge roller pair 134, discharged to the discharge tray 133 as indicated by an arrow B5, and stacked.

なお、図1は単色の例えばモノクロ印刷する画像形成装置100を示すが、カラーの画像形成装置100に対しても本実施形態の定着装置10は同様に適用できる。カラー印刷の場合、例えば4色(シアン,マゼンタ,イエロー,ブラック)のトナー画像を重ねてカラー画像を形成する。このため、4色のトナー画像を感光ドラムからいったん中間転写体(ベルトやドラム)に順次重ねて転写した後,中間転写体上の4色トナー画像をまとめて記録材9に転写する。温度等は異なるが、転写された未定着画像の記録材9への定着はモノクロ印刷の場合と同様である。   Although FIG. 1 shows an image forming apparatus 100 that performs monochrome printing, for example, monochrome, the fixing apparatus 10 of the present embodiment can be similarly applied to a color image forming apparatus 100. In the case of color printing, for example, toner images of four colors (cyan, magenta, yellow, black) are overlaid to form a color image. For this reason, after the four color toner images are transferred one after another from the photosensitive drum to the intermediate transfer member (belt or drum) in sequence, the four color toner images on the intermediate transfer member are collectively transferred to the recording material 9. Although the temperature and the like are different, fixing of the transferred unfixed image to the recording material 9 is the same as in the case of monochrome printing.

図2は、本実施形態の画像形成装置100のハードウェア構成図を示す。画像形成装置100は、原稿の画像データを読み取るスキャナエンジン19(図1の画像読み取りユニット132に相当)、読み取った画像データを印刷するプリンタエンジン14(図1の 画像形成部141に相当)、を有する。そして、原稿の読み取りから印刷までを、CPU11、ROM12、NVRAM13、RAM制御部15、及び、RAM16がバスで接続されたコンピュータにより制御する。   FIG. 2 is a hardware configuration diagram of the image forming apparatus 100 according to the present embodiment. The image forming apparatus 100 includes a scanner engine 19 (corresponding to the image reading unit 132 in FIG. 1) that reads image data of a document, and a printer engine 14 (corresponding to the image forming unit 141 in FIG. 1) that prints the read image data. Have. Then, from reading to printing of the document, the CPU 11, the ROM 12, the NVRAM 13, the RAM control unit 15, and the RAM 16 are controlled by a computer connected by a bus.

また、操作部18及び操作部インターフェイス(I/F)制御部17を有し、ユーザからの操作が入力される。スキャナエンジン19、プリンタエンジン14、の一形態については上述したが、プリンタエンジン14の形態は図1に限られるものではなく、レーザ方式の他に、LED方式、インクジェット方式、ジェルジェット方式等、いかなる印刷方式でもよい。また、スキャナエンジン19は、撮像素子を一次元に配置した形態に限られず、2次元に配置して原稿を撮影してもよい。   In addition, an operation unit 18 and an operation unit interface (I / F) control unit 17 are provided, and an operation from a user is input. Although one form of the scanner engine 19 and the printer engine 14 has been described above, the form of the printer engine 14 is not limited to that shown in FIG. 1, and in addition to the laser method, any method such as an LED method, an ink jet method, a gel jet method, etc. A printing method may be used. Further, the scanner engine 19 is not limited to the form in which the imaging elements are arranged one-dimensionally, and the document may be photographed by arranging two-dimensionally.

CPU11は、ROM12に記憶されたプログラム20を実行して各ブロックを統合的に制御する。なお、ROM12を複数個搭載して処理性能を向上させてもよい。NVRAM13は、フラッシュメモリ、EEPROM等の不揮発メモリであり、機器固有の情報(例えばコピー枚数のカウンタ値、等)を記憶している。   The CPU 11 executes the program 20 stored in the ROM 12 and controls each block in an integrated manner. A plurality of ROMs 12 may be mounted to improve processing performance. The NVRAM 13 is a nonvolatile memory such as a flash memory or an EEPROM, and stores device-specific information (for example, a counter value of the number of copies, etc.).

ROM12に記憶されたプログラム20をCPU11が実行することで図4のソフトウェア構成図の各機能を実現する。プログラム20は、ROM12に記憶された状態で画像形成装置100と共に出荷されてもよいし、記憶媒体21に記憶して配布されたり、ネットワークを介して接続された所定のサーバからダウンロードされ、ハードディスク装置などにインストールされてもよい。   Each function of the software configuration diagram of FIG. 4 is realized by the CPU 11 executing the program 20 stored in the ROM 12. The program 20 may be shipped together with the image forming apparatus 100 in a state of being stored in the ROM 12, stored in the storage medium 21 and distributed, or downloaded from a predetermined server connected via a network, and the hard disk device Etc. may be installed.

RAM16は、各ブロックが処理するデータ、特に画像データの一時保存に用いられる。例えば、スキャナエンジン19が読み取った画像データは一時的にRAM16に記憶され、プリンタエンジン14に送出されるまでの間、画像データがRAM16に記憶されている。RAM16は、領域の一部に画像データの記憶に使用可能な画像記憶領域Gを有している。   The RAM 16 is used for temporary storage of data processed by each block, particularly image data. For example, the image data read by the scanner engine 19 is temporarily stored in the RAM 16, and the image data is stored in the RAM 16 until it is sent to the printer engine 14. The RAM 16 has an image storage area G that can be used for storing image data in a part of the area.

RAM制御部15は、RAM16への画像データの入出力、原稿1ページの画像データを記憶するメモリ領域(以下、ページメモリという)の確保及び開放、画像データの書き込み及び読み込みを実行する。また、RAM16はアプリケーションプログラムの作業エリアとなるので、RAM制御部15はアプリケーションプログラムを展開するRAM16のアドレス等を管理する。   The RAM control unit 15 executes input / output of image data to / from the RAM 16, secures and releases a memory area (hereinafter referred to as page memory) for storing image data of one page of the document, and writes and reads image data. Since the RAM 16 serves as a work area for the application program, the RAM control unit 15 manages the address of the RAM 16 for developing the application program.

すなわち、RAM制御部15が画像記憶領域Gとして確保した領域には画像データを記憶し又読み出す以外の他のプロセスはアクセスできない。RAM制御部15は論理回路により実現されてもよいしCPU11がプログラム20を実行して実現されてもよい。   That is, no other process can access the area reserved by the RAM control unit 15 as the image storage area G except for storing and reading out the image data. The RAM control unit 15 may be realized by a logic circuit, or may be realized by the CPU 11 executing the program 20.

図3は、操作部18に表示されるUI(User Interface)の一例を示す。操作部18は操作のためのボタンや機器状態表示のためのLEDインジケーター、スピーカー等、ユーザと画像形成装置100とのマンマシンインターフェースとなる部分であり、
ユーザの操作内容は操作部I/F制御17により検出されCPU11に送出される。
FIG. 3 shows an example of a UI (User Interface) displayed on the operation unit 18. The operation unit 18 is a part serving as a man-machine interface between the user and the image forming apparatus 100, such as an operation button, an LED indicator for displaying a device status, and a speaker.
The user's operation content is detected by the operation unit I / F control 17 and sent to the CPU 11.

操作部18は、表示部302、初期設定キー308、アプリ切り替えキー306、選択キー309、リセットキー304、テンキー303,クラストップキー307、スタートキー305、を有する。   The operation unit 18 includes a display unit 302, an initial setting key 308, an application switching key 306, a selection key 309, a reset key 304, a numeric keypad 303, a class top key 307, and a start key 305.

アプリ切り替えキー306は、コピー、プリンタ、スキャナのアプリケーションを切り替えるボタンであり、ユーザが操作したボタンに応じて表示部302に表示されるメニューが切り替わる。図はアプリ切り替えキー306のうち「コピー」が選択された状態を示す。このメニューは、操作部I/F制御部17が表示する。   An application switching key 306 is a button for switching between copying, printer, and scanner applications, and a menu displayed on the display unit 302 is switched according to a button operated by the user. The figure shows a state in which “copy” is selected from the application switching key 306. This menu is displayed by the operation unit I / F control unit 17.

初期設定キー308は、ユーザが選択した用紙のサイズ、印刷部数等を初期化するボタンであり、これにより次に使用するユーザが用紙サイズ等を誤って印刷することを防止できる。   An initial setting key 308 is a button for initializing the size of the paper selected by the user, the number of copies, and the like, thereby preventing the next user from printing the paper size etc. by mistake.

表示部302は、タッチパネルで構成された液晶等の表示部であって、文字やビットマップを表示する。表示されたメニューに触れることで、読み取り条件等を入力でき、また、矢印が印刷された選択キー309によりメニューを選択してもよい。   The display unit 302 is a display unit such as a liquid crystal configured with a touch panel, and displays characters and bitmaps. By touching the displayed menu, reading conditions and the like can be input, and the menu may be selected by a selection key 309 on which an arrow is printed.

テンキー303は、コピーの印刷部数を入力するためのキーボードの一形態である。リセットキー304はコピーモードをリセットする際に操作される。クリアストップキー307は、コピー作業の中断やコピー枚数のリセット時に操作される。スタートキー305は、コピーや原稿読み取りのスタートを指示する際に操作される。   A numeric keypad 303 is one form of a keyboard for inputting the number of copies to be printed. A reset key 304 is operated when the copy mode is reset. The clear stop key 307 is operated when the copy operation is interrupted or the number of copies is reset. A start key 305 is operated to instruct the start of copying or document reading.

次に、ソフトウェア構成図について説明する。図4は、画像形成装置100のソフトウェア構成図の一例を示す。スキャナ読み取り制御部203はスキャナエンジン19を制御し、プロッタ印刷制御部204はプリンタエンジン14を制御する。   Next, a software configuration diagram will be described. FIG. 4 shows an example of a software configuration diagram of the image forming apparatus 100. The scanner reading control unit 203 controls the scanner engine 19, and the plotter printing control unit 204 controls the printer engine 14.

データ蓄積制御部202は、RAM16の領域の一部に設けられた画像記憶領域Gの現在のトータルサイズ(容量)、すでに蓄積された画像データの使用済み容量を管理している。   The data accumulation control unit 202 manages the current total size (capacity) of the image storage area G provided in a part of the area of the RAM 16 and the used capacity of the already accumulated image data.

システム構成管理部205は、システムの構成(例えば、スキャナエンジン19、プリンタエンジン14)を管理し、システムの状態をNVRAM13に記憶し、必要に応じてNVRAM13、ROM12に記憶されている情報を他のブロックに提供する。   The system configuration management unit 205 manages the system configuration (for example, the scanner engine 19 and the printer engine 14), stores the system state in the NVRAM 13, and stores the information stored in the NVRAM 13 and the ROM 12 as needed. Provide to the block.

記憶領域管理部206はRAM16の全記憶領域を管理しており、アプリケーションに応じてRAM16の領域を分割する。これに対し、画像記憶領域制御部207は、画像記憶領域Gを管理し、画像記憶領域Gを分割する際の各ページメモリの容量や数を決定し区画する。各ページメモリの数等の決定方法については実施の形態で詳述する。   The storage area management unit 206 manages the entire storage area of the RAM 16 and divides the area of the RAM 16 according to the application. On the other hand, the image storage area control unit 207 manages the image storage area G, and determines and partitions the capacity and number of each page memory when the image storage area G is divided. A method for determining the number of page memories and the like will be described in detail in the embodiment.

ページメモリ制御部201は、画像記憶領域Gのページメモリに、スキャナエンジン19が読み取った画像データを記憶し、また、プリンタエンジン14からの要求に応じてページメモリから画像データを読み出しプリンタエンジン14に送出する。なお、書き込み許可フラグFはページメモリへの書き込みを許可するか否かを判定するために参照されるフラグである(セット=オン=許可、リセット=オフ=禁止)。   The page memory control unit 201 stores the image data read by the scanner engine 19 in the page memory of the image storage area G, and reads the image data from the page memory in response to a request from the printer engine 14 to the printer engine 14. Send it out. The write permission flag F is a flag that is referred to for determining whether or not writing to the page memory is permitted (set = on = permitted, reset = off = prohibited).

本実施形態の画像形成装置100は、このように1つのRAM16の一部をページメモリとして扱い、実施の形態にて詳述するように、ページメモリ制御部201が画像データへの記憶と読み出しのタイミングを適切に制御することで、スキャナエンジン19とプリンタエンジン14を効率的に作動させ、その結果、複写等に係る一連の処理を高速化する。   The image forming apparatus 100 according to the present embodiment treats a part of one RAM 16 as a page memory in this way, and the page memory control unit 201 stores and reads image data as described in detail in the embodiment. By appropriately controlling the timing, the scanner engine 19 and the printer engine 14 are efficiently operated, and as a result, a series of processing relating to copying and the like is accelerated.

画像記憶領域Gについて説明する。図5は、RAM16の領域説明図の一例を示す。画像記憶領域Gは1以上のページメモリに区画されていて、1つのページメモリに原稿1ページの画像データが記憶される。   The image storage area G will be described. FIG. 5 shows an example of a region explanatory diagram of the RAM 16. The image storage area G is partitioned into one or more page memories, and image data of one page of the document is stored in one page memory.

本実施形態の画像形成装置100のRAM16の領域は、データ領域Dと、画像記憶領域Gと、プログラムデータ領域Pと、データ領域Dに分けられている。   The area of the RAM 16 of the image forming apparatus 100 of the present embodiment is divided into a data area D, an image storage area G, a program data area P, and a data area D.

プログラムデータ領域Pには、図4のソフトウェア構成図の各機能を実現するプログラム20、アプリケーションに対応したプログラム等が展開して記憶される。データ領域Dには、画像形成装置100における各種設定条件や装置固有データ、アプリケーションプログラム実行時の計算値などが記憶される。   In the program data area P, a program 20 for realizing each function of the software configuration diagram of FIG. 4, a program corresponding to the application, and the like are expanded and stored. In the data area D, various setting conditions in the image forming apparatus 100, apparatus-specific data, calculated values when executing an application program, and the like are stored.

本実施形態では、画像記憶領域Gを任意の数に分割し、それぞれをページメモリとして扱う。図5では、画像記憶領域Gの全てをページメモリに分割しているが、一部のみをページメモリとして確保してもよい。   In the present embodiment, the image storage area G is divided into an arbitrary number and each is handled as a page memory. In FIG. 5, all of the image storage area G is divided into page memories, but only a part may be secured as page memories.

本実施形態では、アプリケーションの排他制御を行ない、コピー実行時には画像記憶領域Gの全てをコピーに使用できるものとする。すなわち、アプリ切り替えキー306により「コピー」が選択された場合、画像データ以外のデータが画像記憶領域Gに記憶されることは禁止される。排他制御は、例えばRAM制御部15により行われる。   In the present embodiment, it is assumed that exclusive control of an application is performed, and the entire image storage area G can be used for copying when copying is executed. That is, when “copy” is selected by the application switching key 306, it is prohibited to store data other than image data in the image storage area G. Exclusive control is performed by the RAM control unit 15, for example.

記憶領域管理部206は画像記憶領域制御部207に、RAM16の一部をデータ記憶領域Gとして確保するよう要求する。画像記憶領域制御部207は、RAM16の一部を画像記憶領域Gとして確保する。また、画像記憶領域制御部207は、画像記憶領域Gを任意の数のページメモリに分割する。   The storage area management unit 206 requests the image storage area control unit 207 to secure a part of the RAM 16 as the data storage area G. The image storage area control unit 207 reserves a part of the RAM 16 as the image storage area G. Further, the image storage area control unit 207 divides the image storage area G into an arbitrary number of page memories.

画像記憶領域Gのサイズ及びアドレスは所定の範囲内で可変である。RAM16の容量は固定であって、プログラムデータ領域P、データ領域Dに必要な容量はほぼ一定である。したがって、プログラムデータ領域Pとデータ領域Dの使用領域をRAM16の容量から除いた分が、画像記憶領域Gの最大サイズとなる。なお、画像形成装置100は、新たにRAMを追加してRAM16の容量を拡張することができる。   The size and address of the image storage area G are variable within a predetermined range. The capacity of the RAM 16 is fixed, and the capacity required for the program data area P and the data area D is substantially constant. Therefore, the maximum size of the image storage area G is obtained by removing the use area of the program data area P and the data area D from the capacity of the RAM 16. Note that the image forming apparatus 100 can expand the capacity of the RAM 16 by adding a new RAM.

記憶領域制御部207はこの最大サイズを常に画像記憶領域Gとすることができるが、画像記憶領域Gに幾つのページメモリを形成するか、ページメモリのサイズをどの程度にするかを、画像形成装置100の各種の動作条件により可変とする。なお、画像記憶領域Gの一部を分割した場合の残りの領域に関しては、ページメモリとして扱わない。   The storage area control unit 207 can always set the maximum size as the image storage area G. However, the number of page memories to be formed in the image storage area G and the size of the page memory are determined as image formation. It is variable depending on various operating conditions of the apparatus 100. The remaining area when a part of the image storage area G is divided is not treated as a page memory.

スキャナエンジン19によって読み取った原稿1ページの画像データはページメモリへ記憶される。一方、ページメモリから読み出された画像データは、プリンタエンジン14に送出され、用紙に印刷されることで出力される。   The image data of one page of the document read by the scanner engine 19 is stored in the page memory. On the other hand, the image data read from the page memory is sent to the printer engine 14 and output by printing on paper.

以下、ADF167で読み取り、1対1の片面コピー(同じ画像データは一枚しか印刷しない)を例に、タイミング制御の好適例を説明する。   In the following, a preferred example of timing control will be described taking an example of one-sided one-sided copying (printing only one sheet of the same image data) read by the ADF 167.

<第1の実施形態>
図6は、ページメモリ制御部201が画像データの読み出しと書き込みのタイミングを制御する手順のフローチャート図を示す。図6では、ページメモリの数を1つ、すなわち、記憶領域管理部206が画像記憶領域Gから1つのページメモリを確保したとする。図6のフローチャート図は、例えば、コピーモードにおいてスタートキー305が操作されるとスタートする。
<First Embodiment>
FIG. 6 is a flowchart illustrating a procedure in which the page memory control unit 201 controls the timing for reading and writing image data. In FIG. 6, it is assumed that the number of page memories is 1, that is, the storage area management unit 206 secures one page memory from the image storage area G. The flowchart of FIG. 6 starts when the start key 305 is operated in the copy mode, for example.

まず、ページメモリ制御部201は、書き込み許可フラグFにオンをセットする(S110)。上記したように、書き込み許可フラグFは、ページメモリへの書き込みを許可するか否かを判定するために参照されるフラグである。オンかオフかは画像データが記憶されているか否か(上書きしてもよいか否か)により切り替えられので、画像データが記憶されていない場合にオン(許可)になる。画像データの上書きを防止するため、書き込み許可フラグFはオフ状態(禁止状態)が定常状態となる。   First, the page memory control unit 201 sets the write permission flag F to ON (S110). As described above, the write permission flag F is a flag that is referred to for determining whether or not writing to the page memory is permitted. Since it is switched on or off depending on whether or not image data is stored (whether or not it can be overwritten), it is turned on (permitted) when no image data is stored. In order to prevent overwriting of the image data, the write permission flag F is in the steady state in the off state (prohibited state).

ついで、ページメモリ制御部201は、画像形成装置100に原稿がセットされているか否かを判定する(S120)。原稿がセットされていなければ(S120のNo)、原稿が終了したことを意味するので処理は終了する。   Next, the page memory control unit 201 determines whether a document is set on the image forming apparatus 100 (S120). If the document is not set (No in S120), it means that the document is finished, and the process is finished.

原稿がセットされている場合(S120のYes)、スキャナエンジン19は原稿の最初のページを読み取り画像データを生成し、ページメモリ制御部201は画像データをページメモリに記憶する(S130)。   When the document is set (Yes in S120), the scanner engine 19 reads the first page of the document and generates image data, and the page memory control unit 201 stores the image data in the page memory (S130).

そして、ページメモリ制御部201は書き込み許可フラグFをリセットする(S140)。これにより、印刷前に上書きされることを防止できる。   Then, the page memory control unit 201 resets the write permission flag F (S140). This can prevent overwriting before printing.

そして、プリンタエンジン14は印刷可能になるまで待機し(S150)、プリンタエンジン14が印刷可能になったら(S150のYes)、ページメモリ制御部201はページメモリから画像データを読み出し、プリンタエンジン14が印刷する(S160)。以降は、ステップS110からの処理を繰り返す。   The printer engine 14 waits until printing is possible (S150). When the printer engine 14 is ready to print (Yes in S150), the page memory control unit 201 reads image data from the page memory, and the printer engine 14 Printing is performed (S160). Thereafter, the processing from step S110 is repeated.

ステップS110では書き込みが許可されるが、ステップS140で書き込みが禁止されるように、書き込み許可フラグFは、ページメモリから画像データを読み出した後にオン(許可)となる。すなわち、ページメモリへの書き込みは、ページメモリにデータが記憶されていない状態、又は、読み出されて既に不要となった画像データが入っている状態で行われる。これにより、原稿のページ数が複数である場合、各ページの画像のデータを欠くことなく、確実に読み取り・印刷することができる。   Writing is permitted in step S110, but the writing permission flag F is turned on (permitted) after image data is read from the page memory so that writing is prohibited in step S140. That is, writing to the page memory is performed in a state where no data is stored in the page memory, or in a state where image data that has been read and is no longer needed is contained. As a result, when the number of pages of the document is plural, it is possible to reliably read and print without missing the image data of each page.

本実施形態では、アプリケーションが使用するRAM16にページメモリを設けることで、コストの高いページメモリ専用のメモリを備える必要をなくすことができる。また、RAM16をアプリケーションと共用するので、その制御も容易である。   In this embodiment, by providing a page memory in the RAM 16 used by the application, it is possible to eliminate the need for providing a memory dedicated to the page memory with high cost. Further, since the RAM 16 is shared with the application, its control is easy.

なお、本実施形態ではページメモリの数を1つとしたが、ページメモリの数は任意であって、2以上であってもよい。この場合、先入れ先出し(FIFO)方式を適用し、書き込んだ画像データを古い順から読み出すと共に、スキャナエンジン19で読み取った画像データは最も古い画像データが書き込まれたページメモリに書き込んでいく。   In the present embodiment, the number of page memories is one, but the number of page memories is arbitrary and may be two or more. In this case, the first-in first-out (FIFO) method is applied to read out the written image data from the oldest, and the image data read by the scanner engine 19 is written into the page memory in which the oldest image data is written.

<第2の実施形態>
続いて、ページメモリが複数ある場合に、一部を異常処理のために確保しておく場合のページメモリのアクセス制御について説明する。本実施形態では、ページメモリの数を2つとするが、3以上でもよい。
<Second Embodiment>
Next, a description will be given of page memory access control when a part of the page memory is reserved for abnormal processing. In this embodiment, the number of page memories is two, but may be three or more.

図7は、本実施形態のRAM16の領域説明図の一例を示す。なお、図7において図5と同一構成部分には同一の符号を付しその説明は省略する。2つのページメモリをページメモリM1、M2とし、また、ページメモリM1、M2が複数なので書き込み許可フラグFも同数だけ設ける。書き込み許可フラグF1はページメモリM1の書き込みを許可し、書き込み許可フラグF2はページメモリM2の書き込みを許可する。書き込み許可フラグF1、F2はページメモリ制御部201、又は、画像記憶領域制御部207が有する。   FIG. 7 shows an example of a region explanatory diagram of the RAM 16 of the present embodiment. In FIG. 7, the same components as those in FIG. The two page memories are page memories M1 and M2, and since there are a plurality of page memories M1 and M2, the same number of write permission flags F are provided. The write permission flag F1 permits writing to the page memory M1, and the write permission flag F2 permits writing to the page memory M2. The write permission flags F1 and F2 are included in the page memory control unit 201 or the image storage area control unit 207.

このように、2つのページメモリM1,M2がある場合、一方を優先的に使用するページメモリM1に、他方をページメモリM1に画像データが待機している場合の予備のページメモリM2とすることができる。例えば、用紙つまりのような出力エラーがありページメモリM1の画像データを取り出せない場合、原稿の画像データのみを読み込んでおき、予備のページメモリM2に記憶しておくことができる。   As described above, when there are two page memories M1 and M2, one is used as a page memory M1 which is used preferentially, and the other is used as a spare page memory M2 when image data is waiting in the page memory M1. Can do. For example, when there is an output error such as paper jam and image data in the page memory M1 cannot be taken out, only the image data of the original can be read and stored in the spare page memory M2.

図8は、2つのページメモリM1、M2を有する場合に、ページメモリ制御部201が画像データを一方のページメモリM1又はM2に記憶させる手順のフローチャート図である。なお、画像形成装置100のADF167は、読み取り開始のタイミングになってから原稿の給紙を開始する仕様となっている。   FIG. 8 is a flowchart of a procedure in which the page memory control unit 201 stores image data in one page memory M1 or M2 when two page memories M1 and M2 are provided. Note that the ADF 167 of the image forming apparatus 100 is configured to start feeding a document after the reading start timing.

まず、ページメモリ制御部201は、書き込み許可フラグF1、F2をセットする(S210、S220)。すなわち、いずれのページメモリM1、M2にも、画像データが入っていない状態、又は、印刷後の状態であるので、新たな書き込みを許可する。   First, the page memory control unit 201 sets the write permission flags F1 and F2 (S210, S220). That is, since no image data is stored in any of the page memories M1 and M2 or after printing, new writing is permitted.

次に、ページメモリ制御部201は原稿があるか否かを判定する(S230)。原稿がない場合(S230のNo)、複写する原稿が終了したということなので図8の処理を終了する。   Next, the page memory control unit 201 determines whether there is a document (S230). If there is no document (No in S230), it means that the document to be copied has been completed, and the processing in FIG. 8 is terminated.

原稿が検出された場合(S230のYes)、スキャナエンジン19により原稿が読み取られると、ページメモリ制御部201は画像データをページメモリM1に記憶させる(S240)。   When a document is detected (Yes in S230), when the document is read by the scanner engine 19, the page memory control unit 201 stores the image data in the page memory M1 (S240).

ついで、ページメモリ制御部201は書き込み許可フラグF1をリセットする(S250)。これにより、ページメモリM1への書き込みが禁止される。   Next, the page memory control unit 201 resets the write permission flag F1 (S250). As a result, writing to the page memory M1 is prohibited.

そして、プリンタエンジン14が印刷可能になるまでページメモリ制御部201は待機し(S260)、プリンタエンジン14が印刷可能になるとページメモリ制御部201はページメモリM1から画像データを読み出し、プリンタエンジン14により印刷する(S270)。待機している間、スキャナエンジン19は新たな原稿を読み取らない。   Then, the page memory control unit 201 waits until the printer engine 14 can print (S260). When the printer engine 14 becomes printable, the page memory control unit 201 reads image data from the page memory M1, and the printer engine 14 Printing is performed (S270). While waiting, the scanner engine 19 does not read a new document.

1対1印刷では印刷した画像データは不要なので、ページメモリ制御部201は書き込み許可フラグF1をセットする(S210)。すなわち、ページメモリM1には何も入っていないと判断される。   Since one-to-one printing does not require printed image data, the page memory control unit 201 sets a write permission flag F1 (S210). That is, it is determined that nothing is stored in the page memory M1.

ところで、出力可能になるまでの間に(S260)、出力エラーが発生することがある。出力エラーは、例えば、用紙つまり、用紙切れ、トナー切れ等、印刷が困難な状況である。   By the way, an output error may occur until output becomes possible (S260). The output error is, for example, a situation where printing is difficult, such as out of paper, that is, out of paper or toner.

出力エラーが生じた場合について説明する。画像形成装置100のセンサが出力エラーを検出すると場合(S280のYes)、ページメモリ制御部201は、出力できなかった画像データに対応する原稿のADF167への再セットと出力エラーの解除を、ユーザに要求する(S290)。例えば、ページメモリ制御部201は表示部302に「最後の原稿をADF167に再セットしてください。」「○○のサイズの用紙をセットしてください」などのメッセージを表示部302に表示する。   A case where an output error occurs will be described. When the sensor of the image forming apparatus 100 detects an output error (Yes in S280), the page memory control unit 201 resets the document corresponding to the image data that could not be output to the ADF 167 and cancels the output error. (S290). For example, the page memory control unit 201 displays a message such as “Please reset the last document in the ADF 167” or “Please set a paper size of XX” on the display unit 302.

なお、出力エラーになったのは、現時点でページメモリM1に入っている画像データに対応する原稿ページの1ページ前の原稿ページである。   Note that the output error occurred in the original page one page before the original page corresponding to the image data currently stored in the page memory M1.

メッセージを表示している間、ページメモリ制御部201は出力エラーが解除されるまで待機する(S300)。出力エラーが解除されたことを検出すると(S300のYes)、ページメモリ制御部201は次の原稿ページがあるか否か判定する(S310)。ステップS300では、エラー解除をトリガーにしているが、出力エラーした原稿を再セットしたか否かの確認画面を表示部302に表示し、それに対する操作部18でのユーザの応答をトリガーとしても良い。   While displaying the message, the page memory control unit 201 waits until the output error is cleared (S300). When it is detected that the output error has been canceled (Yes in S300), the page memory control unit 201 determines whether there is a next original page (S310). In step S300, the error cancellation is set as a trigger. However, a confirmation screen as to whether or not an output error document has been reset may be displayed on the display unit 302, and the user's response to the operation unit 18 may be used as a trigger. .

また、ユーザによるスタートキー305の操作が検出された場合に、出力エラーした原稿が再セットされたと検出してもよい。これにより、出力エラーした原稿ではない、別の原稿ページを間違って読み取ってしまうことを防止する。   Further, when the operation of the start key 305 by the user is detected, it may be detected that the document with the output error is reset. This prevents erroneous reading of another document page that is not an output error document.

原稿が検出されない場合(S310のNo)、再度ユーザに原稿の再セット等を要求する(S290)。原稿を検出するまで表示し続けてもよい。   If the document is not detected (No in S310), the user is requested to reset the document again (S290). The display may continue until a document is detected.

原稿が検出された場合(S310のYes)、スキャナエンジン19により画像データを読み取り、ページメモリ制御部201はその画像データをページメモリM2に記憶する(S320)。   When a document is detected (Yes in S310), the image data is read by the scanner engine 19, and the page memory control unit 201 stores the image data in the page memory M2 (S320).

そして、ページメモリ制御部201は書き込み許可フラグF2をリセットする(S330)。これによりページメモリM2への書き込みが禁止される。出力エラーの解除により、ページメモリM2の画像データを印刷可能なので、ページメモリ制御部201はページメモリM2から画像データを読み出し、プリンタエンジン14により画像データを印刷する(S340)。ついで、ページメモリ制御部201は書き込み許可フラグF2をセットする(S350)。すなわち、出力エラーのために使用したページメモリM2の画像データを印刷したので、ページメモリM2には上書きが許可される。   Then, the page memory control unit 201 resets the write permission flag F2 (S330). This prohibits writing to the page memory M2. Since the image data in the page memory M2 can be printed by releasing the output error, the page memory control unit 201 reads the image data from the page memory M2 and prints the image data by the printer engine 14 (S340). Next, the page memory control unit 201 sets the write permission flag F2 (S350). That is, since the image data of the page memory M2 used for the output error is printed, overwriting is permitted to the page memory M2.

ステップS350により、出力エラーとなった原稿を出力できたので、次はページメモリM1に記憶しておいた出力エラーが起こったページの次のページの原稿を出力するため、ステップS260に戻り出力可能か否かを判定する。以上の手順により、異常が生じても原稿をページ順に印刷することができる。また、ページメモリを2つにするだけで、出力エラーのあった原稿の再読込を最小限(1回)にすることができる。したがって、例えば、優先的に使用するページメモリM1を2つにすれば、再読込を不要にすることもでき、ユーザの利便性を向上できる。   Since the document with the output error has been output in step S350, the document on the next page of the page in which the output error has occurred, which is stored in the page memory M1, is output next, and the process can be returned to step S260 for output. It is determined whether or not. According to the above procedure, it is possible to print a document in page order even if an abnormality occurs. In addition, only by using two page memories, it is possible to minimize (one time) re-reading of a document having an output error. Therefore, for example, if two page memories M1 are preferentially used, it is possible to eliminate the need for re-reading, thereby improving the convenience for the user.

<第3の実施形態>
ページメモリが複数ある場合、画像データの印刷を待たずに次の原稿の画像データを印刷できるため、複写を高速化することができる。本実施形態では、ページメモリをn個に分割し、プリンタエンジン14がページメモリM1の画像データの出力を要求してから出力し終わるまでの間に、次の原稿をスキャナエンジン19にて読み取って、その画像データを空いているページメモリM2に記憶する画像形成装置100について説明する。本実施形態では、ページメモリがM1〜Mnのn個に分割されたものとする。
<Third Embodiment>
When there are a plurality of page memories, the image data of the next original can be printed without waiting for the image data to be printed, so that the copying can be speeded up. In the present embodiment, the page memory is divided into n, and the next document is read by the scanner engine 19 after the printer engine 14 requests the output of the image data in the page memory M1 to the end of output. The image forming apparatus 100 that stores the image data in the empty page memory M2 will be described. In the present embodiment, it is assumed that the page memory is divided into n pieces of M1 to Mn.

図9は、ページメモリ制御部201が画像データをn個のページメモリM1〜Mnに次々と記憶させ、プリンタエンジン14が順次印刷する手順のフローチャート図である。なお、書き込み許可フラグF1〜Fnはそれぞれ、ページメモリM1〜Mnに対応してページメモリ制御部201に設けられており、ページメモリM1〜Mnへの書き込みを許可するか否かを判定するために参照される。   FIG. 9 is a flowchart of a procedure in which the page memory control unit 201 sequentially stores image data in n page memories M1 to Mn, and the printer engine 14 sequentially prints. Note that the write permission flags F1 to Fn are provided in the page memory control unit 201 corresponding to the page memories M1 to Mn, respectively, in order to determine whether or not writing to the page memories M1 to Mn is permitted. Referenced.

まず、ページメモリ制御部201は、書き込み許可フラグF1〜Fnをセットする(S410)。これにより、すべてのページメモリM1〜Mnは書き込みが許可される。   First, the page memory control unit 201 sets the write permission flags F1 to Fn (S410). As a result, all page memories M1 to Mn are allowed to be written.

ついで、ページメモリ制御部201は使用ページメモリカウンタiに初期値を設定する(S320)。使用ページメモリカウンタiはページメモリM1〜Mnの使用数を示すので初期値は1である。   Next, the page memory control unit 201 sets an initial value to the used page memory counter i (S320). Since the used page memory counter i indicates the number of used page memories M1 to Mn, the initial value is 1.

ついで、ページメモリ制御部201は原稿が検出されるか否かを判定する(S430)。読み取る原稿ページがない場合は(S430のNo)、図9の処理は終了する。   Next, the page memory control unit 201 determines whether or not a document is detected (S430). If there is no document page to be read (No in S430), the process in FIG. 9 ends.

原稿が検出された場合(S430のYes)、書き込み許可フラグFi がセットされているか否かを判定する(S440)。書き込み許可フラグFiがセットされている場合(S440のYes)、スキャナエンジン19により画像データを読み取り、ページメモリ制御部201はその画像データをページメモリMiに記憶する(S450)。   If a document is detected (Yes in S430), it is determined whether or not the write permission flag Fi is set (S440). If the write permission flag Fi is set (Yes in S440), the scanner engine 19 reads the image data, and the page memory control unit 201 stores the image data in the page memory Mi (S450).

そして、ページメモリ制御部201は書き込み許可フラグFiをリセットする(S460)。これによりページメモリMiへの書き込みが禁止される。   Then, the page memory control unit 201 resets the write permission flag Fi (S460). As a result, writing to the page memory Mi is prohibited.

プリンタエンジン14は印刷可能になるまでページメモリ制御部201は待機し(S470)、プリンタエンジン14が印刷可能になるとページメモリ制御部201はページメモリMiから画像データを読み出し、プリンタエンジン14により印刷する(S475)。印刷したらそのページメモリMiの書き込み許可フラグFiをセットする。   The page memory control unit 201 waits until the printer engine 14 can print (S470). When the printer engine 14 becomes printable, the page memory control unit 201 reads image data from the page memory Mi and prints it with the printer engine 14. (S475). After printing, the write permission flag Fi of the page memory Mi is set.

また、この印刷に並行して、ページメモリ制御部201は使用ページメモリカウンタiに1を加える(S480)。使用ページメモリカウントiがページメモリの数n以上になっていなければ(S490のNo)、ページメモリMi+1に空きがあるので、ステップS430に戻り、次の原稿が検出されるか否かを判定し(S430)、次のページの画像データを次のページメモリMi+1に書き込む処理を繰り返す。   In parallel with this printing, the page memory control unit 201 adds 1 to the used page memory counter i (S480). If the used page memory count i is not equal to or greater than the number n of page memories (No in S490), the page memory Mi + 1 is empty, and the process returns to step S430 to determine whether or not the next document is detected. The determination is made (S430), and the process of writing the image data of the next page into the next page memory Mi + 1 is repeated.

使用ページメモリカウントi がページメモリの数n以上になった場合(S490のYes)、使用ページメモリカウントiに初期値1をセットし(S420)、ステップS430からの処理を繰り返す。全てのページメモリMnを使用したことになるので、次の原稿のページは、最初のページメモリM1に書き込まれる。   When the used page memory count i becomes equal to or larger than the number n of page memories (Yes in S490), the used page memory count i is set to an initial value 1 (S420), and the processing from step S430 is repeated. Since all the page memories Mn are used, the next page of the original is written in the first page memory M1.

使用ページメモリカウントiを初期化したら(S420)、原稿が検出されるか否かを判定するが(S430)、原稿が検出される場合は、ページメモリ制御部201は書き込み許可フラグFiがセットされているか否かを判定する(S440)。   When the used page memory count i is initialized (S420), it is determined whether or not a document is detected (S430). If a document is detected, the page memory control unit 201 sets a write permission flag Fi. It is determined whether or not (S440).

すでにページメモリM1〜Mnには画像データが記憶されているので、書き込み許可フラグF1〜FnはステップS460の処理によりリセットされている。したがって、書き込み許可フラグFiがセットされているか否かの判定結果(S440)はNoになる。   Since the image data is already stored in the page memories M1 to Mn, the write permission flags F1 to Fn are reset by the process of step S460. Therefore, the determination result (S440) of whether or not the write permission flag Fi is set is No.

ついで、ページメモリ制御部201はページメモリMi の画像データが出力されたか否かを判定する(S500)。ページメモリMi の画像データが出力されたか否かの判定は、例えば、ページメモリMiに対応づけて設けたフラグを参照する。   Next, the page memory control unit 201 determines whether image data of the page memory Mi has been output (S500). The determination as to whether or not the image data in the page memory Mi has been output refers to, for example, a flag provided in association with the page memory Mi.

ページメモリMi の画像データが出力されていない場合(S500のNo)、ページメモリ制御部201は出力されるまで待機する。   When the image data of the page memory Mi is not output (No in S500), the page memory control unit 201 waits until it is output.

ページメモリMi の画像データが出力されている場合(S500のYes)、ステップS450に進み、原稿を読み取り、ページメモリMiにその画像データを記憶していく(S450〜S475)。ページメモリ制御部201は以上の処理を繰り返す。   When the image data in the page memory Mi is output (Yes in S500), the process proceeds to step S450, the original is read, and the image data is stored in the page memory Mi (S450 to S475). The page memory control unit 201 repeats the above processing.

本実施形態によれば、ページメモリMの数が十分に大きく、出力エラーなどが生じていない場合、使用ページメモリカウンタiがn以上になるまでに、そのページメモリMiの画像データは印刷可能であるので、画像データの印刷と非同期に、原稿を読み込むことができ、読み取りと印刷のタイミング制御が容易になる。   According to the present embodiment, when the number of page memories M is sufficiently large and no output error has occurred, image data in the page memory Mi can be printed before the used page memory counter i becomes n or more. Therefore, the document can be read asynchronously with the printing of the image data, and the timing control of reading and printing becomes easy.

出力エラーが生じても、1ページ前の原稿はページメモリMiに記憶されているので、再度原稿を読み込むことなく、例えば、使用ページメモリカウンタiを1小さくすることで印刷を再開すれば、原稿の順番どおりに印刷することができる。   Even if an output error occurs, the document one page before is stored in the page memory Mi. Therefore, if the printing is resumed by reducing the used page memory counter i by 1, for example, without reading the document again, the document Can be printed in the order shown.

<第4の実施形態>
第1〜第3の実施形態では、プリンタエンジン14は1枚ずつ印刷していたが、例えば、2ページ分の画像データをページメモリM1,M2記憶する度に印刷してもよい。本実施形態では、ページメモリMの数を2つにして、2つのページメモリM1、M2に画像データが記憶される度にプリンタエンジン14により印刷する画像形成装置100について説明する。なお、RAM16の構成は図7と同様である。
<Fourth Embodiment>
In the first to third embodiments, the printer engine 14 prints one sheet at a time. However, for example, printing may be performed every time image data for two pages is stored in the page memories M1 and M2. In the present embodiment, the number of page memories M is two, and the image forming apparatus 100 that performs printing by the printer engine 14 each time image data is stored in the two page memories M1 and M2 will be described. The configuration of the RAM 16 is the same as that in FIG.

図10は、ページメモリ制御部201が所定数の画像データを記憶する度に所定数の画像データを印刷する手順のフローチャート図である。   FIG. 10 is a flowchart of a procedure for printing a predetermined number of image data each time the page memory control unit 201 stores the predetermined number of image data.

まず、ページメモリ制御部201は書き込み許可フラグF1,F2をセットする(S510)。すなわち、ページメモリM1、M2のいずれにも画像データが記憶されていない状態である。   First, the page memory control unit 201 sets the write permission flags F1 and F2 (S510). That is, no image data is stored in either of the page memories M1 and M2.

ついで、ページメモリ制御部201は、画像形成装置100に原稿がセットされているか否かを判定する(S520)。原稿がセットされていなければ(S520のNo)、原稿が終了したことを意味するので処理は終了する。   Next, the page memory control unit 201 determines whether a document is set on the image forming apparatus 100 (S520). If the document is not set (No in S520), it means that the document is finished, and the process is finished.

原稿がセットされている場合(S520のYes)、スキャナエンジン19は原稿の最初のページを読み取り、ページメモリ制御部201は、原稿を読み取って生成した画像データをページメモリM1に記憶する(530)。   When the document is set (Yes in S520), the scanner engine 19 reads the first page of the document, and the page memory control unit 201 stores the image data generated by reading the document in the page memory M1 (530). .

ついで、ページメモリ制御部201は書き込み許可フラグF1をリセットする(S540)。   Next, the page memory control unit 201 resets the write permission flag F1 (S540).

そして、ページメモリ制御部201は同様の処理をページメモリM2に対して行う。すなわち、ページメモリ制御部201は、画像形成装置100に原稿がセットされているか否かを判定する(S550)。原稿がセットされている場合(S550のYes)、スキャナエンジン19は原稿の次のページを読み取り、ページメモリ制御部201は、原稿を読み取って生成した画像データをページメモリM2に記憶する(S560)。   Then, the page memory control unit 201 performs the same process on the page memory M2. That is, the page memory control unit 201 determines whether or not a document is set on the image forming apparatus 100 (S550). When the original is set (Yes in S550), the scanner engine 19 reads the next page of the original, and the page memory control unit 201 stores the image data generated by reading the original in the page memory M2 (S560). .

ページメモリ制御部201は書き込み許可フラグF2をリセットする(S570)。ページメモリ制御部201は、先にページメモリM2の画像データを読み出しプリンタエンジン14により印刷する(S580)。次に、ページメモリM2の画像データを読み出しプリンタエンジン14により印刷する(S590)。   The page memory control unit 201 resets the write permission flag F2 (S570). The page memory control unit 201 first reads the image data in the page memory M2 and prints it by the printer engine 14 (S580). Next, the image data in the page memory M2 is read and printed by the printer engine 14 (S590).

ページメモリM1、M2両方のデータが出力された場合、ステップS510に戻り、書き込み許可フラグF1、F2を再びセットする(S510)。   If both the page memories M1 and M2 have been output, the process returns to step S510, and the write permission flags F1 and F2 are set again (S510).

ステップS550に戻り、ページメモリM1に画像データを記憶した後、次の原稿が検出しなかった場合(S550のNo)、原稿のページ数が奇数であることになるので、ステップS590に進み、最後のページが印刷される。   Returning to step S550, after the image data is stored in the page memory M1, if the next document is not detected (No in S550), the number of pages of the document is an odd number, so the process proceeds to step S590, and the last Page is printed.

本実施形態の画像形成装置100は、画像データを所定数記憶してから印刷することで、例えば両面印刷への対応が容易になる。両面印刷の場合、用紙の搬送経路の特性により、出力結果の順を原稿と一致させるためには、裏面から印刷しなければならないが、ユーザが両面印刷を指定した際には、表・裏分のデータが揃ってから印刷すると共に、裏面から印刷すればよいので、両面印刷に対応することができる。また、原稿4ページ分を1枚の用紙に縮小印刷するような場合にはページメモリMの数を4にすればよいので、紙面を柔軟に構成できる。   The image forming apparatus 100 according to the present embodiment can easily cope with double-sided printing, for example, by printing after storing a predetermined number of image data. In double-sided printing, due to the characteristics of the paper transport path, printing must be done from the back side in order to match the order of the output results to the original. However, when the user specifies double-sided printing, Since it is sufficient to print after the data is prepared, it is only necessary to print from the back side, so that double-sided printing can be supported. Further, when four pages of the original document are reduced and printed on one sheet of paper, the number of page memories M may be set to four, so that the paper surface can be configured flexibly.

<第5の実施形態>
これまでの実施形態ではページメモリMの数が単数又は複数であっても固定されていることが前提であったが、動作状況に応じてページメモリMの数を可変にすることができる。
<Fifth Embodiment>
In the embodiments so far, it is assumed that the number of page memories M is fixed even if the number is one or more, but the number of page memories M can be made variable according to the operation situation.

図11は、ページメモリの数と出力エラー発生時の待ち時間の関係を示すタイムチャート図である。図11(a)はスキャナエンジン19による読み取り時間とプリンタエンジン14による印刷時間とが同程度の場合を示し、図11(b)はスキャナエンジン19による読み取り時間の方がプリンタエンジン14による印刷時間よりも長い場合を示す。   FIG. 11 is a time chart showing the relationship between the number of page memories and the waiting time when an output error occurs. FIG. 11A shows a case where the reading time by the scanner engine 19 and the printing time by the printer engine 14 are approximately the same. FIG. 11B shows that the reading time by the scanner engine 19 is longer than the printing time by the printer engine 14. It also shows a long case.

図11(a)、(b)のいずれもページメモリMの数は2つで、2ページ目の印刷途中に何らかの出力エラーが発生している。したがって、2ページ目は印刷されていないが、ページメモリMは2つあるので、出力エラーが復帰するまでに3ページまでの画像データをページメモリM1に記憶することができる。図11(a)と(b)では、出力エラーから復帰後の印刷効率に違いが出る。   11A and 11B, the number of page memories M is two, and some output error has occurred during the printing of the second page. Accordingly, the second page is not printed, but there are two page memories M, so that up to three pages of image data can be stored in the page memory M1 until the output error is restored. In FIGS. 11A and 11B, there is a difference in printing efficiency after returning from an output error.

エラーから復帰すると、プリンタエンジン14は2ページ目から印刷を再開し、2ページ目の印刷が終了するとページメモリ制御部201は、4ページ目の画像データをページメモリM2に記憶する。   When returning from the error, the printer engine 14 resumes printing from the second page, and when printing of the second page ends, the page memory control unit 201 stores the image data of the fourth page in the page memory M2.

プリンタエンジン14が2ページ目の印刷を完了すると、プリンタエンジン14は3ページ目の印刷が可能となるが、図11(b)の読み取り時間>印刷時間の場合、3ページ目の印刷が終了した時点では、4ページ目の画像データがまだページメモリM2に全て記憶されていない。このため、読み取り時間>印刷時間の場合、プリンタエンジン14に待ち時間が発生し効率を低下させてしまう。   When the printer engine 14 completes the printing of the second page, the printer engine 14 can print the third page. However, when the reading time of FIG. 11B> the printing time, the printing of the third page is completed. At the time, the image data for the fourth page is not yet stored in the page memory M2. For this reason, when the reading time> the printing time, a waiting time is generated in the printer engine 14 and the efficiency is lowered.

すなわち、図11(a)のように読み取り時間と印刷時間が同定の場合、ページメモリMは2つあれば、例え、出力エラーが発生し、印刷が中断・再開しても、1つ先の原稿のページまで先読みが完了しているので、出力エラーから復帰した後にプリンタエンジン14に待ち時間は発生しない。   That is, when the reading time and the printing time are identified as shown in FIG. 11A, if there are two page memories M, for example, even if an output error occurs and printing is interrupted / resumed, Since prefetching has been completed up to the original page, no waiting time is generated in the printer engine 14 after returning from the output error.

しかし、図11(b)のように読み取り時間>印刷時間の場合、ページメモリが2つでは、出力エラーから復帰した後にプリンタエンジン14に待ち時間は発生してしまう。なお、図11(b)のように読み取り時間>印刷時間の場合、エラーが発生しなくても、スキャナエンジン19の処理速度とプリンタエンジン14の処理速度の関係から、プリンタエンジン14に待ち時間が発生すると予想される。   However, when reading time> printing time as shown in FIG. 11B, if there are two page memories, a waiting time occurs in the printer engine 14 after returning from the output error. If the reading time> the printing time as shown in FIG. 11B, the printer engine 14 has a waiting time due to the relationship between the processing speed of the scanner engine 19 and the processing speed of the printer engine 14 even if no error occurs. Expected to occur.

このような待ち時間はページメモリMの数が十分でないために生じるため、出力エラーの発生の有無に関わらず、ページメモリMの数が増えれば、コピー全体に掛かる時間を短縮できる。すなわち、読み取り時間>印刷時間の場合、ページメモリMの数を増やすことで、出力エラーによる印刷の中断・再開後に、スキャナエンジン19の処理速度を原因とするコピー速度の遅延を防ぐことができる。   Since such a waiting time occurs because the number of page memories M is not sufficient, the time required for the entire copy can be shortened if the number of page memories M is increased regardless of whether or not an output error has occurred. That is, when the reading time> the printing time, the number of page memories M is increased, so that a delay in the copying speed due to the processing speed of the scanner engine 19 can be prevented after the printing is interrupted / resumed due to an output error.

なお、読み取り時間と印刷時間は固定でなく、カラー印刷、原稿の用紙サイズ、階調度等により変動する。したがって、画像形成装置100の動作状況に応じて読み取り時間と印刷時間の大小関係も変動しうることになり、ページメモリMの数は、読み取り時間及び印刷時間に基づき決定することが好適となる。   Note that the reading time and printing time are not fixed, but vary depending on color printing, the paper size of the original, the gradation, and the like. Therefore, the magnitude relationship between the reading time and the printing time can be changed according to the operation state of the image forming apparatus 100, and the number of page memories M is preferably determined based on the reading time and the printing time.

決定の仕方は、例えば、
読み取り時間>印刷時間の場合、 ページメモリMの数:3以上
読み取り時間>2×印刷時間の場合、ページメモリMの数:5以上
読み取り時間>3×印刷時間の場合、ページメモリMの数:7以上
である。
For example, how to decide
When reading time> printing time, number of page memories M: 3 or more Reading time> 2 × printing time, number of page memories M: 5 or more Reading time> 3 × number of page memories M when printing time: 7 or more.

なお、読み取り時間、印刷時間はそれぞれの処理速度と画像データのデータサイズから算出されるので、スキャナエンジン19の処理速度とプリンタエンジン14の処理速度の大小に応じて決定してもよい。   Since the reading time and the printing time are calculated from the processing speed and the data size of the image data, they may be determined according to the processing speed of the scanner engine 19 and the processing speed of the printer engine 14.

画像記憶領域制御部207は、スタートキー305が操作されるとカラー印刷の有無、用紙サイズ、階調度などの動作条件から読み取り時間と印刷時間を算出し、両者の関係に応じて、画像記憶領域Gを幾つのページメモリMで分割するか決定する。   When the start key 305 is operated, the image storage area control unit 207 calculates the reading time and the printing time from the operating conditions such as the presence / absence of color printing, the paper size, and the gradation, and the image storage area The number of page memories M to divide G is determined.

図12はカラー機かモノクロ機かに応じてページメモリMの数を決定する場合の説明図を示す。   FIG. 12 is an explanatory diagram in the case where the number of page memories M is determined depending on whether a color machine or a monochrome machine.

スキャナエンジン19で読み取り、記憶する画像データは色毎にページメモリMに記憶する。モノクロ画像の場合はKの1色であるのに対し、フルカラーの場合はCMYKの4色なのでカラー画像はモノクロ画像の4倍のサイズのページメモリMが必要となる。   Image data read and stored by the scanner engine 19 is stored in the page memory M for each color. In the case of a monochrome image, there is one color of K. In the case of a full color, there are four colors of CMYK, so the color image requires a page memory M that is four times the size of the monochrome image.

モノクロ機はフルカラーで印刷することはないので、予め1色分のページメモリMを持っていればよい。図12では、モノクロ機のページメモリMの数を2つとした。したがって、モノクロ機かカラー機かに応じて、ページメモリMのサイズを決定でき、ページメモリMのサイズからページメモリMの数を決定できる。モノクロ機かカラー機かは固定されているので、ページメモリMのサイズ及び数は出荷時に決定できる。   Since the monochrome machine does not print in full color, it is sufficient to have a page memory M for one color in advance. In FIG. 12, the number of page memories M of the monochrome machine is two. Therefore, the size of the page memory M can be determined according to whether the device is a monochrome machine or a color machine, and the number of page memories M can be determined from the size of the page memory M. Since the monochrome or color machine is fixed, the size and number of page memories M can be determined at the time of shipment.

また、カラー機の場合は、印刷時にカラー印刷かモノクロ印刷かに応じてページメモリMのサイズ及び数を決定してもよい。   In the case of a color machine, the size and number of page memories M may be determined according to whether color printing or monochrome printing is performed.

図示するように、フルカラーコピーが指定された場合、本来であればモノクロの場合の4倍である8個のページメモリMが必要となるが、仮に、ページメモリMの数が7個しかなかった場合、1ページ前のページの出力が終了し、4個以上のページメモリの書き込みが可能になるまで読み取りを開始できない。この場合、スキャナエンジン19が読み取り開始できる状況であるにもかかわらず、待ち状態が発生してしまう可能性がある。   As shown in the figure, when full-color copy is designated, eight page memories M, which is four times that in the case of monochrome, are necessary, but there are only seven page memories M. In this case, reading cannot be started until the output of the previous page is completed and writing of four or more page memories becomes possible. In this case, there is a possibility that a waiting state may occur although the scanner engine 19 can start reading.

したがって、カラー機(カラー印刷)か否か、及び、カラー印刷の場合の色の数に合わせてページメモリMの数を決定することで、ページメモリMの数を原因とする複写の遅延を防ぐことができる。   Therefore, by determining the number of page memories M according to whether or not the color machine (color printing) is used and the number of colors in the case of color printing, a copy delay caused by the number of page memories M is prevented. be able to.

続いて、最大読み取りサイズからページメモリMの数を決定する場合を説明する。図13は、読みとりサイズとページメモリMのサイズの関係の一例を示す。上述したように、画像記憶領域Gの最大サイズには制約がある。そして、ページメモリMは、画像記憶領域Gを分割して形成される。このため、ページメモリMの数を多くすれば1つのページメモリMの容量は小さくなという、ページメモリMの数と1つのページメモリMの容量には反比例の関係がある。   Next, a case where the number of page memories M is determined from the maximum reading size will be described. FIG. 13 shows an example of the relationship between the read size and the size of the page memory M. As described above, the maximum size of the image storage area G is limited. The page memory M is formed by dividing the image storage area G. For this reason, there is an inversely proportional relationship between the number of page memories M and the capacity of one page memory M, that is, the capacity of one page memory M is reduced when the number of page memories M is increased.

また、一方で、画像形成装置100のスキャナエンジン19には最大読み取り領域が定まっているため、最大読み取り領域で読み取った場合にも、その画像データが1つのページメモリMに記憶できるように、ページメモリMの1つの容量を決定しなければならない。   On the other hand, since the maximum reading area is determined in the scanner engine 19 of the image forming apparatus 100, the page data can be stored in one page memory M even when the image data is read in the maximum reading area. One capacity of the memory M must be determined.

図13では、最大読み取り領域がA3の場合とA4の場合に必要なページメモリMのサイズの関係を示す。A3はA4の倍の面積なので、読み取り条件が同じならA3の原稿を読み取る場合、ページメモリMにはA4の倍の容量が必要になる。   FIG. 13 shows the relationship between the size of the page memory M required when the maximum reading area is A3 and A4. Since A3 has an area twice that of A4, if the reading conditions are the same, the page memory M needs to have a capacity twice as large as A4 when the A3 document is read.

したがって、まず、画像記憶領域Gの最大サイズは、最低限、最大読み取り領域の画像データを記憶できる容量が要求される。最大読み取り領域の画像データを記憶できる容量で画像記憶領域Gの最大サイズを割った場合の商がページメモリMの数となる。   Accordingly, first, the maximum size of the image storage area G is required to have at least a capacity capable of storing the image data of the maximum reading area. The quotient when the maximum size of the image storage area G is divided by the capacity capable of storing the image data of the maximum reading area is the number of page memories M.

このように、ページメモリの数を決定することで、読み取れる原稿の全てのサイズにおいて確実にページメモリMに記憶することができる。また、最大読み取り領域がA4の画像形成装置100にA3分の容量のページメモリMを持たせないことで、使用しない無駄なメモリ領域をなるべく発生させず、RAM16を効率的に使用することができる。最大読み取り領域は既知であるので、ページメモリMのサイズ及び数は出荷時に決定できる。   In this way, by determining the number of page memories, it is possible to reliably store all the sizes of originals that can be read in the page memory M. Further, since the image reading apparatus 100 having the maximum reading area A4 does not have the page memory M having the capacity of A3, the RAM 16 can be used efficiently without generating unnecessary memory areas that are not used. . Since the maximum reading area is known, the size and number of page memories M can be determined at the time of shipment.

ところで、最大読み取り領域がA3であっても、実際に複写する場合はA4などそれよりも小さい原稿を複写する場合が少なくない。この場合、最大読み取り領域に応じてページメモリMのサイズを決定すると、ページメモリMの数を増やせないという不都合が生じる一方、A4の原稿を複写する場合は1つ1つのページメモリMの半分しか使用しないため使用効率が低下するという不都合が生じる。   By the way, even if the maximum reading area is A3, there are many cases where a smaller original such as A4 is copied when actually copying. In this case, if the size of the page memory M is determined according to the maximum reading area, there is a disadvantage that the number of the page memories M cannot be increased. Since it is not used, there arises a disadvantage that the use efficiency is lowered.

そこで、原稿の用紙サイズ、又は、印刷用の用紙サイズに応じてページメモリMのサイズを決定することが好適となる。原稿の用紙サイズは、コンタクトガラスに載置された原稿の大きさを所定のセンサで検出でき、用紙サイズはユーザが表示部302から入力した値を用いればよい。原稿の用紙サイズと印刷用の用紙サイズが異なる場合は、大きい方に合わせる。ページメモリMの数は、画像記憶領域GをページメモリMのサイズを割った際の商として決定できる。   Therefore, it is preferable to determine the size of the page memory M according to the paper size of the original or the paper size for printing. As the paper size of the original, the size of the original placed on the contact glass can be detected by a predetermined sensor, and the value input by the user from the display unit 302 may be used as the paper size. If the original paper size and the printing paper size are different, the larger one is used. The number of page memories M can be determined as a quotient when the image storage area G is divided by the size of the page memory M.

原稿の用紙サイズ、又は、印刷用の用紙サイズに応じてページメモリMの数を決定することで、RAM16を効率的に使用でき、数を増やすこともできるのでプリンタエンジン14の待ち時間をなくしまた短くすることができる。   By determining the number of page memories M according to the paper size of the document or the paper size for printing, the RAM 16 can be used efficiently and the number can be increased, so that the waiting time of the printer engine 14 is eliminated. Can be shortened.

<第6の実施形態>
第5の実施形態では、読み取り時間と印刷時間に応じてページメモリMの数を決定したが、RAM16の処理速度に応じて決定してもよい。なお、本実施形態では、スキャナエンジン19とプリンタエンジン14の処理速度(読み取り時間と印刷時間)は等しいとする。
<Sixth Embodiment>
In the fifth embodiment, the number of page memories M is determined according to the reading time and the printing time, but may be determined according to the processing speed of the RAM 16. In the present embodiment, it is assumed that the processing speed (reading time and printing time) of the scanner engine 19 and the printer engine 14 are equal.

図14は、RAM16の処理速度を考慮した場合の、読み取りと印刷の間に生じる待ち時間の発生を示すタイムチャート図である。図14(a)は、RAM16の処理速度が速い場合を、図14(b)はRAM16の処理速度が遅い場合(約1/2)を示す。なお、RAM16の処理速度とは、RAM16へ画像データを書き込んだ後の後処理と読み出し前の前処理の処理速度をいう。したがって、1ページごとに後処理と前処理が発生している。図では後処理が終了するとプリンタエンジン14が印刷を開始するとした。   FIG. 14 is a time chart showing the occurrence of a waiting time that occurs between reading and printing when the processing speed of the RAM 16 is taken into consideration. FIG. 14A shows a case where the processing speed of the RAM 16 is fast, and FIG. 14B shows a case where the processing speed of the RAM 16 is slow (about 1/2). Note that the processing speed of the RAM 16 refers to the processing speed of post-processing after writing image data to the RAM 16 and pre-processing before reading. Therefore, post-processing and pre-processing occur for each page. In the figure, it is assumed that the printer engine 14 starts printing when the post-processing is completed.

ページメモリMが2つの場合、2ページ目の読み取りが終了すると、後処理と前処理のため2ページ目の印刷が開始されるまでに遅延が生じ、読み取り時間と印刷時間が同じだと、この遅延時間の間、ページメモリM1が開放されないため、3ページ目の読み取りを開始するまでに、待ち時間が発生する。   When there are two page memories M, when the reading of the second page is completed, a delay occurs until the printing of the second page is started for post-processing and pre-processing. Since the page memory M1 is not released during the delay time, a waiting time is generated before the reading of the third page is started.

この待ち時間は、図14(a)と(b)を比較すればわかるように、RAM16の処理速度に起因する。図14(b)のRAM16の処理速度は図14(a)の1/2なので、待ち時間も2倍になっている。   This waiting time is caused by the processing speed of the RAM 16, as can be seen by comparing FIGS. 14 (a) and 14 (b). Since the processing speed of the RAM 16 in FIG. 14B is 1/2 that in FIG. 14A, the waiting time is also doubled.

すなわち、ページメモリが2つだと、2ページ目と3ページ目の間にRAM16の処理速度に応じてスキャナエンジン19の待ち時間が発生する。RAM16の処理速度が遅ければ遅いほど、スキャナエンジン19の待ち時間が発生してしまう。   That is, if there are two page memories, the waiting time of the scanner engine 19 occurs between the second and third pages according to the processing speed of the RAM 16. The slower the processing speed of the RAM 16, the longer the waiting time of the scanner engine 19.

したがって、RAM16の処理速度が遅い場合、ページメモリMの数を増やすことで、RAM16の処理速度を原因とする複写の遅延を防ぐことができる。処理速度は既知なので、出荷時にページメモリMのサイズ及び数を決定できる。
なお、本実施形態では、スキャナエンジン19とプリンタエンジン14の処理速度(読み取り時間と印刷時間)は等しいとしたが、第5の実施形態と組み合わせ、読み取り時間と印刷時間に応じてさらにページメモリMの数を決定してもよい。
Therefore, when the processing speed of the RAM 16 is low, the number of page memories M can be increased to prevent copying delay due to the processing speed of the RAM 16. Since the processing speed is known, the size and number of page memories M can be determined at the time of shipment.
In this embodiment, the processing speeds (reading time and printing time) of the scanner engine 19 and the printer engine 14 are the same. However, in combination with the fifth embodiment, the page memory M is further increased according to the reading time and the printing time. May be determined.

<第7の実施形態>
同じアプリケーションを実行する場合、プログラムデータ領域Pとデータ領域Dの容量は決められたある一定の容量であり、データ記憶領域GはRAM16のその残りの容量を当てることができる。
<Seventh Embodiment>
When the same application is executed, the capacities of the program data area P and the data area D are a predetermined fixed capacity, and the data storage area G can use the remaining capacity of the RAM 16.

すると、アプリーションが異なれば、プログラムデータ領域Pとデータ領域Dの容量も異なることになるので、固定的に1つのページメモリMの容量Cを決定した場合、画像記憶領域Gの容量も異なることになり、アプリケーションに応じてページメモリMの数を決定することができる。   Then, if the application is different, the capacities of the program data area P and the data area D are also different. Therefore, when the capacity C of one page memory M is fixedly determined, the capacity of the image storage area G is also different. Thus, the number of page memories M can be determined according to the application.

図15は、プログラムデータ領域P又はデータ領域Dの容量と画像記憶領域Gの容量の関係を示す。図15(a)はプログラムデータ領域Pが大きく、図15(b)はプログラムデータ領域Pがそれよりも小さい場合を示す。なお、データ領域Dの大きさは共通である。   FIG. 15 shows the relationship between the capacity of the program data area P or the data area D and the capacity of the image storage area G. FIG. 15A shows a case where the program data area P is large, and FIG. 15B shows a case where the program data area P is smaller than that. The size of the data area D is common.

したがって、図15(b)では、図15(a)よりも大きな容量の画像記憶領域Gを割り当てることができる。1つのページメモリの容量は容量Cなので、図15(b)ではその分、ページメモリMの数を増やすことができる。   Accordingly, in FIG. 15B, an image storage area G having a larger capacity than that in FIG. 15A can be allocated. Since the capacity of one page memory is the capacity C, the number of page memories M can be increased correspondingly in FIG.

画像記憶領域Gの容量に合わせてページメモリMの数を決定することで、画像記憶領域Gの容量が大きければ、原稿の先読みができ、読み取り終わるまでに掛かる時間を短縮できる。なお、画像記憶領域Gの容量を固定にすれば出荷時にページメモリMのサイズ及び数を決定できる。   By determining the number of page memories M according to the capacity of the image storage area G, if the capacity of the image storage area G is large, the document can be pre-read, and the time taken to complete the reading can be shortened. If the capacity of the image storage area G is fixed, the size and number of page memories M can be determined at the time of shipment.

以上説明したように、本実施形態の画像形成装置100は、アプリケーションが使用するRAM16の一部をページメモリに割り当てることで、比較的容易な制御で画像データの読み込みと書き込みのタイミングを最適化できる。また、RAM16は柔軟に領域を分割できるので、読み取りや書き込みの処理速度、用紙サイズなどの動作条件、RAM16の処理速度等、に応じてページメモリMの数や大きさを可変に分割し、最適な複写条件を提供できる。   As described above, the image forming apparatus 100 according to the present embodiment can optimize the timing of reading and writing image data with relatively easy control by allocating a part of the RAM 16 used by the application to the page memory. . In addition, since the RAM 16 can flexibly divide the area, the number and size of the page memory M are variably divided according to the reading and writing processing speed, the operating conditions such as the paper size, the processing speed of the RAM 16, and the like. Copy conditions can be provided.

画像形成装置の概略図の一例である。1 is an example of a schematic diagram of an image forming apparatus. 画像形成装置のハードウェア構成図の一例である。1 is an example of a hardware configuration diagram of an image forming apparatus. 操作部に表示されるUIの一例を示す図である。It is a figure which shows an example of UI displayed on an operation part. 画像形成装置のソフトウェア構成図の一例である。2 is an example of a software configuration diagram of an image forming apparatus. FIG. RAMの領域説明図の一例である。It is an example of a RAM area explanatory diagram. ページメモリ制御部が画像データの読み出しと書き込みのタイミングを制御する手順のフローチャート図である(第1の実施形態)。FIG. 5 is a flowchart of a procedure in which a page memory control unit controls the timing of reading and writing image data (first embodiment). RAMの領域説明図の一例である。It is an example of a RAM area explanatory diagram. 2つのページメモリM1、M2を有する場合に、ページメモリ制御部が画像データを一方のページメモリM1又はM2に記憶させる手順のフローチャート図である。FIG. 6 is a flowchart of a procedure for causing a page memory control unit to store image data in one page memory M1 or M2 when two page memories M1 and M2 are provided. ページメモリ制御部が画像データをn個のページメモリM1〜Mnに次々と記憶させ、プリンタエンジン14が順次印刷する手順のフローチャート図である。FIG. 5 is a flowchart of a procedure in which a page memory control unit sequentially stores image data in n page memories M1 to Mn, and a printer engine 14 sequentially prints the image data. ページメモリ制御部が所定数の画像データを記憶する度に所定数の画像データを印刷する手順のフローチャート図である。FIG. 5 is a flowchart of a procedure for printing a predetermined number of image data every time the page memory control unit stores the predetermined number of image data. ページメモリの数と出力エラー発生時の待ち時間の関係を示すタイムチャート図である。It is a time chart which shows the relationship between the number of page memories and the waiting time at the time of output error occurrence. カラー印刷かモノクロ印刷かに応じてページメモリMの数を決定する場合の説明図である。It is explanatory drawing in the case of determining the number of page memories M according to color printing or monochrome printing. 読みとりサイズとページメモリMのサイズの関係の一例を示す図である。6 is a diagram illustrating an example of a relationship between a read size and a size of a page memory M. FIG. RAMの処理速度を考慮した場合の、読み取りと印刷の間に生じる待ち時間の発生を示すタイムチャート図である。It is a time chart figure which shows generation | occurrence | production of the waiting time which arises between reading and printing when the processing speed of RAM is considered. プログラムデータ領域P又はデータ領域Dの容量と画像記憶領域Gの容量の関係を示す図である。FIG. 3 is a diagram showing the relationship between the capacity of a program data area P or data area D and the capacity of an image storage area G.

符号の説明Explanation of symbols

11 CPU
12 ROM
14 プリンタエンジン
15 RAM制御部
16 RAM
19 スキャナエンジン
20 プログラム
21 記憶媒体
100 画像形成装置
201 ページメモリ制御部
202 データ蓄積制御部
203 スキャナ読み取り制御部
204 プロッタ印刷制御部
205 システム構成管理部
206 記憶領域管理部
207 画像記憶領域制御部
11 CPU
12 ROM
14 Printer Engine 15 RAM Control Unit 16 RAM
DESCRIPTION OF SYMBOLS 19 Scanner engine 20 Program 21 Storage medium 100 Image forming apparatus 201 Page memory control part 202 Data accumulation control part 203 Scanner reading control part 204 Plotter printing control part 205 System configuration management part 206 Storage area management part 207 Image storage area control part

Claims (11)

原稿を読み取り該原稿の画像データを生成する読み取り手段と、
実行されたプログラムの作業領域となる記憶装置と、
前記画像データを用紙に出力する出力手段と、を有する画像形成装置において、
前記記憶装置を、アプリケーションに応じて、アプリケーションの領域、データ領域、及び、前記画像データを記憶する領域に分割する記憶領域管理手段と、
前記画像データを記憶する領域を確保及び開放すると共に、確保した場合、該画像データを記憶し又読み出す以外のプロセスのアクセスを禁止する記憶領域確保手段と
前記画像データを記憶する領域を、前記画像データを記憶する所定数のページメモリに区画する画像記憶領域制御手段と、
前記ページメモリに記憶した前記画像データを読み出し、該ページメモリの画像データの出力後、前記読み取り手段により生成された前記画像データを前記ページメモリに記憶するページメモリ制御手段と、を有し、
前記画像記憶領域制御手段は、印刷条件がカラー印刷若しくはモノクロ印刷かに応じて、又は、原稿の用紙サイズ若しくは印刷用の用紙サイズに応じて、区画する前記ページメモリの数又はサイズを決定する、
ことを特徴とする画像形成装置。
Reading means for reading an original and generating image data of the original;
A storage device serving as a work area for the executed program;
An image forming apparatus having output means for outputting the image data to paper;
A storage area management unit that divides the storage device into an application area, a data area, and an area for storing the image data according to an application;
Securing and releasing the area for storing the image data, and if secured, storage area securing means for prohibiting access to processes other than storing and reading the image data ;
An area for storing the image data, an image storage area control means for partitioning a predetermined number of the page memory for storing the image data,
Page memory control means for reading the image data stored in the page memory, storing the image data generated by the reading means in the page memory after outputting the image data of the page memory ,
The image storage area control means determines the number or size of the page memory to be divided according to whether the printing condition is color printing or monochrome printing, or according to the paper size of the document or the paper size for printing.
An image forming apparatus.
前記出力手段が正常な場合、
前記ページメモリ制御手段は、複数あるページメモリの第1ページメモリに前記画像データを記憶し、
前記出力手段に出力エラーが生じた場合、
前記ページメモリ制御手段は、出力エラーにより出力できなかったページの画像データを複数あるページメモリの第2ページメモリに記憶し、
前記出力エラーが解消した場合、
前記第2ページメモリの前記画像データを前記第1ページメモリの前記画像データよりも先に読み出し、前記出力手段に送出する、
ことを特徴とする請求項1記載の画像形成装置。
If the output means is normal,
The page memory control means stores the image data in a first page memory of a plurality of page memories,
When an output error occurs in the output means,
The page memory control means stores image data of a page that could not be output due to an output error in a second page memory of a plurality of page memories,
If the output error is resolved,
Reading the image data of the second page memory before the image data of the first page memory and sending it to the output means;
The image forming apparatus according to claim 1.
前記ページメモリ制御手段は、
前記読み取り手段が読み取った画像データを、複数の前記ページメモリの全てが該画像データの記憶状態になるまで順次記憶すると共に、
前記出力手段とは非同期に、前記ページメモリに記憶した前記画像データを読み出し、
複数の前記ページメモリの全てが該画像データの記憶状態になった場合、最も古い前記画像データが記憶された前記ページメモリに前記読み取り手段が読み取った画像データを上書きする、
ことを特徴とする請求項1記載の画像形成装置。
The page memory control means includes
The image data read by the reading unit is sequentially stored until all of the plurality of page memories are in a storage state of the image data,
Read the image data stored in the page memory asynchronously with the output means,
When all of the plurality of page memories are in the storage state of the image data, the image data read by the reading unit is overwritten on the page memory in which the oldest image data is stored.
The image forming apparatus according to claim 1.
前記ページメモリ制御手段は、
別々の前記画像データが2以上の所定数の前記ページメモリにそれぞれ記憶される毎に、
前記所定数の前記ページメモリに記憶された前記画像データを順次読み出し、前記出力手段に送出する、
ことを特徴とする請求項1記載の画像形成装置。
The page memory control means includes
Each time the separate image data is stored in a predetermined number of the page memories of 2 or more,
Sequentially reading out the image data stored in the predetermined number of page memories and sending it to the output means;
The image forming apparatus according to claim 1.
前記画像記憶領域制御手段は、
前記読み取り手段及び前記出力手段の処理速度に応じて、区画する前記ページメモリの数を決定する、
ことを特徴とする請求項1記載の画像形成装置。
The image storage area control means includes:
The number of the page memories to be partitioned is determined according to the processing speed of the reading unit and the output unit.
The image forming apparatus according to claim 1.
前記画像記憶領域制御手段は、前記画像データを前記記憶装置に記憶又は読み出す際の処理速度に基づき、区画する前記ページメモリの数を決定する、
ことを特徴とする請求項1記載の画像形成装置。
The image storage area control means determines the number of page memories to be partitioned based on a processing speed when the image data is stored in or read from the storage device.
The image forming apparatus according to claim 1.
原稿を読み取り該原稿の画像データを生成する読み取り手段と、
プログラム実行の作業領域となる記憶装置と、
前記画像データを用紙に出力する出力手段と、を有する画像形成装置の画像データ処理方法において、
記憶領域管理手段が、前記記憶装置を、アプリケーションに応じて、アプリケーションの領域、データ領域、及び、前記画像データを記憶する領域に分割するステップと、
画像記憶領域制御手段が、前記画像データを記憶する領域を、前記画像データを記憶する所定数のページメモリに区画するステップと、
前記画像記憶領域制御手段が、印刷条件がカラー印刷若しくはモノクロ印刷かに応じて、又は、原稿の用紙サイズ若しくは印刷用の用紙サイズに応じて、区画する前記ページメモリの数及びサイズを決定するステップと、
記憶領域確保手段が、前記画像データを記憶する領域を確保及び開放すると共に、確保した場合、該画像データを記憶し又読み出す以外のプロセスのアクセスを禁止するステップと
ページメモリ制御手段が、前記ページメモリに記憶した前記画像データを読み出すステップと、
該ページメモリの画像データの出力後、前記読み取り手段に生成された前記画像データを前記ページメモリに記憶するステップと、
を有することを特徴とする画像データ処理方法。
Reading means for reading an original and generating image data of the original;
A storage device as a work area for program execution;
In an image data processing method of an image forming apparatus having output means for outputting the image data to paper,
A storage area management means for dividing the storage device into an application area, a data area, and an area for storing the image data according to an application;
Image storage area control means partitioning the area for storing the image data into a predetermined number of page memories for storing the image data;
The image storage area control means determines the number and size of the page memories to be divided according to whether the printing condition is color printing or monochrome printing, or according to the paper size of the document or the paper size for printing. When,
A storage area securing means secures and releases an area for storing the image data, and if secured, prohibits access to a process other than storing and reading the image data ;
Page memory control means reads the image data stored in the page memory;
Storing the image data generated in the reading means in the page memory after outputting the image data in the page memory;
An image data processing method comprising:
前記出力手段が正常な場合、
前記ページメモリ制御手段が、複数あるページメモリの第1ページメモリに前記画像データを記憶するステップと、
前記出力手段に出力エラーが生じた場合、
前記ページメモリ制御手段が、出力エラーにより出力できなかったページの画像データを複数あるページメモリの第2ページメモリに記憶するステップと、を有し、
前記出力エラーが解消した場合、
前記ページメモリ制御手段は、前記第2ページメモリの前記画像データを前記第1ページメモリの前記画像データよりも先に読み出し、前記出力手段に送出する、
ことを特徴とする請求項7記載の画像データ処理方法。
If the output means is normal,
The page memory control means storing the image data in a first page memory of a plurality of page memories;
When an output error occurs in the output means,
The page memory control means storing the image data of a page that could not be output due to an output error in a second page memory of a plurality of page memories, and
If the output error is resolved,
The page memory control means reads the image data of the second page memory before the image data of the first page memory, and sends it to the output means;
The image data processing method according to claim 7 .
前記ページメモリ制御手段が、
複数の前記ページメモリの全てに該画像データが記憶されているか否かを判定するステップと、
複数の前記ページメモリの全てに該画像データが記憶されてないと判定された場合、前記読み取り手段が読み取った画像データを前記ページメモリに記憶するステップと、
前記出力手段とは非同期に、前記ページメモリに記憶した順に前記画像データを読み出し、
複数の前記ページメモリの全てに該画像データが記憶されていると判定された場合、最も古い前記画像データが記憶された前記ページメモリに前記読み取り手段が読み取った画像データを上書きするステップと、
を有することを特徴とする請求項8記載の画像データ処理方法。
The page memory control means is
Determining whether the image data is stored in all of the plurality of page memories;
Storing the image data read by the reading means in the page memory when it is determined that the image data is not stored in all of the plurality of page memories;
Asynchronously with the output means, the image data is read in the order stored in the page memory,
When it is determined that the image data is stored in all of the plurality of page memories, overwriting the image data read by the reading unit on the page memory in which the oldest image data is stored;
9. The image data processing method according to claim 8, further comprising :
前記ページメモリ制御手段が、
別々の前記画像データが2以上の所定数の前記ページメモリにそれぞれ記憶されたか否かを判定するステップと、
別々の前記画像データが2以上の所定数の前記ページメモリにそれぞれ記憶されたと判定された場合、前記所定数の前記ページメモリに記憶された前記画像データを順次読み出し、前記出力手段に送出するステップと、
を有することを特徴とする請求項7記載の画像データ処理方法。
The page memory control means is
Determining whether the separate image data is respectively stored in a predetermined number of the page memories of 2 or more;
Where separate the image data is determined to have been stored respectively in the two or more predetermined number of said page memory, sequentially reading the image data stored in the page memory the predetermined number, and out-feed to said output means Steps,
8. The image data processing method according to claim 7, further comprising :
原稿を読み取り該原稿の画像データを生成する読み取り手段と、
プログラム実行の作業領域となる記憶装置と、
前記画像データを用紙に出力する出力手段と、を有する画像形成装置に、
前記記憶装置を、アプリケーションに応じて、アプリケーションの領域、データ領域、及び、前記画像データを記憶する領域に分割するステップと、
印刷条件がカラー印刷若しくはモノクロ印刷かに応じて、又は、原稿の用紙サイズ若しくは印刷用の用紙サイズに応じて、区画する前記ページメモリの数及びサイズを決定するステップと、
前記画像データを記憶する領域を、前記画像データを記憶する所定数のページメモリに区画するステップと、
前記画像データを記憶する領域を確保及び開放すると共に、確保した場合、該画像データを記憶し又読み出す以外のプロセスのアクセスを禁止するステップと
前記ページメモリに記憶した前記画像データを読み出すステップと、
該ページメモリの画像データの出力後、前記読み取り手段に生成された前記画像データを前記ページメモリに記憶するステップと、
を実行させるプログラム。
Reading means for reading an original and generating image data of the original;
A storage device as a work area for program execution;
An image forming apparatus having output means for outputting the image data to paper;
Dividing the storage device into an application area, a data area, and an area for storing the image data according to an application;
Determining the number and size of the page memory to be partitioned according to whether the printing condition is color printing or monochrome printing, or according to the paper size of the document or the paper size for printing;
Partitioning the area for storing the image data into a predetermined number of page memories for storing the image data;
Securing and releasing an area for storing the image data, and if secured, prohibiting access to processes other than storing and reading the image data ;
Reading the image data stored in the page memory;
Storing the image data generated in the reading means in the page memory after outputting the image data in the page memory;
A program that executes
JP2007218593A 2007-08-24 2007-08-24 Image forming apparatus, image data processing method, and program Expired - Fee Related JP4856604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007218593A JP4856604B2 (en) 2007-08-24 2007-08-24 Image forming apparatus, image data processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007218593A JP4856604B2 (en) 2007-08-24 2007-08-24 Image forming apparatus, image data processing method, and program

Publications (2)

Publication Number Publication Date
JP2009055205A JP2009055205A (en) 2009-03-12
JP4856604B2 true JP4856604B2 (en) 2012-01-18

Family

ID=40505890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007218593A Expired - Fee Related JP4856604B2 (en) 2007-08-24 2007-08-24 Image forming apparatus, image data processing method, and program

Country Status (1)

Country Link
JP (1) JP4856604B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5915670B2 (en) * 2014-01-14 2016-05-11 コニカミノルタ株式会社 Image processing apparatus, image processing method and image processing program in the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05330155A (en) * 1992-06-01 1993-12-14 Fuji Xerox Co Ltd Printer controller
JPH07244727A (en) * 1994-03-07 1995-09-19 Fuji Xerox Co Ltd Image processor
JP2001334704A (en) * 2000-05-26 2001-12-04 Hitachi Koki Co Ltd Control method of printer control device
JP2004114674A (en) * 2002-08-27 2004-04-15 Ricoh Co Ltd Image forming apparatus and method of securing memory region

Also Published As

Publication number Publication date
JP2009055205A (en) 2009-03-12

Similar Documents

Publication Publication Date Title
JP4399490B2 (en) Image output device
JP6701735B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP3354227B2 (en) Digital copier operation control method
JPH11234490A (en) Image forming device
JP4856604B2 (en) Image forming apparatus, image data processing method, and program
EP2728848B1 (en) Image forming apparatus
JP2005225039A (en) Imaging method and imaging device
JP3685966B2 (en) Image forming apparatus
JP5168044B2 (en) Image reading apparatus and image forming apparatus
JP4494718B2 (en) Image forming apparatus and memory control method
JPH11155049A (en) Image output processor
JP2002108584A (en) Image processing apparatus and image forming device
JP4212200B2 (en) Image processing system
JP3707958B2 (en) Image processing apparatus and image forming apparatus
JP2006284772A (en) Image forming apparatus, sheet feed/ejection method in image printing, and program
JP2005258151A (en) Image output device
JP2011082814A (en) Image forming device
JP3203171B2 (en) Image forming device
JP2001136328A (en) Image processing unit
JP6809418B2 (en) Image processing device, preview display control method
JPH10294834A (en) Control method for image forming device
JP2000069257A (en) Image processor
JP4249362B2 (en) Image forming apparatus
JP2003259097A (en) Image processing apparatus and image processing method
JPH09261387A (en) Digital copy machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110822

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111004

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111028

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

Free format text: PAYMENT UNTIL: 20141104

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4856604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees