JP3799011B2 - How to generate print data for all pages - Google Patents
How to generate print data for all pages Download PDFInfo
- 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
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
[0010]
Please refer to FIG. 1 and FIG. FIG. 2 is an explanatory diagram of the
[0011]
The
[0012]
Referring to FIG. 3, it is an explanatory diagram of another
[0013]
Please refer to FIG. 4 and FIG. FIG. 4 shows a record table of the
[0014]
According to the coordinates recorded in the
[0015]
Referring to FIG. 7, there is a relationship explanatory diagram showing the
[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
14 Graphic Device Interface (GDI)
16
Claims (8)
前記オペレーティングシステムはコンピュータシステムのオペレーションを制御するためにコンピュータシステムにインストールされ、
前記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:
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) |
-
2002
- 2002-12-25 JP JP2002373713A patent/JP3799011B2/en not_active Expired - Fee Related
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 |