JP2009009306A - Printing system - Google Patents
Printing system Download PDFInfo
- Publication number
- JP2009009306A JP2009009306A JP2007169302A JP2007169302A JP2009009306A JP 2009009306 A JP2009009306 A JP 2009009306A JP 2007169302 A JP2007169302 A JP 2007169302A JP 2007169302 A JP2007169302 A JP 2007169302A JP 2009009306 A JP2009009306 A JP 2009009306A
- Authority
- JP
- Japan
- Prior art keywords
- bitmap
- data
- cmyk
- color
- cmyk bitmap
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000000605 extraction Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 abstract description 14
- 238000004042 decolorization Methods 0.000 abstract description 14
- 238000009877 rendering Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は印刷システムに関し、印刷装置にて出力すべき色処理モードを自動判別する制御方法および装置に関するものである。 The present invention relates to a printing system, and more particularly to a control method and apparatus for automatically determining a color processing mode to be output by a printing apparatus.
従来より、ユーザが印刷装置にて印刷する際に、プリンタドライバの設定や印刷物がカラーなのかモノクロなのかを意識する必要がない、カラー印刷/モノクロ印刷の自動切換え機能が実現されている。 Conventionally, when a user prints with a printing apparatus, an automatic switching function between color printing and monochrome printing has been realized, which eliminates the need to be aware of printer driver settings and whether the printed matter is color or monochrome.
この機能は、印刷データに対して最適なランニングコストや印字スピードを実現するためのもので、大きく分けて2種類の方法がある。 This function is used to achieve the optimal running cost and print speed for print data. There are two main methods.
一つは、入力される描画オブジェクト毎にカラーデータ(有彩色)、モノクロデータ(無彩色)のいずれであるかを判断し、ページ内にモノクロ描画データしか存在しない場合はモノクロ印刷を行ない、1つでもカラー描画データが存在するとカラー印刷を行うというものである。(例えば特許文献1)
もう一つは、入力される描画データをレンダリングしてビットマップを作成し、1ページ分のビットマップ中にカラーの情報(有彩色)があるか、無いかをサーチし、カラー情報が存在するとカラー印刷を行うというものである。この手法は複写機がスキャンしたビットマップデータに対するカラー・モノクロ自動判別(ACS: オートカラーセレクション)に代表されるが、印刷装置におけるレンダリング後のビットマップに対しても使用される。
The other is to create a bitmap by rendering the input drawing data, search for the presence or absence of color information (chromatic color) in the bitmap for one page, and if there is color information Color printing is performed. This method is represented by color / monochrome automatic discrimination (ACS: auto color selection) for bitmap data scanned by a copying machine, but is also used for a bitmap after rendering in a printing apparatus.
印刷装置は一般的に、CMYK(シアン、マゼンダ、イエロー、ブラック)のインクあるいはトナーにより印刷物を生成している。ここで、モノクロ印刷とは、K(ブラック)の色のみにより表現される出力を意味するが、前記2つの方法にはどちらも精度に問題があった。そして、カラー印刷とモノクロ印刷で課金額が異なる場合では、特にその精度が重要である。 In general, a printing apparatus generates printed matter using CMYK (cyan, magenta, yellow, black) ink or toner. Here, monochrome printing means output expressed only by K (black) color, but both of the two methods have problems in accuracy. The accuracy is particularly important when the charge amount differs between color printing and monochrome printing.
前者入力される描画オブジェクト毎にカラーかモノクロかを判断し、ページ内に1つでもカラーデータが存在するかによってカラー印刷かモノクロ印刷かを指定する方式の場合、唯一のカラー描画データの上にモノクロ描画データが覆い隠した場合は、Kの色のみで出力されるに関わらずカラー印刷とみなされてしまう。 In the case of the method of determining whether color printing or monochrome printing is performed for each drawing object input in the former, and specifying color printing or monochrome printing depending on whether at least one color data exists in the page, it is only on top of the color drawing data. If the monochrome drawing data is obscured, it is regarded as color printing regardless of whether it is output only in K color.
上記課題を解決するには、後者の手法であるレンダリング後のビットマップデータをスキャンして、カラー情報が存在するかどうかを判断することで対応できる。しかしながら、一般的に入力描画データはRGB(レッド、グリーン、ブルー)で表現され、モノクロ描画データはR=G=B の値をとる事で表されるが、印刷装置で印刷を行う際はCMYKに変換されCMYKのビットマップを生成する。さらには高品質なカラー印刷を行うにはモノクロ描画データであってもCMYK全てのデータを使用してビットマップが作成される。このようなビットマップに対してK(ブラック)しか使用されていないかをスキャンしても、CMYといったカラー情報を見つけ、カラー印刷を行ってしまう。つまりページ内に対して入力はモノクロ描画データしか存在しなくても、カラー印刷されてしまうケースが存在し、これがカラー・モノクロの判別精度を落とすことになる。 The above problem can be solved by scanning the rendered bitmap data, which is the latter technique, and determining whether color information exists. However, input drawing data is generally expressed in RGB (red, green, blue), and monochrome drawing data is expressed by taking the value of R = G = B. However, when printing with a printing device, CMYK Converted to a CMYK bitmap. Furthermore, for high-quality color printing, bitmap data is created using all CMYK data, even monochrome drawing data. Even if only K (black) is used for such a bitmap, color information such as CMY is found and color printing is performed. In other words, even if there is only monochrome drawing data for the page, there is a case where color printing is performed, which reduces the accuracy of color / monochrome discrimination.
本発明である印刷システムでは、印刷装置と、印刷データの生成および印刷装置への送信を行うホスト装置からなる印刷システムであって、前記ホスト装置はアプリケーションやOSから描画データを受け取り、ページ毎にモノクロビットマップを作成あるいはCMYKビットマップを作成し前記印刷装置へ送信を行うようなドライバ処理において、前記描画データを1ページ分中間スプールデータとして蓄えるスプール手段と、前記中間スプールデータからCMYKビットマップを作成する第一のCMYKビットマップ作成手段と、前記第一のCMYKビットマップ作成手段にて作成されたCMYKビットマップにCMYに要素が存在しないかスキャンする、カラーデータスキャン手段と、前記カラーデータスキャン手段にてCMY要素が存在しない場合は、K要素からモノクロビットマップを抽出するモノクロビットマップ抽出手段と、前記カラーデータスキャン手段にてCMY要素が存在する場合は、前記中間スプールデータからCMYKビットマップを作成する第二のCMYKビットマップ作成手段を有し、前記第一のCMYKビットマップ作成手段では完全な下色除去を行い、前記第二のCMYKビットマップ作成手段では、ユーザー設定に応じた色処理にてCMYKビットマップを作成することを特徴とする。 The printing system according to the present invention is a printing system including a printing device and a host device that generates print data and transmits the print data to the printing device. The host device receives drawing data from an application or an OS, and In a driver process that creates a monochrome bitmap or creates a CMYK bitmap and sends it to the printing device, spool means for storing the drawing data as intermediate spool data for one page, and a CMYK bitmap from the intermediate spool data A first CMYK bitmap creating means to create, a color data scanning means for scanning the CMYK bitmap created by the first CMYK bitmap creating means for an element in CMY, and the color data scanning If the CMY element does not exist, the monochrome bit from the K element A monochrome bitmap extraction means for extracting a map, and a CMYK bitmap creation means for creating a CMYK bitmap from the intermediate spool data when a CMY element is present in the color data scanning means; The first CMYK bitmap creation means performs complete undercolor removal, and the second CMYK bitmap creation means creates a CMYK bitmap by color processing according to user settings.
さらには、前記完全な下色除去とは、RGBの描画データが無彩色を示す時、CMY要素が発生しないCMYKビットマップであることを特徴とする。 Further, the complete undercolor removal is a CMYK bitmap in which no CMY element is generated when RGB drawing data shows an achromatic color.
本発明により、カラーモノクロ自動切換えの精度が高まり、また、カラーの印刷系に対するわずかな変更によってカラー・モノクロ自動切換えが実現出来るようになる。 According to the present invention, the accuracy of color / monochrome automatic switching can be improved, and color / monochrome automatic switching can be realized by slight changes to the color printing system.
(実施例1)
以下、添付図面に従って本発明に係わる実施例1を詳細に説明する。
Example 1
図1、図2は本発明である印刷システムが適用される情報処理システムの構成の一例を示すブロック図である。なお、特に断らない限り、本発明の機能が実行されるのであれば、単体の機能であっても、複数の機器からなるシステムであっても、LAN、WAN等のネットワークを介して接続がなされ処理が行われるシステムであっても、本発明を適用できる。 1 and 2 are block diagrams showing an example of the configuration of an information processing system to which a printing system according to the present invention is applied. Unless otherwise specified, as long as the functions of the present invention are executed, a single function or a system composed of a plurality of devices can be connected via a network such as a LAN or WAN. The present invention can be applied even to a system in which processing is performed.
図1において、一般的なコンピュータを用いたシステムのブロック構成図を示す。CPU101はROM102あるいはRAM103あるいは記憶装置105に格納されたプログラムに従って装置全体の制御を行う。RAM103はCPU101が各種処理を行う際のワークエリアとしても使用される。記憶装置105はオペレーティングシステム(OS)115やアプリケーションソフト112等を記録する。また、ここに印刷処理を行う印刷関連プログラム113やプリンタドライバ114も格納される。キーボードやマウスなどの入力機器は、入力I/F104を通じて、ユーザがコンピュータに対して各種指示を与えるためのデバイスである。出力I/F106は、データを外部に出力するためのインタフェースであり、モニタやプリンタに対してデータを出力する。印刷装置111はローカルI/Oのみならず、ネットワークを通して接続されていてもよい。また、107は共通データバスで、それぞれのデータのやりとりを行う。
FIG. 1 shows a block configuration diagram of a system using a general computer. The
図2において、一般的なコンピュータを用いた印刷処理システムを示す。ユーザはキーボードやマウスなどといった入力I/F104を使用して、出力I/F106に接続されたモニタ110に映し出されたアプリケーションプログラム112を使用して作成した文書201の印刷処理を実行する。印刷処理はプリンタの選択、印刷設定の作成、描画データの変換と3つの処理を順番に行うことで実行される。まずは、プリンタの選択として、印刷を実行するプリンタに対応したプリンタドライバ114を選択する。次に印刷設定の作成を行う。文書の印刷設定204はプリンタドライバのユーザインターフェース処理部206によって初期値が作成され、その印刷設定をアプリケーションもしくはプリンタドライバのユーザインターフェース処理部206を使用してユーザが望む最終印刷結果になるように変更して設定を行う。たとえば、印刷モードをカラーにしたりモノクロ、カラーモノクロ自動切換え設定である。印刷設定を保存するデータ形式には2種類あり、1つはDEVMODEと呼ばれるバイナリデータ形式のデータ構造体であり、もう1つはプリントチケットと呼ばれるタグを用いたマークアップ言語XML形式のテキストデータである。この形態はプリンタドライバやオペレーティングシステムの仕様によって異なる。最後に描画データ203の変換を行う。印刷設定204が作成し終わったら、ユーザによって印刷処理が実行され、オペレーティングシステムに印刷処理を通知する。オペレーティングシステムはグラフィックスエンジン205を通じて、指定されたプリンタドライバ114への描画を行う。描画データが送られてきたプリンタドライバ114は描画データ処理部207によって、プリンタが理解できるデータ言語すなわちプリンタ制御言語に変換する。本実施例1においては、描画データ処理部でカラーCMYKビットマップあるいはモノクロビットマップを作成し、そのビットマップを元にプリンタ制御言語を作成する。このとき印刷設定204も、プリンタ制御言語として変換する。ユーザインターフェース処理部205、描画データ処理部207はともに複数の種類の印刷装置111に対して共通のモジュールであることが多く、機種ごとの違いは機種依存データファイル208に記述されている。ユーザインターフェース処理部206、描画データ処理部207は適宜、この機種依存データファイル208を参照する。変換されたデータは印刷ジョブのスケジュール管理を行うプリントマネージャ209に渡され、スプールファイルとして逐次保存していく。プリンタが印刷できる状態になったら、プリントマネージャ209はI/Oモジュール210を介して印刷装置111に印刷ジョブデータを送信する。このようにして、アプリケーションからの印刷データがプリンタ制御言語に変換されて印刷を行う。
FIG. 2 shows a print processing system using a general computer. The user uses the input I /
図3は、本発明を構成する描画データ処理部207において、CMYKビットマップを作成する際の処理およびデータの変移を示したものである。
FIG. 3 shows processing and data transition when creating a CMYK bitmap in the drawing
アプリケーションあるいはOSから渡される描画データ203をページ中間データ生成部301は随時中間データに変換し、ページ中間データ302として格納する。このとき、通常の描画データ203はRGB(レッド、グリーン、ブルー)で渡されるため、本実施例1ではページ中間データもRGBデータとして変換している。ページ内に存在する全ての描画データ203をページ中間データ(RGB)302に格納すると、ページ中間データ生成部301の処理は完了し、レンダリング処理部303が呼び出され、ビットマップ展開処理を行う。本実施例1においては、レンダリング処理部303が生成するビットマップは3種類存在する。それらは、RGB多値ビットマップ、CMYK多値ビットマップ、CMYKハーフトーンビットマップである。これらのいずれを生成するかは、プリンタドライバ114のユーザインターフェース処理部206の指定に従って決定される。
The page intermediate
ここで多値ビットマップとは、例えば各色8ビット、あるいは16ビットの深さをもつデータから構成されるビットマップを意味し、ハーフトーンビットマップとは、多値データに対してディザリングや誤差拡散等のハーフトーン処理を掛けたハーフトーンデータから構成されるビットマップで各色1ビット、2ビット、4ビットのいずれも存在する。 Here, the multi-level bitmap means a bitmap composed of data having a depth of 8 bits or 16 bits for each color, for example, and the halftone bitmap is a dithering or error for multi-level data. There are 1-bit, 2-bit, and 4-bit colors for each color in a bitmap composed of halftone data subjected to halftone processing such as diffusion.
RGB多値ビットマップを生成するモードでは、そのビットマップを色変換処理部304にてRGB多値データをCMYK多値データに変換し、CMYK多値ビットマップを作成した後、ハーフトーン処理部305にてハーフトーン処理を行いCMYKハーフトーンビットマップを生成する。
In a mode for generating an RGB multilevel bitmap, the color
CMYK多値ビットマップを生成するモードでは、レンダリング処理部303はページ中間データ302のRGB多値データを、CMYK多値データに変換しながらCMYK多値ビットマップを作成し、そのビットマップをハーフトーン処理部306にてハーフトーン処理を行いCMYKハーフトーンビットマップを生成する。
In the mode for generating a CMYK multilevel bitmap, the
CMYKハーフトーンビットマップを生成するモードでは、レンダリング処理部303はページ中間データ302のRGB多値データを、CMYK多値データに変換し、ハーフトーン処理を行いながらCMYKハーフトーンビットマップを生成する。
In the mode for generating a CMYK halftone bitmap, the
なお、この時、必ずしも一度にページ全部のビットマップを生成したり変換する必要はなく、例えばバンドごとにビットマップ生成や変換処理を行ったり、1スキャンラインごとにビットマップ生成や変換処理を行うことも出来る。 At this time, it is not always necessary to generate or convert the bitmap of the entire page at once. For example, bitmap generation or conversion processing is performed for each band, or bitmap generation or conversion processing is performed for each scan line. You can also
図4は、本発明を構成する図3のページ中間データ生成部301が生成するページ中間データ302の一例を示したものである。このページ中間データ302は、RAM103に格納されていても良いし、ファイル形式でHDドライブといった記憶装置105に格納されても良い。また、図4中において〔文字コマンド〕や〔矩形描画コマンド〕等の記述がなされているが、これらは内部データを便宜的に分かりやすくするための標記であり、実際はバイナリ形式で格納されている。これのページ中間データ307は、ページ中間データ生成部301が描画データ203を受け取る度に更新されていき、レンダリング処理部(303)がページ中間データ302からページ分のビットマップを生成した後に削除される。
FIG. 4 shows an example of the page
図5は、本発明を含む構成を最も良く表す図面であり、本実施例1におけるプリンタドライバ114の描画データ処理部207の構成図を示したものである。
FIG. 5 is a diagram that best represents the configuration including the present invention, and illustrates a configuration diagram of the drawing
図2で示したように、アプリケーション112から描画データ203がプリンタドライバ114の描画データ処理部207に渡されると、ページ中間データ生成部301がページ中間データ302に、1ページ分の描画データ203が全てを格納し終えるまで変換を繰り返す。
As shown in FIG. 2, when the drawing
次に、CMYKビットマップ生成部502がページ中間データ302からCMYKビットマップを生成する。このCMYKビットマップ生成部502は図3に示すとおり、レンダリング処理部303、色変換処理部304、ハーフトーン処理部305/306等により構成されており、図3での説明のとおり、3種類のフローが存在するが、結果的にCMYKハーフトーンビットマップが生成される。その処理フローの違いは本発明に影響しないため、ここではCMYKビットマップ生成部502としている。
Next, the CMYK
CMYKビットマップ生成部502におけるRGB多値データをCMYK多値データに変換する色処理に関して、色処理指定部501が処理内容を指定する。描画データ処理部207へは、プリンタドライバ114のユーザインターフェース処理部206でユーザにより指定された処理内容は伝わっているが、ここでの色処理指定部501が指定する処理は、完全に下色除去する処理である。具体的にはRGB多値データをCMYK多値データに変換する際、RGBの値がR=G=BといったGrayを表すものであった場合、色変換された後はKの多値データでのみGrayを表すといったものである。一般的にこの処理はUCR(Under Color Removal:下色除去)やGCR(Gray-Component Replacement:グレー置き換え)等と呼ばれ、前者は黒部分からCMY成分を取り除き、後者はグレー部分からCMY成分を取り除きK(ブラック)に置き換えるが、ここでは、入力がGrayであった場合にK成分でのみで表現することを下色除去とする。
Regarding color processing for converting RGB multilevel data into CMYK multilevel data in the CMYK
CMYKビットマップ生成部502にて生成された下色除去されたビットマップに対し、カラーデータスキャン処理部503はビットマップをスキャンしながらCMY要素が1ピクセルでも存在するかどうかを判断する。このスキャンの仕方に関しては後述する。
The color data scan processing unit 503 determines whether a CMY element exists even in one pixel while scanning the bitmap with respect to the bitmap from which the undercolor is removed generated by the CMYK
カラーデータスキャン処理部503にて、ページ分のCMYKビットマップ内にCMY要素が1つも存在しない場合、モノクロビットマップ抽出部504にて、CMYKビットマップからモノクロビットマップを作成する。このモノクロビットマップの生成方法に関しては後述する。
When there is no CMY element in the CMYK bitmap for the page in the color data scan processing unit 503, the monochrome
カラーデータスキャン処理部503にて、ページ分のCMYKビットマップ内にCMY要素が1つでも存在した場合、先ほど生成したCMYKビットマップは削除し、再度CMYKビットマップ生成部502にてCMYKビットマップを生成する。このときのCMYKビットマップ生成部502におけるRGB多値データをCMYK多値データに変換する色処理に関しても、色処理指定部501が処理内容を指定するが、先ほどの下色除去指定ではなく、プリンタドライバ114のユーザインターフェース処理部206でユーザにより指定された処理内容に基づく色変換処理を指定し、CMYKビットマップを生成する。
If even one CMY element exists in the CMYK bitmap for the page in the color data scan processing unit 503, the CMYK bitmap generated earlier is deleted, and the CMYK
以上のように、カラーデータスキャン処理部503での判断により、カラービットマップあるいはモノクロビットマップが生成されるが、それらのビットマップはデバイスコマンド生成部505にて、印刷装置のプリンタ制御言語に適した形で、ビットマップに対する圧縮やコマンドヘッダー等の付加を行い、図2で説明したプリントマネージャー209にプリンタ制御言語のデータを渡すことで、描画データ処理部207の1ページ分の処理が完了する。
As described above, a color bitmap or a monochrome bitmap is generated by the determination in the color data scan processing unit 503. These bitmaps are suitable for the printer control language of the printing apparatus in the device
印刷データが複数ページ存在する場合は、同様に各ページ毎に上記処理を繰り返す。 If there are a plurality of print data pages, the above process is repeated for each page.
図6は、図5の描画データ処理部207の構成図をさらに理解を容易にするために、各処理部のフローおよび、各処理部により生成されるデータを明示したものである。
FIG. 6 clearly shows the flow of each processing unit and the data generated by each processing unit in order to make the configuration diagram of the drawing
ここでCMYKビットマップ生成部(下色除去)601とは、図5における色処理指定部501が下色除去する色変換処理指定し、それに基づいてCMYKビットマップ生成部502による下色除去したCMYKビットマップを生成する処理を合わせたものである。そしてそこで生成されたCMYKビットマップをCMYKビットマップ(下色除去)602とする。
Here, the CMYK bitmap generation unit (under color removal) 601 designates the color conversion processing that the color
また、CMYKビットマップ生成部(ユーザ設定色処理)604とは、図5における色処理指定部501がプリンタドライバ114のユーザインターフェース処理部206でユーザにより指定された処理内容に基づく色変換処理指定し、それに基づいてCMYKビットマップ生成部502によるCMYKビットマップを生成する処理を合わせたものである。そしてそこで生成されたCMYKビットマップをCMYKビットマップ(色処理設定)605とする。
Also, the CMYK bitmap generation unit (user-set color processing) 604 is a color
処理フローとしては図5と同様に、描画データ203はページ中間データ生成部301によりページ中間データ302に変換される。そしてページ中間データ302はCMYKビットマップ生成部(下色除去)601によりCMYKビットマップ(下色除去)602に変換される。そしてCMYKビットマップ(下色除去)602は、カラーデータスキャン処理部503でスキャンされ、CMY要素が一つも存在しない場合は、モノクロビットマップ抽出部504によってモノクロビットマップ603が生成される。
As in the processing flow, the drawing
CMYKビットマップ(下色除去)602が、カラーデータスキャン処理部503でスキャンされ、CMY要素が一つでも存在する場合は、CMYKビットマップ生成部(ユーザ設定色処理)604によってCMYKビットマップ(色処理設定)605が生成される。 If the CMYK bitmap (under color removal) 602 is scanned by the color data scan processing unit 503 and there is even one CMY element, the CMYK bitmap generation unit (user setting color processing) 604 performs the CMYK bitmap (color setting). Processing setting) 605 is generated.
ここで生成されたモノクロビットマップ603およびCMYKビットマップ(色処理設定)605はデバイスコマンド生成部505にてデバイスビットマップコマンド606が生成され、印刷装置111にて印刷される。
The monochrome bitmap 603 and the CMYK bitmap (color processing setting) 605 generated here are generated by the device
図7は、本実施例1におけるCMYKビットマップの例およびCMY要素、さらにはCMYKビットマップからモノクロビットマップの抽出に関する手法を示したものである。 FIG. 7 shows an example of a CMYK bitmap in the first embodiment, a CMY element, and a method for extracting a monochrome bitmap from the CMYK bitmap.
701は、CMYKビットマップの1スキャンラインの形式を示している。各色1ピクセルあたり2Bits として扱っているため、各色 0,1,2,3のいずれかを取り、0は色要素なし、1〜3は大きくなるほど濃くなる。他の印刷モードとしては各色1ピクセルあたり1Bitsや4Bitsで扱うモードも存在し、それぞれ各色(0〜1)、(0〜15)を取ったとしても同様である。
また、今回、メモリ中に各色毎に1スキャンライン分連続しているメモリ配置(プレーン)で説明を行うが、1ピクセル毎にCMYK , CMYK , CMYK……………とピクセル単位で各色要素が存在している場合も、プレーンの場合と同様と看做せる。 In addition, this time, the memory arrangement (plane) that is continuous for one scan line for each color in the memory will be described, but each color element is in units of pixels such as CMYK, CMYK, CMYK, etc. for each pixel. Even if it exists, it can be regarded as in the case of the plane.
図5,6で示したカラーデータスキャン処理部503でのCMY要素のスキャンとは、Cプレーン、Mプレーン、Yプレーンが全て0であるかをチェックすることであり、それをページ内全スキャンラインに対して行うことである。具体的にはスキャンライン701は、CMY要素があり、スキャンライン702はCMY要素が無いということになる。
Scanning of the CMY element in the color data scan processing unit 503 shown in FIGS. 5 and 6 is to check whether the C plane, M plane, and Y plane are all 0. Is to do. Specifically, the
図5、6で占めしたモノクロビットマップ抽出部504でのCMYKビットマップ602からモノクロビットマップ603を抽出する方法はKプレーンのビットマップのみを活用すればよい。
The method for extracting the monochrome bitmap 603 from the
カラーデータスキャン処理部503でページ内にCMY要素が無いというのは、ページ内の全てのスキャンラインが702にように、Cプレーン、Mプレーン、Yプレーンが0であることを意味し、Kプレーンの色のみが印刷に使用されることを意味する。つまり、各スキャンライン毎にKプレーンの値をモノクロビットマップのスキャンラインに使用し、それをページ分集めることで、ページ分のモノクロビットマップ703が成立する。
The fact that there is no CMY element in the page in the color data scan processing unit 503 means that the C plane, the M plane, and the Y plane are 0 so that all the scan lines in the page are 702, and the K plane Means that only the colors are used for printing. That is, by using the K plane values for the scan lines of the monochrome bitmap for each scan line and collecting them for the pages, the
本発明に係る印刷システムは、図8に示されるフローチャートに基づいてプログラム化されたものである。以下、図8のフローチャートを参照しながら説明する。 The printing system according to the present invention is programmed based on the flowchart shown in FIG. Hereinafter, a description will be given with reference to the flowchart of FIG.
アプリケーション112やOSから印刷開始が発行され、さらにページ開始指示がプリンタドライバ114の描画データ処理部207に伝えられると、描画データ処理部207はページ中間データの初期化(S801)を行う。ここでは具体的にはページサイズに基づいてメモリの確保、あるいは前ページのページ中間データがメモリ中に残っている場合は、削除を行う。その後、アプリケーション112やOSから発行される入力描画データを取得し(S802)、それを逐次中間データへ変換し、ページ中間データへ格納する(S803)。ページ内の全入力描画データをページ中間データへ格納し終えると(S804)、そのページ中間データを元にビットマップ展開を行うが、入力データであるRGBを印刷の出力形式であるCMYKに変換するための色処理の設定を、下地除去とし、入力がGrayデータで有った場合、出力はK要素しか作成されないようにする(S805)。その後、ビットマップ展開やRGB→CMYK色変換処理、ハーフトーン処理などを行い、CMYKビットマップを作成する(S806)。
When a print start is issued from the
次に、作成されたCMYKビットマップのCMY要素をサーチし(S807)、ページ全体のCMYKビットマップ中にCMY要素が存在するか判断する(S808)。CMY要素が存在しない場合、CMYKビットマップのK要素からモノクロビットマップを作成し(S809)、CMY要素が存在する場合は、サーチしたCMYKビットマップを削除し(S810)、S803で作成したページ中間データを取得し(S811)、再度そのページ中間データを元にビットマップ展開を行う。ここでは、入力データであるRGBを印刷の出力形式であるCMYKに変換するための色処理設定を、プリンタドライバ114のユーザインターフェース処理部206にてユーザから指定された設定とし(S812)、その後ページ中間データからCMYKビットマップを生成する(S813)。
Next, the CMYK bitmap of the created CMYK bitmap is searched (S807), and it is determined whether a CMY element exists in the CMYK bitmap of the entire page (S808). If no CMY element exists, a monochrome bitmap is created from the K element of the CMYK bitmap (S809). If a CMY element exists, the searched CMYK bitmap is deleted (S810), and the middle of the page created in S803 Data is acquired (S811), and bitmap expansion is performed again based on the page intermediate data. Here, the color processing setting for converting the input data RGB into the print output format CMYK is set by the user in the user
S809で作成したモノクロビットマップ、S813で作成したCMYKビットマップは、印刷装置の印刷記述言語に適した形のデバイスビットマップに変換し(S814)、プリンタコマンドともに印刷装置にデータを送る。 The monochrome bitmap created in S809 and the CMYK bitmap created in S813 are converted into a device bitmap in a form suitable for the printing description language of the printing apparatus (S814), and data is sent to the printing apparatus together with the printer command.
以上により、本発明に係る印刷システムの実施例1の処理が終了する。 Thus, the processing of the printing system according to the first embodiment of the present invention is completed.
(実施例2)
本発明におけるCMYKビットマップ生成部にて生成されるビットマップは、1度にページ全体のCMYKビットマップである必要はなく、バンディングを使用してある高さ分単位で処理することにより、高速化を図れる。
(Example 2)
The bitmap generated by the CMYK bitmap generation unit in the present invention does not need to be a CMYK bitmap of the entire page at a time, and is processed at a certain height unit using banding to increase the speed. Can be planned.
具体的には、図6におけるCMYKビットマップ生成部(下色除去)601においてページ中間データ302からある高さ分のバンドCMYKビットマップ(下色除去)602を生成し、カラーデータスキャン処理部503にてバンドCMYKビットマップ602のCMY要素をスキャンする。CMY要素が存在しなかったらモノクロビットマップ抽出部504にて、バンド モノクロビットマップ603を作成、格納した後、次のバンドに対するCMYKビット生成部(下色除去)601により次のバンド CMYKビットマップ(下色除去)602を生成する。
Specifically, the CMYK bitmap generation unit (under color removal) 601 in FIG. 6 generates a band CMYK bitmap (under color removal) 602 for a certain height from the page
バンドCMYKビットマップ602内にCMY要素が存在したら、その時点でCMYKビットマップ(下色除去)やモノクロビットマップ抽出部504で作成、格納された、以前のバンドのモノクロビットマップ603を削除し、CMYKビットマップ生成部(ユーザ設定色処理)604を今度はバンド単位でページ最後まで作成することで、本実施例1で説明したことは同様に成立する。
If there is a CMY element in the
111 印刷装置
112 アプリケーション
114 プリンタドライバ
203 入力描画データ
206 ユーザインターフェース処理部
207 描画データ処理部
301 ページ中間データ生成部
302 ページ中間データ
303 レンダリング処理部
304 色変換処理部
501 色処理指定部
502 CMYKビットマップ生成部
503 カラーデータスキャン処理部
504 モノクロビットマップ抽出部
601 CMYKビットマップ生成部(下色除去)
604 CMYKビットマップ生成部(ユーザ設定色処理)
DESCRIPTION OF
604 CMYK bitmap generation unit (user-set color processing)
Claims (3)
前記ホスト装置はアプリケーションやOSから描画データを受け取り、ページ毎にモノクロビットマップを作成あるいはCMYKビットマップを作成し前記印刷装置へ送信を行うようなドライバ処理において、
前記描画データを1ページ分中間スプールデータとして蓄えるスプール手段と、
前記中間スプールデータからCMYKビットマップを作成する第一のCMYKビットマップ作成手段と、
前記第一のCMYKビットマップ作成手段にて作成されたCMYKビットマップにCMYに要素が存在しないかスキャンする、カラーデータスキャン手段と、
前記カラーデータスキャン手段にてCMY要素が存在しない場合は、K要素からモノクロビットマップを抽出するモノクロビットマップ抽出手段と、
前記カラーデータスキャン手段にてCMY要素が存在する場合は、前記中間スプールデータからCMYKビットマップを作成する第二のCMYKビットマップ作成手段を有し、
前記第一のCMYKビットマップ作成手段では完全な下色除去を行い、前記第二のCMYKビットマップ作成手段では、ユーザ設定に応じた色処理にてCMYKビットマップを作成することを特徴とする印刷システム。 A printing system comprising a printing device and a host device that generates print data and transmits it to the printing device,
In the driver process where the host device receives drawing data from an application or OS, creates a monochrome bitmap for each page or creates a CMYK bitmap and sends it to the printing device,
Spool means for storing the drawing data as intermediate spool data for one page;
First CMYK bitmap creation means for creating a CMYK bitmap from the intermediate spool data;
Color data scanning means for scanning the CMYK bitmap created by the first CMYK bitmap creating means for an element in CMY; and
When no CMY element exists in the color data scanning means, a monochrome bitmap extraction means for extracting a monochrome bitmap from the K element;
In the case where a CMY element is present in the color data scanning means, it has a second CMYK bitmap creating means for creating a CMYK bitmap from the intermediate spool data,
The first CMYK bitmap creation means performs complete undercolor removal, and the second CMYK bitmap creation means creates a CMYK bitmap by color processing according to user settings. system.
前記ホスト装置はアプリケーションやOSから描画データを受け取り、ページ毎にモノクロビットマップを作成あるいはCMYKビットマップを作成し前記印刷装置へ送信を行うようなドライバ処理において、
前記描画データを1ページ分中間スプールデータとして蓄えるスプール手段と、
前記中間スプールデータからバンド単位のCMYKビットマップを作成する第一のバンドCMYKビットマップ作成手段と、
前記第一のバンドCMYKビットマップ作成手段にて作成されたバンド単位のCMYKビットマップにCMYに要素が存在しないかスキャンする、カラーデータスキャン手段と、
前記カラーデータスキャン手段にてCMY要素が存在しない場合は、K要素からバンド単位のモノクロビットマップを抽出し保存するバンドモノクロビットマップ抽出保存手段と、
前記カラーデータスキャン手段にてCMY要素が存在する場合は、前記中間スプールデータからCMYKビットマップを作成する第二のCMYKビットマップ作成手段を有し、
前記第一のバンドCMYKビットマップ作成手段では完全な下色除去を行い、前記第二のCMYKビットマップ作成手段では、ユーザ設定に応じた色処理にてCMYKビットマップを作成することを特徴とする印刷システム。 A printing system comprising a printing device and a host device that generates print data and transmits it to the printing device,
In the driver process where the host device receives drawing data from an application or OS, creates a monochrome bitmap for each page or creates a CMYK bitmap and sends it to the printing device,
Spool means for storing the drawing data as intermediate spool data for one page;
A first band CMYK bitmap creating means for creating a band-unit CMYK bitmap from the intermediate spool data;
Color data scanning means for scanning the CMYK bitmap in band units created by the first band CMYK bitmap creating means for the presence of elements in CMY,
When there is no CMY element in the color data scanning means, a band monochrome bitmap extraction and storage means for extracting and storing a monochrome bitmap in band units from the K element; and
In the case where a CMY element is present in the color data scanning means, it has a second CMYK bitmap creating means for creating a CMYK bitmap from the intermediate spool data,
The first band CMYK bitmap creation means performs complete undercolor removal, and the second CMYK bitmap creation means creates a CMYK bitmap by color processing according to user settings. Printing system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007169302A JP2009009306A (en) | 2007-06-27 | 2007-06-27 | Printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007169302A JP2009009306A (en) | 2007-06-27 | 2007-06-27 | Printing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009009306A true JP2009009306A (en) | 2009-01-15 |
Family
ID=40324338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007169302A Pending JP2009009306A (en) | 2007-06-27 | 2007-06-27 | Printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009009306A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011008785A (en) * | 2009-06-24 | 2011-01-13 | Konica Minolta Systems Lab Inc | Improved color detection during document analysis prior to printing |
-
2007
- 2007-06-27 JP JP2007169302A patent/JP2009009306A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011008785A (en) * | 2009-06-24 | 2011-01-13 | Konica Minolta Systems Lab Inc | Improved color detection during document analysis prior to printing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4458176B2 (en) | Printing control apparatus, printing apparatus, and program | |
JP6179567B2 (en) | Color verification system and program | |
CN100387439C (en) | Print controlling apparatus, method, and storage medium | |
US9036202B2 (en) | Image processing device and image processing method performing image process according to attribute information of image object | |
JP2006081190A (en) | Method and apparatus for efficient processing of color conversion | |
JP2003348366A (en) | Method and apparatus for image processing | |
US8335016B2 (en) | Image processing apparatus and program product using index vale or presentation image to decide consumption of recording material | |
JP4929884B2 (en) | Image processing apparatus and program | |
JP2009009306A (en) | Printing system | |
JP5751020B2 (en) | Image forming apparatus, drawing processing method, program, and recording medium | |
US20050213123A1 (en) | Image forming apparatus and storage medium | |
JP2010099849A (en) | Printing apparatus, controlling method and controlling program for printing apparatus | |
JP4356953B2 (en) | Image processing system, image processing apparatus, control method therefor, and storage medium | |
US20100053651A1 (en) | Image Processing Device and Image Processing Method | |
US20060092439A1 (en) | Printer controller, image forming apparatus, image forming program | |
BR112020001142A2 (en) | apparatus and method for producing a digital printed image | |
JP4894485B2 (en) | Image processing apparatus, image forming system, and image processing program | |
JP5044522B2 (en) | Image processing device | |
US10306104B2 (en) | Image processing method and image processing apparatus that ensure efficient memory use, and recording medium therefor | |
JP4421646B2 (en) | Image processing apparatus, drawing data processing method, and program for executing the method | |
JP2006352755A (en) | Color image generator | |
US10996902B2 (en) | Parallel processing of monochromatic print jobs using data-processing color channels of color printing device that correspond to different color colorants | |
JP2007276416A (en) | Printing apparatus, printing data output apparatus, printing method, printing data output method, and computer program | |
JP4858097B2 (en) | Image processing device | |
US20090273797A1 (en) | System and method for visualization of black-component gamut sculpting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |