JP2000309130A - Image forming apparatus, memory management method in image forming apparatus, and recording medium recording memory management program in image forming apparatus - Google Patents
Image forming apparatus, memory management method in image forming apparatus, and recording medium recording memory management program in image forming apparatusInfo
- Publication number
- JP2000309130A JP2000309130A JP2000045506A JP2000045506A JP2000309130A JP 2000309130 A JP2000309130 A JP 2000309130A JP 2000045506 A JP2000045506 A JP 2000045506A JP 2000045506 A JP2000045506 A JP 2000045506A JP 2000309130 A JP2000309130 A JP 2000309130A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- memory area
- area
- forming apparatus
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【課題】 効率の良いメモリ管理を行うことで、少ない
メモリ容量で動作可能な画像形成装置を提供すること。
【解決手段】 ホスト1から印字データを受信し、受信
した印字データを画像形成する画像形成装置であって、
受信した印字データを内部データに変換するインタプリ
タ部52と、変換した内部コードを第1のメモリ領域に
書き込み、当該内部データのうち可変長のデータについ
ては前記第1のメモリとは異なる第2のメモリ領域に書
き込むと共に、書き込んだメモリ領域を指し示す情報を
前記第1のメモリ領域に書きこむメモリ管理部54と、
を有する。
(57) [Problem] To provide an image forming apparatus operable with a small memory capacity by performing efficient memory management. An image forming apparatus receives print data from a host, and forms an image of the received print data.
An interpreter unit 52 for converting the received print data into internal data, and writing the converted internal code in a first memory area, and for variable-length data of the internal data, a second memory different from the first memory. A memory management unit 54 for writing to the memory area and writing information indicating the written memory area to the first memory area;
Having.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ホストからインタ
ーフェース部を経てデータを送受信し、画像を形成し、
用紙等に出力する画像形成装置、画像形成装置における
メモリ管理方法ならびに画像形成装置におけるメモリ管
理プログラムを記録した記録媒体に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to transmitting and receiving data from a host via an interface unit, forming an image,
The present invention relates to an image forming apparatus that outputs to a sheet or the like, a memory management method in the image forming apparatus, and a recording medium that records a memory management program in the image forming apparatus.
【0002】[0002]
【従来の技術】画像形成装置では、印字する際の内部デ
ータに使用するメモリは、一つの基本的なメモリブロッ
クを用いて、メモリブロックに印字情報を書きこんでい
た。以下に、図6および図7を用いながら、従来の画像
形成装置について説明する。2. Description of the Related Art In an image forming apparatus, one basic memory block is used as a memory used for internal data at the time of printing, and print information is written in the memory block. Hereinafter, a conventional image forming apparatus will be described with reference to FIGS.
【0003】図6は従来の画像形成装置の構成図、図7
は従来のメモリ構造の例を示す図である。FIG. 6 is a block diagram of a conventional image forming apparatus, and FIG.
Is a diagram showing an example of a conventional memory structure.
【0004】図6において、1は印字するデータを送信
するホストである。2はインターフェース部でホスト1
からの印字データを通信プロトコルによりデータを受信
する、あるいは印字に関するデータを送信する。3はメ
イン部で前記受信したデータを印字するための処理を行
なったり、また印字のための各処理部を制御する。In FIG. 6, reference numeral 1 denotes a host for transmitting data to be printed. 2 is an interface unit and host 1
The print data from the printer is received by a communication protocol, or data related to printing is transmitted. Reference numeral 3 denotes a main unit which performs a process for printing the received data and controls each processing unit for printing.
【0005】4はインタプリタ部で、印字するデータを
メイン部3が受信して、印字するためのデータと判断し
た時に転送されるデータを受信し、内部データ形式(以
下「ディスプレイリスト」と称する)にデータ変換処理
を行なう。5はラスタライザ部で、インタプリタ部4で
変換されたディスプレイリストを印字する為のビットマ
ップデータに変換する処理を行なう。6はエンジン部で
あり、ラスタライザ部5でビットマップデータに変換さ
れたデータを受取り印字処理を行なう。Reference numeral 4 denotes an interpreter unit, which receives data to be printed by the main unit 3 and receives data to be transferred when it is determined to be data to be printed, and has an internal data format (hereinafter referred to as "display list"). Performs data conversion processing. Reference numeral 5 denotes a rasterizer, which performs a process of converting the display list converted by the interpreter 4 into bitmap data for printing. Reference numeral 6 denotes an engine, which receives data converted into bitmap data by the rasterizer 5 and performs printing processing.
【0006】インタプリタ部4がデータを変換する際に
メモリを用いて変換を行なう。このメモリ構造は図7の
DLブロック10に示されるような構造となっており、
各ディスプレイリストが連続的に書きこまれるようにな
っていた。そのため、カラー化などにより印字するため
の情報が増加してきており、印字に使用される内部デー
タに使用するメモリ量が増加している。When the interpreter unit 4 converts data, it performs conversion using a memory. This memory structure has a structure as shown in DL block 10 in FIG.
Each display list was written continuously. For this reason, information for printing is increasing due to colorization and the like, and the amount of memory used for internal data used for printing is increasing.
【0007】[0007]
【発明が解決しようとする課題】上記のように、従来の
画像形成装置におけるメモリ管理方法では、メモリの利
用効率が悪く、さらに、画像を出力する為のメモリ領域
が確保できない場合があり、出力するまでの時間が非常
にかかる、また最悪な場合、出力が不可能な場合があ
る。As described above, in the conventional memory management method in the image forming apparatus, the efficiency of use of the memory is low, and a memory area for outputting an image may not be secured. It takes a long time to perform, and in the worst case, output may not be possible.
【0008】本発明は、画像形成装置におけるメモリ管
理に関し、ディスプレイリストの可変長なデータにおい
ては確保するメモリ領域を別に確保して、確保された領
域の位置やサイズ、メモリの種別、自メモリID、次の
メモリ領域への位置の少なくとも1つ以上の情報を記述
することで印字のための内部データを書きこむメモリブ
ロックを可能な限り小さくすることを可能としたメモリ
管理を行い、処理速度の向上とメモリ量の低減化を実現
できる画像形成装置、画像形成方法ならびに画像形成プ
ログラムを記録した記録媒体を提供することを目的とす
る。The present invention relates to memory management in an image forming apparatus, and separately secures a memory area to be secured for variable-length data of a display list, and the position and size of the secured area, the type of memory, and its own memory ID. By describing at least one or more pieces of information on the position in the next memory area, memory management for writing the internal data for printing can be made as small as possible, and the processing speed is reduced. It is an object of the present invention to provide an image forming apparatus, an image forming method, and a recording medium on which an image forming program is recorded, which can realize an improvement and a reduction in a memory amount.
【0009】[0009]
【課題を解決するための手段】この課題を解決するため
に本発明は、ホストからの印字データを受信し、受信し
た印字データを画像形成する画像形成装置であって、受
信した印字データを内部データに変換するデータ変換手
段と、データ変換手段により変換した内部コードを第1
のメモリ領域に書き込み、当該内部データのうち可変長
のデータについては前記第1のメモリとは異なる第2の
メモリ領域に書き込むと共に、書き込んだメモリ領域を
指し示す情報を前記第1のメモリ領域に書きこむメモリ
管理手段と、を有する構成とした。According to the present invention, there is provided an image forming apparatus for receiving print data from a host and forming an image of the received print data. Data conversion means for converting the data into data;
And write variable-length data of the internal data to a second memory area different from the first memory, and write information indicating the written memory area to the first memory area. Memory management means.
【0010】これにより、可変長なデータが多い内部デ
ータをメモリ領域に書きこむ場合には、前記第1のメモ
リ領域とは異なる第2のメモリ領域を確保し、第2のメ
モリ領域の位置情報を第1のメモリ領域に書きこむこと
で、内部データを書きこむメモリ領域を少なくすること
が可能となる。Thus, when writing internal data having a large amount of variable-length data to the memory area, a second memory area different from the first memory area is secured, and the position information of the second memory area is stored. Is written in the first memory area, it is possible to reduce the memory area in which the internal data is written.
【0011】[0011]
【発明の実施の形態】本願の請求項1に記載の発明は、
ホストからの印字データを受信し、受信した印字データ
を画像形成する画像形成装置であって、受信した印字デ
ータを内部データに変換するデータ変換手段と、データ
変換手段により変換した内部コードを第1のメモリ領域
に書き込み、当該内部データのうち可変長のデータにつ
いては前記第1のメモリとは異なる第2のメモリ領域に
書き込むと共に、書き込んだメモリ領域を指し示す情報
を前記第1のメモリ領域に書きこむメモリ管理手段と、
を有する構成としたことにより、可変長な内部コードを
メモリ領域に書きこむ場合には、第1のメモリ領域とは
異なる別に第2のメモリ領域を確保し、第2のメモリ領
域の位置情報を第1のメモリ領域に書きこむことで、内
部コードを書きこむメモリ領域を少なくすることができ
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention described in claim 1 of the present application is
An image forming apparatus for receiving print data from a host and forming an image of the received print data, comprising: a data conversion means for converting the received print data into internal data; And write variable-length data of the internal data to a second memory area different from the first memory, and write information indicating the written memory area to the first memory area. Memory management means;
When writing a variable-length internal code in a memory area, a second memory area different from the first memory area is secured, and the position information of the second memory area is stored. By writing in the first memory area, the memory area in which the internal code is written can be reduced.
【0012】本願の請求項3に記載の発明は、請求項1
に記載の発明において、メモリ管理手段がメモリ領域を
確保する際、移動不可能な領域か移動可能なメモリ領域
のいずれか一方に確保する構成としたことにより、メモ
リ領域の空きが虫食い状態になっていた場合でも最適な
大きさを検索し、内部コードを書きこむ領域を確保する
ことができる。[0012] The invention described in claim 3 of the present application is claim 1.
In the invention described in the above, when the memory management means secures the memory area, the memory area is secured in one of the immovable area and the movable memory area, so that the memory area becomes wormy. In this case, it is possible to search for the optimal size and secure an area for writing the internal code.
【0013】本願の請求項4に記載の発明は、請求項3
に記載の発明において、メモリ管理手段が移動可能な領
域にメモリ領域を確保する場合、移動可能な領域に確保
した領域を示す位置、サイズ、メモリの種別、自メモリ
ID、次のメモリ領域への位置のうち、少なくとも1つ
以上の情報を移動不可能なメモリ領域に確保して、移動
不可能なメモリ領域の情報を用いて移動可能なメモリ領
域を操作する構成としたことにより、確保した領域が移
動しても、位置情報は移動不可能な領域に確保されてい
るため、移動しても、書き込んだ領域がどこにあるのか
を容易に把握できる。The invention described in claim 4 of the present application is claim 3
In the invention described in the above, when the memory management means secures a memory area in a movable area, the position, size, memory type, own memory ID, At least one of the positions is secured in an immovable memory area, and the movable memory area is operated using the information of the immovable memory area. Even if is moved, the position information is secured in an immovable area, so that even if it moves, it is easy to know where the written area is.
【0014】以下、本発明の各実施の形態について、図
面を参照しながら説明する。Hereinafter, embodiments of the present invention will be described with reference to the drawings.
【0015】(実施の形態1)本発明の実施の形態1に
ついて説明する。(Embodiment 1) Embodiment 1 of the present invention will be described.
【0016】図1は本発明の実施の形態1における画像
形成装置の構成図である。FIG. 1 is a configuration diagram of an image forming apparatus according to Embodiment 1 of the present invention.
【0017】図1において、1は印字するデータを送信
するホストである。50はインターフェース部でホスト
1からの印字データを通信プロトコルによりデータを受
信する、あるいは印字処理に関するデータをホスト1に
送信する。51はメイン部で前記受信したデータを印字
するための処理を行なったり、また印字のための各処理
部を制御する。In FIG. 1, reference numeral 1 denotes a host for transmitting data to be printed. Reference numeral 50 denotes an interface unit which receives print data from the host 1 by a communication protocol or transmits data relating to print processing to the host 1. A main unit 51 performs processing for printing the received data and controls each processing unit for printing.
【0018】52はインタプリタ部であり、ホスト1か
らの印字するデータをメイン部51が受信し、印字する
データと判断すると受信したデータをディスプレイリス
トに変換するために受取り、データ変換処理を行なう。
53はラスタライザ部であり、インタプリタ部52で変
換されたディスプレイリストを印字するためにビットマ
ップデータに変換する処理を行なう。Reference numeral 52 denotes an interpreter unit, which receives data to be printed from the host 1 by the main unit 51, and when the data is determined to be data to be printed, receives the data to convert it into a display list and performs data conversion processing.
Reference numeral 53 denotes a rasterizer, which performs a process of converting the display list converted by the interpreter 52 into bitmap data for printing.
【0019】54はメモリ管理部であり、インタプリタ
部52が使用するメモリ領域を管理し、2つ異なるメモ
リ領域を確保する手段を有している。55はエンジン部
であり、ラスタライザ部53により生成されたビットマ
ップデータを出力する。Reference numeral 54 denotes a memory management unit, which has means for managing a memory area used by the interpreter unit 52 and securing two different memory areas. An engine unit 55 outputs the bitmap data generated by the rasterizer unit 53.
【0020】以上のように構成された画像形成装置につ
いて、その動作を説明する。The operation of the image forming apparatus configured as described above will be described.
【0021】図1に示すように、ホスト1上のアプリケ
ーションプログラム等で作成されたデータを印字する場
合、ホスト1上にあるプリンタドライバ7を呼び出す。
呼び出されたプリンタドライバ7はプリンタが印字を行
なう為のプリンタ言語(以下「PDL」と称する)を生
成する。生成されたPDLはパラレルケーブルやネット
ワークケーブルや1394等の通信媒体を経て画像形成
装置内のインターフェース部50で受信される。As shown in FIG. 1, when printing data created by an application program or the like on the host 1, a printer driver 7 on the host 1 is called.
The called printer driver 7 generates a printer language (hereinafter referred to as “PDL”) for the printer to perform printing. The generated PDL is received by the interface unit 50 in the image forming apparatus via a communication medium such as a parallel cable, a network cable, and 1394.
【0022】インターフェース部50で受信されたデー
タは、一旦メイン部51に渡される。メイン部51で受
信したデータを解析し、印字するためのデータであると
判断すると、インタプリタ部52に渡される。The data received by the interface unit 50 is passed to the main unit 51 once. The data received by the main unit 51 is analyzed, and when it is determined that the data is data to be printed, the data is passed to the interpreter unit 52.
【0023】インタプリタ部52では、PDLを受信す
ると各PDLコマンドの内容を解析し、給紙位置等の属
性情報と、文字、図形等の描画情報に切り分ける。切り
分けられた属性情報と描画情報は、それぞれ画像形成装
置の内部コードであるディスプレイリストに変換され
る。Upon receiving the PDL, the interpreter 52 analyzes the contents of each PDL command, and separates the information into attribute information such as a paper feed position and drawing information such as characters and figures. The separated attribute information and drawing information are converted into a display list, which is an internal code of the image forming apparatus.
【0024】1ページ分のディスプレイリストの作成が
完了するとインタプリタ部52はメイン部51にディス
プレイリストの作成が完了したことを通知する。通知を
受けたメイン部51は、作成されたディスプレイリスト
を受取りラスタライザ部53へ渡す。When the creation of the display list for one page is completed, the interpreter unit 52 notifies the main unit 51 that the creation of the display list is completed. The main unit 51 that has received the notification receives the created display list and passes it to the rasterizer unit 53.
【0025】描画関連のディスプレイリストを受取った
ラスタライザ部53は、ディスプレイリストを解釈し、
出力する為のビットマップデータを生成する。ラスタラ
イザ部53は、ビットマップデータを生成し終えるとエ
ンジン部55にデータを転送する。転送されたエンジン
部55は受信したデータを出力する。The rasterizer 53 having received the display list related to the drawing interprets the display list,
Generate bitmap data for output. The rasterizer 53 transfers the data to the engine 55 when the bitmap data has been generated. The transferred engine unit 55 outputs the received data.
【0026】上記したインタプリタ部52からラスタラ
イザ部53へのディスプレイリストの受け渡しは、メモ
リ管理54により管理されたメモリ領域を用いて転送す
るようになっている。そこでメイン部51からPDLを
受取ったインタプリタ部52がディスプレイリストを生
成しラスタライザ部53にディスプレイリストを渡すま
での動作について、図2を用い、以下に詳しく説明す
る。The transfer of the display list from the interpreter unit 52 to the rasterizer unit 53 is performed by using a memory area managed by a memory management unit 54. The operation performed by the interpreter unit 52 that has received the PDL from the main unit 51 to generate the display list and pass the display list to the rasterizer unit 53 will be described below in detail with reference to FIG.
【0027】図2は本発明の実施の形態1におけるメモ
リ構造を示す図である。FIG. 2 is a diagram showing a memory structure according to the first embodiment of the present invention.
【0028】まず、PDLを受取ったインタプリタ部5
2は、ディスプレイリストを作成するために、メモリ管
理部54へメモリを取得することを通知する。First, the interpreter 5 receiving the PDL
2 notifies the memory management unit 54 of acquiring a memory in order to create a display list.
【0029】通知を受けたメモリ管理部54は、ディス
プレイリストのための第1のメモリ領域70(以下「D
Lブロック」と称する)を確保したあと、インタプリタ
部52へ確保したDLブロック70の位置情報を通知す
る。Upon receiving the notification, the memory management unit 54 sets the first memory area 70 (hereinafter referred to as “D”) for the display list.
After that, the position information of the secured DL block 70 is notified to the interpreter unit 52.
【0030】通知を受けたインタプリタ部52は、受取
ったPDLを解釈しながらディスプレイリストをDLブ
ロック70へ書き込んでいく。このとき、ディスプレイ
リストはヘッダとデータを含めて固定長のものもあれ
ば、可変長のものもあるため、インタプリタ部52がP
DLを解釈して可変長データであるディスプレイリスト
と判断した場合には、メモリ管理部54に通知する。The interpreter unit 52 that has received the notification writes the display list into the DL block 70 while interpreting the received PDL. At this time, the display list may have a fixed length including a header and data, or may have a variable length.
When the DL is interpreted and it is determined that the display list is variable-length data, the memory management unit 54 is notified.
【0031】通知を受けたメモリ管理部54は、可変長
データのサイズ分となるDLブロック70とは異なる第
2のメモリ領域71(以下「DLボディ」と称する)を
確保する。The memory management unit 54 that has received the notification secures a second memory area 71 (hereinafter, referred to as a “DL body”) different from the DL block 70 corresponding to the size of the variable length data.
【0032】DLボディ71を確保したメモリ管理部5
4は、DLボディ71の位置情報をインタプリタ部52
へ通知する。通知を受けたインタプリタ部52は可変長
なデータを持つディスプレイリストのヘッダ部分をDL
ブロック70に書きこみ、可変長データ部分をDLボデ
ィ71に書きこむ。その後DLボディ71を指し示すポ
インタをDLブロック70に書きこんだ前記ヘッダ情報
の後に、前記ポインタを書きこんでディスプレイリスト
を生成する。Memory management unit 5 having secured DL body 71
Reference numeral 4 denotes the position information of the DL body 71,
Notify to Upon receiving the notification, the interpreter unit 52 converts the header part of the display list having variable-length data into a DL.
The variable length data portion is written in the DL body 71 in the block 70. After that, the display information is generated by writing the pointer after the header information in which the pointer indicating the DL body 71 is written in the DL block 70.
【0033】上記動作を繰り返し1ページ分のディスプ
レイリストを生成した後、インタプリタ部52は、メイ
ン部51へ1ページ分の生成が完了したことを通知し、
その通知を受取ったメイン部51は、受け取った通知か
らディスプレイリストの位置情報をラスタライザ部53
に渡し、これによりラスタライザ部53は印字のための
ビットマップデータを生成し、生成し終えたデータをエ
ンジン部55へ渡して、エンジン部55が出力を行な
う。After the above operation is repeated to generate a display list for one page, the interpreter unit 52 notifies the main unit 51 that the generation for one page is completed.
Upon receiving the notification, the main unit 51 converts the position information of the display list from the received notification into a rasterizer unit 53.
Then, the rasterizer unit 53 generates bitmap data for printing, passes the generated data to the engine unit 55, and the engine unit 55 outputs the data.
【0034】以上のように、本実施の形態では、可変長
なデータが多いディスプレイリストをメモリ領域に書き
こむ場合には、第1のメモリ領域とは異なる第2のメモ
リ領域を確保し、第2のメモリ領域の位置情報を第1の
メモリ領域に書きこむことで、ディスプレイリストを書
きこむメモリ領域を少なくすることが可能となる。As described above, in the present embodiment, when a display list having a large amount of variable-length data is written in the memory area, a second memory area different from the first memory area is secured, By writing the position information of the second memory area in the first memory area, it is possible to reduce the memory area in which the display list is written.
【0035】(実施の形態2)以下、本発明の実施の形
態2について図面を参照しながら説明する。(Embodiment 2) Hereinafter, Embodiment 2 of the present invention will be described with reference to the drawings.
【0036】図3、図4は本発明の実施の形態2におけ
るメモリ構成を示す図である。画像形成装置の説明は実
施の形態1と同様である。FIGS. 3 and 4 show a memory configuration according to the second embodiment of the present invention. The description of the image forming apparatus is the same as that of the first embodiment.
【0037】ホスト1からの印字データを処理する動作
は実施の形態1と同様であるが、前述の実施の形態1と
の相違点は、図3に示すように、メモリ管理部54によ
りメモリ領域を移動できないメモリ領域80と移動可能
なメモリ領域81とに設定することができる構成として
いる点である。The operation of processing the print data from the host 1 is the same as that of the first embodiment. The difference from the first embodiment is that the memory management unit 54 controls the memory area as shown in FIG. Is a configuration that can be set in a memory area 80 that cannot be moved and a memory area 81 that can be moved.
【0038】これにより、インタプリタ部52がディス
プレイリストを生成する際にメモリ領域を確保する時、
インタプリタ部52がDLブロック70、DLボディ7
1を移動できないメモリ領域80か、また移動可能なメ
モリ領域81かのいずれかに指定してメモリ領域を確保
することが可能である。Thus, when the interpreter unit 52 secures a memory area when generating a display list,
The interpreter unit 52 includes the DL block 70 and the DL body 7
It is possible to secure the memory area by designating either the memory area 80 in which the data 1 cannot be moved or the memory area 81 in which the data 1 can be moved.
【0039】また、インタプリタ部52により、確保す
るサイズを指定されたメモリ管理部54は、サイズを判
断して移動可能なメモリ領域81か、移動できないメモ
リ領域80かにメモリ領域を確保することが可能であ
る。Further, the memory management unit 54, whose size is to be reserved by the interpreter unit 52, determines the size and reserves the memory region in the movable memory region 81 or the non-movable memory region 80. It is possible.
【0040】従って、図4に示しているように一旦移動
可能なメモリ領域81に確保していたメモリ領域を拡大
するときなどに、連続してメモリ領域を拡大できない場
合があるが、その場合には移動可能なメモリ領域81の
範囲内で、連続して指定されたサイズのメモリ領域が取
れるかをメモリ管理部54がメモリ領域を検索して、指
定されたサイズが取れる場合には、メモリ領域を移動し
て確保することが可能となる。Therefore, as shown in FIG. 4, there is a case where the memory area cannot be expanded continuously, for example, when the memory area secured in the movable memory area 81 is expanded. In the range of the movable memory area 81, the memory management unit 54 searches the memory area to see if a memory area of the designated size can be obtained continuously. Can be moved and secured.
【0041】以上のように本実施の形態では、メモリ領
域を確保する場合に、移動可能な領域に確保するか、移
動不可能な領域に確保するかの少なくともいずれか一方
に確保するようにしたので、メモリ領域の空きが虫食い
状態になっていた場合でも最適な大きさがある領域を検
索し、ディスプレイリストを書きこむ領域を確保するこ
とが可能となる。As described above, in the present embodiment, when securing the memory area, the memory area is secured in at least one of a movable area and a non-movable area. Therefore, even when the free space in the memory area is in a worm-eating state, it is possible to search for an area having an optimal size and secure an area for writing the display list.
【0042】(実施の形態3)以下、本発明の実施の形
態3について図面を参照しながら説明する。(Embodiment 3) Hereinafter, Embodiment 3 of the present invention will be described with reference to the drawings.
【0043】図5は本発明の実施の形態3におけるメモ
リ構成を示す図である。なお、画像形成装置の構成につ
いては実施の形態1と同様である。FIG. 5 is a diagram showing a memory configuration according to the third embodiment of the present invention. The configuration of the image forming apparatus is the same as that of the first embodiment.
【0044】ホスト1からの印字データを処理する動作
は実施の形態1と同様であり、本実施の形態が、前述の
実施の形態1および実施の形態2と異なる点は、インタ
プリタ部52がディスプレイリストを生成する際にメモ
リ領域を確保する時に、インタプリタ部52が前記DL
ブロック70、DLボディ71を移動できる領域に指定
してメモリ領域を確保すること場合、また、インタプリ
タ部52により、確保するサイズを指定されたメモリ管
理部54は、サイズを判断した結果移動可能な領域にメ
モリ領域を確保する場合に、以下のような動作をする、
という点である。The operation of processing the print data from the host 1 is the same as that of the first embodiment. This embodiment is different from the first and second embodiments in that the interpreter 52 When allocating a memory area when generating a list, the interpreter unit 52
When securing the memory area by designating the block 70 and the DL body 71 as a movable area, the memory management unit 54, whose size to be secured is designated by the interpreter 52, determines the size and can move the memory. When the memory area is secured in the area, the following operation is performed.
That is the point.
【0045】図5に示すように、例として、DLブロッ
ク70を移動可能な領域にメモリを確保する場合とする
と、メモリ管理部54は、移動可能なメモリ領域81に
指定されたサイズのDLボディ91を確保するととも
に、そのDLボディ91のサイズや位置等の情報を格納
する為の領域92を、固定メモリ領域93に確保する。
そしてインタプリタ部52には、固定領域に確保した領
域を指し示す情報を通知し、インタープリンタは以降、
固定領域の情報によりメモリ管理部54を通じてメモリ
の操作を行なうことができる。As shown in FIG. 5, assuming that a memory is secured in an area in which the DL block 70 can be moved, for example, the memory management unit 54 In addition to securing the area 91, an area 92 for storing information such as the size and position of the DL body 91 is secured in the fixed memory area 93.
Then, the interpreter unit 52 is notified of information indicating the area secured in the fixed area.
The operation of the memory can be performed through the memory management unit 54 according to the information of the fixed area.
【0046】以上のように本実施の形態では、移動可能
な領域に確保した場合には、移動不可能領域に、前記確
保した領域の情報を保存する領域を確保するようにした
ので、確保した領域が移動しても、位置情報が移動不可
能な領域に確保されているため、書きこんだ領域がどこ
にあるかを知ることができる。As described above, in the present embodiment, when the area is secured in a movable area, the area for storing the information of the secured area is secured in the immovable area. Even if the area moves, the position information is secured in the immovable area, so that it is possible to know where the written area is.
【0047】上記説明した各実施の形態では、画像形成
装置の内蔵メモリ等に記録している制御プログラムをC
PU等のプロセッサで処理させることにより実現可能と
しているが、CD−ROMやDVD−ROM等の可搬性
を有するコンピュータ読み取り可能な記録メディアに記
録された制御プログラムを装置内部に読み込み、プロセ
ッサで処理する形態であっても良い。また、画像形成装
置がネットワークに接続されている場合、ネットワーク
経由で制御プログラムを受け取り、プロセッサで処理す
る形態であっても良い。In each of the embodiments described above, the control program recorded in the internal memory of the image forming apparatus
Although it can be realized by being processed by a processor such as a PU, a control program recorded on a portable computer-readable recording medium such as a CD-ROM or a DVD-ROM is read into the apparatus and processed by the processor. It may be in a form. When the image forming apparatus is connected to a network, the control program may be received via the network and processed by the processor.
【0048】このように、記録メディアやネットワーク
を介して制御プログラムを読み込み使用する形態とする
ことで、制御プログラムを修正し、機能向上を図ること
が容易となる。As described above, by adopting a mode in which the control program is read and used via a recording medium or a network, it is easy to modify the control program and improve the functions.
【0049】[0049]
【発明の効果】以上のように本発明によれば、ホストか
らの印字データを受信し、受信した印字データを画像形
成する画像形成装置であって、受信した印字データを内
部データに変換するデータ変換手段と、データ変換手段
により変換した内部コードを第1のメモリ領域に書き込
み、当該内部データのうち可変長のデータについては前
記第1のメモリとは異なる第2のメモリ領域に書き込む
と共に、書き込んだメモリ領域を指し示す情報を前記第
1のメモリ領域に書きこむメモリ管理手段と、を有する
構成としたことにより、内部コードを書きこむメモリ領
域を少なくなるので、効率的にメモリを活用できると共
に、安価な装置を実現できる。As described above, according to the present invention, there is provided an image forming apparatus for receiving print data from a host and forming an image of the received print data, the data being for converting the received print data into internal data. The conversion means and the internal code converted by the data conversion means are written into a first memory area, and variable-length data of the internal data is written and written into a second memory area different from the first memory. Memory management means for writing information indicating the memory area to the first memory area, the memory area for writing the internal code is reduced, so that the memory can be used efficiently and An inexpensive device can be realized.
【0050】また、確保するメモリ領域を、確保する際
に移動不可能な領域と移動可能なメモリ領域のいずれか
一方に確保するので、メモリ領域が虫食い状態のような
場合に、連続して取得できないような場合でも、連続し
て確保できる領域を検索して確保することが可能とな
り、メモリ容量が少なくすることができ、安価な装置を
実現でききる。Further, since the memory area to be secured is secured in one of a non-movable area and a movable memory area when the memory area is secured, the memory area is continuously acquired when the memory area is in a worm-like state. Even in the case where it is not possible, it is possible to search and secure an area that can be continuously secured, so that the memory capacity can be reduced and an inexpensive device can be realized.
【0051】また、移動可能な領域に確保する場合に
は、移動不可能なメモリ領域に、移動可能な領域に確保
した領域を示す位置等の情報を確保して、メモリを確保
し移動不可能なメモリ領域の情報を用いて移動可能なメ
モリ領域を操作するので、移動領域にメモリが確保され
た場合に、確保したメモリ領域が移動した場合でも、移
動できない領域に確保された情報によりメモリに書きこ
まれたデータをいつでも取得できるという効果が得られ
る。Further, in the case where the area is secured in a movable area, information such as the position indicating the area secured in the movable area is secured in the non-movable memory area, and the memory is secured and the area cannot be moved. Since the movable memory area is operated using the information of the secure memory area, when the memory is secured in the movable area, even if the secured memory area is moved, the information is stored in the memory by the information secured in the immovable area. The effect is obtained that the written data can be obtained at any time.
【図1】本発明の実施の形態1における画像形成装置の
構成図FIG. 1 is a configuration diagram of an image forming apparatus according to a first embodiment of the present invention.
【図2】本発明の実施の形態1におけるメモリ構造を示
す図FIG. 2 is a diagram showing a memory structure according to the first embodiment of the present invention;
【図3】本発明の実施の形態2におけるメモリ構造を示
す図FIG. 3 is a diagram showing a memory structure according to a second embodiment of the present invention;
【図4】本発明の実施の形態2におけるメモリ構造を示
す図FIG. 4 is a diagram showing a memory structure according to a second embodiment of the present invention;
【図5】本発明の実施の形態3におけるメモリ構造を示
す図FIG. 5 is a diagram showing a memory structure according to a third embodiment of the present invention;
【図6】従来の画像形成装置の構成図FIG. 6 is a configuration diagram of a conventional image forming apparatus.
【図7】従来のメモリ構造を示す図FIG. 7 is a diagram showing a conventional memory structure.
1 ホスト 2 インターフェース部 3 メイン部 4 インタプリタ部 5 ラスタライザ部 6 エンジン部 50 インターフェース部 51 メイン部 52 インタプリタ部 53 ラスタライザ部 54 メモリ管理部 55 エンジン部 70 DLブロック 71 DLボディ 80 移動できないメモリ領域 81 移動可能なメモリ領域 91 DLボディ 92 DLボディのサイズや位置等の情報を格納する為
の領域DESCRIPTION OF SYMBOLS 1 Host 2 Interface part 3 Main part 4 Interpreter part 5 Rasterizer part 6 Engine part 50 Interface part 51 Main part 52 Interpreter part 53 Rasterizer part 54 Memory management part 55 Engine part 70 DL block 71 DL body 80 Non-movable memory area 81 Movable Memory area 91 DL body 92 Area for storing information such as size and position of DL body
フロントページの続き (72)発明者 福井 修 東京都目黒区下目黒2丁目3番地8号 松 下電送システム株式会社内 Fターム(参考) 2C087 AB05 BC02 BC05 BC07 BD01 BD12 BD13 Continuation of the front page (72) Inventor Osamu Fukui 2-3-8 Shimomeguro, Meguro-ku, Tokyo Matsushita Electric Transmission System Co., Ltd. F-term (reference) 2C087 AB05 BC02 BC05 BC07 BD01 BD12 BD13
Claims (7)
た印字データを画像形成する画像形成装置であって、 受信した印字データを内部データに変換するデータ変換
手段と、 前記データ変換手段により変換した内部コードを第1の
メモリ領域に書き込み、当該内部データのうち可変長の
データについては前記第1のメモリとは異なる第2のメ
モリ領域に書き込むと共に、書き込んだメモリ領域を指
し示す情報を前記第1のメモリ領域に書きこむメモリ管
理手段と、を有することを特徴とする画像形成装置。1. An image forming apparatus for receiving print data from a host and forming an image of the received print data, comprising: a data conversion means for converting the received print data into internal data; The internal code is written in a first memory area, and variable-length data of the internal data is written in a second memory area different from the first memory, and information indicating the written memory area is written in the first memory area. An image forming apparatus comprising: a memory management unit that writes data into one memory area.
段と、 受信した印字データを内部コードに変換するデータ変換
手段と、 内部コードからビットマップデータを生成するラスタラ
イザ手段と、 前記データ変換手段から前記ラスタライザ手段に内部コ
ードを渡す際のメモリ領域の管理を行うメモリ管理手段
と、 前記ラスタライザ手段により生成されたビットマップデ
ータに基づいて印字を行うエンジン手段と、を有し、 前記メモリ管理手段は、前記データ変換手段により変換
した内部コードを第1のメモリ領域に書き込み、当該内
部データのうち可変長のデータについては前記第1のメ
モリとは異なる第2のメモリ領域に書き込むと共に、書
き込んだメモリ領域を指し示す情報を前記第1のメモリ
領域に書きこむように制御することを特徴とする画像形
成装置。A receiving means for receiving print data from a host; a data converting means for converting the received print data into an internal code; a rasterizer means for generating bitmap data from the internal code; A memory management unit that manages a memory area when passing an internal code to the rasterizer unit; and an engine unit that performs printing based on bitmap data generated by the rasterizer unit. Writing the internal code converted by the data conversion means into a first memory area, and writing variable-length data of the internal data into a second memory area different from the first memory; Controlling to write information indicating the area into the first memory area. An image forming apparatus symptoms.
る際、移動不可能な領域か移動可能なメモリ領域のいず
れか一方に確保することを特徴とする請求項1または請
求項2記載の画像形成装置。3. The image according to claim 1, wherein said memory management means secures a memory area in one of an immovable area and a movable memory area. Forming equipment.
モリ領域を確保する場合、移動可能な領域に確保した領
域を示す位置、サイズ、メモリの種別、自メモリID、
次のメモリ領域への位置のうち、少なくとも1つ以上の
情報を移動不可能なメモリ領域に確保して、移動不可能
なメモリ領域の情報を用いて移動可能なメモリ領域を操
作することを特徴とする請求項3記載の画像形成装置。4. When the memory management means secures a memory area in a movable area, the position, size, memory type, own memory ID, and location of the secured area in the movable area are indicated.
At least one or more pieces of information in the next memory area are secured in an immovable memory area, and the movable memory area is operated using information of the immovable memory area. The image forming apparatus according to claim 3, wherein
た印字データを画像形成する画像形成装置であって、 受信した印字データを内部データに変換し、変換した内
部データを第1のメモリ領域に書き込み、当該内部デー
タのうち可変長のデータについては前記第1のメモリと
は異なる第2のメモリ領域に書き込むと共に、書き込ん
だメモリ領域を指し示す情報を前記第1のメモリ領域に
書きこむように制御することを特徴とする画像形成装
置。5. An image forming apparatus for receiving print data from a host and forming an image of the received print data, wherein the received print data is converted into internal data, and the converted internal data is stored in a first memory area. And the variable-length data of the internal data is written to a second memory area different from the first memory, and information indicating the written memory area is written to the first memory area. An image forming apparatus.
た内部データを画像形成する画像形成装置におけるメモ
リ管理方法であって、 受信した印字データを内部データに変換し、変換した内
部データを第1のメモリ領域に書き込み、当該内部デー
タのうち可変長のデータについては前記第1のメモリと
は異なる第2のメモリ領域に書き込むと共に、書き込ん
だメモリ領域を指し示す情報を前記第1のメモリ領域に
書きこむように制御することを特徴とする画像形成装置
におけるメモリ管理方法。6. A memory management method in an image forming apparatus for receiving print data from a host and forming an image of the received internal data, comprising: converting received print data into internal data; And writes variable-length data of the internal data to a second memory area different from the first memory, and stores information indicating the written memory area in the first memory area. A memory management method in an image forming apparatus, characterized in that writing is controlled.
た印字データを画像形成する画像形成装置におけるメモ
リ管理プログラムを記録した記録媒体であって、 受信した印字データを内部データに変換し、変換した内
部データを第1のメモリ領域に書き込み、当該内部デー
タのうち可変長のデータについては前記第1のメモリと
は異なる第2のメモリ領域に書き込むと共に、書き込ん
だメモリ領域を指し示す情報を前記第1のメモリ領域に
書きこむように制御することを特徴とする画像形成装置
におけるメモリ管理プログラムを記録した記録媒体。7. A recording medium for receiving a print data from a host and recording a memory management program in an image forming apparatus for forming an image of the received print data, wherein the received print data is converted into internal data. The written internal data is written in a first memory area, and variable-length data of the internal data is written in a second memory area different from the first memory, and information indicating the written memory area is written in the first memory area. A recording medium for recording a memory management program in an image forming apparatus, wherein the recording medium is controlled so as to be written in one memory area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000045506A JP2000309130A (en) | 1999-02-25 | 2000-02-23 | Image forming apparatus, memory management method in image forming apparatus, and recording medium recording memory management program in image forming apparatus |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4761299 | 1999-02-25 | ||
| JP11-47612 | 1999-02-25 | ||
| JP2000045506A JP2000309130A (en) | 1999-02-25 | 2000-02-23 | Image forming apparatus, memory management method in image forming apparatus, and recording medium recording memory management program in image forming apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000309130A true JP2000309130A (en) | 2000-11-07 |
Family
ID=26387781
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000045506A Pending JP2000309130A (en) | 1999-02-25 | 2000-02-23 | Image forming apparatus, memory management method in image forming apparatus, and recording medium recording memory management program in image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000309130A (en) |
-
2000
- 2000-02-23 JP JP2000045506A patent/JP2000309130A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20040125395A1 (en) | Printing control method and apparatus | |
| JP3342236B2 (en) | Information processing apparatus and control method therefor | |
| US6317217B1 (en) | Printing system and printing control method | |
| US6247028B1 (en) | Controlling attributes of pre-registered form data to match those of data to be printed with the form data | |
| JPH11170655A (en) | Image output apparatus and method | |
| US6173338B1 (en) | Image output system having memory for storing image data and outputting stored image data based upon output condition and instruction | |
| JP2003196045A (en) | Method of selecting resources to be used and printing system for implementing the method | |
| JP2001270167A (en) | Printing apparatus and network printing system | |
| JP2010105191A (en) | Image processing device | |
| JPH0644013A (en) | Print data compression method | |
| JP3814371B2 (en) | Information processing apparatus and method | |
| JPH1016322A (en) | Image forming method and apparatus | |
| JPH1145161A (en) | Digital copier | |
| JPH11110151A (en) | Printer driver, computer having printer driver, and computer system | |
| JP2015001866A (en) | Print image processing system and program | |
| JPH0789153A (en) | Printer system | |
| JP3281327B2 (en) | Information processing apparatus and information processing method | |
| JPH09218763A (en) | Printing processing system | |
| JPH10175332A (en) | Print control apparatus, print control method, and storage medium storing computer-readable program | |
| JPH1139117A (en) | Printer control device | |
| JP2000322210A (en) | Printer control method | |
| JP3093245B2 (en) | Image processing device, output control device, image processing system and method | |
| JP2002333964A (en) | Distributed printing method | |
| JPH10293669A (en) | Printing system and printing control method | |
| JPH09218758A (en) | Image forming method and apparatus |