JP3799011B2 - How to generate print data for all pages - Google Patents

How to generate print data for all pages Download PDF

Info

Publication number
JP3799011B2
JP3799011B2 JP2002373713A JP2002373713A JP3799011B2 JP 3799011 B2 JP3799011 B2 JP 3799011B2 JP 2002373713 A JP2002373713 A JP 2002373713A JP 2002373713 A JP2002373713 A JP 2002373713A JP 3799011 B2 JP3799011 B2 JP 3799011B2
Authority
JP
Japan
Prior art keywords
document
block
image
gdi
address unit
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
JP2002373713A
Other languages
Japanese (ja)
Other versions
JP2004206343A (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 JP2002373713A priority Critical patent/JP3799011B2/en
Publication of JP2004206343A publication Critical patent/JP2004206343A/en
Application granted granted Critical
Publication of JP3799011B2 publication Critical patent/JP3799011B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、全ページの印刷データを生成する方法に関し、特に、レーザプリンタに対して全ページの印刷データを生成する方法に関する。
【0002】
【従来の技術】
レーサプリンタ技術が改良されるにつれ、プリンタはより高解像度のページを創り出している。そして、印刷するプリンタに画像を伝送するために必要なラスターデータ量もまた増加し、プリンタのパーフォーマンスに悪影響を与えている。画像がプリンタに伝送される前に、拡大又は縮小されてディザーをかけられるときに、300DPIの装置のためには、横8インチ、縦10インチサイズのラスター画像は0.9メガバイトのデータ容量を必要とする。また、600DPIの装置のためには3.9メガバイトのデータ容量が、そして、1200DPIの装置のためには14.4メガバイトのデータ容量が、必要である。
【0003】
レーザプリンタに対して印刷データを生成するための従来技術による方法は非効率である。例えば、印刷データの生成手順の間に、文書の全対象は、ラスター操作を実行することにより、相互に比較されるために、文書の量が多い場合には、それら対象を結合するために時間を要する。
【0004】
更に、レーザプリンタの性質により、全ページ画像を生成する間に処理データを一時的に保存するために、大きな記憶容量を必要とするために、何れかのページが印刷される前に、対応する全ページ画像を調整しなければならない。
【0005】
それ故に、本発明の主目的は、処理データを一時的に保存するメモリの容量をより少なくするための、並びに、全対象の位置を特定することによりプリンタに対して全ページの印刷データを効率的に生成するための、方法を提供することである。
【0006】
【課題を解決するための手段】
請求の範囲に記載されている本発明の内容によれば、文書を全ページ画像に変換するために、オペレーティングシステムのグラフィック装置インタフェース(GDI)とプリンタドライバを利用する。GDIは、文書の対象と文書内の対象の座標とを提供する。文書は複数のブロックに分割される。対象の座標を記録するために、複数のアドレス単位を有するアドレスアレイを確立する。各々のアドレス単位は、ブロックの内の一つに対応し、ブロック内の対象の位置を記録するために利用される。GDIによって提供された対象の座標に従って、アドレス単位内に記録された位置を更新する。対応するアドレス単位内に記録された更新済みの位置に従って、各々のブロックに対して対応する画像要素を生成する。最終的に、全画像要素を統合し、全ページ画像を得る。
【0007】
本発明は、文書の他のブロック内に位置する他の対象を参照することなく、各々の画像要素を生成することにより、対象の結合を効率的に行うことができる効果を奏する。
【0008】
以下、種々の図面が添付され、本発明の好適な実施例についてなされる詳述が読まれれば、当技術分野の技術的に熟達した者には、本発明による上述の目的及びその他の目的が疑う余地のないことが明らかになるであろう。
【0009】
【発明の実施の形態】
図1を参照するに、本発明の一実施形態に従った、プリンタ30に接続されたコンピュータシステム10の機能ブロック図である。コンピュータシステム10は、マイクロソフト社から発売されているWindows(登録商標)95オペレーティングシステム等のオペレーティングシステム(OS)12、及び、データを保存するためのメモリ26により構成されている。本発明の方法に従って、OS12は、コンピュータシステム10のオペレーションを制御するために用いられ、コンピュータシステム10のグラフィックプロセスを管理するためのグラフィック装置インタフェース(GDI)14、及び、プリンタ30のオペレーションを制御するためのプリンタドライバ16を備えている。GDI14は、マイクロソフトウィンドウズ(登録商標)のオペレーティングシステムのための標準的なグラフィックインタフェースである。そして、コンピュータシステム10に保存された文書18等の文書を印刷するために、コンピュータシステム10がプリンタ30を制御する度に、印刷するプリンタのために文書18を全ページ画像に変換するために、GDI14とプリンタドライバ16を用いなければならない。文書18に対応するページを印刷する前に、全ページ画像の印刷データを準備しなければならないため、プリンタ30にはレーザプリンタを用いる。換言すれば、変換された全ページ画像の全印刷データを、プリンタ30が文書18から受け取るまでは、プリンタ30は文書18を印刷しない。
【0010】
図1及び図2を参照する。図2は、文書18の説明図である。一般に、印刷するためにプリンタ30に送られるコンピュータシステム10の各々の文書は、少なくとも一つの対象を有している。本発明の第1実施形態において、文書18は3つの対象20a、20b及び20cを有する。各対象20a〜20cは複数の画素22及び関連付けられる座標24を有する。コンピュータシステム10がプリンタ30に対して文書18の印刷データを生成するとき、GDI14は、画素22及び座標24等の文書18の対応する情報を、コンピュータシステム10に提供する。これにより、コンピュータシステム10は文書18を全ページ画像に変換し、続いて、プリンタ30に対して対応する印刷データを生成する。
【0011】
文書18は、(0,0)から(800,800)までの印刷範囲を有している。しかし、文書18の三つの対象20a〜20cは、(100,60)から(700,540)の範囲内のみに位置し、(0,0)−(800,60)、(0,60)−(100,540)、(700,60)−(800,540)及び(0,540)−(800,600)で表される四つの範囲内には対象が存在しない。従って、この四つの範囲に対応する印刷データの生成は、単純化されるべきである。第1の実施形態において、GDI14は、文書18における対象20a〜20cの座標を提供する。これにより、GDI14により提供された対象20a〜20cの座標24に従って、プリンタドライバ16は(100,60)−(700,540)の範囲を主要処理範囲として、及び、対象を含まない他の四つの範囲を非対象範囲として規定することができる。GDI14及びプリンタドライバ16が範囲(100,60)−(700,540)を主要処理範囲として規定するとき、主要処理範囲を規定するように、文書18内の対象20a〜20cの座標24を書き込むために、メモリ26を用いる。例えば、GDI14が対象20aの座標24を与え、続いて、対象20b及び20cの座標24をそれぞれ与えるとき、メモリ26は範囲(100,60)−(200,120)を主要処理範囲として書き込むことができ、メモリ26に書き込まれた主要処理範囲は、後に、(100,60)−(600,450)及び(100,60)−(700,540)の順に変更される。
【0012】
図3を参照するに、他の文書50の説明図である。文書50は、テキストのみの対象、即ち、“Text”と示される対象より成る。従って、文書50は主要処理範囲56及び非対象範囲52、54、58並びに60に分離される。更に、主要処理範囲56は対象範囲62及び空範囲64に分離される。対象範囲62は文書50のテキスト対象を表示する範囲であり、空範囲64は対象範囲62を除く主要処理範囲56のすべての部分である。文書50の印刷データを生成するとき、印刷データを保存するために利用されるメモリ内にヌル値を埋め込むことにより、四つの非対象範囲52、54、58及び60に対応する印刷データを生成する。メモリ内をヌル値で埋め込み、続いて、GDI14によって与えられる空範囲64のヌル値と対象範囲62の画素とに従って、主要処理範囲56の印刷データを計算することにより、主要処理範囲56に対応する印刷データを生成する。ヌル値で埋め込むことと主要処理範囲56の印刷データを独立して処理することにより、印刷データの生成速度を速くすることができる。
【0013】
図4及び図5を参照する。図4は、本発明の第2の実施形態に従った、メモリ26の記録表を示す。図5は、メモリ26にマッピングされた文書70の複数のブロック72を示す、関係説明図である。第2の実施形態において、文書70は又、幾つかの対象74から構成され、横8.5インチ、縦11インチのサイズを有する。文書70の解像度は600DPIである。メモリ26は、アドレスアレイを確立するために利用され、複数のアドレス単位28を有している。文書70は複数のブロック72に分割される。ブロック72はサイズが等しく、各々のブロックは文書70に関して10本の走査線を含んでいる。しかし、本発明は、この構成に限定されるものではない。各々のアドレス単位28は、ブロック72の一つに対応し、ブロック72内の対象74の位置を記録するために用いられる。例えば、第1のアドレス単位REC#0は、文書70における第1の10本の走査線、即ち走査線0〜9内の対象74の位置を記録する。そして、第2のアドレス単位REC#1は、文書70における次の10本の走査線、即ち走査線10〜19内の対象74の位置を記録する。コンピュータシステム10がプリンタ30に対して文書70の印刷データを生成するとき、GDI14は、文書70の対象74と、文書70内の対象74の座標を、プリンタドライバ16に提供する。次いで、GDI14により提供された対象74の座標に従って、アドレス単位28内に記録された位置が更新される。何れかのアドレス単位28に記録された位置が更新されるとき、アドレス単位28の対応するブロック72が文書70における何れの対象74も含まない場合は、所定のフラグ(即ち、“空ブロック”フラグ)がそのアドレス単位に書き込まれる。しかし、ブロック72が文書70における何れかの対象74を含む場合は、ブロック72に関して変換プロセスを実行することにより、画像要素82が生成される。例えば、最初の三つのブロックA−Cは何れの対象74も含まない。これにより、三つのアドレス単位REC#0−REC#2は同様のフラグ、即ち、ヌル値を記録し、所定のコード(例えば、“空コード”)内を埋め込むことにより、三つの対応する画像要素#A−#Cを生成する。一方、ブロックNは幾つかの対象74を含んでいる。これにより、対応するアドレス単位REC#NはブロックNの左上座標及び右下座標を文書70に記録し、GDI14により提供されるブロックN内の対象74の画素に従って、ブロックNに関して変換プロセスを実行することにより、画像要素#Nが生成される。ブロックNの変換プロセスが実行されるとき、プリンタ30が白黒の印刷モードである場合、ブロックN内の対象74はグレーレベルの画像データに変換される。次いで、そのグレーレベルの画像データは画像要素#Nに変換される。しかし、ブロックNの変換プロセスを実行するとき、プリンタ30がカラーモードである場合、ブロックN内の対象はシアン−マゼンタ−イエロー−ブラック(CMYK)画像データに変換される。続いて、CMYK画像データは画像要素#Nに変換される。従って、プリンタ30は白黒文書又はカラー文書のどちらかを印刷することができる。
【0014】
アドレス単位74に記録された座標に従って、GDI14及びプリンタドライバ16は全ページ画像を生成することとなる。ここで、図6を参照するに、文書70及び全ページ画像80の説明図である。全ページ画像80は複数の画像要素82を有し、各々の画像要素82は文書70のブロック72の内の一つに対応している。文書70の印刷データを生成するとき、対応するアドレス単位28に記録された更新済みの位置に従って、GDI14及びプリンタドライバ16は各々のブロック72のために対応する画像要素82を生成する。例えば、アドレス単位REC#0に記録された更新済みの位置に従って、画像要素#Aを生成する。GDI14及びプリンタドライバ16は、一度に一つしか画像要素82を生成しない。それ故、データ、即ち画素及び印刷データを一時的に保存するためのメモリ26の容量を減らすことができる。例えば、文書70がM個のブロックに分割されれば、一時的にデータを保存するためのメモリ26の容量を、全ページ画像80のデータ量の約1/Mに減らすことができる。第2実施形態においては、全ページ画像80は、文書70の印刷データであり、印刷のためにプリンタ30に伝送される。全ページ画像80の画像要素82すべてを生成した後、画像要素82を全ページ画像80に統合する。次いで、全ページ画像80をプリンタ30に伝送する。プリンタ30が全ページ画像80を受け取り、プリンタ30は全ページ画像80を自動的に印刷する。
【0015】
図7を参照するに、本発明の第3の実施形態に従って、図1におけるメモリ26に対してマッピングされた、図5における文書70を示す関係説明図である。第3の実施形態と第2の実施形態の主な違いは、第3の実施形態においては、文書70における各々の10本の走査線は更に5つのブロック92に分割され、アドレス単位29の数がアドレス単位28の数の5倍になっていることである。第2の実施形態に類似して、GDI14及びプリンタドライバ16は一度に一つのみの対応する画像要素を生成し、続いて、画像要素すべてを全ページ画像80に統合する。
【0016】
従来技術とは対照的に、本発明は、複数の画像要素を統合することによって全ページ画像を生成する方法であって、文書の他のブロック内に位置する他の対象を参照することなく、各々の画像要素を生成する、ところの方法を開示している。従って、本発明に従った印刷データの生成はより効率的である。更に、一時的にデータを保存するためのメモリの容量を減らすことができるように、所定の時点に、画像要素の内の一つのみが生成される。
【0017】
当技術分野において熟達した者であれば、本発明の教示内容を維持したまま、装置の種々の変形及び変更を成し得ることが容易に認識されるであろう。従って、上記の開示内容は、請求項に記載された事項だけによって限定されるものとして解釈されるべきである。
【図面の簡単な説明】
【図1】本発明の一実施形態に従った、プリンタに接続されたコンピュータシステムの機能ブロック図である。
【図2】図1の文書の説明図である。
【図3】他の文書の説明図である。
【図4】本発明の第2の実施形態に従った、図1のメモリの記録表の説明図である。
【図5】図1に示されたメモリにマッピングされた文書の複数のブロックを示す、関係説明図である。
【図6】図5に示された文書及び全ページ画像の説明図である。
【図7】本発明の第3の実施形態に従った、図1のメモリにマッピングされた図5の文書を示す、関係説明図である。
【符号の説明】
10 コンピュータシステム
12 オペレーティングシステム(OS)
14 グラフィック装置インタフェース(GDI)
16 プリンタドライバ
18 文書
20a,20b,20c 対象
22 画素
24 座標
26 メモリ
28,29 アドレス単位
30 プリンタ
50 文書
52,54,58,60 非対象範囲
56 主要処理範囲
62 対象範囲
64 空範囲
70 文書
72 ブロック
74 対象
80 全ページ画像
82 画像要素
92 ブロック
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for generating print data for all pages, and more particularly to a method for generating print data for all pages for a laser printer.
[0002]
[Prior art]
As racer printer technology is improved, printers are creating higher resolution pages. The amount of raster data required to transmit an image to a printer for printing also increases, which adversely affects printer performance. For 300 DPI devices, an 8 inch wide and 10 inch wide raster image has a data capacity of 0.9 megabytes when it is dithered before being transmitted to the printer. I need. Also, a data capacity of 3.9 megabytes is required for a 600 DPI device, and a data capacity of 14.4 megabytes is required for a 1200 DPI device.
[0003]
Prior art methods for generating print data for laser printers are inefficient. For example, during the print data generation procedure, all objects in the document are compared to each other by performing a raster operation, so if the amount of documents is large, it takes time to combine them. Cost.
[0004]
Furthermore, due to the nature of the laser printer, it requires a large storage capacity to temporarily store the processing data during the generation of all page images, so that any page is printed before it is printed. All page images must be adjusted.
[0005]
Therefore, the main object of the present invention is to reduce the amount of memory for temporarily storing processing data, and to efficiently print the print data of all pages to the printer by specifying the position of all objects. It is to provide a method for generating automatically.
[0006]
[Means for Solving the Problems]
In accordance with the claimed subject matter, an operating system's graphics device interface (GDI) and printer driver are utilized to convert a document to a full page image. GDI provides the object of the document and the coordinates of the object within the document. The document is divided into a plurality of blocks. In order to record the coordinates of the object, an address array having a plurality of address units is established. Each address unit corresponds to one of the blocks and is used to record the position of interest within the block. Update the position recorded in the address unit according to the coordinates of the object provided by the GDI. A corresponding image element is generated for each block according to the updated position recorded in the corresponding address unit. Finally, all image elements are integrated to obtain a full page image.
[0007]
The present invention produces an effect of efficiently combining objects by generating each image element without referring to other objects located in other blocks of the document.
[0008]
The foregoing and other objects of the present invention will become apparent to those skilled in the art from the following detailed description when read in conjunction with the various drawings and in the preferred embodiment of the invention. It will become clear that there is no doubt.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 1, a functional block diagram of a computer system 10 connected to a printer 30 in accordance with one embodiment of the present invention. The computer system 10 includes an operating system (OS) 12 such as a Windows (registered trademark) 95 operating system sold by Microsoft Corporation, and a memory 26 for storing data. In accordance with the method of the present invention, the OS 12 is used to control the operation of the computer system 10 and controls the operation of the graphics device interface (GDI) 14 for managing the graphics process of the computer system 10 and the printer 30. A printer driver 16 is provided. GDI 14 is a standard graphic interface for Microsoft Windows operating systems. Each time the computer system 10 controls the printer 30 to print a document such as the document 18 stored in the computer system 10, the document 18 is converted to a full page image for the printer to print. The GDI 14 and printer driver 16 must be used. A laser printer is used as the printer 30 because print data for all page images must be prepared before printing a page corresponding to the document 18. In other words, the printer 30 does not print the document 18 until the printer 30 receives all the print data of all the converted page images from the document 18.
[0010]
Please refer to FIG. 1 and FIG. FIG. 2 is an explanatory diagram of the document 18. In general, each document in computer system 10 that is sent to printer 30 for printing has at least one target. In the first embodiment of the present invention, the document 18 has three objects 20a, 20b and 20c. Each object 20a-20c has a plurality of pixels 22 and associated coordinates 24. When the computer system 10 generates print data for the document 18 to the printer 30, the GDI 14 provides the computer system 10 with corresponding information of the document 18, such as pixels 22 and coordinates 24. As a result, the computer system 10 converts the document 18 into an all-page image, and subsequently generates corresponding print data for the printer 30.
[0011]
The document 18 has a print range from (0, 0) to (800, 800). However, the three objects 20a to 20c of the document 18 are located only within the range of (100, 60) to (700, 540), and (0, 0)-(800, 60), (0, 60)- There is no target in the four ranges represented by (100, 540), (700, 60)-(800, 540) and (0, 540)-(800, 600). Therefore, the generation of print data corresponding to these four ranges should be simplified. In the first embodiment, the GDI 14 provides the coordinates of the objects 20a-20c in the document 18. Thus, according to the coordinates 24 of the targets 20a to 20c provided by the GDI 14, the printer driver 16 sets the range of (100, 60)-(700, 540) as the main processing range and the other four that do not include the target. A range can be defined as a non-target range. When the GDI 14 and the printer driver 16 define the range (100, 60)-(700, 540) as the main processing range, the coordinates 24 of the objects 20a to 20c in the document 18 are written so as to define the main processing range. In addition, the memory 26 is used. For example, when the GDI 14 provides the coordinates 24 of the object 20a and subsequently the coordinates 24 of the objects 20b and 20c, respectively, the memory 26 may write the range (100, 60)-(200, 120) as the main processing range. The main processing range written in the memory 26 is later changed in the order of (100, 60)-(600, 450) and (100, 60)-(700, 540).
[0012]
Referring to FIG. 3, it is an explanatory diagram of another document 50. Document 50 consists of a text-only object, i.e., an object labeled "Text". Accordingly, the document 50 is separated into a main processing range 56 and non-target ranges 52, 54, 58 and 60. Further, the main processing range 56 is separated into a target range 62 and an empty range 64. The target range 62 is a range for displaying the text target of the document 50, and the empty range 64 is all parts of the main processing range 56 except the target range 62. When generating print data of the document 50, print data corresponding to the four non-target ranges 52, 54, 58 and 60 is generated by embedding a null value in a memory used for storing the print data. . Corresponding to the main processing range 56 by embedding a null value in the memory and then calculating the print data of the main processing range 56 according to the null value of the empty range 64 and the pixels of the target range 62 given by the GDI 14. Generate print data. By embedding with a null value and processing the print data in the main processing range 56 independently, the print data generation speed can be increased.
[0013]
Please refer to FIG. 4 and FIG. FIG. 4 shows a record table of the memory 26 according to the second embodiment of the present invention. FIG. 5 is an explanatory diagram showing a plurality of blocks 72 of the document 70 mapped in the memory 26. In the second embodiment, the document 70 is also composed of several objects 74 and has a size of 8.5 inches wide and 11 inches long. The resolution of the document 70 is 600 DPI. The memory 26 is used to establish an address array and has a plurality of address units 28. The document 70 is divided into a plurality of blocks 72. Blocks 72 are equal in size, and each block contains 10 scan lines for document 70. However, the present invention is not limited to this configuration. Each address unit 28 corresponds to one of the blocks 72 and is used to record the position of the object 74 within the block 72. For example, the first address unit REC # 0 records the position of the object 74 in the first ten scanning lines in the document 70, that is, the scanning lines 0-9. The second address unit REC # 1 records the position of the object 74 in the next ten scanning lines in the document 70, that is, the scanning lines 10 to 19. When the computer system 10 generates print data of the document 70 for the printer 30, the GDI 14 provides the printer driver 16 with the object 74 of the document 70 and the coordinates of the object 74 in the document 70. The position recorded in the address unit 28 is then updated according to the coordinates of the object 74 provided by the GDI 14. When a position recorded in any address unit 28 is updated, if the corresponding block 72 in the address unit 28 does not include any target 74 in the document 70, a predetermined flag (ie, an “empty block” flag) ) Is written in the address unit. However, if block 72 includes any object 74 in document 70, image element 82 is generated by performing a conversion process on block 72. For example, the first three blocks A-C do not include any object 74. Thus, the three address units REC # 0 to REC # 2 record the same flag, that is, a null value, and embed a predetermined code (for example, “empty code”), thereby embedding three corresponding image elements. # A- # C is generated. On the other hand, the block N includes several objects 74. Thereby, the corresponding address unit REC # N records the upper left and lower right coordinates of the block N in the document 70, and performs the conversion process for the block N according to the pixels of the object 74 in the block N provided by the GDI 14. As a result, an image element #N is generated. When the block N conversion process is performed, if the printer 30 is in black and white printing mode, the object 74 in block N is converted to gray level image data. Next, the gray level image data is converted into image element #N. However, when executing the conversion process of block N, if the printer 30 is in color mode, the object in block N is converted to cyan-magenta-yellow-black (CMYK) image data. Subsequently, the CMYK image data is converted into an image element #N. Accordingly, the printer 30 can print either a monochrome document or a color document.
[0014]
According to the coordinates recorded in the address unit 74, the GDI 14 and the printer driver 16 generate all page images. Here, referring to FIG. 6, there are explanatory views of the document 70 and the all-page image 80. The full page image 80 has a plurality of image elements 82, each image element 82 corresponding to one of the blocks 72 of the document 70. When generating print data for document 70, GDI 14 and printer driver 16 generate a corresponding image element 82 for each block 72 according to the updated location recorded in the corresponding address unit 28. For example, the image element #A is generated according to the updated position recorded in the address unit REC # 0. GDI 14 and printer driver 16 generate only one image element 82 at a time. Therefore, the capacity of the memory 26 for temporarily storing data, that is, pixel and print data can be reduced. For example, if the document 70 is divided into M blocks, the capacity of the memory 26 for temporarily storing data can be reduced to about 1 / M of the data amount of all page images 80. In the second embodiment, the all page image 80 is print data of the document 70 and is transmitted to the printer 30 for printing. After all image elements 82 of all page images 80 are generated, the image elements 82 are integrated into all page images 80. Next, the entire page image 80 is transmitted to the printer 30. The printer 30 receives the all page image 80, and the printer 30 automatically prints the all page image 80.
[0015]
Referring to FIG. 7, there is a relationship explanatory diagram showing the document 70 in FIG. 5 mapped to the memory 26 in FIG. 1 according to the third embodiment of the present invention. The main difference between the third embodiment and the second embodiment is that, in the third embodiment, each of the ten scan lines in the document 70 is further divided into five blocks 92, and the number of address units 29 is increased. Is five times the number of address units 28. Similar to the second embodiment, the GDI 14 and printer driver 16 generate only one corresponding image element at a time, and then integrate all the image elements into the full page image 80.
[0016]
In contrast to the prior art, the present invention is a method for generating a full-page image by integrating multiple image elements, without reference to other objects located in other blocks of the document, A method of generating each image element is disclosed. Therefore, the generation of print data according to the present invention is more efficient. In addition, only one of the image elements is generated at a given time so that the memory capacity for temporarily storing data can be reduced.
[0017]
Those skilled in the art will readily recognize that various modifications and changes of the apparatus may be made while maintaining the teachings of the present invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the claims.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of a computer system connected to a printer according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram of the document shown in FIG.
FIG. 3 is an explanatory diagram of another document.
FIG. 4 is an explanatory diagram of a recording table in the memory of FIG. 1 according to the second embodiment of the present invention.
FIG. 5 is a relationship explanatory diagram showing a plurality of blocks of a document mapped in the memory shown in FIG. 1;
6 is an explanatory diagram of the document and all page images shown in FIG. 5. FIG.
7 is a relationship explanatory diagram showing the document of FIG. 5 mapped to the memory of FIG. 1 according to a third embodiment of the present invention.
[Explanation of symbols]
10 Computer system 12 Operating system (OS)
14 Graphic Device Interface (GDI)
16 Printer driver 18 Document 20a, 20b, 20c Target 22 Pixel 24 Coordinate 26 Memory 28, 29 Address unit 30 Printer 50 Document 52, 54, 58, 60 Non-target range 56 Main processing range 62 Target range 64 Empty range 70 Document 72 Block 74 Target 80 All page image 82 Image element 92 Block

Claims (8)

オペレーティングシステムのグラフィック装置インタフェース(GDI)を利用して、文書を全ページ画像に変換する方法であり、
前記オペレーティングシステムはコンピュータシステムのオペレーションを制御するためにコンピュータシステムにインストールされ、
前記GDIは前記コンピュータシステムのグラフィックプロセスを管理することが可能である、ところの方法であって:
前記GDIを用いて、文書の対象と文書内の対象の座標とを提供する段階;
前記文書を複数のブロックに分割する段階;
複数のアドレス単位を有するアドレスアレイを確立する段階であり、各前記アドレス単位が前記ブロックにおける対象の位置を記録するように前記ブロックの1つに対応する、ところの段階;
前記GDIによって提供される対象の座標に従って、アドレス単位内に記録される位置を更新する段階;
対応するアドレス単位に記録された更新済みの位置に従って、各ブロックのために対応する画像要素を生成する段階;並びに
前記画像要素を全ページ画像に統合する段階;
から構成される方法。
A method of converting a document into a full page image using a graphics device interface (GDI) of an operating system,
The operating system is installed in the computer system to control the operation of the computer system;
The GDI is a method that is capable of managing the graphics process of the computer system, where:
Providing the object of the document and the coordinates of the object in the document using the GDI;
Dividing the document into a plurality of blocks;
Establishing an address array having a plurality of address units, each address unit corresponding to one of the blocks so as to record a position of interest in the block;
Updating the position recorded in the address unit according to the coordinates of the object provided by the GDI;
Generating a corresponding image element for each block according to the updated position recorded in the corresponding address unit; and integrating said image element into a full page image;
A method consisting of:
前記アドレス単位の何れかに記録された位置を更新する際に、アドレス単位の対応するブロックが文書の対象の何れかの部分を含む場合は、ブロックにおける対象の一部に関する左上座標と右下座標をアドレス単位に書き込む、請求項1に記載の方法。When updating the position recorded in any of the address units, if the corresponding block in the address unit includes any part of the object of the document, the upper left coordinates and the lower right coordinates of the part of the object in the block The method of claim 1, wherein: is written in address units. 何れかのアドレス単位内に記録された位置を更新する際に、前記アドレス単位の対応するブロックが文書の対象の何れの部分も含まない場合は、所定のフラグをアドレス単位に書き込む、請求項1に記載の方法。2. When updating a position recorded in any address unit, if a corresponding block of the address unit does not include any part of a target of a document, a predetermined flag is written in the address unit. The method described in 1. 前記ブロックの何れかの画像要素を生成する際に、前記ブロックが文書の対象の何れかの部分を含む場合は、ブロックに関して変換プロセルを実行することにより、前記画像要素を生成する、請求項1に記載の方法。2. When generating any image element of the block, if the block includes any part of the object of the document, the image element is generated by performing a conversion process on the block. The method described in 1. 前記変換プロセスを実行する際に、前記ブロック内の対象をグレーレベルの画像データに変換し、前記グレーレベルの画像データを前記画像要素に変換する、請求項4に記載の方法。5. The method of claim 4, wherein in performing the conversion process, objects in the block are converted to gray level image data and the gray level image data is converted to the image elements. 前記変換プロセスを実行する際に、前記ブロック内の対象をシアン−マゼンタ−イエロー−ブラック(CMYK)画像データに変換し、前記CMYK画像データを前記画像要素に変換する、請求項4に記載の方法。5. The method of claim 4, wherein in performing the conversion process, objects in the block are converted to cyan-magenta-yellow-black (CMYK) image data, and the CMYK image data is converted to the image elements. . 前記ブロックの何れかの画像要素を生成する際に、前記ブロックが文書の対象の何れの部分も含まない場合は、所定のコードを有する複数の画素を前記画像要素に統合する、請求項1に記載の方法。2. When generating any image element of the block, if the block does not include any portion of the object of the document, a plurality of pixels having a predetermined code are integrated into the image element. The method described. 前記ブロックは等しいサイズを有する、請求項1に記載の方法。The method of claim 1, wherein the blocks have equal sizes.
JP2002373713A 2002-12-25 2002-12-25 How to generate print data for all pages Expired - Fee Related JP3799011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002373713A JP3799011B2 (en) 2002-12-25 2002-12-25 How to generate print data for all pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002373713A JP3799011B2 (en) 2002-12-25 2002-12-25 How to generate print data for all pages

Publications (2)

Publication Number Publication Date
JP2004206343A JP2004206343A (en) 2004-07-22
JP3799011B2 true JP3799011B2 (en) 2006-07-19

Family

ID=32811921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002373713A Expired - Fee Related JP3799011B2 (en) 2002-12-25 2002-12-25 How to generate print data for all pages

Country Status (1)

Country Link
JP (1) JP3799011B2 (en)

Also Published As

Publication number Publication date
JP2004206343A (en) 2004-07-22

Similar Documents

Publication Publication Date Title
EP0703524B1 (en) Variable data fields in a page description language
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
US5598181A (en) Method and apparatus for rotating a digital image ninety degrees using a small auxiliary buffer
US6624909B1 (en) Image file format for storing graphical matter and related information
US20020122198A1 (en) Method and apparatus for image processing, and storage medium
US20060012820A1 (en) Image processing to prevent forgery
JP5684466B2 (en) Method and computer readable medium for processing at least one pixel in a raster image buffer corresponding to objects of multiple object types
US20140168667A1 (en) Image forming apparatus and image forming method thereof
US6738153B1 (en) Method, system, and program for error checking raster objects
US5937147A (en) Printing of enhanced images
JPH04252562A (en) Picture processing unit
JP3799011B2 (en) How to generate print data for all pages
GB2262177A (en) An image buffer
US6903842B2 (en) Method for generating full-page print data
US7091985B1 (en) System and method for compressing color data using expandable color palette
JP2001053954A (en) Device and method for embedding information and reading information, digital watermark system and recording medium
US5729634A (en) Document processing system for enhancing halftone images including multiple centered dots
JP3997808B2 (en) Drawing processing apparatus and drawing processing method
JP4058157B2 (en) Image processing method, image forming apparatus, and recording medium
JP2752821B2 (en) Image recording device
US6804411B1 (en) Method, system, and program for decompressing and aligning line work data from multiple objects
US6721070B1 (en) Apparatus and method for counting pixels in print data
US7394568B1 (en) Method, system, and logic for selecting pixel data from multiple objects
US6894796B1 (en) Method, system, and logic for selecting line work and control data for a pixel from multiple objects of line work data provided for the pixel
JP3029025B2 (en) Electrophotographic printer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050607

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: 20060404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060421

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350