JP5190332B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP5190332B2
JP5190332B2 JP2008293877A JP2008293877A JP5190332B2 JP 5190332 B2 JP5190332 B2 JP 5190332B2 JP 2008293877 A JP2008293877 A JP 2008293877A JP 2008293877 A JP2008293877 A JP 2008293877A JP 5190332 B2 JP5190332 B2 JP 5190332B2
Authority
JP
Japan
Prior art keywords
data
cache
image
raster
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.)
Expired - Fee Related
Application number
JP2008293877A
Other languages
Japanese (ja)
Other versions
JP2010120193A (en
Inventor
仁志 吉田
Original Assignee
株式会社沖データ
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 株式会社沖データ filed Critical 株式会社沖データ
Priority to JP2008293877A priority Critical patent/JP5190332B2/en
Publication of JP2010120193A publication Critical patent/JP2010120193A/en
Application granted granted Critical
Publication of JP5190332B2 publication Critical patent/JP5190332B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、画像処理装置から入力された入力データに基づいて画像を形成する画像形成装置に関する。   The present invention relates to an image forming apparatus that forms an image based on input data input from an image processing apparatus.

従来のプリンタなどの画像形成装置においては、実際にどのような正式な画像が印刷されるかを確認するため、正式に印刷される画像を容易に推察でき、正式な画像を印刷する場合よりもインクやトナー等の媒体の消費を少ない試しモードで印刷を行うようにしているものがある(例えば、特許文献1参照)。
特開平7−323644号公報(段落「0017」〜段落「0018」、図4)
In an image forming apparatus such as a conventional printer, in order to confirm what kind of formal image is actually printed, it is possible to easily guess the formally printed image, compared to the case of printing a formal image. Some prints are performed in a trial mode that consumes less medium such as ink and toner (see, for example, Patent Document 1).
Japanese Unexamined Patent Publication No. 7-323644 (paragraph “0017” to “0018”, FIG. 4)

しかしながら、上述した従来の技術においては、試しモードでの印刷(以下、「試し印刷」という。)を行った後に正式な印刷(以下、「正式印刷」という。)を行う場合、試し印刷での画像形成と正式印刷での画像形成とでは異なる手順で画像を形成するため、試し印刷で生成した画像を正式印刷で利用することができず、元の画像に殆ど差異がないにも拘らず、正式印刷時に処理時間の長い画像処理を行う必要があるという問題がある。   However, in the conventional technology described above, when performing formal printing (hereinafter referred to as “official printing”) after performing printing in the trial mode (hereinafter referred to as “trial printing”), Since the image is formed by different procedures between the image formation and the image formation in the formal printing, the image generated by the trial printing cannot be used in the formal printing and the original image has almost no difference, There is a problem in that it is necessary to perform image processing with a long processing time during formal printing.

本発明は、このような問題を解決することを課題とし、試し印刷を行った後の正式印刷での画像処理時間を短縮させることを目的とする。   An object of the present invention is to solve such a problem, and an object thereof is to shorten an image processing time in formal printing after performing trial printing.

そのため、本発明は、画像処理装置から入力された入力データに基づいて画像を形成する画像形成装置において、入力データの属性情報が試し画像形成指示か正式画像形成指示かのいずれであるかを判定する判定手段と、前記入力データを一以上のブロックに展開し、そのブロック毎に第1の展開データおよびその第1の展開データに基づいて第2の展開データを生成する画像生成手段と、前記入力データおよび前記第1の展開データを記憶する記憶手段と、画像処理装置から入力され、属性情報が正式画像形成指示の入力データを、前記記憶手段に記憶され、属性情報が試し画像形成指示の入力データと、比較する比較手段とを設け、前記判定手段が試し画像形成指示と判定したとき、前記画像生成手段が第1の展開データおよび第2の展開データを生成して該第2の展開データを出力するとともに前記記憶手段が前記入力データに関連付けて該第1の展開データを記憶し、前記判定手段が正式画像形成指示と判定したとき、前記比較手段が入力された入力データを前記記憶手段に記憶された入力データと比較して一致することを検知した場合、前記記憶手段に記憶された第1の展開データを出力することを特徴とする。   Therefore, the present invention determines whether the attribute information of input data is a trial image formation instruction or a formal image formation instruction in an image forming apparatus that forms an image based on input data input from the image processing apparatus. Determining means for developing the input data into one or more blocks, and image generating means for generating first expanded data and second expanded data based on the first expanded data for each block; Storage means for storing the input data and the first development data, and input from the image processing apparatus, the attribute information is stored in the storage means, and the attribute information is a trial image formation instruction. Input data and comparison means for comparison are provided, and when the determination means determines that the test image formation instruction is given, the image generation means causes the first expansion data and the second expansion data to be compared. Generating the data and outputting the second decompressed data, and storing the first decompressed data in association with the input data and storing the first decompressed data. When the input data input by the means is compared with the input data stored in the storage means and it is detected that the data matches, the first expanded data stored in the storage means is output.

このようにした本発明は、試し印刷を行った後の正式印刷での画像処理時間を短縮させることができるという効果が得られる。   The present invention as described above is advantageous in that the image processing time in formal printing after performing trial printing can be shortened.

以下、図面を参照して本発明による画像形成装置の実施例を説明する。   Embodiments of an image forming apparatus according to the present invention will be described below with reference to the drawings.

図2は第1の実施例における画像形成装置の接続形態を示す説明図である。
図2において、100は画像形成装置としてのプリンタであり、また200は画像処理装置としてのホストコンピュータであり、プリンタ100とホストコンピュータ200とはインターフェイスケーブル300で通信可能に接続されている。
このプリンタ100は、ホストコンピュータ200から入力された入力データ(受信した印刷データ)にしたがって画像を形成し、その画像を記録用紙に印刷する。
FIG. 2 is an explanatory diagram showing a connection form of the image forming apparatus in the first embodiment.
In FIG. 2, reference numeral 100 denotes a printer as an image forming apparatus, and reference numeral 200 denotes a host computer as an image processing apparatus. The printer 100 and the host computer 200 are communicably connected via an interface cable 300.
The printer 100 forms an image according to input data (received print data) input from the host computer 200 and prints the image on a recording sheet.

図1は第1の実施例における画像形成装置の構成を示すブロック図である。
図1において、画像形成装置としてのプリンタ100は、ホストインターフェイス1、印刷機構部2、受信バッファ3、ブロック抽出部4、キャッシュバッファ5、データ比較部6、PDL変換部7、ドラフト変換部8、ラスタ選択部9、印刷モード判定部10、ラスタバッファ11、時計15、およびドラフト選択部16を含み構成されている。
FIG. 1 is a block diagram showing the configuration of the image forming apparatus in the first embodiment.
In FIG. 1, a printer 100 as an image forming apparatus includes a host interface 1, a printing mechanism unit 2, a reception buffer 3, a block extraction unit 4, a cache buffer 5, a data comparison unit 6, a PDL conversion unit 7, a draft conversion unit 8, A raster selection unit 9, a print mode determination unit 10, a raster buffer 11, a clock 15, and a draft selection unit 16 are included.

ホストインターフェイス1は、インターフェイスケーブル300を介してホストコンピュータ200との間の通信の制御を行うものである。
印刷機構部2は、記録用紙を搬送する機構やその記録用紙に文字、図形等を印刷する機構を制御するものである。
受信バッファ3は、ホストインターフェイス1がホストコンピュータ200から受信した印刷データを保存するメモリ等の記憶手段である。
The host interface 1 controls communication with the host computer 200 via the interface cable 300.
The printing mechanism unit 2 controls a mechanism for transporting recording paper and a mechanism for printing characters, graphics, and the like on the recording paper.
The reception buffer 3 is a storage unit such as a memory that stores print data received by the host interface 1 from the host computer 200.

ブロック抽出部4は、受信バッファ3に保存された印刷データから文字、矩形や線などの構成ブロック単位でページ記述言語データとしてのPDL(Page Description Language)データを抽出するものである。
キャッシュバッファ5は、PDLデータおよびそのPDLデータから変換されたラスタデータを関連付けて保存するメモリ等の記憶手段である。このキャッシュバッファ5は、PDLデータおよびラスタデータを関連付ける管理情報が保存されるキャッシュタグ12、PDLデータが保存されるPDLキャッシュ13、およびラスタデータが保存されるラスタキャッシュ14で構成されている。
The block extraction unit 4 extracts PDL (Page Description Language) data as page description language data from print data stored in the reception buffer 3 in units of constituent blocks such as characters, rectangles, and lines.
The cache buffer 5 is a storage unit such as a memory that stores PDL data and raster data converted from the PDL data in association with each other. The cache buffer 5 includes a cache tag 12 that stores management information for associating PDL data and raster data, a PDL cache 13 that stores PDL data, and a raster cache 14 that stores raster data.

データ比較部6は、ブロック抽出部4が抽出したPDLデータとキャッシュバッファ5のPDLキャッシュ13に保存されたPDLデータとを比較する比較手段である。
PDL変換部7は、PDLデータからラスタデータ(第1の展開データ)へ変換する画像生成手段であり、またドラフト変換部8は、そのラスタデータを試し印刷向けの印刷イメージデータ(第2の展開データ)へ変換する画像生成手段である。
The data comparison unit 6 is a comparison unit that compares the PDL data extracted by the block extraction unit 4 with the PDL data stored in the PDL cache 13 of the cache buffer 5.
The PDL conversion unit 7 is an image generation unit that converts PDL data into raster data (first development data), and the draft conversion unit 8 prints the raster data to print image data (second development) for trial printing. Data generating means for converting to (data).

ラスタ選択部9は、キャッシュバッファ5のラスタキャッシュ14に保存されたラスタデータおよびPDL変換部7で変換されたラスタデータのふたつのラスタデータを択一選択する選択手段である。
印刷モード判定部10は、ホストコンピュータ200から受信した印刷データに含まれる属性情報としての印刷指示が試し印刷(試し画像形成指示)か正式印刷(正式画像形成指示)かのいずれであるかを判定する判定手段である。
The raster selection unit 9 is selection means for selecting one of the raster data stored in the raster cache 14 of the cache buffer 5 and the raster data converted by the PDL conversion unit 7.
The print mode determination unit 10 determines whether the print instruction as attribute information included in the print data received from the host computer 200 is trial printing (trial image formation instruction) or formal printing (formal image formation instruction). It is the determination means to do.

ドラフト選択部16は、印刷モード判定部10の判定に応じてドラフト変換部8で変換したラスタデータまたはドラフト変換部8で変換する前のラスタデータのいずれか一つを選択する選択手段である。
ラスタバッファ11は、印刷単位の印刷イメージデータを生成する前に初期化され、構成ブロック単位の印刷イメージデータを合成して保存する記憶手段である。
The draft selection unit 16 is a selection unit that selects either raster data converted by the draft conversion unit 8 or raster data before conversion by the draft conversion unit 8 according to the determination of the print mode determination unit 10.
The raster buffer 11 is a storage unit that is initialized before generating print image data for each print unit, and synthesizes and stores the print image data for each constituent block.

時計15は、時刻を計時する計時手段である。
このように構成されたプリンタ100は、図示しないメモリや磁気ディスク等の記憶手段に格納されたプログラム(ソフトウェア)に基づいて図示しない中央処理装置(CPU)等の制御手段により制御される。
次に、プリンタ100の動作の概略を以下に説明する。
The clock 15 is a time measuring means for measuring time.
The printer 100 configured as described above is controlled by a control unit such as a central processing unit (CPU) (not shown) based on a program (software) stored in a storage unit such as a memory or a magnetic disk (not shown).
Next, an outline of the operation of the printer 100 will be described below.

プリンタ100のホストインターフェイス1は、ホストインターフェイスケーブル300を介してホストコンピュータ200から受信した印刷データ401を出力し、受信バッファ3へ逐次保存する。
ブロック抽出部4は、受信バッファ3から印刷データを受信入力データ402として読出し、文字、矩形や線などの構成ブロック単位に分解し、分解した構成ブロックのブロック識別子403をキャッシュタグ12へ入力し、構成ブロックのPDLデータをカレントPDLデータ404としてPDLキャッシュ13へ入力し、またデータ比較部6、およびPDL変換部7へ入力する。
The host interface 1 of the printer 100 outputs print data 401 received from the host computer 200 via the host interface cable 300 and sequentially stores it in the reception buffer 3.
The block extraction unit 4 reads the print data from the reception buffer 3 as reception input data 402, decomposes it into constituent block units such as characters, rectangles, and lines, and inputs the block identifier 403 of the decomposed constituent block to the cache tag 12, The PDL data of the configuration block is input to the PDL cache 13 as the current PDL data 404, and is also input to the data comparison unit 6 and the PDL conversion unit 7.

キャッシュバッファ5は、キャッシュタグ12にブロック識別子403と一致する情報が登録されている場合に有効となるヒット405をデータ比較部6へ入力する。
また、キャッシュバッファ5は、キャッシュタグ12にブロック識別子403と一致する情報が登録されていれば、PDLキャッシュ13から対応したPDLデータを保存PDLデータ406としてデータ比較部6へ入力するとともにラスタキャッシュ14から対応したラスタデータを保存ラスタデータ407としてラスタ選択部9へ入力する。
The cache buffer 5 inputs a hit 405 that is valid when information matching the block identifier 403 is registered in the cache tag 12 to the data comparison unit 6.
Also, if the information matching the block identifier 403 is registered in the cache tag 12, the cache buffer 5 inputs the corresponding PDL data from the PDL cache 13 to the data comparison unit 6 as the saved PDL data 406 and the raster cache 14. The corresponding raster data is input to the raster selection unit 9 as saved raster data 407.

データ比較部6は、入力されたヒット405が有効を示し、かつカレントPDLデータ404と保存PDLデータ406とを比較し、一致する場合に一致を示し、それ以外は不一致を示す一致結果408をキャッシュバッファ5、PDL変換部7、およびラスタ選択部9へ入力する。
PDL変換部7は、一致結果408が不一致を示す場合にカレントPDLデータ404に基づいてカレントラスタデータ409へ変換し、そのカレントラスタデータ409をラスタキャッシュ14およびラスタ選択部9へ入力する。
The data comparison unit 6 compares the current PDL data 404 with the stored PDL data 406 indicating that the input hit 405 is valid, indicates a match if they match, and stores a match result 408 indicating a mismatch otherwise. The data is input to the buffer 5, the PDL conversion unit 7, and the raster selection unit 9.
The PDL conversion unit 7 converts the current raster data 409 into current raster data 409 based on the current PDL data 404 when the matching result 408 indicates a mismatch, and inputs the current raster data 409 to the raster cache 14 and the raster selection unit 9.

ラスタ選択部9は、一致結果408が一致を示す場合に保存ラスタデータ407を選択し、一致結果408が不一致を示す場合にカレントラスタデータ409を選択し、選択したデータをラスタデータ410としてドラフト変換部8およびドラフト選択部16へ入力する。
印刷モード判定部10は、受信バッファ3の受信入力データ402を読出し、ホストコンピュータ200からの印刷指示が試し印刷または正式印刷のいずれかを判定し、試し印刷である場合は試し印刷モード411を有効にする。
The raster selection unit 9 selects the saved raster data 407 when the match result 408 indicates a match, selects the current raster data 409 when the match result 408 indicates a mismatch, and draft-converts the selected data as raster data 410. Input to the unit 8 and the draft selection unit 16.
The print mode determination unit 10 reads the received input data 402 from the reception buffer 3 to determine whether the print instruction from the host computer 200 is test print or formal print. If the print mode is test print, the test print mode 411 is validated. To.

ドラフト変換部8は、入力されたラスタデータ410から試し印刷向けに変換したドラフトラスタデータ415を生成し、ドラフト選択部16へ入力する。
ドラフト選択部16は、入力された試し印刷モード411が有効の場合に入力されたドラフトラスタデータ415を印刷イメージデータ412として出力し、試し印刷モード411が無効の場合に入力されたラスタデータ410を印刷イメージデータ412として出力し、ラスタバッファ11のデータへ合成する。
The draft conversion unit 8 generates draft raster data 415 converted for trial printing from the input raster data 410 and inputs the draft raster data 415 to the draft selection unit 16.
The draft selection unit 16 outputs the draft raster data 415 input when the input test print mode 411 is valid as the print image data 412, and the raster data 410 input when the test print mode 411 is invalid. The print image data 412 is output and combined with the data in the raster buffer 11.

印刷機構部2は、ラスタバッファ11の印刷イメージデータ413を読出し、その印刷イメージデータ413にしたがった印刷を行う。
なお、時計15は、時刻414をキャッシュタグ12へ入力する。
このようにしてプリンタ100は、ホストコンピュータ200から受信した印刷指示にしたがって試し印刷または正式印刷を行う。
The printing mechanism unit 2 reads the print image data 413 from the raster buffer 11 and performs printing according to the print image data 413.
The clock 15 inputs the time 414 to the cache tag 12.
In this way, the printer 100 performs test printing or formal printing in accordance with the print instruction received from the host computer 200.

次に、キャッシュバッファ5の構成を図3の第1の実施例におけるキャッシュバッファの構成を示す説明図に基づいて説明する。
図3において、キャッシュバッファ5は、上述したようにキャッシュタグ12、PDLキャッシュ13、およびラスタキャッシュ14で構成されている。
キャッシュタグ12は、ブロック識別子F1、PDLキャッシュポインタF2、ラスタキャッシュポインタF3、有効フラグF4、削除可能フラグF5、および更新情報F6をひとつのエントリExとした複数のエントリ(E1、E2、・・・、En)からなる。
Next, the configuration of the cache buffer 5 will be described with reference to the explanatory diagram showing the configuration of the cache buffer in the first embodiment of FIG.
In FIG. 3, the cache buffer 5 includes the cache tag 12, the PDL cache 13, and the raster cache 14 as described above.
The cache tag 12 includes a plurality of entries (E1, E2,...) Having a block identifier F1, a PDL cache pointer F2, a raster cache pointer F3, a valid flag F4, a deletion enable flag F5, and update information F6 as one entry Ex. , En).

キャッシュタグ12の中でブロック識別子F1と入力されたブロック識別子403が一致するエントリが存在するとヒット405が有効となる。
PDLキャッシュポインタF2は、エントリExに対応するPDLキャッシュ13のPDLデータの先頭位置を示し、ラスタキャッシュポインタF3は、エントリExに対応するラスタキャッシュ14のラスタデータの先頭位置を示している。
If there is an entry in the cache tag 12 where the block identifier F1 matches the input block identifier 403, the hit 405 becomes valid.
The PDL cache pointer F2 indicates the head position of the PDL data in the PDL cache 13 corresponding to the entry Ex, and the raster cache pointer F3 indicates the head position of the raster data in the raster cache 14 corresponding to the entry Ex.

有効フラグF4は、エントリExが有効な値であるか否かを示し、削除可能フラグF5は、エントリExが削除候補であるか否かを示し、また更新情報F6は、エントリExが更新された時刻414を示している。
上述した構成の作用を図4〜図6の第1の実施例における画像形成処理を示すフローチャートの図中Sで表すステップにしたがって説明する。
The valid flag F4 indicates whether or not the entry Ex is a valid value, the deleteable flag F5 indicates whether or not the entry Ex is a deletion candidate, and the update information F6 indicates that the entry Ex has been updated Time 414 is shown.
The operation of the above-described configuration will be described in accordance with steps represented by S in the flowcharts showing the image forming process in the first embodiment shown in FIGS.

なお、以下に説明する各実施例における各部位の動作は、図示しないメモリや磁気ディスク等の記憶手段に格納されたプログラム(ソフトウェア)に基づいて図示しない中央処理装置等の制御手段により制御される。
まず、プリンタ100がホストコンピュータ200から1回目の試し印刷が指示された場合の動作を説明する。
The operation of each part in each embodiment described below is controlled by a control means such as a central processing unit (not shown) based on a program (software) stored in a storage means such as a memory or a magnetic disk (not shown). .
First, an operation when the printer 100 is instructed by the host computer 200 for the first trial printing will be described.

S001:プリンタ100は、ホストコンピュータ200から印刷データを受信する。
S002:印刷データを受信するとプリンタ100は、ラスタバッファ11のデータを初期化する。
S003:ホストインターフェイス1は、ホストインターフェイスケーブル300を介してホストコンピュータ200から印刷データを受信し、受信バッファ3へ印刷データ401として保存する。
S001: The printer 100 receives print data from the host computer 200.
S002: Upon receiving print data, the printer 100 initializes data in the raster buffer 11.
S003: The host interface 1 receives print data from the host computer 200 via the host interface cable 300 and stores it as print data 401 in the reception buffer 3.

S004:ホストインターフェイス1は、ホストコンピュータ200からすべての印刷データの受信が終了するまで印刷データの受信を継続(S003)し、受信バッファ3へ逐次保存する。すべての印刷データの受信が終了すると処理をS005へ移行する。
S005:すべての印刷データを受信すると印刷モード判定部10は受信バッファ3から印刷データを受信入力データ402として読出し、その受信入力データ402に含まれるホストコンピュータ200からの印刷指示を抽出する。
S004: The host interface 1 continues to receive print data until reception of all print data from the host computer 200 is completed (S003), and sequentially stores it in the reception buffer 3. When reception of all print data is completed, the process proceeds to S005.
S005: Upon receiving all the print data, the print mode determination unit 10 reads the print data from the reception buffer 3 as reception input data 402, and extracts a print instruction from the host computer 200 included in the reception input data 402.

S006:印刷モード判定部10は、印刷指示が試し印刷または正式印刷のいずれかを判定する。試し印刷と判定されると処理をS007へ移行し、正式印刷と判定されると処理をS008へ移行する。本説明では、1回目の試し印刷であるので処理をS007へ移行する。
S007:印刷モード判定部10は、試し印刷モード411を有効にする。
S006: The print mode determination unit 10 determines whether the print instruction is trial printing or formal printing. If it is determined to be trial printing, the process proceeds to S007. If it is determined to be formal printing, the process proceeds to S008. In this description, since this is the first test print, the process proceeds to S007.
S007: The print mode determination unit 10 validates the test print mode 411.

S009:ブロック抽出部4は、受信バッファ3の受信入力データ402から構成ブロック単位でひとつのPDLデータを抽出する。本実施例では、構成ブロックは文字、矩形や線などの単位を示すが等間隔に分割された領域単位でも良く、また文章や画像単位でも良く、その構成ブロックの単位は限定されるものではない。
S010:ブロック抽出部4は、抽出した構成ブロックを特定するブロック識別子403をキャッシュバッファ5のキャッシュタグ12へ出力する。このブロック識別子403は、異なる構成ブロックで重複しない数値または文字列とする。
S009: The block extraction unit 4 extracts one piece of PDL data from the reception input data 402 of the reception buffer 3 in units of constituent blocks. In the present embodiment, the constituent blocks indicate units such as characters, rectangles, and lines, but may be area units divided at equal intervals, or may be text or image units, and the units of the constituent blocks are not limited. .
S010: The block extraction unit 4 outputs a block identifier 403 that identifies the extracted constituent block to the cache tag 12 of the cache buffer 5. The block identifier 403 is a numerical value or a character string that does not overlap among different constituent blocks.

本実施例では、例えば図7に示すように、文字「A」は1バイトフォントを示す「F」、ASCII文字コードの「0041」を結合して「F0041」をブロック識別子403とし、線分は線分を示す「L」、角度を示す「30」、線長を示す「90」を結合して「L3090」をブロック識別子403とし、矩形は矩形を示す「B」、幅を示す「50」、高さを示す「25」を結合して「B5025」をブロック識別子403とする。   In this embodiment, for example, as shown in FIG. 7, the character “A” is combined with “F” indicating a 1-byte font, and the ASCII character code “0041” is combined into “F0041” as a block identifier 403. "L" indicating a line segment, "30" indicating an angle, and "90" indicating a line length are combined to form "L3090" as a block identifier 403, a rectangle is "B" indicating a rectangle, and "50" indicating a width. , “25” indicating the height is combined to make “B5025” the block identifier 403.

このように本実施例では、ブロック識別子403は、図形種類と識別コードを組み合わせた文字列で示すものとするが、この表現方法に限定されるものではない。
S011:ブロック抽出部4は、抽出した構成ブロックのPDLデータであるカレントPDLデータ404をキャッシュバッファ5のPDLキャッシュ13、データ比較部6、およびPDL変換部7へ出力する。
As described above, in this embodiment, the block identifier 403 is represented by a character string combining a graphic type and an identification code, but is not limited to this expression method.
S011: The block extraction unit 4 outputs the current PDL data 404, which is PDL data of the extracted configuration block, to the PDL cache 13, the data comparison unit 6, and the PDL conversion unit 7 of the cache buffer 5.

S012:キャッシュバッファ5のキャッシュタグ12は、有効フラグF4が有効、かつブロック識別子F1がブロック識別子403と一致するエントリExが存在すればヒット405を有効にし、存在しなければ有効とはしない。
S013:1回目の試し印刷では、キャッシュバッファ5のキャッシュタグ12に一致するエントリExが存在しないのでヒット405は有効とはならず、処理をS014(図5)へ移行する。
S012: The cache tag 12 of the cache buffer 5 validates the hit 405 if the valid flag F4 is valid and there is an entry Ex whose block identifier F1 matches the block identifier 403, and does not validate if it does not exist.
S013: In the first trial printing, since there is no entry Ex that matches the cache tag 12 of the cache buffer 5, the hit 405 is not valid, and the process proceeds to S014 (FIG. 5).

S014:ヒット405が有効とならなかったデータ比較部6は、保存PDLデータ406およびカレントPDLデータ404に関わらず一致判定408を不一致とする。
S015:PDL変換部7は、カレントPDLデータ404からカレントラスタデータ409を生成し、キャッシュバッファ5のラスタキャッシュ14およびラスタ選択部9へ出力する。
S014: The data comparison unit 6 in which the hit 405 is not valid makes the match determination 408 unmatched regardless of the saved PDL data 406 and the current PDL data 404.
S015: The PDL conversion unit 7 generates current raster data 409 from the current PDL data 404 and outputs it to the raster cache 14 and the raster selection unit 9 of the cache buffer 5.

S016:ラスタ選択部9は、一致判定408が不一致であるため、ラスタデータ410としてカレントラスタデータ409を出力する。
S017:試し印刷モード411が有効か否かが判定され、本説明では有効と判定されるため処理をS018へ移行する。
S018:キャッシュタグ12は、有効フラグF4が無効であるエントリExの存否を確認する。有効フラグF4が無効であるエントリExが存在しない場合、処理をS019へ移行し、存在する場合、処理をS024へ移行する。
S016: The raster selection unit 9 outputs the current raster data 409 as the raster data 410 because the match determination 408 does not match.
S017: It is determined whether or not the trial print mode 411 is valid. In this description, the process is shifted to S018 because it is determined to be valid.
S018: The cache tag 12 checks whether or not there is an entry Ex for which the validity flag F4 is invalid. If there is no entry Ex for which the valid flag F4 is invalid, the process proceeds to S019, and if present, the process proceeds to S024.

S019:キャッシュタグ12に有効フラグF4が無効であるエントリExが存在しない場合、次にキャッシュタグ12に削除可能フラグF5が有効であるエントリExの存否を確認する。
S020:削除可能フラグF5が有効であるエントリExが存在する場合、そのエントリExの有効フラグF4を無効とする。
S019: When there is no entry Ex for which the validity flag F4 is invalid in the cache tag 12, it is next checked whether or not there is an entry Ex for which the deletable flag F5 is valid for the cache tag 12.
S020: When there is an entry Ex for which the deleteable flag F5 is valid, the validity flag F4 of the entry Ex is invalidated.

S021:一方、削除可能フラグF5が有効であるエントリExが存在しない場合、キャッシュタグ12の中で更新情報F6が最も古いエントリExの有効フラグF4を無効とする。
S022:削除可能フラグF5または更新情報F6から特定のエントリExの有効フラグF4を無効とするとそのエントリExのPDLキャッシュポインタF2が示すPDLデータを破棄する。
S021: On the other hand, when there is no entry Ex for which the deleteable flag F5 is valid, the validity flag F4 of the entry Ex having the oldest update information F6 in the cache tag 12 is invalidated.
S022: When the valid flag F4 of a specific entry Ex is invalidated from the deletion possible flag F5 or the update information F6, the PDL data indicated by the PDL cache pointer F2 of the entry Ex is discarded.

S023:また、そのエントリExのラスタキャッシュポインタF3が示すラスタデータを破棄する。
S024:特定のエントリExの有効フラグF4を無効とし、そのエントリExに関連付けられたPDLデータおよびラスタデータが破棄されるか(S022、S023)、またはキャッシュタグ12に有効フラグF4が無効であるエントリExの存在を確認する(S018)とキャッシュタグ12の有効フラグF4が無効であるエントリExのブロック識別子F1へブロック識別子403を格納し、有効フラグF4を有効とし、削除可能フラグF5を無効とし、更新情報F6に時刻414を格納して更新する。
S023: The raster data indicated by the raster cache pointer F3 of the entry Ex is discarded.
S024: Valid flag F4 of a specific entry Ex is invalidated, and PDL data and raster data associated with the entry Ex are discarded (S022, S023), or an entry in which the valid flag F4 is invalid in the cache tag 12 When the existence of Ex is confirmed (S018), the block identifier 403 is stored in the block identifier F1 of the entry Ex in which the validity flag F4 of the cache tag 12 is invalid, the validity flag F4 is validated, the deletion enable flag F5 is invalidated, The time 414 is stored in the update information F6 and updated.

S025:PDLキャッシュ13にカレントPDLデータ404を保存し、その先頭位置をエントリExのPDLキャッシュポインタF2へ格納する。
S026:また、ラスタキャッシュ14にカレントラスタデータ409を保存し、その先頭位置をエントリExのラスタキャッシュポインタF3へ格納し、S027(図6)へ移行する。
S025: The current PDL data 404 is stored in the PDL cache 13, and the head position is stored in the PDL cache pointer F2 of the entry Ex.
S026: Further, the current raster data 409 is stored in the raster cache 14, the head position is stored in the raster cache pointer F3 of the entry Ex, and the process proceeds to S027 (FIG. 6).

S027:ドラフト変換部8は、ラスタデータ410を出力する画素を減少させたドラフト印刷向けのドラフトラスタデータ415へ変換する。ドラフト変換部8でのドラフト印刷向けのドラフトラスタデータ415へ変換は、例えば有効画素(ドット)の間引き、画像縮小、塗りつぶしの無効化や簡素化、カラーからモノクロ画像への変換や低解像度化などが挙げられる。   S027: The draft conversion unit 8 converts the raster data 410 into draft raster data 415 for draft printing in which the number of output pixels is reduced. The draft conversion unit 8 converts the draft raster data 415 for draft printing into, for example, thinning out effective pixels (dots), image reduction, invalidation or simplification of a fill, conversion from a color to a monochrome image, or reduction in resolution. Is mentioned.

S028:ドラフト選択部16は、試し印刷モード411が有効であるため、ドラフトラスタデータ415を選択して印刷イメージデータ412として出力する。
S029:出力された印刷イメージデータ412は、ラスタバッファ11上のラスタデータと合成される。
S030:以上により、ひとつの単位ブロックに対する処理が完了し、すべての単位ブロックが抽出されたことを確認する。抽出されていない単位ブロックが存在すればブロック抽出部4によるブロックの抽出(S009)から繰り返される。
S028: Since the trial print mode 411 is valid, the draft selection unit 16 selects the draft raster data 415 and outputs it as print image data 412.
S029: The output print image data 412 is combined with the raster data on the raster buffer 11.
S030: As described above, it is confirmed that the processing for one unit block is completed and all unit blocks are extracted. If there is a unit block that has not been extracted, the block extraction unit 4 repeats the block extraction (S009).

S031:すべての単位ブロックの抽出が完了すると印刷機構部2はラスタバッファ11から印刷イメージデータ413を読出し、印刷を行い、プリンタ100はホストコンピュータ200から1回目の試し印刷が指示された場合の動作を終了する。
次に、プリンタ100がホストコンピュータ200から一部修正された2回目の試し印刷が指示された場合の動作を説明する。
S031: When the extraction of all unit blocks is completed, the printing mechanism unit 2 reads the print image data 413 from the raster buffer 11, performs printing, and the printer 100 operates when a first test printing is instructed from the host computer 200. Exit.
Next, an operation when the printer 100 is instructed by the host computer 200 for the second trial printing with a partial correction will be described.

図8(a)は1回目の試し印刷のデータを示し、図8(b)は2回目の試し印刷のデータを示している。図8に示すように2回目の試し印刷のデータは、1回目の試し印刷のデータと線分の太さのみが異なるものとして説明する。
まず、2回目の試し印刷で1回目の試し印刷と同じ文字や矩形を抽出した場合の動作を説明する。
FIG. 8A shows the data for the first test print, and FIG. 8B shows the data for the second test print. As shown in FIG. 8, the data for the second trial printing is described as being different from the data for the first trial printing only in the thickness of the line segment.
First, the operation when the same characters and rectangles as in the first test print are extracted in the second test print will be described.

S001〜S012:上述した1回目の試し印刷の動作と同様のため、その説明を省略する。
S013:2回目の試し印刷では、キャッシュバッファ5のキャッシュタグ12はブロック識別子403と一致するエントリExが存在するため、ヒット405は有効となり、処理をS033へ移行する。
S001 to S012: Since this is the same as the first trial printing operation described above, the description thereof is omitted.
S013: In the second trial printing, since the cache tag 12 of the cache buffer 5 has an entry Ex that matches the block identifier 403, the hit 405 is valid, and the process proceeds to S033.

S033:キャッシュバッファ5は、一致したエントリExのPDLキャッシュポインタF2で示されるPDLデータを保存PDLデータ406としてデータ比較部6へ出力する。
S034:また、キャッシュバッファ5は、一致したエントリExのラスタキャッシュポインタF3で示されるラスタデータを保存ラスタデータ407としてラスタ選択部9へ出力する。
S033: The cache buffer 5 outputs the PDL data indicated by the PDL cache pointer F2 of the matched entry Ex to the data comparison unit 6 as saved PDL data 406.
S034: Further, the cache buffer 5 outputs the raster data indicated by the raster cache pointer F3 of the matched entry Ex to the raster selection unit 9 as saved raster data 407.

S035:データ比較部6は、カレントPDLデータ404と保存PDLデータ406とを比較し、一致結果408を出力する。そして、処理をS036(図6の)へ移行する。
S036:文字や矩形はPDLデータも同一であるので一致結果408は一致となり、処理をS037へ移行する。
S035: The data comparison unit 6 compares the current PDL data 404 and the saved PDL data 406, and outputs a match result 408. Then, the process proceeds to S036 (FIG. 6).
S036: Since the PDL data of characters and rectangles is the same, the match result 408 is matched, and the process proceeds to S037.

S037:一致結果408が一致の場合、ラスタ選択部9はラスタデータ410として保存ラスタデータ407を出力する。
S038:キャッシュバッファ5は、試し印刷モード411が有効か否かを確認する。本説明の場合、有効であるので処理をS039へ移行する。
S039:キャッシュタグ12は、ブロック識別子403とブロック識別子F1が一致したエントリExの更新情報F6に時刻414を格納する。
S 037: When the coincidence result 408 coincides, the raster selecting unit 9 outputs the saved raster data 407 as the raster data 410.
S038: The cache buffer 5 checks whether the test print mode 411 is valid. In the case of this description, since it is valid, the process proceeds to S039.
S039: The cache tag 12 stores the time 414 in the update information F6 of the entry Ex in which the block identifier 403 and the block identifier F1 match.

以降の動作は、1回目の試し印刷におけるS027〜S031の動作と同様なのでその説明を省略する。
次に、2回目の試し印刷で1回目の試し印刷と太さのみ異なる線分を抽出した場合の動作を説明する。
本実施例では、図7に示すように線分は、角度と線長でブロック識別子が定義されることから太さが異なってもブロック識別子は同一となる。
Subsequent operations are the same as the operations in S027 to S031 in the first test printing, and thus description thereof is omitted.
Next, an operation when a line segment that differs only in thickness from the first test print is extracted in the second test print will be described.
In the present embodiment, as shown in FIG. 7, the block identifier is defined by the angle and the line length, so that the block identifier is the same even if the thickness is different.

S001〜S013、S033〜S035:上述した動作と同様なのでその説明を省略する。
S036:データ比較部6の比較により、カレントPDLデータ404と保存PDLデータ406は線分の太さが異なることから一致せず、一致結果408は不一致となり、処理をS040へ移行する。
S001 to S013, S033 to S035: Since they are similar to the above-described operations, the description thereof is omitted.
S036: The current PDL data 404 and the saved PDL data 406 do not match because of the comparison of the data comparison unit 6 and the matching result 408 does not match, and the process proceeds to S040.

S040:一致結果408が不一致の場合、PDL変換部7はカレントPDLデータ404からカレントラスタデータ409を生成し、キャッシュバッファ5のラスタキャッシュ14およびラスタ選択部9へ出力する。
S041:ラスタ選択部9がラスタデータ410としてカレントラスタデータ409を出力する。
S040: If the match result 408 does not match, the PDL conversion unit 7 generates current raster data 409 from the current PDL data 404 and outputs the current raster data 409 to the raster cache 14 and the raster selection unit 9 of the cache buffer 5.
S041: The raster selection unit 9 outputs current raster data 409 as raster data 410.

S042:キャッシュバッファ5は試し印刷モード411が有効であるか否かを確認し、本説明では有効なので処理をS043へ移行する。
S043:キャッシュバッファ5は、キャッシュタグ12でブロック識別子403とブロック識別子F1が一致したエントリExのPDLキャッシュポインタF2で指定されるPDLデータをカレントPDLデータ404に置換する。
S042: The cache buffer 5 confirms whether or not the test print mode 411 is valid, and since it is valid in this description, the process proceeds to S043.
S043: The cache buffer 5 replaces the PDL data specified by the PDL cache pointer F2 of the entry Ex in which the block identifier 403 and the block identifier F1 match in the cache tag 12 with the current PDL data 404.

S044:また、キャッシュバッファ5は、キャッシュタグ12でブロック識別子403とブロック識別子F1が一致したエントリExのラスタキャッシュポインタF3で指定されるラスタデータをカレントラスタデータ409に置換する。
S045:さらに、キャッシュバッファ5は、キャッシュタグ12の更新情報F6に時刻414を格納する。
S044: Further, the cache buffer 5 replaces the raster data designated by the raster cache pointer F3 of the entry Ex in which the block identifier 403 and the block identifier F1 match in the cache tag 12 with the current raster data 409.
S045: Furthermore, the cache buffer 5 stores the time 414 in the update information F6 of the cache tag 12.

以降の動作は、1回目の試し印刷におけるS027〜S031の動作と同様なのでその説明を省略する。
次に、プリンタ100がホストコンピュータ200から2回目の試し印刷に対して一部追加された正式印刷が指示された場合の動作を説明する。
図9(a)は2回目の試し印刷のデータを示し、図9(b)は正式印刷のデータを示している。図9に示すように正式印刷のデータは、2回目の試し印刷のデータに新たな文字「Z」のみが追加されたものとして説明する。
Subsequent operations are the same as the operations in S027 to S031 in the first test printing, and thus description thereof is omitted.
Next, an operation when the printer 100 is instructed by the host computer 200 for formal printing that is partly added to the second test printing will be described.
FIG. 9A shows data for the second trial printing, and FIG. 9B shows data for formal printing. As shown in FIG. 9, the data for formal printing will be described on the assumption that only the new character “Z” is added to the data for the second trial printing.

まず、正式印刷で2回目の試し印刷と同じ文字、矩形や線を抽出した場合の動作を説明する。
S001〜S005:上述した2回目の試し印刷の動作と同様のため、その説明を省略する。
S006:印刷モード判定部10は、印刷指示が試し印刷または正式印刷のいずれかを判定する。正式印刷と判定されると処理をS008へ移行する。本説明では、正式印刷であるので処理をS008へ移行する。
First, the operation when the same characters, rectangles, and lines as those in the second trial printing are extracted in formal printing will be described.
S001 to S005: Since this is the same as the above-described second trial printing operation, the description thereof is omitted.
S006: The print mode determination unit 10 determines whether the print instruction is trial printing or formal printing. If it is determined to be official printing, the process proceeds to S008. In this description, since it is formal printing, the process proceeds to S008.

S008:印刷モード判定部10は、試し印刷モード411を無効にする。
S009〜S013、S033〜S037:2回目の試し印刷の動作と同様なのでその説明を省略する。
S038:キャッシュバッファ5は、試し印刷モード411が有効か否かを確認する。本説明の場合、無効であるので処理をS046へ移行する。
S008: The print mode determination unit 10 invalidates the test print mode 411.
S009 to S013, S033 to S037: The description is omitted because it is the same as the second trial printing operation.
S038: The cache buffer 5 checks whether the test print mode 411 is valid. In the case of this description, it is invalid, and the process proceeds to S046.

S046:キャッシュバッファ5は、キャッシュタグ12でブロック識別子403とブロック識別子F1が一致したエントリExの削除可能フラグF5を有効にする。
S047:ドラフト選択部16は、試し印刷モード411が無効であるため、ラスタデータ410を印刷イメージデータ412として出力する。
以降の動作は、2回目の試し印刷におけるS029〜S031の動作と同様なのでその説明を省略する。
S046: The cache buffer 5 validates the deletion enable flag F5 of the entry Ex in which the block identifier 403 and the block identifier F1 match in the cache tag 12.
S047: Since the trial print mode 411 is invalid, the draft selection unit 16 outputs the raster data 410 as the print image data 412.
Subsequent operations are the same as the operations in S029 to S031 in the second trial printing, and thus the description thereof is omitted.

次に、正式印刷で新たに追加された文字「Z」が抽出された場合の動作を説明する。
S001〜S016:1回目の試し印刷における動作と同様なのでその説明を省略する。
S017:試し印刷モード411が有効か否かが判定され、本説明では無効と判定されるため、キャッシュバッファ5へのデータの追加を行うことなく処理をS047へ移行する。
Next, an operation when a newly added character “Z” is extracted by formal printing will be described.
S001 to S016: Since this is the same as the operation in the first test printing, its description is omitted.
S017: It is determined whether or not the test print mode 411 is valid. In this description, it is determined invalid. Therefore, the process proceeds to S047 without adding data to the cache buffer 5.

S047:ドラフト選択部16は、試し印刷モード411が無効であるため、ラスタデータ410を印刷イメージデータ412として出力する。
以降の動作は、2回目の試し印刷におけるS029〜S031の動作と同様なのでその説明を省略する。
このようにプリンタ100は、試し印刷において正式印刷と同じラスタデータをキャッシュバッファ5へすべて保存しておき、試し印刷では、そのラスタデータを試し印刷向けのラスタデータへ変換するようにしたことにより、試し印刷後の正式印刷では、キャッシュバッファ5に保存しておいたラスタデータを用いて印刷を行うため、高速に印刷することができるようになる。
S047: Since the trial print mode 411 is invalid, the draft selection unit 16 outputs the raster data 410 as the print image data 412.
Subsequent operations are the same as the operations in S029 to S031 in the second trial printing, and thus the description thereof is omitted.
As described above, the printer 100 stores all the same raster data in the test print in the cache buffer 5 in the test print, and in the test print, the raster data is converted into the raster data for the test print. In formal printing after trial printing, printing is performed using raster data stored in the cache buffer 5, so printing can be performed at high speed.

また、キャッシュヒットの頻度が低下したラスタデータをキャッシュバッファ5から削除するようにしたことにより、キャッシュヒット率を向上させることができるようになる。
なお、本実施例では、正式印刷の場合、キャッシュバッファ5へのデータの追加を行わないようにするが、有効フラグF4が無効のエントリExが存在するとき、削除可能フラグF5を有効にして追加するようにしてもよい。
In addition, since the raster data whose cache hit frequency has decreased is deleted from the cache buffer 5, the cache hit rate can be improved.
In this embodiment, in the case of formal printing, data is not added to the cache buffer 5, but when there is an entry Ex with an invalid valid flag F4, the deletion enable flag F5 is validated and added. You may make it do.

また、本実施例では、S013のPDLデータの比較において、ブロック識別子の比較を行うようにしたが、この構成に替え、ブロック抽出部4が構成ブロック単位でPDLデータのハッシュ値を生成するようにし、このハッシュ値を比較対象とするようにしてもよい。この場合、ハッシュ値の生成については、例えば生成アルゴリズムMD5を利用して行うことができる。   In this embodiment, the block identifier is compared in the comparison of the PDL data in S013. However, instead of this configuration, the block extraction unit 4 generates a hash value of the PDL data in units of configuration blocks. This hash value may be used as a comparison target. In this case, the generation of the hash value can be performed using, for example, the generation algorithm MD5.

以上説明したように、第1の実施例では、試し印刷において正式印刷と同じラスタデータをキャッシュバッファへすべて保存しておき、試し印刷では、そのラスタデータを試し印刷向けのラスタデータへ変換するようにしたことにより、試し印刷後の正式印刷では、キャッシュバッファに保存しておいたラスタデータを用いて印刷を行うため、高速に印刷することができるという効果が得られる。   As described above, in the first embodiment, the same raster data as in formal printing is stored in the cache buffer in trial printing, and the raster data is converted into raster data for trial printing in trial printing. As a result, in formal printing after trial printing, printing is performed using raster data stored in the cache buffer, so that the effect of enabling high-speed printing is obtained.

また、キャッシュヒットの頻度が低下したラスタデータをキャッシュバッファから削除するようにしたことにより、キャッシュヒット率を向上させることができるという効果が得られる。   In addition, since the raster data whose cache hit frequency has decreased is deleted from the cache buffer, the cache hit rate can be improved.

第2の実施例の構成は、第1の実施例の構成における画像形成装置としてのプリンタの構成が異なるものである。そのプリンタ101の構成を説明する。
図10は第2の実施例における画像形成装置の構成を示すブロック図である。
図10において、画像形成装置としてのプリンタ101は、ホストインターフェイス1、印刷機構部2、受信バッファ3、ブロック抽出部4、ドラフト変換部8、印刷モード判定部10、ラスタバッファ11、時計15、ドラフト選択部16、一次キャッシュバッファ17、二次キャッシュバッファ21、一次データ比較部25、二次データ比較部26、PDL変換部27、キャッシュ選択部28、およびラスタ選択部29を含み構成されている。
The configuration of the second embodiment is different from the configuration of the printer as the image forming apparatus in the configuration of the first embodiment. The configuration of the printer 101 will be described.
FIG. 10 is a block diagram showing the configuration of the image forming apparatus in the second embodiment.
In FIG. 10, a printer 101 as an image forming apparatus includes a host interface 1, a printing mechanism unit 2, a reception buffer 3, a block extraction unit 4, a draft conversion unit 8, a printing mode determination unit 10, a raster buffer 11, a clock 15, a draft. A selection unit 16, a primary cache buffer 17, a secondary cache buffer 21, a primary data comparison unit 25, a secondary data comparison unit 26, a PDL conversion unit 27, a cache selection unit 28, and a raster selection unit 29 are configured.

なお、ホストインターフェイス1、印刷機構部2、受信バッファ3、ブロック抽出部4、ドラフト変換部8、印刷モード判定部10、ラスタバッファ11、時計15、ドラフト選択部16は、上述した第1の実施例と同様なので同一の符号を付してその説明を省略する。
一次キャッシュバッファ17は、PDLデータおよびそのPDLデータから変換されたラスタデータを関連付けて保存するメモリ等の記憶手段であり、二次キャッシュバッファ21は、PDLデータおよびそのPDLデータから変換されたラスタデータを関連付けて保存するメモリ等の補助記憶手段である。
The host interface 1, the print mechanism unit 2, the reception buffer 3, the block extraction unit 4, the draft conversion unit 8, the print mode determination unit 10, the raster buffer 11, the clock 15, and the draft selection unit 16 are the first embodiment described above. Since it is the same as an example, the same code | symbol is attached | subjected and the description is abbreviate | omitted.
The primary cache buffer 17 is a storage unit such as a memory that stores the PDL data and raster data converted from the PDL data in association with each other, and the secondary cache buffer 21 is the raster data converted from the PDL data and the PDL data. Auxiliary storage means such as a memory for storing the information in association with each other.

この一次キャッシュバッファ17は、PDLデータおよびラスタデータを関連付ける管理情報が保存される一次キャッシュタグ18、PDLデータが保存される一次PDLキャッシュ19、およびラスタデータが保存される一次ラスタキャッシュ20で構成されている。
また、二次キャッシュバッファ21も同様に、PDLデータおよびラスタデータを関連付ける管理情報が保存される二次キャッシュタグ22、PDLデータが保存される二次PDLキャッシュ23、およびラスタデータ(第3の展開データ)が保存される二次ラスタキャッシュ24で構成されている。
The primary cache buffer 17 includes a primary cache tag 18 that stores management information for associating PDL data and raster data, a primary PDL cache 19 that stores PDL data, and a primary raster cache 20 that stores raster data. ing.
Similarly, the secondary cache buffer 21 also has a secondary cache tag 22 for storing management information for associating PDL data and raster data, a secondary PDL cache 23 for storing PDL data, and raster data (third development). Data) is stored in a secondary raster cache 24.

一次データ比較部25は、ふたつのPDLデータを比較する比較手段であり、二次データ比較部26は、ふたつのPDLデータを比較する補助比較手段である。
PDL変換部27は、PDLデータからラスタデータへ変換する画像生成手段である。
キャッシュ選択部28およびラスタ選択部29は、ふたつのラスタデータを択一選択する選択手段である。
The primary data comparison unit 25 is a comparison unit that compares two PDL data, and the secondary data comparison unit 26 is an auxiliary comparison unit that compares the two PDL data.
The PDL conversion unit 27 is an image generation unit that converts PDL data into raster data.
The cache selection unit 28 and the raster selection unit 29 are selection means for selecting one of the two raster data.

このように構成されたプリンタ101は、図示しないメモリや磁気ディスク等の記憶手段に格納されたプログラム(ソフトウェア)に基づいて図示しない中央処理装置(CPU)等の制御手段により制御される。
次に、プリンタ101の動作の概略を以下に説明する。
プリンタ101のホストインターフェイス1は、ホストインターフェイスケーブル300を介してホストコンピュータ200から受信した印刷データ401を出力し、受信バッファ3へ逐次保存する。
The printer 101 configured as described above is controlled by a control unit such as a central processing unit (CPU) (not shown) based on a program (software) stored in a storage unit such as a memory or a magnetic disk (not shown).
Next, an outline of the operation of the printer 101 will be described below.
The host interface 1 of the printer 101 outputs print data 401 received from the host computer 200 via the host interface cable 300 and sequentially stores it in the reception buffer 3.

ブロック抽出部4は、受信バッファ3から印刷データを受信入力データ402として読出し、文字、矩形や線などの構成ブロック単位に分解し、分解した構成ブロックのブロック識別子403を一次キャッシュタグ18および二次キャッシュタグ22へ入力し、構成ブロックのPDLデータをカレントPDLデータ404として一次PDLキャッシュ19へ入力し、また一次データ比較部25、およびPDL変換部27へ入力する。   The block extraction unit 4 reads the print data from the reception buffer 3 as reception input data 402, decomposes it into constituent block units such as characters, rectangles, and lines, and converts the block identifier 403 of the decomposed constituent block into the primary cache tag 18 and the secondary cache tag 18. The data is input to the cache tag 22, the PDL data of the constituent block is input to the primary PDL cache 19 as current PDL data 404, and is input to the primary data comparison unit 25 and the PDL conversion unit 27.

一次キャッシュバッファ17は、一次キャッシュタグ18にブロック識別子403と一致する情報が登録されている場合に有効となる一次ヒット416を一次データ比較部25へ入力する。
また、二次キャッシュバッファ21は、二次キャッシュタグ22にブロック識別子403と一致する情報が登録されている場合に有効となる二次ヒット419を二次データ比較部26へ入力する。
The primary cache buffer 17 inputs a primary hit 416 that becomes valid when information matching the block identifier 403 is registered in the primary cache tag 18 to the primary data comparison unit 25.
Further, the secondary cache buffer 21 inputs a secondary hit 419 that is valid when information matching the block identifier 403 is registered in the secondary cache tag 22 to the secondary data comparison unit 26.

一次キャッシュバッファ17は、一次キャッシュタグ18にブロック識別子403と一致する情報が登録されていれば、一次PDLキャッシュ19から対応したPDLデータを一次保存PDLデータ417として一次データ比較部25および二次キャッシュバッファ21の二次PDLキャッシュ23へ入力するとともに一次ラスタキャッシュ20から対応したラスタデータを一次保存ラスタデータ418としてキャッシュ選択部28および二次キャッシュバッファ21の二次ラスタキャッシュ24へ入力する。   If the information matching the block identifier 403 is registered in the primary cache tag 18, the primary cache buffer 17 uses the corresponding PDL data from the primary PDL cache 19 as the primary storage PDL data 417 and the primary data comparison unit 25 and the secondary cache. The data is input to the secondary PDL cache 23 of the buffer 21 and the corresponding raster data from the primary raster cache 20 is input to the cache selection unit 28 and the secondary raster cache 24 of the secondary cache buffer 21 as primary storage raster data 418.

二次キャッシュバッファ21は、二次キャッシュタグ22にブロック識別子403と一致する情報が登録されていれば、二次PDLキャッシュ23から対応したPDLデータを二次保存PDLデータ420として二次データ比較部26へ入力するとともに二次ラスタキャッシュ24から対応したラスタデータを二次保存ラスタデータ421としてキャッシュ選択部28へ入力する。   If the information matching the block identifier 403 is registered in the secondary cache tag 22, the secondary cache buffer 21 converts the corresponding PDL data from the secondary PDL cache 23 as the secondary storage PDL data 420 to the secondary data comparison unit. 26, and corresponding raster data from the secondary raster cache 24 is input to the cache selection unit 28 as secondary storage raster data 421.

一次キャッシュバッファ17は、一次キャッシュタグ18のエントリを削除する場合に二次キャッシュバッファ21の同じブロック識別子403を持つエントリの削除を指示する削除情報424を二次キャッシュバッファ21へ入力する。
一次データ比較部25は、入力された一次ヒット416が有効を示し、かつカレントPDLデータ404と一次保存PDLデータ417とを比較して一致する場合、一致を示し、それ以外は不一致を示す一次一致結果422を一次キャッシュバッファ17、PDL変換部27、キャッシュ選択部28、およびラスタ選択部29へ入力する。
When deleting the entry of the primary cache tag 18, the primary cache buffer 17 inputs to the secondary cache buffer 21 deletion information 424 that instructs to delete the entry having the same block identifier 403 of the secondary cache buffer 21.
The primary data comparison unit 25 indicates a match when the input primary hit 416 is valid and the current PDL data 404 and the primary storage PDL data 417 match and indicates a match, otherwise the primary match indicates a mismatch. The result 422 is input to the primary cache buffer 17, the PDL conversion unit 27, the cache selection unit 28, and the raster selection unit 29.

二次データ比較部26は、入力された二次ヒット419が有効を示し、かつカレントPDLデータ404と二次保存PDLデータ420とを比較して一致する場合、一致を示し、それ以外は不一致を示す二次一致結果423をPDL変換部27およびラスタ選択部29へ入力する。
PDL変換部27は、一次一致結果422が不一致を示す場合にカレントPDLデータ404に基づいてカレントラスタデータ425へ変換し、そのカレントラスタデータ425を一次ラスタキャッシュ20およびラスタ選択部29へ入力する。
The secondary data comparison unit 26 indicates a match if the input secondary hit 419 is valid and the current PDL data 404 and the secondary storage PDL data 420 match and indicates a match, otherwise it indicates a mismatch. The secondary match result 423 shown is input to the PDL conversion unit 27 and the raster selection unit 29.
When the primary match result 422 indicates a mismatch, the PDL conversion unit 27 converts the current raster data 425 into current raster data 425 based on the current PDL data 404 and inputs the current raster data 425 to the primary raster cache 20 and the raster selection unit 29.

キャッシュ選択部28は、一次一致結果422が一致を示す場合に一次保存ラスタデータ418を選択し、一次一致結果422が不一致を示す場合に二次保存ラスタデータ421を選択し、選択したデータを保存ラスタデータ426としてラスタ変換部29へ入力する。
ラスタ選択部29は、一次一致結果422および二次一致結果423のいずれかが一致を示す場合に保存ラスタデータ426を選択し、一次一致結果422および二次一致結果423がともに不一致を示す場合にカレントラスタデータ425を選択し、選択したデータをラスタデータ410としてドラフト変換部8およびドラフト選択部16へ入力する。
The cache selection unit 28 selects the primary storage raster data 418 when the primary match result 422 indicates a match, selects the secondary storage raster data 421 when the primary match result 422 indicates a mismatch, and stores the selected data. The data is input as raster data 426 to the raster conversion unit 29.
The raster selection unit 29 selects the saved raster data 426 when either the primary match result 422 or the secondary match result 423 indicates a match, and when both the primary match result 422 and the secondary match result 423 indicate a mismatch. The current raster data 425 is selected, and the selected data is input as the raster data 410 to the draft conversion unit 8 and the draft selection unit 16.

印刷モード判定部10は、受信バッファ3の受信入力データ402を読出し、ホストコンピュータ200からの印刷指示が試し印刷または正式印刷のいずれかを判定し、試し印刷である場合は試し印刷モード411を有効にする。
ドラフト変換部8は、入力されたラスタデータ410から試し印刷向けに変換したドラフトラスタデータ415を生成し、ドラフト選択部16へ入力する。
The print mode determination unit 10 reads the received input data 402 from the reception buffer 3 to determine whether the print instruction from the host computer 200 is test print or formal print. If the print mode is test print, the test print mode 411 is validated. To.
The draft conversion unit 8 generates draft raster data 415 converted for trial printing from the input raster data 410 and inputs the draft raster data 415 to the draft selection unit 16.

ドラフト選択部16は、入力された試し印刷モード411が有効の場合に入力されたドラフトラスタデータ415を印刷イメージデータ412として出力し、試し印刷モード411が無効の場合に入力されたラスタデータ410を印刷イメージデータ412として出力し、ラスタバッファ11のデータへ合成する。
印刷機構部2は、ラスタバッファ11の印刷イメージデータ413を読出し、その印刷イメージデータ413にしたがった印刷を行う。
The draft selection unit 16 outputs the draft raster data 415 input when the input test print mode 411 is valid as the print image data 412, and the raster data 410 input when the test print mode 411 is invalid. The print image data 412 is output and combined with the data in the raster buffer 11.
The printing mechanism unit 2 reads the print image data 413 from the raster buffer 11 and performs printing according to the print image data 413.

なお、時計15は、時刻414を一次キャッシュタグ18へ入力する。
このようにしてプリンタ101は、ホストコンピュータ200から受信した印刷指示にしたがって試し印刷または正式印刷を行う。
次に、一次キャッシュバッファ17および二次キャッシュバッファ21の構成を説明する。なお、一次キャッシュバッファ17の構成は、第1の実施例のキャッシュバッファ5と同様なのでその説明を省略する。
The clock 15 inputs the time 414 to the primary cache tag 18.
In this way, the printer 101 performs trial printing or formal printing in accordance with the print instruction received from the host computer 200.
Next, the configuration of the primary cache buffer 17 and the secondary cache buffer 21 will be described. Since the configuration of the primary cache buffer 17 is the same as that of the cache buffer 5 of the first embodiment, its description is omitted.

図11は第2の実施例における二次キャッシュバッファの構成を示す説明図である。
図11において、二次キャッシュバッファ21は、上述したように二次キャッシュタグ22、二次PDLキャッシュ23、および二次ラスタキャッシュ24で構成されている。
二次キャッシュタグ22は、ブロック識別子F7、PDLキャッシュポインタF8、ラスタキャッシュポインタF9、および有効フラグF10をひとつのエントリExとした複数のエントリ(E1、E2、・・・、En)からなる。
FIG. 11 is an explanatory diagram showing the configuration of the secondary cache buffer in the second embodiment.
In FIG. 11, the secondary cache buffer 21 is composed of the secondary cache tag 22, the secondary PDL cache 23, and the secondary raster cache 24 as described above.
The secondary cache tag 22 includes a plurality of entries (E1, E2,..., En) having a block identifier F7, a PDL cache pointer F8, a raster cache pointer F9, and a valid flag F10 as one entry Ex.

二次キャッシュタグ22の中でブロック識別子F7と入力されたブロック識別子403が一致するエントリが存在すると二次ヒット419が有効となる。
一次キャッシュタグ18のエントリと二次キャッシュタグ22のエントリの関係は、一次キャッシュタグ18と二次キャッシュタグ22の双方にブロック識別子403と同じものが存在しないか、一次キャッシュタグ18のみにブロック識別子403と同じものが存在するか、それとも一次キャッシュタグ18と二次キャッシュタグ22の双方にブロック識別子403と同じものが存在するかの3通りとする。
If there is an entry in the secondary cache tag 22 where the block identifier F7 matches the input block identifier 403, the secondary hit 419 becomes valid.
The relationship between the entry of the primary cache tag 18 and the entry of the secondary cache tag 22 is the same as the block identifier 403 in both the primary cache tag 18 and the secondary cache tag 22, or the block identifier only in the primary cache tag 18 There are three types: the same as 403, or the same as the block identifier 403 in both the primary cache tag 18 and the secondary cache tag 22.

したがって、一次キャッシュバッファ17により出力された一次ヒット416が無効である場合、二次ヒット419も必然的に無効となる。
PDLキャッシュポインタF8は、エントリExに対応する二次PDLキャッシュ23のPDLデータの先頭位置を示し、ラスタキャッシュポインタF9は、エントリExに対応する二次ラスタキャッシュ24のラスタデータの先頭位置を示している。
Therefore, if the primary hit 416 output by the primary cache buffer 17 is invalid, the secondary hit 419 is necessarily invalidated.
The PDL cache pointer F8 indicates the start position of the PDL data in the secondary PDL cache 23 corresponding to the entry Ex, and the raster cache pointer F9 indicates the start position of the raster data in the secondary raster cache 24 corresponding to the entry Ex. Yes.

有効フラグF10は、エントリExが有効な値であるか否かを示している。
上述した構成の作用を図12〜図15の第2の実施例における画像形成処理を示すフローチャートの図中Sで表すステップにしたがって説明する。
まず、プリンタ101がホストコンピュータ200から1回目の試し印刷が指示された場合の動作を説明する。
The valid flag F10 indicates whether or not the entry Ex is a valid value.
The operation of the above-described configuration will be described in accordance with steps represented by S in the flowcharts showing the image forming process in the second embodiment shown in FIGS.
First, an operation when the printer 101 is instructed by the host computer 200 for the first trial printing will be described.

S101〜S109:第1の実施例の図4におけるS001〜S009と同様なのでその説明を省略する。
S110:ブロック抽出部4は、抽出した構成ブロックを特定するブロック識別子403を一次キャッシュバッファ17の一次キャッシュタグ18へ出力する。なお、ブロック識別子403は、第1の実施例と同様なのでその説明を省略する。
S101 to S109: Since they are the same as S001 to S009 in FIG. 4 of the first embodiment, description thereof is omitted.
S110: The block extraction unit 4 outputs a block identifier 403 that identifies the extracted constituent block to the primary cache tag 18 of the primary cache buffer 17. Note that the block identifier 403 is the same as in the first embodiment, and a description thereof will be omitted.

S111:ブロック抽出部4は、抽出した構成ブロックのPDLデータであるカレントPDLデータ404を一次キャッシュバッファ17の一次PDLキャッシュ19、一次データ比較部25、二次データ比較部26、およびPDL変換部27へ出力する。
S112:一次キャッシュバッファ17の一次キャッシュタグ18は、有効フラグF4が有効、かつブロック識別子F1がブロック識別子403と一致するエントリExが存在すれば一次ヒット416を有効にし、存在しなければ有効とはしない。
S111: The block extraction unit 4 converts the current PDL data 404, which is the PDL data of the extracted configuration block, into the primary PDL cache 19, the primary data comparison unit 25, the secondary data comparison unit 26, and the PDL conversion unit 27 of the primary cache buffer 17. Output to.
S112: The primary cache tag 18 of the primary cache buffer 17 validates the primary hit 416 if the valid flag F4 is valid and the entry Ex whose block identifier F1 matches the block identifier 403 is present, and valid otherwise. do not do.

S113:1回目の試し印刷では、一次キャッシュバッファ17の一次キャッシュタグ18に一致するエントリExが存在しないので一次ヒット416は有効とはならず、処理をS114(図13)へ移行する。
S114:一次ヒット416が有効とならなかった一次データ比較部25は、一次保存PDLデータ417およびカレントPDLデータ404に関わらず一次一致結果422を不一致とする。
S113: In the first test print, since there is no entry Ex that matches the primary cache tag 18 of the primary cache buffer 17, the primary hit 416 is not valid, and the process proceeds to S114 (FIG. 13).
S114: The primary data comparison unit 25 in which the primary hit 416 is not valid makes the primary match result 422 inconsistent regardless of the primary storage PDL data 417 and the current PDL data 404.

また、一次ヒット416が無効である場合、二次ヒット419も無効となり、二次データ比較部26はニ次一致結果423を不一致とする。
S115:PDL変換部27は、一次一致結果422およびニ次一致結果423の双方が不一致であるので、カレントPDLデータ404からカレントラスタデータ425を生成し、一次キャッシュバッファ17の一次ラスタキャッシュ20およびラスタ選択部29へ出力する。
If the primary hit 416 is invalid, the secondary hit 419 is also invalidated, and the secondary data comparison unit 26 makes the secondary match result 423 unmatched.
S115: Since both the primary match result 422 and the secondary match result 423 do not match, the PDL conversion unit 27 generates the current raster data 425 from the current PDL data 404, and the primary raster cache 20 and the raster of the primary cache buffer 17 The data is output to the selection unit 29.

S116:ラスタ選択部29は、一次一致結果422およびニ次一致結果423の双方が不一致であるため、ラスタデータ410としてカレントラスタデータ425を出力する。
S117:試し印刷モード411が有効か否かが判定され、本説明では有効と判定されるため処理をS118へ移行する。
S 116: The raster selection unit 29 outputs the current raster data 425 as the raster data 410 because both the primary match result 422 and the secondary match result 423 do not match.
S117: It is determined whether or not the test print mode 411 is valid. In this description, since it is determined to be valid, the process proceeds to S118.

S118:一次キャッシュタグ18は、有効フラグF4が無効であるエントリExの存否を確認する。有効フラグF4が無効であるエントリExが存在しない場合、処理をS119へ移行し、存在する場合、処理をS129へ移行する。
S119:一次キャッシュタグ18に有効フラグF4が無効であるエントリExが存在しない場合、次に一次キャッシュタグ18に削除可能フラグF5が有効であるエントリExの存否を確認する。
S118: The primary cache tag 18 checks whether or not there is an entry Ex for which the valid flag F4 is invalid. If there is no entry Ex for which the valid flag F4 is invalid, the process proceeds to S119, and if present, the process proceeds to S129.
S119: When there is no entry Ex for which the valid flag F4 is invalid in the primary cache tag 18, it is next checked whether or not there is an entry Ex for which the deletable flag F5 is valid in the primary cache tag 18.

S120:削除可能フラグF5が有効であるエントリExが存在する場合、そのエントリExの有効フラグF4を無効とする。
S121:一方、削除可能フラグF5が有効であるエントリExが存在しない場合、一次キャッシュタグ18の中で更新情報F6が最も古いエントリExの有効フラグF4を無効とする。
S120: When there is an entry Ex for which the deleteable flag F5 is valid, the validity flag F4 of the entry Ex is invalidated.
S121: On the other hand, if there is no entry Ex for which the deleteable flag F5 is valid, the validity flag F4 of the entry Ex having the oldest update information F6 in the primary cache tag 18 is invalidated.

S122:削除可能フラグF5または更新情報F6から特定のエントリExの有効フラグF4を無効とするとそのエントリExのPDLキャッシュポインタF2が示すPDLデータを破棄する。
S123:また、そのエントリExのラスタキャッシュポインタF3が示すラスタデータを破棄する。
S122: When the validity flag F4 of a specific entry Ex is invalidated from the deletion enable flag F5 or the update information F6, the PDL data indicated by the PDL cache pointer F2 of the entry Ex is discarded.
S123: Also, the raster data indicated by the raster cache pointer F3 of the entry Ex is discarded.

S124:一次キャッシュタグ18は、有効フラグF4を無効としたエントリExの削除情報424を二次キャッシュタグ22へ出力する。
S125:二次キャッシュタグ22は、削除情報424に一致するエントリExの存否を確認する。一致するエントリExが存在しない場合、処理をS129へ移行し、存在する場合、処理をS126へ移行する。
S124: The primary cache tag 18 outputs the deletion information 424 of the entry Ex in which the validity flag F4 is invalidated to the secondary cache tag 22.
S125: The secondary cache tag 22 checks whether or not there is an entry Ex that matches the deletion information 424. If there is no matching entry Ex, the process proceeds to S129, and if present, the process proceeds to S126.

S126:削除情報424に一致するエントリExが存在する場合、二次キャッシュタグ22は、一致したエントリExの有効フラグF10を無効へ変更する。
S127:有効フラグF10を無効とするとそのエントリExのPDLキャッシュポインタF8が示すPDLデータを破棄する。
S128:また、そのエントリExのラスタキャッシュポインタF9が示すラスタデータを破棄する。
S126: If there is an entry Ex that matches the deletion information 424, the secondary cache tag 22 changes the validity flag F10 of the matched entry Ex to invalid.
S127: When the valid flag F10 is invalidated, the PDL data indicated by the PDL cache pointer F8 of the entry Ex is discarded.
S128: Also, the raster data indicated by the raster cache pointer F9 of the entry Ex is discarded.

S129:一次キャッシュタグ18の特定のエントリExの有効フラグF4を無効とし、そのエントリExに関連付けられたPDLデータおよびラスタデータが破棄されるか(S127、S128)、または一次キャッシュタグ18に有効フラグF4が無効であるエントリExの存在を確認した際(S118)に有効フラグF4が無効であるエントリExが存在した場合は、一次キャッシュタグ18の有効フラグF4が無効であるエントリExのブロック識別子F1へブロック識別子403を格納し、有効フラグF4を有効とし、削除可能フラグF5を無効とし、更新情報F6に時刻414を格納する。   S129: The validity flag F4 of the specific entry Ex of the primary cache tag 18 is invalidated, and the PDL data and raster data associated with the entry Ex are discarded (S127, S128), or the validity flag of the primary cache tag 18 When the existence of the entry Ex in which the validity flag F4 is invalid when the existence of the entry Ex in which F4 is invalid is confirmed (S118), the block identifier F1 of the entry Ex in which the validity flag F4 of the primary cache tag 18 is invalid. The block identifier 403 is stored, the validity flag F4 is validated, the deletion enable flag F5 is invalidated, and the time 414 is stored in the update information F6.

S130:一次PDLキャッシュ19にカレントPDLデータ404を保存し、その先頭位置をエントリExのPDLキャッシュポインタF2へ格納する。
S131:また、一次ラスタキャッシュ20にカレントラスタデータ425を保存し、その先頭位置をエントリExのラスタキャッシュポインタF3へ格納し、S132(図15)へ移行する。
S130: The current PDL data 404 is stored in the primary PDL cache 19, and the head position is stored in the PDL cache pointer F2 of the entry Ex.
S131: Also, the current raster data 425 is stored in the primary raster cache 20, the head position is stored in the raster cache pointer F3 of the entry Ex, and the process proceeds to S132 (FIG. 15).

S132〜S136:第1の実施例の図6におけるS027〜S031と同様なのでその説明を省略する。
以上により、プリンタ101は、ホストコンピュータ200から1回目の試し印刷が指示された場合の動作を終了する。
次に、プリンタ101がホストコンピュータ200から一部修正された2回目の試し印刷が指示された場合の動作を説明する。
S132 to S136: Since they are the same as S027 to S031 in FIG. 6 of the first embodiment, description thereof is omitted.
As described above, the printer 101 ends the operation when the first trial printing is instructed from the host computer 200.
Next, an operation when the printer 101 is instructed by the host computer 200 for the second trial printing that is partially corrected will be described.

第1の実施例の図8と同様に、2回目の試し印刷のデータは、1回目の試し印刷のデータと線分の太さのみが異なるものとして説明する。
まず、2回目の試し印刷で1回目の試し印刷と変化のない文字や矩形等を抽出した場合の動作を説明する。
S101〜S112:上述した1回目の試し印刷の動作と同様のため、その説明を省略する。
Similar to FIG. 8 of the first embodiment, the data for the second test print is described as being different from the data for the first test print only in the line segment thickness.
First, an operation in the case where characters, rectangles, and the like that have not changed from the first test print are extracted in the second test print will be described.
S101 to S112: Since this is the same as the first trial printing operation described above, the description thereof is omitted.

S113:2回目の試し印刷では、一次キャッシュバッファ17の一次キャッシュタグ18はブロック識別子403と一致するエントリExが存在するため、一次ヒット416は有効となり、処理をS138へ移行する。
S138:一次キャッシュバッファ17は、一致したエントリExのPDLキャッシュポインタF2で示されるPDLデータを一次保存PDLデータ417として一次データ比較部25および二次PDLキャッシュ23へ出力する。
S113: In the second trial printing, since the primary cache tag 18 of the primary cache buffer 17 has an entry Ex that matches the block identifier 403, the primary hit 416 is valid, and the process proceeds to S138.
S138: The primary cache buffer 17 outputs the PDL data indicated by the PDL cache pointer F2 of the matched entry Ex as the primary storage PDL data 417 to the primary data comparison unit 25 and the secondary PDL cache 23.

S139:また、一次キャッシュバッファ17は、一致したエントリExのラスタキャッシュポインタF3で示されるラスタデータを一次保存ラスタデータ418としてキャッシュ選択部28および二次ラスタキャッシュ24へ出力する。
S140:一次データ比較部25は、カレントPDLデータ404と一次保存PDLデータ417とを比較し、一次一致結果422を出力する。そして、処理を図14のS141へ移行する。
S139: Further, the primary cache buffer 17 outputs the raster data indicated by the raster cache pointer F3 of the matched entry Ex as the primary storage raster data 418 to the cache selection unit 28 and the secondary raster cache 24.
S140: The primary data comparison unit 25 compares the current PDL data 404 with the primary storage PDL data 417, and outputs a primary match result 422. Then, the process proceeds to S141 in FIG.

S141:文字や矩形はPDLデータも同一であるので一次一致結果422は一致となり、処理をS142へ移行する。
S142:一次一致結果422が一致の場合、キャッシュ選択部28が一次保存ラスタデータ418を保存ラスタデータ426として出力する。
S143:ラスタ選択部29は、ラスタデータ410として保存ラスタデータ426を出力する。
S141: Since the PDL data of characters and rectangles is the same, the primary match result 422 is matched, and the process proceeds to S142.
S142: If the primary match result 422 matches, the cache selection unit 28 outputs the primary saved raster data 418 as saved raster data 426.
S143: The raster selection unit 29 outputs the saved raster data 426 as the raster data 410.

S144:一次キャッシュバッファ17は、試し印刷モード411が有効か否かを確認する。本説明の場合、有効であるので処理をS145へ移行する。
S145:一次キャッシュタグ18は、ブロック識別子403とブロック識別子F1が一致したエントリExの更新情報F6に時刻414を格納する。
以降の動作は、1回目の試し印刷におけるS027〜S031の動作と同様なのでその説明を省略する。
S144: The primary cache buffer 17 checks whether or not the test print mode 411 is valid. In the case of this description, since it is valid, the process proceeds to S145.
S145: The primary cache tag 18 stores the time 414 in the update information F6 of the entry Ex in which the block identifier 403 and the block identifier F1 match.
Subsequent operations are the same as the operations in S027 to S031 in the first test printing, and thus description thereof is omitted.

次に、2回目の試し印刷で1回目の試し印刷と太さのみ異なる線分を抽出した場合の動作を説明する。
第1の実施例と同様に、図7に示すように線分は、角度と線長でブロック識別子が定義されることから太さが異なってもブロック識別子は同一となる。
S101〜S113、S138〜S140:上述した動作と同様なのでその説明を省略する。
Next, an operation when a line segment that differs only in thickness from the first test print is extracted in the second test print will be described.
As in the first embodiment, as shown in FIG. 7, the block identifier is defined by the angle and the line length, so that the block identifier is the same even if the thickness is different.
S101 to S113, S138 to S140: Since they are similar to the above-described operation, the description thereof is omitted.

S141:一次データ比較部25の比較により、カレントPDLデータ404と一次保存PDLデータ417は線分の太さが異なることから一致せず、一次一致結果422は不一致となり、処理をS146へ移行する。
S146:一次一致結果422が不一致の場合、二次キャッシュバッファ21は有効フラグF10が有効、かつブロック識別子403と一致するブロック識別子F7を有するエントリExが存在すれば二次ヒット419を有効にする。
S141: Due to the comparison of the primary data comparison unit 25, the current PDL data 404 and the primary storage PDL data 417 do not match because the line segments are different, the primary match result 422 does not match, and the process proceeds to S146.
S146: If the primary match result 422 does not match, the secondary cache buffer 21 validates the secondary hit 419 if the valid flag F10 is valid and there is an entry Ex having the block identifier F7 that matches the block identifier 403.

S147:1回目の試し印刷により、ブロック識別子403と一致するエントリExは一次キャッシュバッファ17だけに存在するため、二次ヒット419は無効になり、処理をS153へ移行する。
S153:PDL変換部27は、一次一致結果422および二次一致結果423の双方が不一致であるので、カレントPDLデータ404からカレントラスタデータ425を生成し、一次キャッシュバッファ17の一次ラスタキャッシュ20およびラスタ選択部29へ出力する。
S147: Since the entry Ex that matches the block identifier 403 exists only in the primary cache buffer 17 by the first trial printing, the secondary hit 419 becomes invalid, and the process proceeds to S153.
S153: Since both the primary match result 422 and the secondary match result 423 do not match, the PDL conversion unit 27 generates the current raster data 425 from the current PDL data 404, and the primary raster cache 20 and the raster of the primary cache buffer 17 The data is output to the selection unit 29.

S154:ラスタ選択部29は、一次一致結果422および二次一致結果423の双方が不一致であるので、ラスタデータ410としてカレントラスタデータ425を出力する。
S155:二次キャッシュバッファ21は試し印刷モード411が有効であるか否かを確認し、本説明では有効なので処理を図15のS156へ移行する。
S154: The raster selection unit 29 outputs the current raster data 425 as the raster data 410 because both the primary match result 422 and the secondary match result 423 do not match.
S155: The secondary cache buffer 21 confirms whether or not the test print mode 411 is valid, and since it is valid in this description, the process proceeds to S156 in FIG.

S156:二次キャッシュバッファ21は、二次キャッシュタグ22の有効フラグF10が無効のエントリExのブロック識別子F7へブロック識別子403を格納し、有効フラグF10を有効とする。
S157:二次PDLキャッシュ23へ一次保存PDLデータ417を保存し、その先頭位置をエントリExのPDLキャッシュポインタF8へ格納する。
S156: The secondary cache buffer 21 stores the block identifier 403 in the block identifier F7 of the entry Ex in which the validity flag F10 of the secondary cache tag 22 is invalid, and validates the validity flag F10.
S157: The primary storage PDL data 417 is stored in the secondary PDL cache 23, and the head position is stored in the PDL cache pointer F8 of the entry Ex.

S158:二次ラスタキャッシュ24へ一次保存ラスタデータ418を保存し、その先頭位置をエントリExのラスタキャッシュポインタF9へ格納する。
S159:一次キャッシュバッファ17は、一次キャッシュタグ18でブロック識別子403とブロック識別子F1が一致したエントリExのPDLキャッシュポインタF2で指定されるPDLデータをカレントPDLデータ404に置換する。
S158: The primary storage raster data 418 is stored in the secondary raster cache 24, and the head position is stored in the raster cache pointer F9 of the entry Ex.
S159: The primary cache buffer 17 replaces the PDL data specified by the PDL cache pointer F2 of the entry Ex in which the block identifier 403 and the block identifier F1 match with the primary cache tag 18 with the current PDL data 404.

S160:また、一次キャッシュバッファ17は、一次キャッシュタグ18でブロック識別子403とブロック識別子F1が一致したエントリExのラスタキャッシュポインタF3で指定されるラスタデータをカレントラスタデータ409に置換する。
S161:さらに、一次キャッシュバッファ17は、一次キャッシュタグ18の更新情報F6に時刻414を格納する。
S160: The primary cache buffer 17 replaces the raster data specified by the raster cache pointer F3 of the entry Ex in which the block identifier 403 and the block identifier F1 match with the primary cache tag 18 with the current raster data 409.
S161: Further, the primary cache buffer 17 stores the time 414 in the update information F6 of the primary cache tag 18.

以降の動作は、1回目の試し印刷におけるS132〜S136の動作と同様なのでその説明を省略する。
次に、プリンタ101がホストコンピュータ200から2回目の試し印刷に対して一部追加され、さらに一部が1回目の試し印刷の状態へと戻された正式印刷が指示された場合の動作を説明する。
Subsequent operations are the same as the operations in S132 to S136 in the first test printing, and thus the description thereof is omitted.
Next, a description will be given of an operation in the case where the formal printing is instructed by the host computer 200 in which a part of the printer 101 is added to the second trial printing and a part of the printer 101 is returned to the state of the first trial printing. To do.

図16(a)は1回目の試し印刷のデータを示し、図16(b)は2回目の試し印刷のデータを示し、図16(c)は正式印刷のデータを示している。図16に示すように正式印刷のデータは、2回目の試し印刷のデータに新たな文字「Z」が追加され、線分の太さが1回目の試し印刷と同じになっているものとして説明する。
S101〜S109:第1の実施例の図4における正式印刷の動作のS001〜S009と同様のため、その説明を省略する。
FIG. 16A shows the data for the first test print, FIG. 16B shows the data for the second test print, and FIG. 16C shows the data for the official print. As shown in FIG. 16, the formal print data is described on the assumption that a new character “Z” is added to the second trial print data, and the thickness of the line segment is the same as that of the first trial print. To do.
S101 to S109: Since it is the same as S001 to S009 of the formal printing operation in FIG. 4 of the first embodiment, description thereof is omitted.

S110〜S113、S138〜143:上述した2回目の試し印刷の動作と同様のため、その説明を省略する。
S144:一次キャッシュバッファ17は、試し印刷モード411が有効か否かを確認する。本説明の場合、無効であるので処理をS162へ移行する。
S162:一次キャッシュバッファ17は、一次キャッシュタグ18でブロック識別子403とブロック識別子F1が一致したエントリExの削除可能フラグF5を有効にし、図15のS163へ移行する。
S110 to S113, S138 to 143: Since this is the same as the above-described second test printing operation, the description thereof is omitted.
S144: The primary cache buffer 17 checks whether or not the test print mode 411 is valid. In the case of this description, since it is invalid, the process proceeds to S162.
S162: The primary cache buffer 17 enables the deleteable flag F5 of the entry Ex in which the block identifier 403 and the block identifier F1 match with the primary cache tag 18, and proceeds to S163 in FIG.

S163:ドラフト選択部16は、試し印刷モード411が無効であるため、ラスタデータ410を印刷イメージデータ412として出力する。
以降の動作は、2回目の試し印刷におけるS134〜S136の動作と同様なのでその説明を省略する。
次に、正式印刷で新たに追加された文字「Z」が抽出された場合の動作を説明する。
S163: The draft selection unit 16 outputs the raster data 410 as the print image data 412 because the test print mode 411 is invalid.
Subsequent operations are the same as the operations in S134 to S136 in the second trial printing, and thus description thereof is omitted.
Next, an operation when a newly added character “Z” is extracted by formal printing will be described.

S101〜S116:1回目の試し印刷における動作と同様なのでその説明を省略する。
S117:試し印刷モード411が有効か否かが判定され、本説明では無効と判定されるため、一次キャッシュバッファ17へのデータの追加を行うことなく処理を図15のS163へ移行する。
S101 to S116: Since this is the same as the operation in the first test printing, its description is omitted.
S117: It is determined whether or not the test print mode 411 is valid. In this description, it is determined invalid. Therefore, the process proceeds to S163 in FIG. 15 without adding data to the primary cache buffer 17.

S163:ドラフト選択部16は、試し印刷モード411が無効であるため、ラスタデータ410を印刷イメージデータ412として出力する。
なお、本実施例では、正式印刷の場合、一次キャッシュバッファ17へのデータの追加を行わないようにするが、有効フラグF4が無効のエントリExが存在するとき、削除可能フラグF5を有効にして追加するようにしてもよい。
S163: The draft selection unit 16 outputs the raster data 410 as the print image data 412 because the test print mode 411 is invalid.
In this embodiment, in the case of formal printing, data is not added to the primary cache buffer 17, but when there is an entry Ex in which the validity flag F4 is invalid, the deletion enable flag F5 is activated. You may make it add.

次に、正式印刷で1回目の試し印刷と同一の線分が抽出された場合の動作を説明する。
S101〜S113、S138〜S141:上述した2回目の試し印刷で変化のない文字や矩形等を抽出した場合の動作と同様のため、その説明を省略する。
S146:一次データ比較部25の比較により、カレントPDLデータ404と一次保存PDLデータ417は線分の太さが異なることから一致せず、一次一致結果422は不一致となる。
Next, the operation when the same line segment as that in the first test printing is extracted in the formal printing will be described.
S101 to S113, S138 to S141: Since the operations are the same as those in the case where characters, rectangles and the like that are not changed are extracted in the second test printing described above, the description thereof is omitted.
S146: As a result of the comparison by the primary data comparison unit 25, the current PDL data 404 and the primary storage PDL data 417 do not match because the line segments are different in thickness, and the primary match result 422 does not match.

二次キャッシュバッファ21は、有効フラグF10が有効、かつブロック識別子403と一致するブロック識別子F7を有するエントリExが存在すれば二次ヒット419を有効にする。
S147:2回目の試し印刷により、1回目の試し印刷の線分に関するPDLデータとラスタデータは二次キャッシュバッファ21に保存されているため、二次ヒット419は有効になり、処理をS148へ移行する。
The secondary cache buffer 21 validates the secondary hit 419 if the valid flag F10 is valid and there is an entry Ex having the block identifier F7 that matches the block identifier 403.
S147: Since the PDL data and raster data related to the line segment of the first test print are stored in the secondary cache buffer 21 by the second test print, the secondary hit 419 becomes valid, and the process proceeds to S148. To do.

S148:二次キャッシュバッファ21は、ブロック識別子403と一致したブロック識別子F7を有するエントリExのPDLキャッシュポインタF8で示されるPDLデータを二次保存PDLデータ420として出力する。
S149:また、二次キャッシュバッファ21は、一致したエントリExのラスタキャッシュポインタF9で示されるラスタデータを二次保存ラスタデータ421として出力する。
S148: The secondary cache buffer 21 outputs the PDL data indicated by the PDL cache pointer F8 of the entry Ex having the block identifier F7 that matches the block identifier 403 as the secondary storage PDL data 420.
S149: Further, the secondary cache buffer 21 outputs the raster data indicated by the raster cache pointer F9 of the matched entry Ex as the secondary storage raster data 421.

S150:二次データ比較部26は、カレントPDLデータ404と二次保存PDLデータ420とを比較し、二次一致結果423を出力する。ここでは1回目の試し印刷の線分と正式印刷の線分は同一であるので二次一致結果423は一致となる。
S151:二次一致結果423は一致となり、処理をS152へ移行する。
S152:キャッシュ選択部28は、一次一致結果422が不一致であるので保存ラスタデータ426として二次保存ラスタデータ421を出力し、処理をS143へ移行する。
S150: The secondary data comparison unit 26 compares the current PDL data 404 with the secondary storage PDL data 420, and outputs a secondary match result 423. Here, since the first test print line segment and the formal print line segment are the same, the secondary match result 423 is the same.
S151: The secondary match result 423 is matched, and the process proceeds to S152.
S152: Since the primary match result 422 does not match, the cache selection unit 28 outputs the secondary saved raster data 421 as the saved raster data 426, and the process proceeds to S143.

S143:ラスタ選択部29は、ラスタデータ410として保存ラスタデータ426を出力する。
以降の動作は、上述したS144、S162、S163、S134〜S136と同様なのでその説明を省略する。
このようにプリンタ101は、複数回の試し印刷においてPDLデータが異なる場合に二次キャッシュバッファへ過去のPDLデータおよびそのPDLデータに基づくラスタデータを保存するようにしたことにより、印刷データの構成ブロックが一時的に変更された後、さらに元に戻された場合であっても、試し印刷後の正式印刷では二次キャッシュバッファに保存されたラスタデータを用いて印刷を行うため、高速に印刷することができるようになる。
S143: The raster selection unit 29 outputs the saved raster data 426 as the raster data 410.
Subsequent operations are the same as S144, S162, S163, and S134 to S136 described above, and a description thereof will be omitted.
As described above, the printer 101 stores the past PDL data and raster data based on the PDL data in the secondary cache buffer when the PDL data is different in a plurality of test prints. Even if it is temporarily changed and then restored, it is printed at high speed because formal printing after trial printing uses raster data stored in the secondary cache buffer. Will be able to.

また、ブロック識別子あたりの保存数を複数にしたことにより、ブロック識別子が同一で近似の構成ブロックがあった場合に片方の構成ブロックに保存により、他方の構成ブロックの保存が失われる問題を解決することができる。
なお、本実施例では、一次キャッシュバッファ17に対して二次キャッシュバッファ21を追加したものとして説明したが、二次キャッシュバッファ21に対して三次キャッシュバッファを設け、図14におけるS146からS151までの処理を入れ子の処理とすることにより多次キャッシュによるPDLデータおよびラスタデータの保存が可能となる。
In addition, by using a plurality of storage numbers per block identifier, when there is an approximate constituent block with the same block identifier, the problem that the storage of the other constituent block is lost due to saving in one constituent block is solved. be able to.
In this embodiment, the secondary cache buffer 21 is added to the primary cache buffer 17. However, a tertiary cache buffer is provided for the secondary cache buffer 21, and steps S146 to S151 in FIG. By nesting the processing, it is possible to store PDL data and raster data by a multilevel cache.

また、本実施例では、S113のPDLデータの比較において、ブロック識別子の比較を行うようにしたが、この構成に替え、ブロック抽出部4が構成ブロック単位でPDLデータのハッシュ値を生成するようにし、このハッシュ値を比較対象とするようにしてもよいのは第1の実施例と同様である。
以上説明したように、第2の実施例では、第1の実施例の効果に加え、複数回の試し印刷においてPDLデータが異なる場合に二次キャッシュバッファへ過去のPDLデータおよびそのPDLデータに基づくラスタデータを保存するようにしたことにより、印刷データの構成ブロックが一時的に変更された後、さらに元に戻された場合であっても、試し印刷後の正式印刷では二次キャッシュバッファに保存されたラスタデータを用いて印刷を行うため、高速に印刷することができるという効果が得られる。
In the present embodiment, the block identifiers are compared in the comparison of the PDL data in S113. Instead of this configuration, the block extraction unit 4 generates a hash value of the PDL data in units of the configuration blocks. As in the first embodiment, this hash value may be used as a comparison target.
As described above, in the second embodiment, in addition to the effects of the first embodiment, when the PDL data is different in a plurality of test prints, the second cache buffer is based on the past PDL data and the PDL data. By saving raster data, even if the block of print data is temporarily changed and then restored, it is saved in the secondary cache buffer for official printing after trial printing. Since printing is performed using the raster data, the effect of being able to print at high speed is obtained.

また、ブロック識別子あたりの保存数を複数にしたことにより、ブロック識別子が同一で近似の構成ブロックがあった場合に片方の構成ブロックの保存により、他方の構成ブロックの保存が失われる問題を解決することができるという効果が得られる。
なお、第1の実施例および第2の実施例において、本発明を画像形成装置としてのプリンタに適用するものとして説明したが、それに限られるものでなく画像複写装置や画像記録装置に適用することも可能である。
In addition, by using a plurality of storage numbers per block identifier, when there is an approximate constituent block with the same block identifier, the problem that the storage of the other constituent block is lost due to the storage of one constituent block is solved. The effect that it can be obtained.
In the first embodiment and the second embodiment, the present invention has been described as being applied to a printer as an image forming apparatus. However, the present invention is not limited to this and is applied to an image copying apparatus and an image recording apparatus. Is also possible.

第1の実施例における画像形成装置の構成を示すブロック図1 is a block diagram illustrating a configuration of an image forming apparatus according to a first embodiment. 第1の実施例における画像形成装置の接続形態を示す説明図Explanatory drawing which shows the connection form of the image forming apparatus in 1st Example 第1の実施例におけるキャッシュバッファの構成を示す説明図Explanatory drawing which shows the structure of the cache buffer in 1st Example. 第1の実施例における画像形成処理を示すフローチャート(1/3)Flowchart (1/3) showing image forming process in first embodiment 第1の実施例における画像形成処理を示すフローチャート(2/3)Flowchart (2/3) showing image forming process in first embodiment 第1の実施例における画像形成処理を示すフローチャート(3/3)Flowchart (3/3) showing image forming process in first embodiment 第1の実施例におけるブロック識別子の説明図Explanatory drawing of the block identifier in 1st Example 第1の実施例における1回目および2回目の試し印刷結果の説明図Explanatory drawing of the first and second test printing results in the first embodiment 第1の実施例における2回目の試し印刷結果と正式印刷結果の説明図Explanatory drawing of the second trial printing result and formal printing result in the first embodiment 第2の実施例における画像形成装置の構成を示すブロック図FIG. 2 is a block diagram illustrating a configuration of an image forming apparatus according to a second embodiment. 第2の実施例における二次キャッシュバッファの構成を示す説明図Explanatory drawing which shows the structure of the secondary cache buffer in 2nd Example. 第2の実施例における画像形成処理を示すフローチャート(1/4)Flowchart (1/4) showing image forming process in second embodiment. 第2の実施例における画像形成処理を示すフローチャート(2/4)Flowchart (2/4) showing image forming process in the second embodiment 第2の実施例における画像形成処理を示すフローチャート(3/4)Flowchart (3/4) showing image forming process in the second embodiment. 第2の実施例における画像形成処理を示すフローチャート(4/4)Flowchart (4/4) showing image forming process in second embodiment. 第2の実施例における1回目、2回目の試し印刷結果および正式印刷結果の説明図Explanatory drawing of the first and second trial printing results and the formal printing results in the second embodiment

符号の説明Explanation of symbols

1 ホストインターフェイス
2 印刷機構部
3 受信バッファ
4 ブロック抽出部
5 キャッシュバッファ
6 データ比較部
7、27 PDL変換部
8 ドラフト変換部
9、29 ラスタ選択部
10 印刷モード判定部
11 ラスタバッファ
12 キャッシュタグ
13 PDLキャッシュ
14 ラスタキャッシュ
16 ドラフト選択部
17 一次キャッシュバッファ
18 一次キャッシュタグ
19 一次PDLキャッシュ
20 一次ラスタキャッシュ
21 二次キャッシュバッファ
22 二次キャッシュタグ
23 二次PDLキャッシュ
24 二次ラスタキャッシュ
25 一次データ比較部
26 二次データ比較部
28 キャッシュ選択部
100、101 プリンタ
200 ホストコンピュータ
300 インターフェイスケーブル
DESCRIPTION OF SYMBOLS 1 Host interface 2 Printing mechanism part 3 Reception buffer 4 Block extraction part 5 Cache buffer 6 Data comparison part 7, 27 PDL conversion part 8 Draft conversion part 9, 29 Raster selection part 10 Print mode determination part 11 Raster buffer 12 Cache tag 13 PDL Cache 14 Raster cache 16 Draft selector 17 Primary cache buffer 18 Primary cache tag 19 Primary PDL cache 20 Primary raster cache 21 Secondary cache buffer 22 Secondary cache tag 23 Secondary PDL cache 24 Secondary raster cache 25 Primary data comparator 26 Secondary data comparison unit 28 Cache selection unit 100, 101 Printer 200 Host computer 300 Interface cable

Claims (10)

画像処理装置から入力された入力データに基づいて画像を形成する画像形成装置において、
入力データの属性情報が試し画像形成指示か正式画像形成指示かのいずれであるかを判定する判定手段と、
前記入力データを一以上のブロックに展開し、そのブロック毎に第1の展開データおよびその第1の展開データに基づいて第2の展開データを生成する画像生成手段と、
前記入力データおよび前記第1の展開データを記憶する記憶手段と、
画像処理装置から入力され、属性情報が正式画像形成指示の入力データを、前記記憶手段に記憶され、属性情報が試し画像形成指示の入力データと、比較する比較手段とを設け、
前記判定手段が試し画像形成指示と判定したとき、前記画像生成手段が第1の展開データおよび第2の展開データを生成して該第2の展開データを出力するとともに前記記憶手段が前記入力データに関連付けて該第1の展開データを記憶し、
前記判定手段が正式画像形成指示と判定したとき、前記比較手段が入力された入力データを前記記憶手段に記憶された入力データと比較して一致することを検知した場合、前記記憶手段に記憶された第1の展開データを出力することを特徴とする画像形成装置。
In an image forming apparatus that forms an image based on input data input from an image processing apparatus,
Determining means for determining whether the attribute information of the input data is a test image formation instruction or a formal image formation instruction;
Image generating means for expanding the input data into one or more blocks, and generating first expanded data and second expanded data based on the first expanded data for each block;
Storage means for storing the input data and the first expanded data;
Input from the image processing apparatus, the attribute information is stored in the storage means, the input data of the formal image formation instruction, the attribute information is provided with the input data of the trial image formation instruction, and a comparison means for comparing,
When the determination means determines that it is a test image formation instruction, the image generation means generates first expansion data and second expansion data and outputs the second expansion data, and the storage means outputs the input data. Storing the first development data in association with
When the determination means determines that it is a formal image formation instruction, the comparison means compares the input data input with the input data stored in the storage means and detects that they match, and stores them in the storage means. An image forming apparatus that outputs the first development data.
請求項1の画像形成装置において、
前記判定手段が正式画像形成指示と判定したとき、前記比較手段が入力された入力データを前記記憶手段に記憶された入力データと比較して一致しないことを検知した場合、一致しないブロックの第1の展開データを生成し、その第1の展開データを出力することを特徴とする画像形成装置。
The image forming apparatus according to claim 1.
When the determination unit determines that it is a formal image formation instruction, the comparison unit compares the input data input to the input data stored in the storage unit and detects that they do not match. Generating image development data and outputting the first development data.
請求項1または請求項2の画像形成装置において、
前記判定手段が正式画像形成指示と判定したとき、前記記憶手段に記憶された入力データが存在しない場合、前記画像生成手段が、入力された入力データから第1の展開データを生成し、その第1の展開データを出力することを特徴とする画像形成装置。
The image forming apparatus according to claim 1 or 2,
When the determination means determines that it is a formal image formation instruction, if there is no input data stored in the storage means, the image generation means generates first development data from the input data and An image forming apparatus that outputs one development data.
請求項1、請求項2または請求項3の画像形成装置において、
前記記憶手段は、記憶した第1の展開データが有効/無効および削除可否を示す情報を有し、
前記判定手段が試し画像形成指示と判定したとき、前記記憶手段が前記入力データおよび前記ブロックに関連付けて前記第1の展開データを記憶するとともに有効を示す情報を記憶し、
前記判定手段が正式画像形成指示と判定したとき、前記記憶手段に記憶された入力データが存在する場合、前記記憶手段が削除可能を示す情報を記憶することを特徴とする画像形成装置。
The image forming apparatus according to claim 1, 2 or 3,
The storage means has information indicating whether the stored first decompressed data is valid / invalid and deleteability;
When the determination means determines that it is a test image formation instruction, the storage means stores the first development data in association with the input data and the block and stores information indicating validity;
An image forming apparatus characterized in that, when the determination unit determines that it is a formal image formation instruction, if there is input data stored in the storage unit, the storage unit stores information indicating that deletion is possible.
請求項4の画像形成装置において、
時刻を計時する計時手段を備え、
前記記憶手段は、前記入力データおよび前記ブロックに関連付けて第1の展開データを記憶した時刻を記憶することを特徴とする画像形成装置。
The image forming apparatus according to claim 4.
Equipped with a timekeeping means to keep time
The image forming apparatus, wherein the storage unit stores a time at which first development data is stored in association with the input data and the block.
請求項1から請求項5のいずれか1項の画像形成装置において、
前記第1の展開データを、ラスタデータとし、
前記第2の展開データを、前記第1の展開データから出力する画素を減少させたデータとしたことを特徴とする画像形成装置。
The image forming apparatus according to any one of claims 1 to 5,
The first development data is raster data,
2. The image forming apparatus according to claim 1, wherein the second development data is data obtained by reducing the number of pixels output from the first development data.
請求項6の画像形成装置において、
前記第2の展開データを、前記第1の展開データの、有効画素を間引いたデータ、画像を縮小したデータ、塗りつぶしを無効化したデータ、塗りつぶしを簡素化したデータ、カラー画像をモノクロ画像へ変換したデータ、および解像度を低下させたデータのいずれか又はこれらの組み合わせとしたことを特徴とする画像形成装置。
The image forming apparatus according to claim 6.
The second expanded data is converted from the first expanded data by thinning out effective pixels, reduced image data, invalidated data, simplified data, and color image into a monochrome image. An image forming apparatus characterized in that any one of these data and data with reduced resolution or a combination thereof is used.
請求項1から請求項7のいずれか1項の画像形成装置において、
前記ブロックは、文字、線分、矩形、画像および領域のいずれか又はこれらの組み合わせに分割されていることを特徴とする画像形成装置。
The image forming apparatus according to any one of claims 1 to 7,
The image forming apparatus, wherein the block is divided into one of a character, a line segment, a rectangle, an image and a region, or a combination thereof.
請求項1から請求項8のいずれか1項の画像形成装置において、
前記記憶手段に記憶された入力データおよび第1の展開データを記憶する補助記憶手段と、
画像処理装置から入力され、属性情報が正式画像形成指示の入力データを、前記補助記憶手段に記憶され、属性情報が試し画像形成指示の入力データと比較する補助比較手段とを設け、
前記判定手段が試し画像形成指示と判定し、かつ前記比較手段が入力された入力データと前記記憶手段に記憶された入力データを比較して一致しないことを検知した場合、前記記憶手段に記憶された入力データおよび第1の展開データを前記補助記憶手段に記憶し、
前記判定手段が正式画像形成指示と判定し、かつ前記補助比較手段が入力された入力データを前記補助記憶手段に記憶された入力データと比較して一致することを検知した場合、前記補助記憶手段に記憶された第1の展開データを出力することを特徴とする画像形成装置。
The image forming apparatus according to any one of claims 1 to 8,
Auxiliary storage means for storing the input data and the first decompressed data stored in the storage means;
An auxiliary comparison unit that is input from the image processing apparatus, the attribute information is stored in the auxiliary storage unit as input data of the formal image formation instruction, and the attribute information is compared with the input data of the test image formation instruction;
If the determination unit determines that the instruction is a test image formation instruction and the comparison unit compares the input data input to the input data stored in the storage unit and detects that they do not match, the determination unit stores the input data. Storing the input data and the first development data in the auxiliary storage means,
When the determination means determines that it is a formal image formation instruction, and the auxiliary comparison means compares the input data input with the input data stored in the auxiliary storage means and detects that they match, the auxiliary storage means An image forming apparatus characterized in that the first development data stored in is output.
請求項9の画像形成装置において、
前記補助比較手段は、前記比較手段で一致しない場合に比較することを特徴とする画像形成装置。
The image forming apparatus according to claim 9.
The image forming apparatus according to claim 1, wherein the auxiliary comparison unit performs comparison when the comparison unit does not match.
JP2008293877A 2008-11-17 2008-11-17 Image forming apparatus Expired - Fee Related JP5190332B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008293877A JP5190332B2 (en) 2008-11-17 2008-11-17 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008293877A JP5190332B2 (en) 2008-11-17 2008-11-17 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2010120193A JP2010120193A (en) 2010-06-03
JP5190332B2 true JP5190332B2 (en) 2013-04-24

Family

ID=42321966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008293877A Expired - Fee Related JP5190332B2 (en) 2008-11-17 2008-11-17 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5190332B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784736A (en) * 1993-09-14 1995-03-31 Canon Inc Image output device
JPH07125331A (en) * 1993-10-30 1995-05-16 Nec Corp Printer
JPH1049317A (en) * 1996-04-08 1998-02-20 Canon Inc Print control apparatus and method, and storage medium
JPH09288549A (en) * 1996-04-19 1997-11-04 Canon Inc Data processing device, data processing method of data processing device, and storage medium storing computer readable program
JP3228326B2 (en) * 1997-11-22 2001-11-12 日本電気株式会社 Printer device
JP2000025293A (en) * 1998-05-06 2000-01-25 Seiko Epson Corp Printing method, printing control device, and recording medium
JP2003230020A (en) * 2002-02-05 2003-08-15 Canon Inc Image processing apparatus, printing apparatus, and image processing method
JP2004046709A (en) * 2002-07-15 2004-02-12 Seiko Epson Corp High quality print control system and high quality print control program

Also Published As

Publication number Publication date
JP2010120193A (en) 2010-06-03

Similar Documents

Publication Publication Date Title
JP4343968B2 (en) Image forming apparatus and method
US9519443B2 (en) Print data flattening processing of spot color components with any hidden spot color portion removed
US20090185214A1 (en) Systems and Methods for Print Resource Management
JP2017105175A (en) Direct character recognition from page description language document
JP2010182300A (en) System and method for memory management in print device
TW200849967A (en) Image rendering method
JP5190332B2 (en) Image forming apparatus
JP2012240344A (en) Print data processing apparatus, print data processing method and program
US7995233B2 (en) Printing control method capable of reducing printing memory requirement
CN102096565B (en) Method and device for checking page dot matrix
US20090185210A1 (en) Method of forming characters for microprint and image forming apparatus using the same
JP5598120B2 (en) Image processing device
JP2014120886A (en) Image processor, program and image forming apparatus
JP5607296B2 (en) Method for performing trapping, computer-readable medium and apparatus
CN104516579B (en) Information processing unit and information processing method
US20150043832A1 (en) Information processing apparatus, information processing method, and computer readable medium
JP4109785B2 (en) Image processing apparatus and method, and computer-readable memory
EP2284689B1 (en) PDL data processing device
CN104933021B (en) Verification passes version method and apparatus before print
JP2003283855A (en) Image processing apparatus, program, and recording medium
JP7105500B2 (en) Computer-implemented Automatic Acquisition Method for Element Nouns in Chinese Patent Documents for Patent Documents Without Intercharacter Spaces
JP2015219919A (en) Method and apparatus for reducing print resource data volume
US20250301093A1 (en) Information processing system, non-transitory computer readable medium storing information processing program, and information processing method
JP2001216110A (en) Cache control method, print control apparatus and character processing apparatus and method using the same
JP4788584B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110623

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130128

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

Free format text: PAYMENT UNTIL: 20160201

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5190332

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees