JP2005231374A - Printer, method for managing memory of the printer and record medium recording program - Google Patents

Printer, method for managing memory of the printer and record medium recording program Download PDF

Info

Publication number
JP2005231374A
JP2005231374A JP2005113052A JP2005113052A JP2005231374A JP 2005231374 A JP2005231374 A JP 2005231374A JP 2005113052 A JP2005113052 A JP 2005113052A JP 2005113052 A JP2005113052 A JP 2005113052A JP 2005231374 A JP2005231374 A JP 2005231374A
Authority
JP
Japan
Prior art keywords
image data
data memory
virtual storage
memory
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005113052A
Other languages
Japanese (ja)
Inventor
Toshihiro Shima
敏博 島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005113052A priority Critical patent/JP2005231374A/en
Publication of JP2005231374A publication Critical patent/JP2005231374A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer that can conduct high-quality printing with few image data memories. <P>SOLUTION: The printer consists of a generating means generating image data based on the received job data, image data memory memorizing image data generated with the above-mentioned generating means at each unit area, a second memory device in which a virtual memory area consisting of consecutive unit areas is formed, a memory managing means managing the processing about the virtual memory between the above-mentioned image data memory and the above-mentioned second memory device, and a providing means providing image data memorized in the above-mentioned image data memory to a printing engine. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、受信したジョブデータに基づいて生成されるイメージデータをイメージデータメモリに展開した後、印刷を行うページプリンタの技術に関する。   The present invention relates to a technology of a page printer that performs printing after developing image data generated based on received job data in an image data memory.

プリンタは、コンピュータから送信される印刷ジョブデータを受信すると、イメージデータメモリ上にこの印刷ジョブデータに従って生成したイメージデータを展開する。そして、プリンタは、用紙1ページ分のイメージデータを展開した後、順次、イメージデータを印刷エンジンに転送して、印刷を行う。   When receiving the print job data transmitted from the computer, the printer expands the image data generated according to the print job data on the image data memory. The printer develops image data for one page of paper, and then sequentially transfers the image data to the print engine to perform printing.

このように、プリンタは、1ページ分のイメージデータを記憶することができるイメージデータメモリが必要となる。例えば、A4の用紙に600dpi、モノクロで印刷するためには、約4MBのイメージデータメモリが必要となる。このようなイメージデータメモリは、一般に、DRAM等の半導体記憶装置によって構成されている。   As described above, the printer needs an image data memory capable of storing image data for one page. For example, in order to print on A4 paper at 600 dpi and monochrome, an image data memory of about 4 MB is required. Such an image data memory is generally constituted by a semiconductor storage device such as a DRAM.

近年は、コンピュータの発達に伴い、高速、高解像度、フルカラーを実現するプリンタが要求されている。このような要求を実現するためには、大容量のイメージデータメモリを搭載する必要があるが、コスト面を考慮すると、実現が困難であるという課題があった。   In recent years, with the development of computers, printers that realize high speed, high resolution, and full color have been required. In order to realize such a demand, it is necessary to mount a large-capacity image data memory, but there is a problem that it is difficult to realize in consideration of cost.

また、イメージデータメモリは、1ページ分のイメージデータを記憶できるように、コスト面を考慮しつつ、余裕を持ったサイズで構成されている。しかしながら、ドキュメントの内容によっては、イメージデータの生成中に、メモリ不足の状態に陥る場合がある。このようなメモリ不足の状態に対処するため、プリンタは、メモリ不足の状態に陥ると、解像度を低下させる等の画像最適化処理を行う。このため、ユーザが望む本来の印刷状態に比べて印刷品質が低下した印刷結果を招いてしまうという課題があった。
そこで、本発明の課題は、少ないイメージデータメモリにより高品質印刷を行うことができるプリンタを提供することである。
In addition, the image data memory is configured with a sufficient size in consideration of cost so that image data for one page can be stored. However, depending on the contents of the document, there may be a memory shortage state during image data generation. In order to deal with such a memory shortage state, the printer performs an image optimization process such as reducing the resolution when the memory shortage state occurs. For this reason, there has been a problem in that a printing result in which the printing quality is deteriorated as compared with the original printing state desired by the user is caused.
Accordingly, an object of the present invention is to provide a printer capable of performing high quality printing with a small amount of image data memory.

上記課題を解決するために、本発明は以下のように特定される。
すなわち、本発明は、受信したジョブデータに基づいてイメージデータを生成する生成手段と、前記生成手段によって生成されたイメージデータを単位領域ごとに記憶するイメージデータメモリと、連続する単位領域からなる仮想記憶領域が形成される二次記憶装置と、前記イメージデータメモリと前記二次記憶装置との間の仮想記憶に関する処理を管理する記憶管理手段と、前記イメージデータメモリに記憶されたイメージデータを印刷エンジンに供給する供給手段とを備えたことを特徴とするプリンタである。
In order to solve the above problems, the present invention is specified as follows.
That is, the present invention provides a generation unit that generates image data based on received job data, an image data memory that stores the image data generated by the generation unit for each unit region, and a virtual unit that includes continuous unit regions. A secondary storage device in which a storage area is formed; storage management means for managing processing relating to virtual storage between the image data memory and the secondary storage device; and printing image data stored in the image data memory And a supply unit that supplies the engine.

ここで、前記記憶管理手段は、前記供給手段が前記生成したイメージデータの先頭部分から順に供給できるように、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に順に出力することを特徴とする。   Here, the storage management means sequentially outputs the contents of the unit area in the virtual storage area to the unit area in the image data memory so that the supply means can supply the generated image data in order from the beginning. It is characterized by.

また、前記記憶管理手段は、前記供給手段によって供給が完了した前記イメージデータメモリにおける単位領域に、前記仮想記憶領域における単位領域の内容を順に出力することを特徴とする。   Further, the storage management means sequentially outputs the contents of the unit areas in the virtual storage area to the unit areas in the image data memory that have been supplied by the supply means.

さらに、前記記憶管理手段は、前記仮想記憶領域における単位領域が前記イメージデータメモリにおける単位領域のいずれかに割り当てられているか否かを判断する判断手段をさらに備え、前記生成手段が前記イメージデータを生成している間は、前記判断手段による判断に基づいて、前記イメージデータメモリにおける単位領域の内容を前記仮想記憶領域における単位領域に出力するとともに、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に出力し、前記供給手段が前記イメージデータを供給している間は、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に順に出力することを特徴とする。   Furthermore, the storage management means further comprises determination means for determining whether a unit area in the virtual storage area is assigned to any of the unit areas in the image data memory, and the generation means stores the image data. During generation, based on the determination by the determination means, the contents of the unit area in the image data memory are output to the unit area in the virtual storage area, and the contents of the unit area in the virtual storage area are output to the image. Output to the unit area in the data memory, and while the supplying means supplies the image data, the contents of the unit area in the virtual storage area are sequentially output to the unit area in the image data memory. .

なお、前記単位領域のメモリサイズは、印刷のバンド幅に基づくメモリサイズに対応するように構成することが望ましい。   It is desirable that the memory size of the unit area corresponds to the memory size based on the printing bandwidth.

一方、上記物の発明は方法の発明として把握することもできる。具体的には、本発明は、受信した印刷ジョブデータに基づいて生成したイメージデータをイメージデータメモリに記憶し、前記記憶したイメージデータを前記イメージデータメモリから読み出して印刷エンジンに供給するプリンタのメモリ管理方法であって、連続する単位領域からなる仮想記憶領域を二次記憶装置上に形成し、前記イメージデータメモリにアクセスする際に、前記イメージデータメモリと前記二次記憶装置との間で仮想記憶に関する処理を行うことを特徴とするプリンタのメモリ管理方法である。   On the other hand, the invention of the above can be grasped as a method invention. Specifically, the present invention stores image data generated based on received print job data in an image data memory, reads out the stored image data from the image data memory, and supplies it to a print engine. A management method comprising: forming a virtual storage area composed of continuous unit areas on a secondary storage device, and accessing the image data memory between the image data memory and the secondary storage device. A memory management method for a printer, characterized in that processing relating to storage is performed.

ここで、前記仮想記憶に関する処理は、前記イメージデータの先頭部分から順に供給できるように、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に順に出力することを特徴とする。   Here, the processing relating to the virtual storage is characterized in that the contents of the unit area in the virtual storage area are sequentially output to the unit area in the image data memory so that the process can be sequentially supplied from the head portion of the image data.

また、前記仮想記憶に関する処理は、前記供給が完了した前記イメージデータメモリにおける単位領域に、前記仮想記憶領域における単位領域の内容を順に出力することを特徴とする。   The processing relating to the virtual storage is characterized in that the contents of the unit areas in the virtual storage area are sequentially output to the unit areas in the image data memory for which the supply has been completed.

さらに、前記仮想記憶に関する処理は、前記イメージデータを生成している間は、前記仮想記憶領域における単位領域が前記イメージデータメモリにおける単位領域のいずれかに割り当てられているか否かを判断し、割り当てられていると判断した場合に、前記イメージデータメモリにおける単位領域の内容を前記仮想記憶領域における単位領域に出力するとともに、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリの単位領域に出力し、前記イメージデータを供給している間は、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に順に出力することを特徴とする。   Further, the processing relating to the virtual storage determines whether or not a unit area in the virtual storage area is assigned to any of the unit areas in the image data memory while the image data is being generated. When it is determined that the content of the unit area in the image data memory is output to the unit area in the virtual storage area, the content of the unit area in the virtual storage area is output to the unit area of the image data memory. While the image data is being supplied, the contents of the unit area in the virtual storage area are sequentially output to the unit area in the image data memory.

また、本発明は、プログラムを実行することにより実現される所定の機能により構成することもできる。具体的には、本発明は、プリンタに所定の機能を実現させるプログラムを記録した記録媒体であって、前記プログラムは、論理アドレスに基づいて得られる物理アドレスに従って、イメージデータメモリに対してアクセスを行い、前記アクセスに際してページフォルトが発生した場合に、前記イメージデータメモリと二次記憶装置との間で仮想記憶に関する処理を行う記憶管理手段と、受信したジョブデータに基づいてイメージデータを生成し、前記生成したイメージデータを仮想記憶領域に展開するための論理アドレスに従って前記記憶手段にアクセスする生成手段と、論理アドレスに従って前記記憶管理手段にアクセスして前記仮想記憶領域に展開されたイメージデータを読み出し、印刷エンジンに供給する供給手段と、を備えたことを特徴とするプログラムを記録した記録媒体であってもよい。   The present invention can also be configured by a predetermined function realized by executing a program. Specifically, the present invention is a recording medium on which a program for causing a printer to realize a predetermined function is recorded. The program accesses the image data memory according to a physical address obtained based on a logical address. When a page fault occurs during the access, storage management means for performing processing related to virtual storage between the image data memory and the secondary storage device, and generating image data based on the received job data, Generation means for accessing the storage means in accordance with a logical address for expanding the generated image data in a virtual storage area, and reading out the image data expanded in the virtual storage area by accessing the storage management means in accordance with a logical address And a supply means for supplying to the print engine A program that symptoms may be recorded recording medium.

なお、前記記録媒体とは、例えば、ハードディスク(HD)、DVD−RAM、フレキシブルディスク(FD)やCD−ROM等のほかに、RAMやROM等のメモリを含む。また、前記プリンタとは、例えば、CPUやMPUといったいわゆる中央処理装置がプログラムを解釈することで所定の処理を行う、いわゆるマイクロコンピュータ等を備えたプリンタをいう。   The recording medium includes, for example, a memory such as a RAM and a ROM in addition to a hard disk (HD), a DVD-RAM, a flexible disk (FD), a CD-ROM, and the like. The printer refers to a printer including a so-called microcomputer or the like in which a so-called central processing unit such as a CPU or MPU performs predetermined processing by interpreting a program.

本発明によれば、少ないイメージデータメモリで高品質印刷を行うことができる安価なプリンタを提供できる。   According to the present invention, an inexpensive printer that can perform high-quality printing with a small amount of image data memory can be provided.

次に、本発明の実施の形態について、図面を参照しつつ説明する。
[第1の実施形態]本実施形態は、二次記憶装置であるハードディスク装置を用いてイメージデータメモリを仮想記憶管理することを特徴とする。
Next, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment] This embodiment is characterized in that image data memory is managed in a virtual storage using a hard disk device as a secondary storage device.

図1は、本実施形態に係るプリンタのハードウェア構成を示す図である。同図において、本実施形態に係るプリンタ1は、ネットワークインターフェース11(以下「ネットワークI/F」という。)、プロセッサ12、ROM13、RAM14、I/Oコントローラ15,16、印刷エンジン17およびハードディスク装置18を備える。また、プリンタ1は、LAN等のネットワークNを介して図示しないコンピュータに接続される。コンピュータは、エディタやワードプロセッサ等のアプリケーションの実行により作成された図形データやテキストデータ等から構成されるドキュメントデータを、印刷実行に際し、印刷ジョブデータに変換し、ネットワークNを介してプリンタ1に送信する。   FIG. 1 is a diagram illustrating a hardware configuration of a printer according to the present embodiment. In FIG. 1, a printer 1 according to the present embodiment includes a network interface 11 (hereinafter referred to as “network I / F”), a processor 12, a ROM 13, a RAM 14, I / O controllers 15 and 16, a print engine 17, and a hard disk device 18. Is provided. The printer 1 is connected to a computer (not shown) via a network N such as a LAN. The computer converts document data composed of graphic data, text data, and the like created by executing an application such as an editor or a word processor into print job data when printing is performed, and transmits it to the printer 1 via the network N. .

ネットワークI/F11は、ネットワークNを介してコンピュータから送信される印刷ジョブデータを受信し、図示しない内部のバッファに保持する。プロセッサ12は、ROM13やRAM14に記憶された所定のプログラムに従って動作し、プリンタ1全体の制御を行う。プロセッサ12は、例えば、印刷ジョブデータに基づいてイメージデータを生成し、また、RAM14に対して割り当てられる仮想記憶領域(スワップ領域)を管理する。なお、これらの詳細については後述する。   The network I / F 11 receives print job data transmitted from the computer via the network N and holds it in an internal buffer (not shown). The processor 12 operates according to a predetermined program stored in the ROM 13 or RAM 14 and controls the entire printer 1. For example, the processor 12 generates image data based on print job data, and manages a virtual storage area (swap area) allocated to the RAM 14. Details of these will be described later.

RAM14は、プログラム作業領域およびデータ作業領域を有する。さらに、このデータ作業領域は、印刷ジョブデータを保持する領域と、印刷ジョブデータに基づいて生成されるイメージデータを保持する領域とに分けられる。RAM14は、典型的には、DRAMによって構成される。これらの領域は、論理的に分割されていても、物理的に分割されていてもよい。   The RAM 14 has a program work area and a data work area. Further, the data work area is divided into an area for holding print job data and an area for holding image data generated based on the print job data. The RAM 14 is typically constituted by a DRAM. These areas may be logically divided or physically divided.

I/Oコントローラ15は、RAM14から転送されるイメージデータを、印刷エンジン17の処理状況を監視しながら、印刷エンジン17に送出する。印刷エンジン17は、例えば、紙送り機構やプリントヘッド等を含んで構成されており、紙等の印刷記録媒体に印刷を行うものである。   The I / O controller 15 sends the image data transferred from the RAM 14 to the print engine 17 while monitoring the processing status of the print engine 17. The print engine 17 includes, for example, a paper feed mechanism and a print head, and performs printing on a print recording medium such as paper.

I/Oコントローラ16は、ハードディスク装置をアクセスするための制御を行う。I/Oコントローラ16は、例えば、DMA機能により、RAM14とハードディスク装置との間の入出力制御を行う。ハードディスク装置18は、RAM14に対する二次記憶装置として機能する。すなわち、ハードディスク装置18は、プロセッサ12によって実行される各種プログラムを記憶し、また、フォントやオーバーレイ等のデータを記憶する。これらのデータは、プロセッサ12の制御の下、必要に応じてRAM14にロードされる。さらに、本実施形態では、ハードディスク装置18は、RAM14に対する仮想記憶領域として使用される。   The I / O controller 16 performs control for accessing the hard disk device. The I / O controller 16 performs input / output control between the RAM 14 and the hard disk device, for example, by a DMA function. The hard disk device 18 functions as a secondary storage device for the RAM 14. That is, the hard disk device 18 stores various programs executed by the processor 12 and stores data such as fonts and overlays. These data are loaded into the RAM 14 as needed under the control of the processor 12. Furthermore, in the present embodiment, the hard disk device 18 is used as a virtual storage area for the RAM 14.

図2は、本実施形態に係るプリンタの機能構成を示す図である。本実施形態に係るプリンタの機能構成は、プロセッサが所定のプログラムを実行し、他のハードウェアと共働して動作することにより実現される。   FIG. 2 is a diagram illustrating a functional configuration of the printer according to the present embodiment. The functional configuration of the printer according to the present embodiment is realized by a processor executing a predetermined program and operating in cooperation with other hardware.

通信部21は、コンピュータとの間でネットワーク通信を行う。通信部21は、印刷ジョブデータに関する通信データを受信した場合には、これを論理的・物理的に変換して印刷ジョブデータを抽出し、ジョブデータメモリ22に出力する。   The communication unit 21 performs network communication with a computer. When the communication unit 21 receives the communication data related to the print job data, the communication unit 21 logically and physically converts the received communication data, extracts the print job data, and outputs the print job data to the job data memory 22.

イメージデータ生成部23は、ジョブデータメモリ22に蓄積された印刷ジョブデータを読み出して、これを解釈し、イメージデータを生成する。イメージデータは、紙等の印刷記録媒体に対する印刷イメージに対応したラスタデータである。生成されたイメージデータは、イメージデータメモリ24に展開(記憶)される。本実施形態においては、イメージデータ生成部23が、イメージデータメモリ24の物理空間を超えるサイズを持つイメージデータを展開できるようにするため、仮想記憶に関する処理を管理する記憶管理部25を介して、イメージデータメモリ24にアクセスする。   The image data generation unit 23 reads the print job data stored in the job data memory 22, interprets it, and generates image data. The image data is raster data corresponding to a print image for a print recording medium such as paper. The generated image data is expanded (stored) in the image data memory 24. In the present embodiment, in order to enable the image data generation unit 23 to develop image data having a size exceeding the physical space of the image data memory 24, the storage management unit 25 that manages processing related to virtual storage is used. The image data memory 24 is accessed.

すなわち、記憶管理部25は、イメージデータメモリ24に対して割り当てられる仮想記憶領域を管理する。換言すれば、記憶管理部25は、イメージデータメモリ24の物理空間を超えるイメージデータをあたかもイメージデータメモリ24に記憶されているかのように仮想的に見せかけるものである。   That is, the storage management unit 25 manages a virtual storage area allocated to the image data memory 24. In other words, the storage management unit 25 virtually looks like image data exceeding the physical space of the image data memory 24 is stored in the image data memory 24.

より具体的には、記憶管理部25は、メモリアクセス部251、アドレス変換部252およびページングテーブル部253を備える。メモリアクセス部251は、イメージデータメモリ24をページと呼ばれる固定長の領域(所定の単位領域)に分割して管理して、この所定の単位領域ごとにハードディスク26上の割り当てられた仮想記憶領域との間でページイン(スワップイン)およびページアウト(スワップアウト)を行う。本実施形態においては、この単位領域のサイズを1バンド幅分に合わせるとともに、その数を3ページ(すなわち3バンド分)として構成している。ここで、バンドとは、主走査方向のドット数と副走査方向のドット数とによって決定される印刷領域である。アドレス変換部252は、入力される論理アドレスを物理アドレスに変換する。ページングテーブル部253は、論理アドレスで示される所定の単位領域がイメージデータメモリ部24に存在するか否かに関する情報等から構成されるページングテーブルを記憶する。   More specifically, the storage management unit 25 includes a memory access unit 251, an address conversion unit 252, and a paging table unit 253. The memory access unit 251 divides and manages the image data memory 24 into fixed-length areas (predetermined unit areas) called pages, and assigns virtual storage areas allocated on the hard disk 26 to the predetermined unit areas. Page in (swap in) and page out (swap out). In the present embodiment, the size of the unit area is adjusted to one band width, and the number of unit areas is configured to be three pages (that is, three bands). Here, the band is a printing area determined by the number of dots in the main scanning direction and the number of dots in the sub-scanning direction. The address conversion unit 252 converts the input logical address into a physical address. The paging table unit 253 stores a paging table including information on whether or not a predetermined unit area indicated by a logical address exists in the image data memory unit 24.

印刷制御部27は、イメージデータ生成部23によって印刷記録媒体(用紙)1ページ分のイメージデータの生成が完了すると、記憶管理部25を介して、イメージデータメモリ24からイメージデータを順次読み出し、印刷エンジン28の処理状態に応じて、イメージデータを印刷エンジン28に供給する。つまり、印刷エンジン28に対するイメージデータの供給のために、印刷制御部27がイメージデータメモリ24に対するアクセスを記憶管理部25に要求すると、記憶管理部25は、必要に応じてハードディスク装置26上の仮想記憶領域から所定の単位領域をイメージデータメモリ24上にページインして、印刷制御部27に出力する。   When the image data generation unit 23 completes generating image data for one page of the print recording medium (paper), the print control unit 27 sequentially reads the image data from the image data memory 24 via the storage management unit 25 and prints it. The image data is supplied to the print engine 28 according to the processing state of the engine 28. That is, when the print control unit 27 requests the storage management unit 25 to access the image data memory 24 in order to supply image data to the print engine 28, the storage management unit 25 performs virtual storage on the hard disk device 26 as necessary. A predetermined unit area is paged in the image data memory 24 from the storage area and output to the print control unit 27.

図3は、本実施形態に係る記憶管理部25による仮想記憶の原理を説明するための図である。イメージデータメモリ24に対するアクセスは、論理アドレスに従って行われる。論理アドレスは、論理ページ番号とページ内変位とにより構成される。論理ページ番号は、仮想記憶領域上で所定の単位領域ごとに分割された領域にそれぞれ与えられた番号である。また、ページ内変位は、所定の単位領域内における先頭位置からの変位量である。ページングテーブル253は、論理ページ番号に対応したエントリーに、そのページ(所定の単位領域)がイメージデータメモリ24上に存在するか否かを示すフラグ、書き込みがあったか否かを示すフラグ、物理ページ番号およびハードディスク装置上のファイル名等の情報を有する。   FIG. 3 is a diagram for explaining the principle of virtual storage by the storage management unit 25 according to the present embodiment. Access to the image data memory 24 is performed according to a logical address. The logical address is composed of a logical page number and an in-page displacement. The logical page number is a number assigned to each area divided into predetermined unit areas on the virtual storage area. The in-page displacement is a displacement amount from the head position in a predetermined unit area. The paging table 253 includes a flag indicating whether or not the page (predetermined unit area) exists in the image data memory 24 in the entry corresponding to the logical page number, a flag indicating whether or not there is a write, and a physical page number And information such as a file name on the hard disk device.

なお、本実施形態に係るプリンタ1は、イメージデータを生成して仮想記憶領域上に展開する際は、ページインおよびページアウトを考慮するように構成されるが、イメージデータを印刷エンジンに供給する際には、ページアウトを考慮せず、所定の単位領域を順にページインするように構成される。   Note that the printer 1 according to the present embodiment is configured to take into account page-in and page-out when generating image data and deploying it on a virtual storage area, but supplies the image data to the print engine. In this case, the predetermined unit area is sequentially paged in without considering page-out.

メモリアクセス部251は、論理アドレスに従ってイメージデータメモリ24に対するアクセスを受け付けると、ページングテーブル部253を参照し、論理アドレス中の論理ページ番号に対応するエントリーの存在フラグをチェックする。その結果、イメージデータメモリ24上に存在していると判断する場合には、アドレス変換部252は、その物理ページ番号および論理アドレス中のページ内変位に基づいて物理アドレスを算出し、メモリアクセス部251にこれを送出する。一方、存在しないと判断する場合には、メモリアクセス部251は、ページング処理を行う。つまり、メモリアクセス部251は、所定の追い出しアルゴリズムに従ってイメージデータメモリ24上の物理ページを決定し、そのページの書き込みフラグが真である(書き込みがあった)ならば、その内容を仮想記憶領域上に退避して、読み出すべき論理ページをその位置にページインする。   When the memory access unit 251 receives access to the image data memory 24 according to the logical address, the memory access unit 251 refers to the paging table unit 253 and checks the presence flag of the entry corresponding to the logical page number in the logical address. As a result, when it is determined that the image data memory 24 exists, the address conversion unit 252 calculates a physical address based on the physical page number and the intra-page displacement in the logical address, and the memory access unit This is sent to 251. On the other hand, when determining that it does not exist, the memory access unit 251 performs paging processing. That is, the memory access unit 251 determines a physical page on the image data memory 24 according to a predetermined eviction algorithm, and if the write flag of the page is true (there is a write), the contents are stored in the virtual storage area. The logical page to be read out is paged in at that position.

次に、本実施形態に係るプリンタ1の動作について説明する。   Next, the operation of the printer 1 according to this embodiment will be described.

図4は、本実施形態に係るプリンタ1の動作を説明するための図である。同図において、プリンタ1は、ページングテーブル部253に記憶されたページングテーブルを初期化し(STEP41)、印刷待ち状態になる。プリンタ1は、コンピュータから印刷ジョブデータを受信すると(STEP42)、受信した印刷ジョブデータを逐次解釈して、イメージデータを生成し、論理空間上にイメージデータを展開する(STEP43およびSTEP44)。すなわち、プリンタ1は、論理アドレスに従って仮想記憶領域上に展開されるイメージデータを、イメージデータメモリ24の物理アドレスに展開する。この場合において、イメージデータメモリ24上に割り当てられていない単位領域をアクセスしようとする場合には、所定の仮想記憶処理を行う。プリンタ1は、印刷記録媒体の1ページ分のイメージデータを生成するまで、上記STEP42〜STEP44の処理を繰り返す。なお、印刷ジョブデータを2部以上の印刷を行うときは、印刷対象ページの2部目以降は、STEP46〜STEP49が該当部数分繰り返されることになる。   FIG. 4 is a diagram for explaining the operation of the printer 1 according to the present embodiment. In the figure, the printer 1 initializes the paging table stored in the paging table unit 253 (STEP 41), and enters a print waiting state. When the printer 1 receives the print job data from the computer (STEP 42), the printer 1 sequentially interprets the received print job data, generates image data, and expands the image data in the logical space (STEP 43 and STEP 44). In other words, the printer 1 expands image data expanded on the virtual storage area according to the logical address to a physical address of the image data memory 24. In this case, when trying to access a unit area not allocated on the image data memory 24, a predetermined virtual storage process is performed. The printer 1 repeats the processing of STEP 42 to STEP 44 until image data for one page of the print recording medium is generated. When two or more copies of the print job data are printed, STEP 46 to STEP 49 are repeated for the corresponding number of copies after the second copy of the print target page.

プリンタ1は、1ページ分のイメージデータを生成したと判断した場合には(STEP45)、イメージデータメモリ24からイメージデータメモリを読み出して、これを印刷エンジンに供給する(STEP46およびSTEP47)。すなわち、プリンタ1は、論理アドレスに従って仮想記憶領域上に展開されたイメージデータを、イメージデータメモリ24の物理アドレスに展開し、これを順次印刷エンジンに供給する。この場合において、イメージデータメモリ24上に割り当てられていない単位領域をアクセスしようとする場合には、所定の仮想記憶処理が行われる。プリンタ1は、1ページ分のイメージデータを印刷エンジンに供給するまで、上記STEP46〜STEP47の処理を繰り返す(STEP48)。また、プリンタ1は、受信した印刷ジョブデータをすべて処理するまで、つまり全ページ分印刷が完了するまで、上記処理を繰り返す(STEP49)。   When the printer 1 determines that image data for one page has been generated (STEP 45), the printer 1 reads the image data memory from the image data memory 24 and supplies it to the print engine (STEP 46 and STEP 47). That is, the printer 1 develops the image data developed on the virtual storage area according to the logical address to the physical address of the image data memory 24, and sequentially supplies this to the print engine. In this case, when attempting to access a unit area not allocated on the image data memory 24, a predetermined virtual storage process is performed. The printer 1 repeats the processing of STEP 46 to STEP 47 until image data for one page is supplied to the print engine (STEP 48). The printer 1 repeats the above processing until all the received print job data is processed, that is, until printing for all pages is completed (STEP 49).

次に、図4に示した仮想記憶処理の詳細を図5〜図7に従って説明する。   Next, details of the virtual storage processing shown in FIG. 4 will be described with reference to FIGS.

上述したように、本実施形態に係るプリンタ1は、イメージデータを生成して仮想記憶領域上に展開する際(イメージデータ生成モード)は、ページインおよびページアウトを考慮した仮想記憶処理を行うが、イメージデータを印刷エンジンに供給する際(イメージデータ供給モード)は、ページアウトを考慮せず、ページインのみを考慮した仮想記憶処理を行う。   As described above, the printer 1 according to the present embodiment performs virtual storage processing in consideration of page-in and page-out when generating image data and deploying it on the virtual storage area (image data generation mode). When supplying image data to the print engine (image data supply mode), virtual storage processing is performed in consideration of only page-in without considering page-out.

図5は、本実施形態に係るプリンタの仮想記憶処理を説明するための図である。同図において、記憶管理部25は、論理アドレスの中から論理ページ番号を抽出し(STEP51)、この論理ページ番号に従ってページングテーブルのエントリを参照する(STEP52)。記憶管理部25は、そのエントリの存在フラグが真であるか否か、つまり、イメージデータメモリ24上にその論理ページが存在するか否かをチェックする(STEP53)。STEP53において、存在フラグが真であると判断される場合には、記憶管理部25は、ページングテーブルのエントリから物理ページ番号を抽出する(STEP54)。記憶管理部25は、抽出した物理ページ番号および論理アドレスの中のページ内変位に基づいてイメージデータメモリ24上の物理アドレスを算出し(STEP55)、イメージデータメモリ24をアクセスする(STEP56)。なお、イメージデータメモリ24をアクセスした場合には、記憶管理部25は、ページングテーブルにおけるアクセスされた論理ページの書き込みフラグを真に変更する(STEP57)。   FIG. 5 is a diagram for explaining virtual storage processing of the printer according to the present embodiment. In the figure, the storage management unit 25 extracts the logical page number from the logical address (STEP 51), and refers to the entry of the paging table according to the logical page number (STEP 52). The storage management unit 25 checks whether the existence flag of the entry is true, that is, whether the logical page exists on the image data memory 24 (STEP 53). If it is determined in STEP 53 that the presence flag is true, the storage management unit 25 extracts the physical page number from the entry in the paging table (STEP 54). The storage management unit 25 calculates a physical address on the image data memory 24 based on the extracted physical page number and the in-page displacement in the logical address (STEP 55), and accesses the image data memory 24 (STEP 56). If the image data memory 24 is accessed, the storage management unit 25 changes the write flag of the accessed logical page in the paging table to true (STEP 57).

一方、STEP53において、存在フラグが偽であると判断される場合には、ページング処理を行う(STEP58)。ページング処理が発生した場合、イメージデータメモリ24に対するアクセスは、ページ処理が完了するまでの間、待機状態になる。   On the other hand, if it is determined in STEP 53 that the presence flag is false, paging processing is performed (STEP 58). When the paging process occurs, access to the image data memory 24 is in a standby state until the page process is completed.

図6は、イメージデータ生成モードにおけるページング処理の動作を説明するための図である。すなわち、記憶管理部25は、イメージデータメモリ24上に、ページイン可能な空き物理ページ(所定の単位領域)があるか否かを判断する(STEP61)。記憶管理部25は、空き物理ページがないと判断する場合には、所定の追い出しアルゴリズムに従って、追い出すべき物理ページを決定し、この物理ページの内容をハードディスク装置26の仮想記憶領域上に退避する(STEP62)。この場合の追い出しアルゴリズムは、例えば、LRU(LeastRecently Used)法により実現される。一方、STEP61において空き物理ページがあると判断する場合、またはSTEP62においてページアウトが完了した後、記憶管理部25は、ハードディスク26の仮想記憶領域上の論理ページの内容をイメージデータメモリ24上の物理ページに書き込む(STEP63)。記憶管理部25は、イメージデータメモリ24上の物理ページに割り当てられた論理ページを管理するため、ページングテーブルの内容を変更する(STEP64)。   FIG. 6 is a diagram for explaining the operation of the paging process in the image data generation mode. That is, the storage management unit 25 determines whether or not there is a free physical page (predetermined unit area) that can be paged in the image data memory 24 (STEP 61). When determining that there is no free physical page, the storage management unit 25 determines a physical page to be ejected according to a predetermined eviction algorithm, and saves the contents of this physical page in the virtual storage area of the hard disk device 26 ( (STEP 62). The eviction algorithm in this case is realized by, for example, an LRU (Least Recently Used) method. On the other hand, when it is determined in STEP 61 that there is a free physical page, or after page out is completed in STEP 62, the storage management unit 25 changes the contents of the logical page in the virtual storage area of the hard disk 26 to the physical in the image data memory 24. Write to the page (STEP 63). The storage management unit 25 changes the contents of the paging table in order to manage the logical page allocated to the physical page on the image data memory 24 (STEP 64).

図7は、イメージデータ供給モードにおけるページング処理の動作を説明するための図である。イメージデータ供給モードにおけるページング処理は、イメージデータ生成モードにおけるページング処理に対して、ページアウトによるイメージデータメモリ24の物理ページの内容を、ハードウェア装置26の仮想記憶領域上に退避しない点が異なる。すなわち、記憶管理部25は、イメージデータメモリ24上に、ページイン可能な空き物理ページがないと判断する場合には(STEP71)、所定の追い出しアルゴリズムに従って、ページインされるべき物理ページを決定する(STEP72)。この場合、記憶管理部25は、ページインされるべき物理ページを決定するのみであり、その物理ページの内容をハードディスク26の仮想記憶領域上に退避することを行わない。ページインされるべき物理ページを決定すると、記憶管理部25は、ハードディスク26の仮想記憶領域上の論理ページの内容をイメージデータメモリ24上の物理ページに書き込み(STEP73)、ページングテーブルの内容の変更を行う(STEP75)。   FIG. 7 is a diagram for explaining the operation of the paging process in the image data supply mode. The paging process in the image data supply mode is different from the paging process in the image data generation mode in that the contents of the physical page of the image data memory 24 due to page-out are not saved in the virtual storage area of the hardware device 26. That is, if the storage management unit 25 determines that there is no free physical page that can be paged in the image data memory 24 (STEP 71), the storage management unit 25 determines a physical page to be paged in according to a predetermined eviction algorithm. (STEP 72). In this case, the storage management unit 25 only determines a physical page to be paged in, and does not save the contents of the physical page in the virtual storage area of the hard disk 26. When the physical page to be paged in is determined, the storage management unit 25 writes the contents of the logical page on the virtual storage area of the hard disk 26 to the physical page on the image data memory 24 (STEP 73), and changes the contents of the paging table. (STEP 75).

図6または図7に示したページング処理が完了すると、図5に示したSTEP54以降の処理を行う。   When the paging process shown in FIG. 6 or FIG. 7 is completed, the processes after STEP 54 shown in FIG. 5 are performed.

なお、本実施形態に係るプリンタの動作はシーケンシャルに構成されたが、これは説明の便宜のためであり、特にこれにこだわるものではない。すなわち、動作に矛盾が生じない限り、並行的に動作するように構成され、または順序を入れ替えて構成されてもよい。   Note that although the operation of the printer according to the present embodiment is configured sequentially, this is for the convenience of explanation and is not particularly limited. That is, as long as there is no contradiction in operation, the operation may be performed in parallel, or the order may be changed.

次に、本実施形態に係るプリンタの動作例を、図8〜図10を用いて説明する。例えば、プリンタ1が、図8に示すような印刷イメージを実現する印刷ジョブデータを受信したとする。印刷イメージは、複数のオブジェクト枠から構成される。各オブジェクト枠には、図形データやテキストデータが割り当てられる。コンピュータは、オブジェクト枠ごとに印刷ジョブデータを生成し、順次プリンタに送信する。図中、丸数字は、プリンタが印刷ジョブデータを受信した順番を示すものとする。   Next, an operation example of the printer according to the present embodiment will be described with reference to FIGS. For example, assume that the printer 1 receives print job data that realizes a print image as shown in FIG. The print image is composed of a plurality of object frames. Graphic data and text data are assigned to each object frame. The computer generates print job data for each object frame and sequentially transmits it to the printer. In the figure, the circled numbers indicate the order in which the printer received the print job data.

まず、プリンタ1は、印刷ジョブデータ1を受信すると、これを解釈してイメージデータを生成し、仮想記憶領域上の所定の論理ページに展開する(図9(a))。つまり、記憶管理部25によって、イメージデータメモリ24上の物理ページ(物理ページ番号1および2)に展開されることになる。次に、印刷ジョブデータ2を受信すると、1ページ分を空きページ(物理ページ番号3)に展開し、残りのページについては所定の追い出しアルゴリズムに従って決定された、例えば、物理ページ番号2の内容をページアウトした後に、展開する(同図(b))。   First, when the print job data 1 is received, the printer 1 interprets the print job data 1 to generate image data, and develops the image data on a predetermined logical page in the virtual storage area (FIG. 9A). That is, the storage management unit 25 expands the physical pages (physical page numbers 1 and 2) on the image data memory 24. Next, when the print job data 2 is received, one page is expanded to an empty page (physical page number 3), and the remaining pages are determined according to a predetermined eviction algorithm, for example, the contents of the physical page number 2 After page-out, it expands ((b) in the figure).

最後に、印刷ジョブデータ3を受信すると、所定の追い出しアルゴリズムに従って決定された物理ページ番号1の内容を仮想記憶領域上に退避する。そして、プリンタ1は、ページアウトしたページ(物理ページ番号1)に論理ページに割り当て、印刷ジョブデータ3に基づいてイメージデータを生成し、展開する(同図(c))。   Finally, when print job data 3 is received, the contents of physical page number 1 determined according to a predetermined eviction algorithm are saved in the virtual storage area. Then, the printer 1 assigns the page-out page (physical page number 1) to a logical page, generates image data based on the print job data 3, and develops the image data ((c) in the figure).

イメージデータの生成が完了すると、プリンタ1は、図10に示すように、仮想記憶領域上の論理ページを順次イメージデータメモリ24上の物理ページに展開する(同図(a))。この場合、イメージデータメモリ24上の物理ページの内容をハードディスク26に退避させることなく、上書きするように順次展開する(同図(b))。   When the generation of the image data is completed, the printer 1 sequentially expands logical pages on the virtual storage area into physical pages on the image data memory 24 as shown in FIG. 10 ((a) in FIG. 10). In this case, the contents of the physical page on the image data memory 24 are sequentially expanded so as to be overwritten without being saved in the hard disk 26 ((b) in the figure).

以上のように、本実施形態によれば、ハードディスク装置の仮想記憶領域に対して生成したイメージデータを展開することができるようになる。すなわち、イメージデータメモリの物理空間を超えるサイズのイメージデータを扱うことができるようになる。   As described above, according to the present embodiment, the generated image data can be expanded in the virtual storage area of the hard disk device. That is, image data having a size exceeding the physical space of the image data memory can be handled.

従って、メモリ不足の状態に陥ることがなく、解像度を低下させる等の画像最適化処理を行う必要がないため、ユーザが望む本来の印刷品質を提供することができるようになる。   Therefore, it does not fall into a memory shortage state, and it is not necessary to perform image optimization processing such as lowering the resolution, so that the original print quality desired by the user can be provided.

また、高解像度、フルカラーを実現する大容量のイメージデータを扱う場合であっても、それに応じたイメージデータメモリをプリンタに搭載する必要がなくなる。従って、イメージデータメモリに比較してビット単価の安いハードディスクを用いてプリンタを構成することができるので、高印刷品質のプリンタを安価に実現することができるようになる。   Further, even when dealing with a large amount of image data that realizes high resolution and full color, it is not necessary to install an image data memory corresponding to the image data memory in the printer. Therefore, since a printer can be configured using a hard disk having a lower cost per bit than the image data memory, a printer with high print quality can be realized at low cost.

さらに本実施形態によれば、イメージデータを印刷エンジンに供給する際には、すでにイメージデータメモリ上の内容をハードディスク装置上に退避することなく、ハードディスク装置から順次イメージデータメモリ上に読み出して印刷エンジンに供給するので、仮想記憶処理によるオーバーヘッドを可能な限り小さくすることができる。これにより、小さなイメージデータメモリで高速印刷、高品質印刷のプリンタを実現することができる。   Furthermore, according to the present embodiment, when supplying image data to the print engine, the contents in the image data memory are not saved in the hard disk device, but are sequentially read out from the hard disk device to the image data memory. Therefore, the overhead due to the virtual storage process can be reduced as much as possible. As a result, a printer capable of high-speed printing and high-quality printing can be realized with a small image data memory.

また、本実施形態によれば、イメージデータメモリ上の単位領域のサイズ(物理ページサイズ)と印刷のバンドの大きさとが対応するように構成しているため、1回のページインに対して1回の印刷エンジンへの供給が可能になる。このため、仮想記憶処理によるオーバーヘッドを可能な限りなくすことができ、効率的な動作を実現できる。   Further, according to the present embodiment, the unit area size (physical page size) on the image data memory and the print band size correspond to each other. Can be supplied to the printing engine twice. For this reason, the overhead due to the virtual storage process can be eliminated as much as possible, and an efficient operation can be realized.

[第2の実施形態]本実施形態は、二次記憶装置であるハードディスク装置を用いてジョブデータメモリおよびイメージデータメモリを仮想記憶管理することを特徴とする。   [Second Embodiment] This embodiment is characterized in that a job data memory and an image data memory are managed in a virtual storage by using a hard disk device as a secondary storage device.

図11は、本実施形態に係るプリンタ1の機能構成を示す図である。同図において、第1の実施形態と同じ機能実現手段には、同じ符号が付されている。すなわち、本実施形態に係るプリンタ1は、ジョブデータメモリおよびイメージデータメモリに対するアクセスを、常に記憶管理部25を介して行うように構成されている。   FIG. 11 is a diagram illustrating a functional configuration of the printer 1 according to the present embodiment. In the figure, the same reference numerals are given to the same function realizing means as in the first embodiment. That is, the printer 1 according to the present embodiment is configured to always access the job data memory and the image data memory via the storage management unit 25.

通信部21は、印刷ジョブデータに関する通信データを受信した場合には、これを論理的・物理的に変換して印刷ジョブデータを抽出し、これを記憶管理部25に送出する。記憶管理部25は、上記実施形態と同様に、仮想記憶処理を管理する。すなわち、記憶管理部25は、論理アドレスに従って仮想記憶領域上に展開される印刷ジョブデータを、ジョブデータメモリ22の物理アドレスに変換し、展開する。この場合において、ジョブデータメモリ22上に割り当てられていない単位領域をアクセスしようとする場合には、所定の仮想記憶処理を行う。   When the communication unit 21 receives the communication data related to the print job data, the communication unit 21 logically and physically converts it to extract the print job data, and sends it to the storage management unit 25. The storage management unit 25 manages virtual storage processing as in the above embodiment. That is, the storage management unit 25 converts the print job data expanded on the virtual storage area according to the logical address into a physical address of the job data memory 22 and expands it. In this case, when attempting to access a unit area not allocated on the job data memory 22, a predetermined virtual storage process is performed.

なお、その他の機能実現手段については、上記実施形態と同じであるため説明を省略する。   The other function realizing means is the same as that in the above embodiment, and the description thereof is omitted.

以上のように、本実施形態によれば、ジョブデータメモリの物理空間を超えるサイズの印刷ジョブデータを扱うことができるようになる。このことは、一度に複数の印刷ジョブデータを受信する場合に、特に有効である。   As described above, according to the present embodiment, print job data having a size exceeding the physical space of the job data memory can be handled. This is particularly effective when receiving a plurality of print job data at once.

第1の実施形態に係るプリンタのハードウェア構成を示す図1 is a diagram illustrating a hardware configuration of a printer according to a first embodiment. 第1の実施形態に係るプリンタの機能構成を示す図1 is a diagram illustrating a functional configuration of a printer according to a first embodiment. 仮想記憶の原理を説明するための図Diagram for explaining the principle of virtual memory 第1の実施形態に係るプリンタの動作を説明するための図The figure for demonstrating the operation | movement of the printer which concerns on 1st Embodiment. 仮想記憶処理の動作を説明するための図The figure for explaining the operation of the virtual memory processing イメージデータ生成モードにおけるページング処理を説明するための図The figure for demonstrating the paging process in image data generation mode イメージデータ供給モードにおけるページング処理を説明するための図The figure for demonstrating the paging process in image data supply mode プリンタの動作例を説明するための印刷イメージを示す図The figure which shows the printing image for demonstrating the operation example of a printer イメージデータ生成モードにおけるプリンタの動作例を示す図The figure which shows the operation example of the printer in image data generation mode イメージデータ供給モードにおけるプリンタの動作例を示す図The figure which shows the operation example of the printer in image data supply mode 第2の実施形態に係るプリンタの機能構成を示す図The figure which shows the function structure of the printer which concerns on 2nd Embodiment.

符号の説明Explanation of symbols

1…プリンタ;21…通信部;22…ジョブデータメモリ;23…イメージデータ生成部;24…イメージデータメモリ;25…記憶管理部;26…ハードディスク装置;27…印刷制御部;28…印刷エンジン
DESCRIPTION OF SYMBOLS 1 ... Printer; 21 ... Communication part; 22 ... Job data memory; 23 ... Image data generation part; 24 ... Image data memory; 25 ... Storage management part; 26 ... Hard disk drive;

Claims (3)

受信したジョブデータに基づいてイメージデータを生成する生成手段と、
前記生成手段によって生成されたイメージデータを単位領域ごとに記憶するイメージデータメモリと、
連続する単位領域からなる仮想記憶領域が形成される二次記憶装置と、
前記イメージデータメモリと前記二次記憶装置との間の仮想記憶に関する処理を管理する記憶管理手段と、
前記イメージデータメモリに記憶されたイメージデータを印刷エンジンに供給する供給手段とを備え、
前記記憶管理手段は、前記仮想記憶領域における単位領域が前記イメージデータメモリにおける単位領域のいずれかに割り当てられているか否かを判断する判断手段をさらに備え、前記生成手段が前記イメージデータを生成している間は、前記判断手段による判断に基づいて、前記イメージデータメモリにおける単位領域の内容を前記仮想記憶領域における単位領域に出力するとともに、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に出力する処理を実行可能に構成されていることを特徴とするプリンタ。
Generating means for generating image data based on the received job data;
An image data memory for storing the image data generated by the generating means for each unit area;
A secondary storage device in which a virtual storage area composed of continuous unit areas is formed;
Storage management means for managing processing related to virtual storage between the image data memory and the secondary storage device;
Supply means for supplying image data stored in the image data memory to a print engine;
The storage management means further comprises determination means for determining whether a unit area in the virtual storage area is allocated to any of the unit areas in the image data memory, and the generation means generates the image data. While the content of the unit area in the image data memory is output to the unit area in the virtual storage area based on the determination by the determination means, and the content of the unit area in the virtual storage area is output to the image data memory A printer configured to be capable of executing a process of outputting to a unit area.
受信した印刷ジョブデータに基づいて生成したイメージデータをイメージデータメモリに記憶し、前記記憶したイメージデータを前記イメージデータメモリから読み出して印刷エンジンに供給するプリンタのメモリ管理方法であって、
連続する単位領域からなる仮想記憶領域を二次記憶装置上に形成し、前記イメージデータメモリにアクセスする際に、前記イメージデータメモリと前記二次記憶装置との間で仮想記憶に関する処理を行う工程を備え、
前記工程は、前記イメージデータを生成している間は、前記仮想記憶領域における単位領域が前記イメージデータメモリにおける単位領域のいずれかに割り当てられているか否かを判断し、割り当てられていると判断した場合に、前記イメージデータメモリにおける単位領域の内容を前記仮想記憶領域における単位領域に出力するとともに、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリの単位領域に出力する工程を含むことを特徴とするプリンタのメモリ管理方法。
A memory management method for a printer that stores image data generated based on received print job data in an image data memory, reads the stored image data from the image data memory, and supplies the image data to a print engine.
Forming a virtual storage area composed of continuous unit areas on a secondary storage device and performing a process related to virtual storage between the image data memory and the secondary storage device when accessing the image data memory; With
During the generation of the image data, the step determines whether a unit area in the virtual storage area is allocated to any of the unit areas in the image data memory, and determines that the unit area is allocated. And outputting the contents of the unit area in the image data memory to the unit area in the virtual storage area and outputting the contents of the unit area in the virtual storage area to the unit area of the image data memory. A memory management method for a printer.
プリンタに所定の機能を実現させるプログラムを記録した記録媒体であって、前記プログラムは、論理アドレスに基づいて得られる物理アドレスに従って、イメージデータメモリに対してアクセスを行い、前記アクセスに際してページフォルトが発生した場合に、前記イメージデータメモリと二次記憶装置との間で仮想記憶に関する処理を行う記憶管理手段と、受信したジョブデータに基づいてイメージデータを生成し、前記生成したイメージデータを仮想記憶領域に展開するための論理アドレスに従って前記記憶管理手段にアクセスする生成手段と、論理アドレスに従って前記記憶管理手段にアクセスして前記仮想記憶領域に展開されたイメージデータを読み出し、印刷エンジンに供給する供給手段と、を備え
前記記憶管理手段は、前記生成手段が前記記憶管理手段にアクセスする間に、前記イメージデータメモリにおける単位領域の内容を前記仮想記憶領域における単位領域に出力するとともに、前記仮想記憶領域における単位領域の内容を前記イメージデータメモリにおける単位領域に出力する処理を実行可能に構成されていることを特徴とするプログラムを記録した記録媒体。
A recording medium storing a program for causing a printer to realize a predetermined function, wherein the program accesses an image data memory according to a physical address obtained based on a logical address, and a page fault occurs during the access A storage management means for performing processing relating to virtual storage between the image data memory and the secondary storage device, generating image data based on the received job data, and storing the generated image data in a virtual storage area Generating means for accessing the storage management means in accordance with a logical address for developing the image data; and supplying means for accessing the storage management means in accordance with a logical address to read out image data developed in the virtual storage area and supplying the image data to the print engine The storage management means includes the raw While the generation means accesses the storage management means, the contents of the unit area in the image data memory are output to the unit area in the virtual storage area, and the contents of the unit area in the virtual storage area are output in the image data memory. A recording medium on which a program is recorded, which is configured to be capable of executing processing to be output to a unit area.
JP2005113052A 2005-04-11 2005-04-11 Printer, method for managing memory of the printer and record medium recording program Pending JP2005231374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005113052A JP2005231374A (en) 2005-04-11 2005-04-11 Printer, method for managing memory of the printer and record medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005113052A JP2005231374A (en) 2005-04-11 2005-04-11 Printer, method for managing memory of the printer and record medium recording program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11019331A Division JP2000222140A (en) 1999-01-28 1999-01-28 Printer, memory managing method for printer, and recording medium where program is recorded

Publications (1)

Publication Number Publication Date
JP2005231374A true JP2005231374A (en) 2005-09-02

Family

ID=35014779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005113052A Pending JP2005231374A (en) 2005-04-11 2005-04-11 Printer, method for managing memory of the printer and record medium recording program

Country Status (1)

Country Link
JP (1) JP2005231374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204052A (en) * 2010-03-26 2011-10-13 Seiko Epson Corp Image processor and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204052A (en) * 2010-03-26 2011-10-13 Seiko Epson Corp Image processor and image processing program

Similar Documents

Publication Publication Date Title
US6345350B2 (en) Information processing apparatus printer, method of controlling information processing apparatus and record medium
US6441918B1 (en) Image output system image processing system image output method image processing method and recording medium
JP3797013B2 (en) Image processing method, printing apparatus, image processing system, and recording medium
US6483604B1 (en) Disk-based image storage system and method with prioritized loading and retrieval operations
JP2000335022A (en) Printer control device
JP5849400B2 (en) Image forming method and image forming apparatus
JP3575382B2 (en) Print control method for generating and transmitting print commands, print control device, and recording medium storing program for the same
JP2005231374A (en) Printer, method for managing memory of the printer and record medium recording program
JP2958229B2 (en) Printing apparatus and control method thereof
JP2000222140A (en) Printer, memory managing method for printer, and recording medium where program is recorded
US9667531B2 (en) Image processing apparatus and control method
JP7158656B2 (en) Image forming apparatus, image forming method and image forming program
US6678804B1 (en) Apparatus and method for memory access control
JP3230516B2 (en) Printer, recording medium and printer memory management method
JP2008262439A (en) Information processor, print document adjustment processing program and storage medium
JP2007067579A (en) Image forming apparatus
JP5268283B2 (en) Image forming apparatus
JP2000181644A (en) Image processor, control method therefor, printer and recording medium
JP3622525B2 (en) Printing apparatus, control method therefor, and recording medium
JP3359165B2 (en) Printer control device and printer control method
JP4116997B2 (en) Image processing device
KR100636817B1 (en) The graphic execution device for reducing the transaction with the system bus
JP3001081B2 (en) Printer
JP2003162199A (en) Printer
JP2737880B2 (en) Character processing apparatus and method