JP2000181644A - Image processing apparatus, control method thereof, printing apparatus and recording medium - Google Patents
Image processing apparatus, control method thereof, printing apparatus and recording mediumInfo
- Publication number
- JP2000181644A JP2000181644A JP10354629A JP35462998A JP2000181644A JP 2000181644 A JP2000181644 A JP 2000181644A JP 10354629 A JP10354629 A JP 10354629A JP 35462998 A JP35462998 A JP 35462998A JP 2000181644 A JP2000181644 A JP 2000181644A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- cpu
- program
- data
- work area
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 47
- 230000015654 memory Effects 0.000 claims abstract description 116
- 238000006243 chemical reaction Methods 0.000 claims abstract description 16
- 230000006870 function Effects 0.000 claims description 14
- 238000007726 management method Methods 0.000 abstract description 14
- 238000013500 data storage Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 101100532856 Arabidopsis thaliana SDRA gene Proteins 0.000 description 1
- 101000661816 Homo sapiens Suppression of tumorigenicity 18 protein Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】
【課題】 RAMの容量を大幅に増やさなくても大量の
データを処理でき、しかも、処理速度の速い画像処理装
置およびプリンタを提供する。
【解決手段】 プリンタ1の画像処理装置3では、ワー
ク領域Wが不足すると、メモリ管理部20はSDRAM
10に設定していたプログラム領域Pを解放し、そこに
コピーされていたモジュールDはROM7で実行できる
ようにCPUの論理アドレスの変換先を変更する。これ
により、ワーク領域が増加するので、高解像度のフルカ
ラー印刷を行う場合のように取り扱うデータ量が膨大に
なった場合でも比較的小容量のSDRAM10によりデ
ータの格納に必要なワーク領域を確実に確保できる。よ
って、RAMの容量を大幅に増やすことなく大量のデー
タを処理できる。また、データに対するアクセス速度を
速くできるので、高速なデータ処理が可能となる。
(57) [Problem] To provide an image processing apparatus and a printer capable of processing a large amount of data without significantly increasing the capacity of a RAM and having a high processing speed. In an image processing apparatus of a printer, when a work area is insufficient, a memory management unit (20) operates in an SDRAM.
The program area P set to 10 is released, and the module D copied there changes the logical address conversion destination of the CPU so that the module D can be executed by the ROM 7. As a result, the work area increases, so even when the amount of data to be handled becomes enormous, such as when performing high-resolution full-color printing, the work area necessary for data storage is reliably secured by the SDRAM 10 having a relatively small capacity. it can. Therefore, a large amount of data can be processed without greatly increasing the capacity of the RAM. In addition, since the access speed to data can be increased, high-speed data processing can be performed.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力データに基づ
き描画データを生成して出力可能な画像処理装置および
制御方法に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and a control method capable of generating and outputting drawing data based on input data.
【0002】[0002]
【従来の技術】ページ単位のデータを一括して印刷する
ページプリンタ(レーザプリンタ)等の印刷装置に搭載
される画像処理装置では、ROMに収納されたCPUの
実行用プログラムの一部をアクセス速度の速いRAMに
コピーし、RAM上でプログラムが実行されることが多
い。このような方法によれば、実行用プログラムを、R
OMより高速なRAMで実行できるので、データの処理
速度が速くなり、プリントする時間を短縮できる。2. Description of the Related Art In an image processing apparatus mounted on a printing apparatus such as a page printer (laser printer) for printing data in units of a page at a time, a part of an execution program of a CPU stored in a ROM is accessed at an access speed. Copy to a fast RAM and execute the program on the RAM in many cases. According to such a method, the execution program is defined as R
Since the data can be executed by the RAM which is faster than the OM, the data processing speed is increased and the printing time can be reduced.
【0003】[0003]
【発明が解決しようとする課題】高解像度化およびフル
カラー化が進むにつれて、プリンタで取り扱うデータ量
が益々多くなっている。また、これと共に、プリンタの
処理速度を向上することも要求されている。CPUの処
理スピードを向上するには、上述したようにプログラム
をRAMにコピーして実行する方法があり、RAMにで
きるだけ多くのプログラムをコピーして実行することが
望ましい。As the resolution and the full color are advanced, the amount of data handled by the printer is increasing. At the same time, it is also required to improve the processing speed of the printer. To improve the processing speed of the CPU, there is a method of copying a program to the RAM and executing the program as described above. It is desirable to copy and execute as many programs as possible in the RAM.
【0004】一方、高解像度のカラー画像を印刷しよう
とすると、ホストコンピュータとなるパソコンから送信
された入力データ、入力データを処理した中間コード、
さらには印刷機構に出力する描画データはそれぞれ非常
に多くなる。これらのデータを圧縮してRAMに格納す
ることを考えても、記憶容量の大きなRAMが必要にな
る。On the other hand, when a high-resolution color image is to be printed, input data transmitted from a personal computer as a host computer, an intermediate code obtained by processing the input data,
Furthermore, the amount of drawing data to be output to the printing mechanism is extremely large. Considering that these data are compressed and stored in the RAM, a RAM having a large storage capacity is required.
【0005】従って、このような膨大なデータを取り扱
うことができ、実行速度も速いプリンタを実現するため
には、プログラムをコピーするためのプログラム領域と
データを格納するためのワーク領域の双方を充分に確保
できる大容量のRAMが必要になる。しかし、このよう
な大容量のRAMは高価なので、プリンタのコストを高
騰させる原因になる。Therefore, in order to realize a printer capable of handling such a huge amount of data and having a high execution speed, both a program area for copying a program and a work area for storing data are sufficiently provided. Requires a large-capacity RAM that can be secured. However, since such a large-capacity RAM is expensive, it causes an increase in the cost of the printer.
【0006】近年、アクセス速度の速いSDRAMがプ
リンタに使用されるようになっているが、SDRAMは
記憶容量当たりのコストが高い。このため、大容量のS
DRAMを採用すると、プリンタがさらに高くなってし
まう。また、DRAMが内蔵されたCPUをプリンタに
使用することが検討されているが、このDRAMはCP
Uに内蔵されているので、アクセス速度の面では最も優
れている反面、現在の技術ではこのDRAMを大容量化
することは困難であり、またコストも高い。In recent years, SDRAMs with a high access speed have been used for printers, but the cost per storage capacity of SDRAMs is high. Therefore, large-capacity S
The adoption of DRAM increases the cost of the printer. In addition, the use of a CPU with a built-in DRAM in a printer is being studied.
Since it is built into the U, it is the best in terms of access speed, but it is difficult to increase the capacity of this DRAM with current technology, and the cost is high.
【0007】さらに、高解像度のカラー印刷が可能なプ
リンタでも常にそのような大量のデータを取り扱うので
はなく、低解像度の印刷やモノクロ印刷等のように取り
扱うデータ量が少ない場合もある。このため、大容量の
RAMを用意しても、データ量が少ない印刷の場合、R
AMの使用効率が低くなる。Furthermore, even a printer capable of high-resolution color printing does not always handle such a large amount of data, but may handle a small amount of data, such as low-resolution printing or monochrome printing. For this reason, even if a large-capacity RAM is prepared, when printing with a small amount of data, R
The use efficiency of AM is reduced.
【0008】そこで、本発明においては、RAMの使用
効率を上げることにより、膨大な容量のRAMを用いず
に、大量のデータを取り扱うことができ、また、処理速
度も速い画像処理装置およびその制御方法を提供するこ
とを目的としている。そして、本発明の画像処理装置を
印刷装置に組み込むことにより、高解像度でフルカラー
のプリントが可能であり、また、高速で印刷を行うこと
ができる低コストな印刷装置を提供することを目的とし
ている。Accordingly, in the present invention, by increasing the efficiency of use of the RAM, a large amount of data can be handled without using a huge amount of RAM, and an image processing apparatus having a high processing speed and its control. It is intended to provide a way. By incorporating the image processing apparatus of the present invention into a printing apparatus, it is an object to provide a low-cost printing apparatus capable of performing high-resolution full-color printing and performing high-speed printing. .
【0009】[0009]
【課題を解決するための手段】このため、本発明におい
ては、RAM等の高速な第2のメモリに、ワーク領域に
加えプログラム領域を設定し、このプログラム領域にプ
ログラムをコピーして実行することにより高速化してい
る。その一方で、高解像度のカラー画像のように、ワー
ク領域が不足する場合は、プログラム領域を減らしてワ
ーク領域を増やし、プログラムをコピー元の第1のメモ
リ上で実行することにより、大量のデータを処理できる
ようにしている。Therefore, according to the present invention, a program area is set in addition to a work area in a high-speed second memory such as a RAM, and a program is copied and executed in this program area. Is faster. On the other hand, when the work area is insufficient, such as a high-resolution color image, a large amount of data can be obtained by reducing the program area to increase the work area and executing the program on the first memory of the copy source. Can be processed.
【0010】すなわち、本発明の画像処理装置は、入力
データに基づき描画データを生成して出力可能な画像処
理装置において、CPUと、このCPUの実行プログラ
ムを記憶可能な第1のメモリと、このCPUの作業領域
となり、入出力可能な第1のメモリよりも高速な第2の
メモリと、CPUの論理アドレスを第1および第2のメ
モリのアドレスを含む物理アドレスに変換可能なメモリ
管理手段とを有し、このメモリ管理手段は、第2のメモ
リに実行プログラムの少なくとも一部をコピー可能なプ
ログラム領域および描画データを含む画像データを記憶
可能なワーク領域を設定し、プログラム領域にコピーさ
れたプログラムについてはCPUの論理アドレスを第2
のメモリのアドレスに変換する設定機能と、ワーク領域
が不足すると、プログラム領域の少なくとも一部を解放
し、その解放された部分のプログラムについてはCPU
の論理アドレスを第1のメモリのアドレスに変換する変
更機能とを備えていることを特徴としている。That is, an image processing apparatus according to the present invention is an image processing apparatus capable of generating and outputting drawing data based on input data, comprising: a CPU; a first memory capable of storing an execution program of the CPU; A second memory which is a work area of the CPU and is faster than the first memory capable of input / output; and a memory management means capable of converting a logical address of the CPU into a physical address including addresses of the first and second memories. The memory management means sets a program area in which at least a part of the execution program can be copied and a work area in which image data including drawing data can be stored in the second memory, and copies the program data to the program area. For the program, the logical address of the CPU is
And a setting function for converting to a memory address of the memory, and when the work area is insufficient, at least a part of the program area is released.
And a function of converting the logical address of the first memory into an address of the first memory.
【0011】また、本発明の画像処理装置の制御方法
は、第2のメモリに実行プログラムの少なくとも一部を
コピー可能なプログラム領域および描画データを含む画
像データを記憶可能なワーク領域を設定し、プログラム
領域にコピーされたプログラムについてはCPUの論理
アドレスを第2のメモリのアドレスに変換する設定工程
と、入力データに基づき画像データを生成して出力する
画像処理工程と、この画像処理工程においてワーク領域
が不足すると、プログラム領域の少なくとも一部を解放
し、その解放された部分のプログラムについてはCPU
の論理アドレスを第1のメモリのアドレスに変換する変
更工程とを有することを特徴としている。Further, according to the control method of the image processing apparatus of the present invention, a program area capable of copying at least a part of an execution program and a work area capable of storing image data including drawing data are set in a second memory. For the program copied to the program area, a setting step of converting a logical address of the CPU into an address of the second memory, an image processing step of generating and outputting image data based on input data, When the area is insufficient, at least a part of the program area is released, and the program of the released part is executed by the CPU.
And converting the logical address to the address of the first memory.
【0012】本発明の画像処理装置およびその制御方法
では、RAM等の高速の第2のメモリにプログラム領域
を設定し、その領域にプログラムをコピーして実行する
ようにしているので、高速で印刷処理が実行できる。一
方、高解像度の画像データを処理する状態となり、ワー
ク領域が不足する状況となると、プログラム領域の一部
あるいは全部を解放してワーク領域を増やすようにして
いる。従って、大量のデータを処理する必要があるとき
でも十分に対応できる。また、第2のメモリのプログラ
ム領域を解放してもそのプログラムは第1のメモリに格
納されているので、CPUの論理アドレスを第1のメモ
リのアドレスに変換することにより、プログラムの実行
上の問題はない。In the image processing apparatus and its control method according to the present invention, a program area is set in a high-speed second memory such as a RAM, and the program is copied and executed in that area. Processing can be performed. On the other hand, when high-resolution image data is processed and the work area becomes insufficient, a part or all of the program area is released to increase the work area. Therefore, even when a large amount of data needs to be processed, it can sufficiently cope with it. Further, since the program is stored in the first memory even if the program area of the second memory is released, by converting the logical address of the CPU to the address of the first memory, the No problem.
【0013】また、大量のデータを処理するので、プロ
グラムにアクセスする頻度に対しデータにアクセスする
頻度が増える。従って、高速な第2のメモリに十分なワ
ーク領域を設定することにより、プログラムにアクセス
する速度は若干低下しても大量のデータには高速でアク
セスできるので、結果的にはデータ処理の時間を短縮で
きる。勿論、限られたメモリ容量で大量のデータを取り
扱えるという効果もある。Further, since a large amount of data is processed, the frequency of accessing the data is higher than the frequency of accessing the program. Therefore, by setting a sufficient work area in the high-speed second memory, a large amount of data can be accessed at a high speed even if the speed of accessing the program is slightly reduced. As a result, the data processing time is reduced. Can be shortened. Of course, there is also an effect that a large amount of data can be handled with a limited memory capacity.
【0014】低解像度あるいはモノクロのようなデータ
量がそれほど多くないときは、プログラムへのアクセス
速度が処理時間を短縮する要因となり、本発明の画像処
理装置および制御方法においては、このような状況では
高速な第2のメモリに十分なプログラム領域を設定でき
るので、処理速度を速くできる。一方、高解像度あるい
は多階調のカラー画像のようなデータ量が非常に多い場
合は、データへのアクセス速度が処理時間を短縮する重
要な要因となる。本発明の画像処理装置および制御方法
においては、高速な第2のメモリに十分なワーク領域を
設定できるので、大量のデータを処理するときでも処理
速度は速い。そして、ワーク領域の不足によって上記の
状態を変えられるようにしてあるので、第2のメモリの
利用効率も高くできる。従って、第2のメモリの容量を
大幅に増加させなくても良いので、大量のデータを高速
で処理可能な画像処置装置を低コストで提供できる。ま
た、本発明の画像処理装置で印刷用のデータを処理する
ことにより、データ量の多いカラー画像を高速で確実に
処理できる印刷装置を提供できる。When the data amount is not so large as in the case of low resolution or monochrome, the access speed to the program is a factor for shortening the processing time, and in the image processing apparatus and control method of the present invention, in such a situation, Since a sufficient program area can be set in the high-speed second memory, the processing speed can be increased. On the other hand, when the data amount is very large, such as a high-resolution or multi-tone color image, the access speed to the data is an important factor for reducing the processing time. In the image processing apparatus and the control method of the present invention, a sufficient work area can be set in the high-speed second memory, so that the processing speed is high even when processing a large amount of data. Since the above-mentioned state can be changed by the shortage of the work area, the utilization efficiency of the second memory can be increased. Therefore, since the capacity of the second memory does not need to be greatly increased, an image processing apparatus capable of processing a large amount of data at high speed can be provided at low cost. Further, by processing data for printing by the image processing apparatus of the present invention, it is possible to provide a printing apparatus capable of processing a color image having a large amount of data at high speed and without fail.
【0015】ワーク領域不足が発生して、ワーク領域と
プログラム領域の設定を変更するときは、ワーク領域不
足が発生したデータの変換処理を再度行うことが望まし
い。変換処理をやり直すことにより、データの欠損など
のトラブルを確実に防ぐことができる。When the setting of the work area and the program area is changed due to the shortage of the work area, it is desirable to perform the conversion process of the data having the shortage of the work area again. By performing the conversion process again, troubles such as data loss can be reliably prevented.
【0016】第1および第2のメモリの組み合わせとし
ては、ROMおよび、CPUと同一または異なるバスに
接続されたRAMが一般的である。さらに、第2のメモ
リとしてSDRAM、CPUに内蔵されたRAM等のさ
らに高速なメモリを用いることも勿論可能である。特
に、このような高速なRAMは高価であるが、本発明の
画像処理装置および制御方法によれば、そのメモリ容量
を非常に効率良く利用できるので、低コストで高速処理
の可能な画像処理装置および印刷装置を提供できる。As a combination of the first and second memories, a ROM and a RAM connected to the same or different bus as the CPU are generally used. Further, it is of course possible to use a higher-speed memory such as an SDRAM or a RAM built in a CPU as the second memory. In particular, such a high-speed RAM is expensive, but according to the image processing apparatus and the control method of the present invention, the memory capacity can be used very efficiently, so that the image processing apparatus capable of high-speed processing at low cost can be used. And a printing device.
【0017】なお、上述した制御方法は、それぞれの工
程に対応した処理を実行可能な命令を備えた画像処理装
置で読み取り可能な、ROMやフロッピー(登録商標)
ディスク等の記録媒体に記録して提供できる。また、コ
ンピュータネットワークを介してプログラムをユーザに
供給し、ユーザ側のパソコンや画像処理装置の記録媒体
に記録して使用することも勿論可能である。The above-described control method uses a ROM or a floppy (registered trademark) which can be read by an image processing apparatus having an instruction capable of executing a process corresponding to each process.
It can be recorded on a recording medium such as a disk and provided. Further, it is of course possible to supply the program to the user via a computer network and record the program on a recording medium of a personal computer or an image processing apparatus on the user side for use.
【0018】[0018]
【発明の実施の形態】以下に図面を参照して本発明の実
施の形態を説明する。図1は本発明に係るプリンタ1の
概略のハードウェア構成を示すブロック図である。本例
のプリンタ1では、画像処理装置3によりホストコンピ
ュータから受信した入力データφ1に基づき描画データ
φ2を生成する処理が実行され、描画データφ2が印刷
機構2に送られて印刷される。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic hardware configuration of a printer 1 according to the present invention. In the printer 1 of the present embodiment, a process of generating drawing data φ2 based on the input data φ1 received from the host computer by the image processing device 3 is executed, and the drawing data φ2 is sent to the printing mechanism 2 and printed.
【0019】本例の画像処理装置3は、CPU6と、こ
のCPU6の作業領域となるSDRAM10と、メモリ
コントローラ9を備えており、これらがCPUバス11
により接続されている。さらに、メモリコントローラ9
には外部バス8が接続されており、外部バス8には、ホ
ストコンピュータから送られてくる入力データφ1を受
信する入力インターフェース回路4と、初期設定プログ
ラム(IPL)5aが格納されたROM5と、CPU6
の実行プログラム7aが格納されたROM7が接続され
ている。本例においては、このROM7が第1のメモリ
である。さらに、外部バス8は、描画データφ2を印刷
機構2に転送するためのビデオインタフェース回路13
が接続されている。The image processing apparatus 3 of the present embodiment includes a CPU 6, an SDRAM 10 serving as a work area of the CPU 6, and a memory controller 9.
Connected by Further, the memory controller 9
Is connected to an external bus 8. The external bus 8 has an input interface circuit 4 for receiving input data φ1 sent from a host computer, a ROM 5 storing an initial setting program (IPL) 5a, CPU6
The ROM 7 storing the execution program 7a is connected. In this example, the ROM 7 is a first memory. Further, the external bus 8 has a video interface circuit 13 for transferring the drawing data φ2 to the printing mechanism 2.
Is connected.
【0020】本例では第1のメモリとなるROM7に
は、CPU6の実行プログラム7aが格納されており、
この実行プログラム7aは複数のモジュールから構成さ
れている。本例においては、受信した入力データφ1を
処理することにより中間コードに変換するためのモジュ
ールや、中間コードから印刷機構2で印刷可能な二値化
された描画データφ2に変換するためのモジュール等の
4つのモジュールA、B、C、Dを実行プログラム7a
が備えているものとして説明する。In this example, an execution program 7a of the CPU 6 is stored in a ROM 7 serving as a first memory.
This execution program 7a is composed of a plurality of modules. In this example, a module for converting the received input data φ1 into an intermediate code by processing the input data φ1, a module for converting the intermediate code into binarized drawing data φ2 printable by the printing mechanism 2, and the like Execute the four modules A, B, C, and D of the execution program 7a
The description is provided assuming that is provided.
【0021】さらに、本例のプリンタ1では、ROM7
に格納された実行プログラム7aの一部あるいは全部が
高速のSDRAM10にコピーされて実行されるように
なっている。したがって、本例にはおいてはSDRAM
10が第2のメモリである。Further, in the printer 1 of this embodiment, the ROM 7
A part or all of the execution program 7a stored in the SDRAM 10 is copied to the high-speed SDRAM 10 and executed. Therefore, in this example, the SDRAM
10 is a second memory.
【0022】このため、CPU6は、その論理アドレス
を第2のメモリである高速なSDRAM10の物理アド
レスに変換したり、あるいは、低速な第1のメモリであ
るROM7の物理アドレスに変換するなどの、CPU6
の論理アドレスの変換先を管理する機能を持つメモリマ
ネージメントユニット(MMU)12を内蔵している。
そしてMMU12によりCPU6の論理アドレスの変換
先を適宜変更することによりROM7あるいはSDRA
M10でプログラムを実行することができる。For this reason, the CPU 6 converts the logical address into a physical address of the high-speed SDRAM 10 as the second memory, or converts the logical address into a physical address of the ROM 7 as the low-speed first memory. CPU6
And a memory management unit (MMU) 12 having a function of managing the conversion destination of the logical address.
The MMU 12 appropriately changes the destination of the logical address conversion of the CPU 6 so that the ROM 7 or the SDRA
The program can be executed in M10.
【0023】図2および図3に、画像処理装置3の概略
の機能と、画像処理装置3の制御動作を示してある。ま
ず、図2に示すように、電源投入時やリセット時に、メ
モリ管理部20の設定機能21によりSDRAM10に
ワーク領域Wと、プログラム領域Pが設定され、コピー
機能24によりROM7のプログラムモジュールの内、
モジュールCおよびDがプログラム領域Pにコピーされ
る。そして、メモリ管理部20の設定機能21の指示に
より、MMU12は、CPU6の論理アドレス空間30
のうち、モジュールAおよびBの論理アドレスはROM
7のアドレスに割り付けられ、モジュールCおよびDの
論理アドレスはSDRAM10にコピーされたモジュー
ルCおよびDの物理アドレスP1およびP2に割り当て
られる。FIGS. 2 and 3 show schematic functions of the image processing apparatus 3 and control operations of the image processing apparatus 3. First, as shown in FIG. 2, at power-on or reset, the setting function 21 of the memory management unit 20 sets the work area W and the program area P in the SDRAM 10, and the copy function 24 sets the program area of the ROM 7
Modules C and D are copied to program area P. Then, according to the instruction of the setting function 21 of the memory management unit 20, the MMU 12
Logical addresses of modules A and B are ROM
7 and the logical addresses of the modules C and D are allocated to the physical addresses P1 and P2 of the modules C and D copied to the SDRAM 10.
【0024】メモリ管理部20の機能は、CPU6の機
能を用いて実現されており、具体的には、ROM5に格
納されたIPL5aがCPU6で実行されることにより
実現される。The function of the memory management unit 20 is realized by using the function of the CPU 6. More specifically, the function of the memory management unit 20 is realized by the CPU 6 executing the IPL 5 a stored in the ROM 5.
【0025】また、SDRAM10のワーク領域Wに
は、描画データを格納するワーク領域W1および中間コ
ードを格納するワーク領域W2が確保される。中間コー
ドは、受信した入力データφ1がそれを記述した言語処
理プログラムによって解釈されたデータである。そし
て、言語処理された中間コードをさらに処理することに
より二値化された描画データが生成される。本例のプリ
ンタ1がレーザプリンタなどのページプリンタである
と、中間コードおよび描画データは1頁分のデータが準
備されるので、ワーク領域Wもそれに応じた容量が確保
される。そして、中間コードおよび描画データが、1頁
分のデータがビデオインタフェース回路13を介して印
刷機構2に転送されると、次のデータが生成される。In the work area W of the SDRAM 10, a work area W1 for storing drawing data and a work area W2 for storing intermediate codes are secured. The intermediate code is data obtained by interpreting the received input data φ1 by a language processing program describing the input data φ1. Then, binarized drawing data is generated by further processing the language-processed intermediate code. If the printer 1 of this example is a page printer such as a laser printer, one page of data is prepared for the intermediate code and the drawing data, so that the work area W also has a corresponding capacity. Then, when one page of data of the intermediate code and the drawing data is transferred to the printing mechanism 2 via the video interface circuit 13, the next data is generated.
【0026】図2に示した状態では、言語処理モジュー
ルなどのアクセス頻度の高いプログラムモジュールが高
速がSDRAM10にコピーされており、CPU6はS
DRAM10にアクセスすることによってプログラムを
実行できる。したがって、言語処理、描画処理などを高
速で実行することができる。In the state shown in FIG. 2, a frequently accessed program module such as a language processing module is copied to the SDRAM 10 at high speed.
A program can be executed by accessing the DRAM 10. Therefore, language processing, drawing processing, and the like can be executed at high speed.
【0027】図3は、入力データφ1として多階調で高
解像度のカラー画像の印刷データが入力されたときの状
態を示してある。このような印刷データはデータ量が膨
大になるので、中間コードおよび描画データの量も多
い。したがって、中間コードがワーク領域Wに収納でき
たときでも、描画データを収納するにはワーク領域の容
量が不足することがある。このときは、まず、メモリ管
理部20においてメモリ不足検出部25がメモリ不足を
検出する。このメモリ不足検出部25から信号により、
メモリ管理部20の変更部22はプログラム領域Pの一
部を開放し、ワーク領域Wの容量を増やす。図3では、
モジュールDの領域を開放し、描画データW1の容量を
増やしている。そして、MMU12により、CPUの論
理アドレス空間30のうち、プログラムモジュールDの
アドレスがROM7の物理アドレスに変換される。した
がって、描画データ用に不足していたメモリ容量が確保
され、さらに、プログラムモジュールDはROM7で実
行可能なように設定される。FIG. 3 shows a state when print data of a multi-gradation, high-resolution color image is input as input data φ1. Since the amount of such print data is enormous, the amount of intermediate code and drawing data is also large. Therefore, even when the intermediate code can be stored in the work area W, the capacity of the work area may be insufficient to store the drawing data. At this time, first, in the memory management unit 20, the memory shortage detection unit 25 detects a memory shortage. According to a signal from the memory shortage detection unit 25,
The change unit 22 of the memory management unit 20 releases a part of the program area P and increases the capacity of the work area W. In FIG.
The area of the module D is opened to increase the capacity of the drawing data W1. Then, the address of the program module D in the logical address space 30 of the CPU is converted to the physical address of the ROM 7 by the MMU 12. Therefore, a memory capacity that is insufficient for the drawing data is secured, and the program module D is set to be executable in the ROM 7.
【0028】さらに、メモリ不足検出部25がメモリ不
足を検出するとCPU6におけるジョブを管理している
ジョブ管理部26は、そのメモリ不足が発生したジョ
ブ、本例であれば、中間コードから描画データに変換す
る処理を最初からやり直す。したがって、本例のプリン
タ1は、高速なSDRAM10にメモリ容量不足が発生
してもプログラム領域を開放してワーク領域を増やすこ
とによりデータを記憶するのに十分なメモリ容量を確保
することができる。したがって、SDRAM10をデー
タの格納先として中間コードから描画データに変換する
処理を続行することができる。Further, when the memory shortage detecting unit 25 detects the memory shortage, the job management unit 26 managing the job in the CPU 6 converts the job in which the memory shortage occurs, in this example, from the intermediate code to the drawing data. Redo the conversion process from the beginning. Therefore, the printer 1 of the present embodiment can secure a sufficient memory capacity for storing data by opening the program area and increasing the work area even if the high-speed SDRAM 10 has a shortage of memory capacity. Therefore, it is possible to continue the process of converting the intermediate code into the drawing data using the SDRAM 10 as the data storage destination.
【0029】図4および図5に示したフローチャートに
基づきさらに詳しく説明する。図4は電源投入時の画像
処理装置の制御動作を示すフローチャートであり、図5
は描画データを生成する処理を示すフローチャートであ
る。This will be described in more detail with reference to the flowcharts shown in FIGS. FIG. 4 is a flowchart showing the control operation of the image processing apparatus when the power is turned on.
9 is a flowchart showing a process for generating drawing data.
【0030】まず、電源投入時は、ステップST1で電
源が投入されると、ROM5のIPL5aがCPU6に
ローディングされて、インターフェース回路4等のハー
ドウェアの初期設定が行われる。さらに、ステップST
2において、プログラム領域Pおよびワーク領域WがS
DRAM10に設定され、ステップST3において、モ
ジュールCおよびDがプログラム領域Pにコピーされ
る。そして、論理アドレス空間30のモジュールA〜D
のアドレスのうち、モジュールAおよびBの論理アドレ
スのアドレス変換先はROM7の物理アドレスに設定さ
れ、モジュールCおよびDの論理アドレスのアドレス変
換先はSDRAM10の物理アドレスに設定される。First, when the power is turned on, when the power is turned on in step ST1, the IPL 5a of the ROM 5 is loaded into the CPU 6, and the hardware such as the interface circuit 4 is initialized. Further, step ST
2, the program area P and the work area W
The setting is made in the DRAM 10, and the modules C and D are copied to the program area P in step ST3. Then, the modules A to D in the logical address space 30
Of the logical addresses of the modules A and B are set to the physical addresses of the ROM 7, and the logical addresses of the modules C and D are set to the physical addresses of the SDRAM 10.
【0031】このような設定により、モジュールCおよ
びDがSDRAM10で実行されるので、画像処理が高
速で行われ、印刷スピードが向上する。With these settings, the modules C and D are executed by the SDRAM 10, so that the image processing is performed at a high speed and the printing speed is improved.
【0032】印刷処理は、図5に示したように行われ
る。まず、ステップST11でホストから入力データφ
1が送信されてくるのを待ち、入力データφ1を受信す
ると、それらがSDRAM10のワーク領域Wなどに設
定された受信バッファに蓄積される。次に、ステップS
T12で、CPU6において言語処理モジュールが実行
され、入力データφ1が解釈される。その結果が中間コ
ードとしてSDRAM10のワーク領域Wの中間コード
の領域W2に記憶される。次に、ステップST13にお
いて、CPU6で描画モジュールが実行され、ワーク領
域Wから中間コードが読み出され、描画データに変換さ
れる。変換された描画データは、ステップST14でワ
ーク領域Wの描画データの領域W1に格納される。そし
て、ステップST16で、1頁分の描画データが蓄積さ
れるまで変換処理が繰り返される。The printing process is performed as shown in FIG. First, in step ST11, input data φ
When the input data φ1 is received while waiting for the transmission of “1”, they are accumulated in the reception buffer set in the work area W of the SDRAM 10 or the like. Next, step S
At T12, the language processing module is executed in the CPU 6, and the input data φ1 is interpreted. The result is stored in the intermediate code area W2 of the work area W of the SDRAM 10 as an intermediate code. Next, in step ST13, the drawing module is executed by the CPU 6, the intermediate code is read from the work area W, and converted into drawing data. The converted drawing data is stored in the drawing data area W1 of the work area W in step ST14. Then, in step ST16, the conversion process is repeated until the drawing data for one page is accumulated.
【0033】一方、描画データに変換して出力するステ
ップST14の処理中に、ステップST15においてワ
ーク領域のメモリ不足が発生すると、ステップST14
の処理が停止されステップST18に移行する。On the other hand, if a shortage of memory in the work area occurs in step ST15 during the processing of step ST14 in which the data is converted into drawing data and output, the processing proceeds to step ST14.
Is stopped, and the routine goes to Step ST18.
【0034】ステップST18では、図3に示したよう
に、SDRAM10のプログラム領域Pの一部が開放さ
れてワーク領域Wが増やされる。そして、ステップST
19でSDRAM10から削除されたプログラムモジュ
ールDについては、CPUの論理アドレス30の変換先
がROM7に変更される。そして、ステップST13に
戻り、描画データへの変換処理を再実行する。In step ST18, as shown in FIG. 3, a part of the program area P of the SDRAM 10 is released, and the work area W is increased. And step ST
Regarding the program module D deleted from the SDRAM 10 at 19, the conversion destination of the logical address 30 of the CPU is changed to the ROM 7. Then, the process returns to step ST13, and the conversion process to the drawing data is executed again.
【0035】ステップST14の変換する処理を再実行
した際に、ワーク領域Wの容量が十分であれば1頁分の
描画データが蓄積されるまでステップST14が実行さ
れ、1頁分のデータが蓄積されるとステップST17に
おいてその描画データが印刷機構に送られて印刷され
る。ステップST14を再実行している間に再びステッ
プST15においてメモリ不足が発生すると、再びステ
ップST18に移行し、さらにプログラム領域Pが開放
されてワーク領域Wの容量がさらに増やされる。When the conversion process of step ST14 is re-executed, if the work area W has a sufficient capacity, step ST14 is executed until one page of drawing data is accumulated, and one page of data is accumulated. Then, in step ST17, the drawing data is sent to the printing mechanism and printed. If a memory shortage occurs again in step ST15 while step ST14 is being re-executed, the process proceeds to step ST18 again, where the program area P is released and the capacity of the work area W is further increased.
【0036】このように、本例のプリンタ1では、SD
RAM10にワーク領域Wおよびプログラム領域Pが設
定され、プログラム領域にコピーされたプログラムを実
行することにより高速で処理できるようになっている。
それとともに、高解像度または多階調のカラー画像を処
理する必要があるときのように、大量のデータを取り扱
い、SDRAM10のワーク領域にメモリ不足が発生す
るとプログラム領域Pを解放してワーク領域Wを増や
し、SDRAM10に大量のデータを記憶できるように
なっている。したがって、処理するデータ量に対しSD
RAM10に余裕があれば、その領域にプログラムをコ
ピーして処理の高速化を図することができる。一方、そ
のような設定でSDRAM10に余裕がなくなれば、プ
ログラム領域を開放することによりSDRAM10に大
量のデータを記憶させることができる。As described above, in the printer 1 of this embodiment, the SD
A work area W and a program area P are set in the RAM 10, and the program copied in the program area can be executed at a high speed by executing the program.
At the same time, when a large amount of data is handled, such as when it is necessary to process a high-resolution or multi-gradation color image, and a memory shortage occurs in the work area of the SDRAM 10, the program area P is released and the work area W is released. As a result, a large amount of data can be stored in the SDRAM 10. Therefore, SD for the amount of data to be processed
If there is room in the RAM 10, the program can be copied to that area to speed up the processing. On the other hand, if there is no room in the SDRAM 10 with such a setting, a large amount of data can be stored in the SDRAM 10 by releasing the program area.
【0037】このため、プリンタ1で処理するデータ量
に応じてSDRAM10を非常に効率良く使用すること
が可能であり、印刷スピードが速いと同時にデータ量の
多い印刷もスムーズに行うことができるプリンタを提供
することができる。さらに、メモリ不足によってSDR
AM10の容量の設定を自動的に変更するようにしてい
るので、事前にメモリ不足が発生する可能性の有無を判
断する必要がない。したがって、常にメモリ不足が発生
するか否かを検討する余分なオーバーヘッドを発生させ
たり、データを変換するプログラムモジュールを複雑に
しないで対処することができる。For this reason, the SDRAM 10 can be used very efficiently according to the amount of data to be processed by the printer 1, and a printer capable of printing at a high speed and simultaneously printing a large amount of data can be performed smoothly. Can be provided. In addition, SDR due to lack of memory
Since the setting of the capacity of the AM 10 is automatically changed, it is not necessary to determine in advance whether there is a possibility that a memory shortage will occur. Therefore, it is possible to deal with unnecessary overhead that always considers whether or not a memory shortage occurs, and without complicating a program module for converting data.
【0038】また、本例の画像処理装置3では、ROM
7に実行プログラムが圧縮などされていない実行可能な
状態で格納されており、SDRAM10の容量が不足し
たときにはROM7で実行できるようになっている。R
OM7はSDRAM10と比較するとアクセススピード
が低くなるので、プログラムの実行速度は低下する。し
かしながら、高解像度や多階調のカラー画像のように大
量のデータを取り扱う場合は、プログラムにアクセスす
る頻度に対してデータにアクセスする頻度が多くなる。
このため、このような状況ではプログラムに対するアク
セススピードを確保するよりも、高速なメモリ(SDR
AM)10に十分なワーク領域を設定する方が処理速度
を上げるには効果的である。したがって、本例のプリン
タ1は、データ量が少ないときはもちろん、データ量が
多いときでも処理速度の速いプリンタとなっている。In the image processing apparatus 3 of this embodiment, the ROM
7, an executable program is stored in an uncompressed and executable state, and can be executed by the ROM 7 when the capacity of the SDRAM 10 is insufficient. R
Since the access speed of the OM 7 is lower than that of the SDRAM 10, the execution speed of the program is lower. However, when handling a large amount of data such as a high-resolution or multi-gradation color image, the frequency of accessing the data is higher than the frequency of accessing the program.
For this reason, in such a situation, a higher-speed memory (SDR
AM) It is more effective to set a sufficient work area to increase the processing speed. Therefore, the printer 1 of this example is a printer having a high processing speed even when the data amount is large as well as when the data amount is small.
【0039】さらに、本例のプリンタ1は、SDRAM
10の利用効率を常に高く保つことができるので、処理
可能なデータ量およびその処理速度に対し、SDRAM
の容量は少なくて良い。SDRAMは従来のDRAMな
どと比較して高速であるが高価であるが、本例のプリン
タ1では、そのSDRAMを効率良く使用することによ
り低コストで処理能力の高いプリンタを提供することが
できる。Further, the printer 1 according to the present embodiment has an SDRAM
10 can always keep the usage efficiency high, so that the amount of data that can be processed and the processing speed of the
May have a small capacity. Although the SDRAM is faster but more expensive than a conventional DRAM, the printer 1 of the present embodiment can provide a low-cost, high-performance printer by using the SDRAM efficiently.
【0040】なお、本例のプリンタ1では、メモリ不足
が発生すると、保持されている中間コードから描画デー
タへの変換する処理をやり直している。中間コードは1
頁分の変換がエラーなく終了するまで保持されるので、
このような処理が可能である。もちろん、メモリ不足が
発生したデータから変換処理を再実行するようにしても
良いが、メモリ不足が発生したデータが欠損していた
り、重複して変換される可能性などがあり、そのような
トラブルを避けるため処理時間およびプログラムが費や
される可能性がある。これに対し、変換する処理を最初
からやり直すこといよりそのようなトラブルは未然に防
止でき、また、プログラミングも簡単なので信頼性が高
い。In the printer 1 of this embodiment, when a memory shortage occurs, the process of converting the held intermediate code into drawing data is performed again. Intermediate code is 1
Since the conversion of pages is retained until the conversion is completed without error,
Such processing is possible. Of course, the conversion process may be re-executed from the data for which the memory shortage has occurred.However, there is a possibility that the data for which the memory shortage has occurred is lost, or the data may be redundantly converted. Processing time and programs may be expended to avoid On the other hand, such troubles can be prevented before starting the conversion process from the beginning, and the reliability is high because the programming is simple.
【0041】また、本例では、中間コードから描画デー
タに変換する処理を例に説明しているが、入力データを
受信している途中などにメモリ不足が発生しても同様の
処理が可能である。ただし、印刷機構にデータを送る直
前の描画データに変換して記憶する処理において最もメ
モリ不足が発生しやすいので、この処理において確実に
上記で説明した処理が行われるようにしておくことが望
ましい。In this embodiment, the processing for converting the intermediate code into the drawing data is described as an example. However, the same processing can be performed even if a memory shortage occurs while receiving the input data. is there. However, the shortage of memory is most likely to occur in the process of converting to the drawing data immediately before sending the data to the printing mechanism and storing it. Therefore, it is desirable to ensure that the process described above is performed in this process.
【0042】プログラム領域およびワーク領域が確保さ
れるメモリとしては、SDRAM10に限らずその他の
タイプの入出力可能なメモリであってももちろん良い。
たとえば、近年、RAMが内蔵されたCPUをプリンタ
に採用することが検討されており、このようなプリンタ
においては、内蔵RAMを第2のメモリとして用いるこ
とが好ましい。本例のプリンタ1においては、第2のメ
モリを非常に効率良く利用できるので、CPUに内蔵さ
れた小容量のRAMを用いて多量のデータを処理できる
とともに、処理速度の速いプリンタを提供できる。The memory in which the program area and the work area are secured is not limited to the SDRAM 10, but may be any other type of input / output memory.
For example, in recent years, adoption of a CPU having a built-in RAM in a printer has been studied, and in such a printer, it is preferable to use the built-in RAM as the second memory. In the printer 1 of the present example, the second memory can be used very efficiently, so that a large amount of data can be processed using the small-capacity RAM built in the CPU, and a printer with a high processing speed can be provided.
【0043】さらに、上記では、ROM7を第1のメモ
リとし、SDRAM10を第2のメモリとした例により
本発明を説明しているが、メモリの組み合わせもこれに
限定されるものではない。DRAMと、これに対して高
速なSDRAMを備えたプリンタ、さらには、ROM、
DRAMおよびSDRAMを備えたプリンタにおいても
本発明を適用できることはもちろんである。Further, in the above description, the present invention has been described by using an example in which the ROM 7 is the first memory and the SDRAM 10 is the second memory. However, the combination of memories is not limited to this. DRAM and a printer equipped with a high-speed SDRAM, as well as ROM,
Needless to say, the present invention can be applied to a printer including a DRAM and an SDRAM.
【0044】さらに、上記では、SDRAM10に2つ
のプログラムモジュールがコピーされる例を説明してい
るが、プログラムモジュールの数が上記に限定されない
ことはもちろんである。Further, in the above description, an example in which two program modules are copied to the SDRAM 10 has been described, but it goes without saying that the number of program modules is not limited to the above.
【0045】また、上述した制御方法は、図4および図
5の各ステップに対応した処理を実行可能な命令を備え
たソフトウェアで実現することが可能であり、画像処理
装置で読み取り可能なROM等にそのようなソフトウェ
アを記録して提供することができる。また、コンピュー
タネットワークを介してプログラムをユーザに提供し
て、ユーザ側のパソコンからプリンタ1の画像処理装置
3のROMに記録して使用することが可能である。The above-described control method can be realized by software having an instruction capable of executing processing corresponding to each step of FIGS. 4 and 5, and can be implemented by a ROM or the like readable by an image processing apparatus. Such software can be recorded and provided. Further, the program can be provided to the user via a computer network, and can be recorded on the ROM of the image processing device 3 of the printer 1 and used from the user's personal computer.
【0046】[0046]
【発明の効果】以上説明したように、本発明において
は、RAM等の高速な第2のメモリにワーク領域に加え
プログラム領域を設定し、このプログラム領域にプログ
ラムをコピーして実行することにより高速化している。
その一方で、高解像度のカラー画像のように、ワーク領
域が不足する場合は、プログラム領域を減らしてワーク
領域を増やし、プログラムを第1のメモリ上で実行する
ことにより、大量のデータを処理できるようにしてい
る。従って、大量のデータを処理する場合は、高速な第
2のメモリに十分なワーク領域を設定してデータに対す
るアクセス速度を速くできるので、プログラムにアクセ
スする速度は若干低下することを考慮しても、データ処
理全体の処理時間を短縮できる。As described above, in the present invention, a program area is set in addition to a work area in a high-speed second memory such as a RAM, and a program is copied and executed in this program area to achieve high-speed operation. Is becoming
On the other hand, when the work area is insufficient, such as a high-resolution color image, a large amount of data can be processed by reducing the program area to increase the work area and executing the program on the first memory. Like that. Therefore, when processing a large amount of data, it is possible to set a sufficient work area in the high-speed second memory and increase the access speed to the data. Therefore, even considering that the access speed to the program is slightly reduced. In addition, the processing time of the entire data processing can be reduced.
【0047】また、低解像度あるいはモノクロのような
データ量がそれほど多くない場合は、高速な第2のメモ
リに十分なプログラム領域を設定してプログラムにアク
セスする速度を速くできるので、データ処理時間を短縮
できる。さらに、本発明によれば、ワーク領域の不足に
よって上記の状態を変えられるので、第2のメモリの利
用効率も高くできる。このため、限られたメモリ容量の
第2のメモリを用いてデータ量の多いカラー画像を高速
で確実に処理できる低コストの印刷装置を提供できる。When the amount of data is not so large, such as in low resolution or monochrome, a sufficient program area can be set in the high-speed second memory to increase the speed of accessing the program. Can be shortened. Further, according to the present invention, the above-mentioned state can be changed due to the shortage of the work area, so that the use efficiency of the second memory can be increased. For this reason, it is possible to provide a low-cost printing apparatus that can process a color image having a large amount of data at high speed and reliably using the second memory having a limited memory capacity.
【図1】本発明の実施の形態に係るプリンタの概略のハ
ードウェア構成を示すブロック図である。FIG. 1 is a block diagram illustrating a schematic hardware configuration of a printer according to an embodiment of the present invention.
【図2】図1に示すプリンタにおける機能および動作を
説明するための図である。FIG. 2 is a diagram for explaining functions and operations in the printer shown in FIG.
【図3】図1に示すプリンタにおいてワーク領域が不足
した場合の制御動作を説明するための図である。FIG. 3 is a diagram for explaining a control operation when a work area is insufficient in the printer shown in FIG. 1;
【図4】図1に示すプリンタにおける電源投入時の処理
のフローチャートである。FIG. 4 is a flowchart of a process when the power is turned on in the printer shown in FIG. 1;
【図5】図1に示すプリンタにおける印刷処理のフロー
チャートである。FIG. 5 is a flowchart of a printing process in the printer shown in FIG.
1 プリンタ 2 印刷機構 3 画像処理装置 4 入力インターフェース回路 5 ROM 5a 初期設定プログラム(IPL) 6 CPU 7 ROM(第1のメモリ) 7a 実行プログラム 9 メモリコントローラ 10 SDRAM(第2のメモリ) 12 メモリマネージメントユニット 20 メモリ管理部 21 設定部 22 変更部 24 コピー部 25 メモリ不足検出部 26 ジョブ管理部 A、B、C、D モジュール P プログラム領域 W ワーク領域 Reference Signs List 1 printer 2 printing mechanism 3 image processing device 4 input interface circuit 5 ROM 5a initialization program (IPL) 6 CPU 7 ROM (first memory) 7a execution program 9 memory controller 10 SDRAM (second memory) 12 memory management unit Reference Signs List 20 memory management unit 21 setting unit 22 change unit 24 copy unit 25 memory shortage detection unit 26 job management unit A, B, C, D module P program area W work area
Claims (9)
て出力可能な画像処理装置において、 CPUと、このCPUの実行プログラムを記憶可能な第
1のメモリと、 このCPUの作業領域となり、入出力可能で前記第1の
メモリよりも高速な第2のメモリと、 前記CPUの論理アドレスを前記第1および第2のメモ
リのアドレスを含む物理アドレスに変換可能なメモリ管
理手段とを有し、 このメモリ管理手段は、前記第2のメモリに、前記実行
プログラムの少なくとも一部をコピー可能なプログラム
領域および前記描画データを含む画像データを記憶可能
なワーク領域を設定し、前記プログラム領域にコピーさ
れたプログラムについては前記CPUの論理アドレスを
前記第2のメモリのアドレスに変換する設定機能と、 前記ワーク領域が不足すると、前記プログラム領域の少
なくとも一部を解放し、その解放された部分のプログラ
ムについては前記CPUの論理アドレスを前記第1のメ
モリのアドレスに変換する変更機能とを備えていること
を特徴とする画像処理装置。An image processing apparatus capable of generating and outputting drawing data based on input data, comprising: a CPU; a first memory capable of storing an execution program of the CPU; a work area of the CPU; A second memory capable of being operated at a higher speed than the first memory; and a memory management means capable of converting a logical address of the CPU into a physical address including addresses of the first and second memories. The memory management means sets a program area in which at least a part of the execution program can be copied and a work area in which image data including the drawing data can be stored in the second memory, and the work area can be copied to the program area. For the program, a setting function for converting a logical address of the CPU into an address of the second memory; Then, at least a part of the program area is released, and the program of the released part is provided with a change function of converting a logical address of the CPU into an address of the first memory. Image processing device.
ータに基づき描画データを生成して出力する処理を管理
可能なジョブ管理手段を有し、 このジョブ管理手段は、前記メモリ管理手段において前
記変更機能が動作すると、このワーク領域が不足したデ
ータの変換処理をやり直すことを特徴とする画像処理装
置。2. The memory management unit according to claim 1, further comprising: a job management unit capable of managing a process of generating and outputting drawing data based on the input data. An image processing apparatus characterized in that, when the function operates, the conversion process of the data for which the work area is insufficient is redone.
ROMであり、前記第2のメモリは前記CPUと同一ま
たは異なるバスに接続されたRAM、またはCPUに内
蔵されたRAMであることを特徴とする画像処置装置。3. The method according to claim 1, wherein the first memory is a ROM, and the second memory is a RAM connected to the same or different bus as the CPU or a RAM built in the CPU. An image processing apparatus characterized by the following.
描画データに基づき印刷可能な印刷機構とを有する印刷
装置。4. A printing apparatus comprising: the image processing apparatus according to claim 1; and a printing mechanism capable of printing based on the drawing data.
を記憶可能な第1のメモリと、このCPUの作業領域と
なり、入出力可能で前記第1のメモリよりも高速な第2
のメモリと、前記CPUの論理アドレスを前記第1およ
び第2のメモリのアドレスを含む物理アドレスに変換可
能なメモリ管理手段とを有し、入力データに基づき描画
データを生成して出力可能な画像処理装置の制御方法で
あって、 前記第2のメモリに前記実行プログラムの少なくとも一
部をコピー可能なプログラム領域および前記描画データ
を含む画像データを記憶可能なワーク領域を設定し、前
記プログラム領域にコピーされたプログラムについては
前記CPUの論理アドレスを前記第2のメモリのアドレ
スに変換する設定工程と、 前記入力データに基づき画像データを生成して出力する
画像処理工程と、 この画像処理工程において前記ワーク領域が不足する
と、前記プログラム領域の少なくとも一部を解放し、そ
の解放された部分のプログラムについては前記CPUの
論理アドレスを前記第1のメモリのアドレスに変換する
変更工程とを有することを特徴とする画像処理装置の制
御方法。5. A CPU, a first memory capable of storing an execution program of the CPU, and a second memory serving as a work area of the CPU and capable of input / output and having a higher speed than the first memory.
And a memory management means capable of converting a logical address of the CPU into a physical address including an address of the first and second memories, and an image capable of generating drawing data based on input data and outputting the drawing data. A method for controlling a processing device, comprising: setting a program area in which at least a part of the execution program can be copied and a work area in which image data including the drawing data can be stored in the second memory; A setting step of converting the logical address of the CPU into an address of the second memory for the copied program; an image processing step of generating and outputting image data based on the input data; When the work area is insufficient, at least a part of the program area is released, and the Method of controlling an image processing apparatus characterized by comprising a changing step of converting the logical address of the CPU to the address of the first memory for programs.
理工程では、前記変更工程が行われると、そのワーク領
域が不足したデータの変換をやり直すことを特徴とする
画像処理装置の制御方法。6. The method according to claim 5, further comprising, in the image processing step, when the change step is performed, the conversion of data whose work area is insufficient is redone.
ROMであり、前記第2のメモリは前記CPUと同一ま
たは異なるバスに接続されたRAM、または前記CPU
に内蔵されたRAMであることを特徴とする画像処理装
置の制御方法。7. The CPU according to claim 5, wherein the first memory is a ROM, and the second memory is a RAM connected to the same or different bus as the CPU.
A method for controlling an image processing apparatus, characterized in that the control means is a RAM incorporated in the image processing apparatus.
を記憶可能な第1のメモリと、このCPUの作業領域と
なり、入出力可能で前記第1のメモリよりも高速な第2
のメモリと、前記CPUの論理アドレスを前記第1およ
び第2のメモリのアドレスを含む物理アドレスに変換可
能なメモリ管理手段とを有し、入力データに基づき描画
データを生成して出力可能な画像処理装置の制御プログ
ラムであって、 前記第2のメモリに、前記実行プログラムの少なくとも
一部をコピー可能なプログラム領域および前記描画デー
タを含む画像データを記憶可能なワーク領域を設定し、
前記プログラム領域にコピーされたプログラムについて
は前記CPUの論理アドレスを前記第2のメモリのアド
レスに変換する設定処理と、 前記入力データに基づき画像データを生成して出力する
画像生成処理と、 この画像生成処理において前記ワーク領域が不足する
と、前記プログラム領域の少なくとも一部を解放し、そ
の解放された部分のプログラムについては前記CPUの
論理アドレスを前記第1のメモリのアドレスに変換する
変更処理とを実行可能な命令を有する前記制御プログラ
ムが記録されていることを特徴とするコンピュータ読み
取り可能な記録媒体。8. A CPU, a first memory capable of storing an execution program of the CPU, and a second memory serving as a work area of the CPU, capable of inputting and outputting data, and having a higher speed than the first memory.
And a memory management means capable of converting a logical address of the CPU into a physical address including an address of the first and second memories, and an image capable of generating drawing data based on input data and outputting the drawing data. A control program for a processing device, wherein, in the second memory, a program area capable of copying at least a part of the execution program and a work area capable of storing image data including the drawing data are set;
A setting process of converting a logical address of the CPU into an address of the second memory for the program copied to the program area; an image generating process of generating and outputting image data based on the input data; When the work area is insufficient in the generation processing, at least a part of the program area is released, and a change processing of converting a logical address of the CPU into an address of the first memory is performed for the program of the released part. A computer-readable recording medium on which the control program having executable instructions is recorded.
は、前記変更処理が行われると、そのワーク領域が不足
したデータの変換処理をやり直す処理を実行可能な命令
を有する前記制御プログラムが記録されていることを特
徴とするコンピュータ読み取り可能な記録媒体。9. The control program according to claim 8, wherein in the image generation process, when the change process is performed, the control program having an instruction capable of executing a process of re-converting the data whose work area is insufficient is recorded. A computer-readable recording medium characterized by the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10354629A JP2000181644A (en) | 1998-12-14 | 1998-12-14 | Image processing apparatus, control method thereof, printing apparatus and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10354629A JP2000181644A (en) | 1998-12-14 | 1998-12-14 | Image processing apparatus, control method thereof, printing apparatus and recording medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000181644A true JP2000181644A (en) | 2000-06-30 |
Family
ID=18438852
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10354629A Withdrawn JP2000181644A (en) | 1998-12-14 | 1998-12-14 | Image processing apparatus, control method thereof, printing apparatus and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000181644A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008073955A (en) * | 2006-09-21 | 2008-04-03 | Brother Ind Ltd | Image forming apparatus |
| JP2008162089A (en) * | 2006-12-27 | 2008-07-17 | Konica Minolta Business Technologies Inc | Printing apparatus |
| JP4727749B2 (en) * | 2007-08-31 | 2011-07-20 | パナソニック株式会社 | Information processing device |
| JP2012133550A (en) * | 2010-12-21 | 2012-07-12 | Nec Corp | Virtual storage management device, virtual storage management method and virtual storage management program |
-
1998
- 1998-12-14 JP JP10354629A patent/JP2000181644A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008073955A (en) * | 2006-09-21 | 2008-04-03 | Brother Ind Ltd | Image forming apparatus |
| JP2008162089A (en) * | 2006-12-27 | 2008-07-17 | Konica Minolta Business Technologies Inc | Printing apparatus |
| JP4727749B2 (en) * | 2007-08-31 | 2011-07-20 | パナソニック株式会社 | Information processing device |
| JP2012133550A (en) * | 2010-12-21 | 2012-07-12 | Nec Corp | Virtual storage management device, virtual storage management method and virtual storage management program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4989163A (en) | Photo printer having a host computer assist function and method of controlling the same | |
| JP3226095B2 (en) | Network printer | |
| US6345350B2 (en) | Information processing apparatus printer, method of controlling information processing apparatus and record medium | |
| JP2000181644A (en) | Image processing apparatus, control method thereof, printing apparatus and recording medium | |
| US7042582B1 (en) | Printer and printer data processing method | |
| JP3230516B2 (en) | Printer, recording medium and printer memory management method | |
| JPH06227100A (en) | Printer device | |
| JP5361581B2 (en) | Image forming apparatus | |
| JP3907484B2 (en) | Information processing apparatus, control method thereof, and program | |
| JP3867186B2 (en) | Printing system | |
| JP3110905B2 (en) | Data transfer device and method | |
| JP3951083B2 (en) | Network printer and network printing system | |
| JP3622525B2 (en) | Printing apparatus, control method therefor, and recording medium | |
| JP3037537B2 (en) | Printing system and printing device used in the printing system | |
| JP4065194B2 (en) | Image forming apparatus | |
| JP2004062875A (en) | Printing system, printing apparatus, and printing control method | |
| JPH06149735A (en) | Data reception controller | |
| JP2000222140A (en) | Printer, memory management method of printer, and recording medium recording program | |
| JP2005231374A (en) | PRINTER, PRINTER MEMORY MANAGEMENT METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM | |
| JPH1024629A (en) | Printer | |
| JP2001018464A (en) | Printer, printer control method, and recording medium recording processing for the printer | |
| JPH11157142A (en) | Semiconductor device, image processing device and printer | |
| JP2000259366A (en) | Storage control device and printer having the storage control device | |
| JP2000122818A (en) | Network printer | |
| JPH1185423A (en) | Printer control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060307 |