JP2012160124A - Printing control program, information processing device, printing system, and printing device - Google Patents

Printing control program, information processing device, printing system, and printing device Download PDF

Info

Publication number
JP2012160124A
JP2012160124A JP2011020865A JP2011020865A JP2012160124A JP 2012160124 A JP2012160124 A JP 2012160124A JP 2011020865 A JP2011020865 A JP 2011020865A JP 2011020865 A JP2011020865 A JP 2011020865A JP 2012160124 A JP2012160124 A JP 2012160124A
Authority
JP
Japan
Prior art keywords
image
print control
color
control information
index values
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.)
Withdrawn
Application number
JP2011020865A
Other languages
Japanese (ja)
Inventor
Yutaka Saito
裕 斎藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011020865A priority Critical patent/JP2012160124A/en
Publication of JP2012160124A publication Critical patent/JP2012160124A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve efficiency in indexing of an image in generation processing of a print job by a printer driver.SOLUTION: A printer driver includes: a graphic control unit 100 that acquires an image to be output; a number-of-colors determination processing unit 101 that determines the colors of respective pixels constituting the image according to an arrangement order thereof, counts different colors based on the determination result, and causes information for representing the different colors to be stored in an index table 104 in association with index values; an image conversion processing unit 102 that causes the index values associated with the determined colors to be stored in an image buffer 105 according to the arrangement order of the pixels; and a PDL generation processing unit 103 that generates PDL data using the index values stored in the image buffer 105 based on a comparison result of a predetermined upper limit value of the number of the index values and the number of counts of the different colors.

Description

本発明は、印刷制御プログラム、情報処理装置、印刷システム及び印刷装置に関し、特に、印刷制御プログラムによって生成される印刷データの容量の制御に関する。   The present invention relates to a print control program, an information processing apparatus, a printing system, and a printing apparatus, and more particularly to control of the capacity of print data generated by a print control program.

近年、情報の電子化が推進される傾向にあり、電子化された情報の出力に用いられるプリンタやファクシミリ及び書類の電子化に用いるスキャナ等の画像処理装置は欠かせない機器となっている。このような画像処理装置は、撮像機能、画像形成機能及び通信機能等を備えることにより、プリンタ、ファクシミリ、スキャナ、複写機として利用可能な複合機として構成されることが多い。   In recent years, there has been a tendency to digitize information, and image processing apparatuses such as printers and facsimiles used for outputting digitized information and scanners used for digitizing documents have become indispensable devices. Such an image processing apparatus is often configured as a multifunction machine that can be used as a printer, a facsimile, a scanner, or a copier by providing an imaging function, an image forming function, a communication function, and the like.

このような画像処理装置のうち、電子化された書類の出力に用いられる印刷装置においては、PC(Personal Computer)等の情報処理装置において生成された印刷ジョブに基づいて印刷出力を実行するプリンタが一般的に利用されている。そして、プリンタに入力する印刷ジョブを生成するための機能を実現するソフトウェア・プログラムとして、夫々のプリンタの機能に対応したプリンタドライバを情報処理装置にインストールすることが一般的である。   Among such image processing apparatuses, in a printing apparatus used for outputting an electronic document, a printer that executes print output based on a print job generated in an information processing apparatus such as a PC (Personal Computer) is provided. Generally used. In general, as a software program that realizes a function for generating a print job to be input to a printer, a printer driver corresponding to the function of each printer is installed in the information processing apparatus.

そして、プリンタドライバにおいては、減色処理、圧縮処理、インデックス化、間引き処理等、カラーイメージデータのサイズを小さくしてカラーイメージデータを含む印刷ジョブのプリンタへの転送効率を向上させるための処理を行うことにより、印刷のスループットを向上することが行われている。   The printer driver performs processing for reducing the size of the color image data and improving the transfer efficiency of the print job including the color image data to the printer, such as color reduction processing, compression processing, indexing, and thinning processing. Thus, the printing throughput is improved.

上述した各処理のうち、減色処理、間引き処理については、元のイメージデータの色の再現性を損なうため、印刷出力される画像の画質の向上の観点においては採用するべきではない。インデックス化は、出力するべき画像において用いられている色数に依存し、サイズが小さくなるとは限らない。また、圧縮処理は、ある程度のデータ容量の削減が期待されるため、上記インデックス化と組み合わせて用いられている。   Of the above-described processes, the color reduction process and the thinning process are not adopted from the viewpoint of improving the image quality of the printed image because the color reproducibility of the original image data is impaired. Indexing depends on the number of colors used in the image to be output and does not necessarily reduce the size. The compression processing is used in combination with the above indexing because it is expected to reduce the data capacity to some extent.

ここで、インデックス化の例について説明する。例えば、RGB(Red、Green、Blue)3色が夫々8bitで表現され、1pixelが24bit、即ち3byteで表現される画像において、7015pixel×4960pixelのA4サイズの画像を出力対象の画像とする。   Here, an example of indexing will be described. For example, in an image in which 3 colors of RGB (Red, Green, Blue) are each expressed by 8 bits and 1 pixel is expressed by 24 bits, that is, 3 bytes, an A4 size image of 7015 pixels × 4960 pixels is set as an output target image.

上記画像をそのままの状態で印刷ジョブに含めることとすると、3byte×7015pixel×4960pixelで、約104MB(メガバイト)の容量となる。他方、容量が756byteである256色(1byte)のインデックステーブルによってインデックス化する場合、1byte×7015pixel×4960pixel+756byteで、約35MB(メガバイト)の容量となり、約3分の1のサイズに削減することができる。   If the image is included in the print job as it is, it is 3 bytes × 7015 pixels × 4960 pixels and has a capacity of about 104 MB (megabytes). On the other hand, when indexing with an index table of 256 colors (1 byte) having a capacity of 756 bytes, 1 byte × 7015 pixels × 4960 pixels + 756 bytes, the capacity is about 35 MB (megabytes), and can be reduced to about one third of the size. .

尚、プリンタドライバによる印刷ジョブの生成処理の処理量を低減する技術として、グラデーション画像のように所定のピクセル数毎に濃淡が変化する画像のうち濃淡が変化する1ピクセル列を所定幅に拡大することで矩形領域全体に1ピクセル列を引き延ばす技術が提案されている(例えば、特許文献1)。特許文献1に開示された技術は、画像の圧縮に関するものであり、インデックス化を前提とする本件とはその趣旨が異なる。   As a technique for reducing the processing amount of print job generation processing by the printer driver, one pixel row in which shading changes among predetermined images such as a gradation image is enlarged to a predetermined width. Thus, a technique for extending one pixel row over the entire rectangular area has been proposed (for example, Patent Document 1). The technique disclosed in Patent Document 1 relates to image compression, and its purpose is different from the present case on the premise of indexing.

インデックス化処理においては、イメージブロック単位で色数をカウントし、色数に適した形式に合わせて変換を行う。例えば、色数が256色以内に収まる場合は8bitインデックスデータとして処理をするが、257色以上を使用している場合は、257色であっても、元の24bit形式のまま送信される事となり、データ量の削減効果が得られない。   In the indexing process, the number of colors is counted for each image block, and conversion is performed according to a format suitable for the number of colors. For example, when the number of colors falls within 256 colors, it is processed as 8-bit index data. However, when more than 257 colors are used, the original 24-bit format is transmitted even if 257 colors are used. The data amount reduction effect cannot be obtained.

本発明は、上記実情を考慮してなされたものであり、プリンタドライバによる印刷ジョブの生成処理における画像のインデックス化処理を効率化することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to improve the efficiency of image indexing processing in print job generation processing by a printer driver.

上記課題を解決するために、本発明の一態様は、印刷装置に印刷出力を実行させるための印刷制御情報を生成するための印刷制御プログラムであって、前記印刷出力するべき画像を取得して記憶媒体に記憶させるステップと、前記記憶された画像を構成する各画素の色を前記画素の並び順に従って判定するステップと、前記各画素の色の判定結果に基づいて異なる色をカウントするステップと、前記異なる色を表現するための情報をインデックス値と関連付けて記憶媒体に記憶させるステップと、前記判定された色に関連付けられた前記インデックス値を前記画素の並び順に従って記憶媒体に記憶させるステップと、予め定められた前記インデックス値の数の上限値と前記異なる色のカウント数との比較結果に基づき、前記画素の並び順に従って記憶されたインデックス値を用いて前記印刷制御情報を生成して出力するステップとを情報処理装置に実行させることを特徴とする。   In order to solve the above-described problem, one aspect of the present invention provides a print control program for generating print control information for causing a printing apparatus to execute print output, and obtains the image to be printed. Storing in a storage medium; determining a color of each pixel constituting the stored image according to an arrangement order of the pixels; counting a different color based on a determination result of the color of each pixel; Storing information for expressing the different colors in a storage medium in association with an index value, and storing the index value associated with the determined color in a storage medium in accordance with the arrangement order of the pixels; , Based on the result of comparison between the predetermined upper limit value of the number of index values and the count number of the different colors, according to the arrangement order of the pixels. Characterized in that to execute the steps in the information processing apparatus that generates and outputs the print control information with the stored index value each.

また、本発明の他の態様は、印刷装置に印刷出力を実行させるための印刷制御情報を生成するための印刷制御機能を実現する情報処理装置であって、前記印刷出力するべき画像を取得する画像取得部と、前記取得した画像を構成する各画素の色を前記画素の並び順に従って判定する画素色判定部と、前記各画素の色の判定結果に基づいて異なる色をカウントする色カウント部と、前記異なる色を表現するための情報をインデックス値と関連付けて記憶媒体に記憶させるインデックス処理部と、前記判定された色に関連付けられた前記インデックス値を前記画素の並び順に従って記憶媒体に記憶させる画像変換処理部と、予め定められた前記インデックス値の数の上限値と前記異なる色のカウント数との比較結果に基づき、前記画素の並び順に従って記憶されたインデックス値を用いて前記印刷制御情報を生成して出力する印刷制御情報処理部とを含むことを特徴とする。   According to another aspect of the present invention, there is provided an information processing apparatus that realizes a print control function for generating print control information for causing a printing apparatus to execute print output, and acquires the image to be printed out. An image acquisition unit, a pixel color determination unit that determines the color of each pixel constituting the acquired image according to the arrangement order of the pixels, and a color count unit that counts different colors based on the determination result of the color of each pixel An index processing unit that stores information for expressing the different colors in the storage medium in association with an index value, and stores the index value associated with the determined color in the storage medium in accordance with the arrangement order of the pixels. An image conversion processing unit to be performed, and a comparison result between a predetermined upper limit value of the number of index values and the number of counts of different colors, and the arrangement order of the pixels Characterized in that it comprises a print control information processing unit for generating and outputting the print control information with the stored index value I.

また、本発明の更に他の態様は、印刷システムであって、上記印刷制御プログラムと印刷装置とを含むことを特徴とする。   According to still another aspect of the present invention, a printing system includes the printing control program and a printing apparatus.

また、本発明の更に他の態様は、印刷装置であって、上記印刷制御プログラムが記憶された記憶部を含むことを特徴とする。   According to still another aspect of the present invention, a printing apparatus includes a storage unit in which the print control program is stored.

本発明によれば、プリンタドライバによる印刷ジョブの生成処理における画像のインデックス化処理を効率化することができる。   According to the present invention, it is possible to improve the efficiency of image indexing processing in print job generation processing by a printer driver.

本発明の実施形態に係る印刷システムの機能構成を示すブロック図である。1 is a block diagram showing a functional configuration of a printing system according to an embodiment of the present invention. 本発明の実施形態に係るプリンタドライバのグラフィック部の機能構成を示す図である。It is a figure which shows the function structure of the graphics part of the printer driver which concerns on embodiment of this invention. 24bit画像データの例を示す図である。It is a figure which shows the example of 24-bit image data. インデックス化された画像データの例を示す図である。It is a figure which shows the example of the image data indexed. 本発明の実施形態に係るグラフィック部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the graphic part which concerns on embodiment of this invention. 本発明の実施形態に係るグラフィック部によって生成される画像データの例を示す図である。It is a figure which shows the example of the image data produced | generated by the graphic part which concerns on embodiment of this invention. 本発明の他の実施形態に係るグラフィック部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the graphics part which concerns on other embodiment of this invention. 本発明の実施形態に係るPCのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of PC concerning embodiment of this invention.

以下、図面を参照して、本発明の実施形態を詳細に説明する。本実施形態においては、プリンタドライバがインストールされた情報処理装置であるPC(Personal Computer)と、プリンタドライバによって生成される印刷ジョブに従って印刷出力を実行する印刷装置であるプリンタとを含む印刷システムを例として説明する。尚、印刷装置はプリンタでなくとも良く、PCにインストールされたプリンタドライバによって生成される印刷ジョブに基づいて画像形成出力を実行する装置であれば良い。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, an example of a printing system including a PC (Personal Computer) that is an information processing apparatus in which a printer driver is installed and a printer that is a printing apparatus that executes print output according to a print job generated by the printer driver. Will be described. Note that the printing apparatus does not have to be a printer, but may be any apparatus that executes image formation output based on a print job generated by a printer driver installed in a PC.

図1は、本実施形態に係る印刷システムの機能構成を示すブロック図である。図1に示すように、本実施形態に係る印刷システムはPC1及びプリンタ8を含み、PC1とプリンタ8とは、ネットワーク9を介して接続されている。PC1においては、インストールされたアプリケーション2がOS(Operation System)上で動作することにより、文書作成や画像編集等の機能を提供し、ユーザの操作に応じて、印刷出力するべき画像の元となる情報を提供する。   FIG. 1 is a block diagram illustrating a functional configuration of a printing system according to the present embodiment. As shown in FIG. 1, the printing system according to the present embodiment includes a PC 1 and a printer 8, and the PC 1 and the printer 8 are connected via a network 9. In the PC 1, the installed application 2 operates on an OS (Operation System) to provide functions such as document creation and image editing, and is a source of an image to be printed out according to a user operation. Provide information.

アプリケーション2は、ユーザの操作に応じてプリンタドライバ10のUI(User Interface)部10aを起動し、UI部10aのGUI(Graphical UI)を介して設定される印刷出力の設定情報をDEVMODE構造体と呼ばれる情報形式で取得する。   The application 2 activates a UI (User Interface) unit 10a of the printer driver 10 in response to a user operation, and sets print output setting information set via the GUI (Graphical UI) of the UI unit 10a as a DEVMODE structure. Get in the information format called.

そして、アプリケーション2若しくはアプリケーション2によって起動されたUI部10aに対してユーザの操作により印刷実行命令が入力されると、アプリケーション2は、GDI(Graphics Device Interface)3を起動し、UI部10aを介して設定されたDEVMODE構造体及び出力するべき画像の情報を受け渡す。   When a print execution command is input by user operation to the UI unit 10a activated by the application 2 or the application 2, the application 2 activates the GDI (Graphics Device Interface) 3 via the UI unit 10a. The DEVMODE structure set in this way and the image information to be output are passed.

GDI3は、一般的に基本ソフトであるOSに組み込まれた描画エンジンである。GDI3は、DDI(Device Driver Interface)を介してプリンタドライバ10のグラフィック部10bを起動し、処理を受け渡す。   GDI3 is a drawing engine incorporated in an OS that is generally basic software. The GDI 3 activates the graphic unit 10b of the printer driver 10 via DDI (Device Driver Interface), and transfers the processing.

プリンタドライバ10のグラフィック部10bは、GDI3によってOSの内部命令として出力された画像データを、印刷出力を実行させる対象のプリンタ8が処理可能なデータ形式であるPDL(Page Description Language)形式のデータに変換する。PDL形式のデータは、プリンタ8に印刷を実行させるための印刷制御情報である。グラフィック部10bは、PDL形式に変換したデータを順次スプーラー4に受け渡す。   The graphic unit 10b of the printer driver 10 converts the image data output as an internal command of the OS by the GDI 3 into data in a PDL (Page Description Language) format that is a data format that can be processed by the printer 8 that is to execute print output. Convert. The data in the PDL format is print control information for causing the printer 8 to execute printing. The graphic unit 10b sequentially transfers the data converted into the PDL format to the spooler 4.

スプーラー4は、グラフィック部10bによって生成されたPDL形式のデータを、スプールファイル5として記憶媒体に一次的に記憶させる。これにより、プリンタドライバ10においてグラフィック部10bがPDLデータを生成した後、プリンタ8がPDLデータを受け付けることが出来ない状態であったとしても、プリンタドライバ10は生成したPDLデータをスプーラー4に渡して次の処理にすぐに移ることができるため、処理を効率化することができる。   The spooler 4 temporarily stores the data in the PDL format generated by the graphic unit 10 b as a spool file 5 in a storage medium. Thus, even if the printer 8 cannot accept the PDL data after the graphic unit 10b generates the PDL data in the printer driver 10, the printer driver 10 passes the generated PDL data to the spooler 4. Since the next process can be started immediately, the process can be made more efficient.

スプールファイル5として記憶媒体に記憶されたPDLデータは、プリンタプロセッサ6によって再度スプーラー4に受け渡され、ポートモニタ7により、ネットワーク9を介してプリンタ8に送信される。   The PDL data stored in the storage medium as the spool file 5 is transferred again to the spooler 4 by the printer processor 6 and transmitted to the printer 8 via the network 9 by the port monitor 7.

次に、本実施形態に係るプリンタドライバ10のグラフィック部10bの機能構成について、図2を参照して説明する。図2に示すように、グラフィック部10bは、グラフィック処理部100、色数判定処理部101、画像変換処理部102、PDL生成処理部103、インデックステーブル104及び画像バッファ105を含む。   Next, the functional configuration of the graphic unit 10b of the printer driver 10 according to the present embodiment will be described with reference to FIG. As shown in FIG. 2, the graphic unit 10b includes a graphic processing unit 100, a color number determination processing unit 101, an image conversion processing unit 102, a PDL generation processing unit 103, an index table 104, and an image buffer 105.

グラフィック制御部100は、画像データの処理全体を制御する。色数判定処理部101は、画像データの色数をカウントして判定すると共に、カウントした色をインデックステーブルに追加する。画像変換処理部102は、24bitデータである画像データから4bitまたは8bitのインデックスデータへの変換処理を行い、画像バッファに変換後のデータを記憶させる。PDL生成処理部103は、画像バッファに記憶された変換後のデータに基づき、PDL(Page Description Language)形式のデータを生成する。   The graphic control unit 100 controls the entire processing of image data. The color number determination processing unit 101 counts and determines the number of colors of image data, and adds the counted color to the index table. The image conversion processing unit 102 performs conversion processing from image data that is 24-bit data to 4-bit or 8-bit index data, and stores the converted data in an image buffer. The PDL generation processing unit 103 generates data in a PDL (Page Description Language) format based on the converted data stored in the image buffer.

図3は、一般的な24bit形式の画像データの内容を模式的に示す図である。図3に示すように、一般的な24bit形式の画像データにおいては、“R:0”、“G:128”、“B:128”・・・のように、RGB各色の諧調が256階調(8bit)によって表現された画素が縦横に配置されており、RGB各色の256階調のデータによって1画素分の色が決定される。この場合、同一の色であっても、夫々別のデータによって表現されるため、必ず1画素につき24bitが必要になる。   FIG. 3 is a diagram schematically showing the content of general 24-bit image data. As shown in FIG. 3, in general 24-bit image data, the gradation of each RGB color is 256 gradations such as “R: 0”, “G: 128”, “B: 128”. Pixels expressed by (8 bits) are arranged vertically and horizontally, and the color for one pixel is determined by 256 gradation data of each RGB color. In this case, since the same color is expressed by different data, 24 bits per pixel are always required.

これに対して、図4(a)は、256色でインデックス化された画像データの内容を模式的に示す図であり、図4(b)はインデックステーブルの例を示す図である。図4(a)に示すように、インデックス化された画像データにおいては、“0”、“3”、“100”・・・のように、インデックス値によって1画素の色が記述されている。   On the other hand, FIG. 4A is a diagram schematically showing the contents of image data indexed with 256 colors, and FIG. 4B is a diagram showing an example of an index table. As shown in FIG. 4A, in the indexed image data, the color of one pixel is described by an index value such as “0”, “3”, “100”.

ここで、図4(a)に示すインデックス値のビットサイズは、インデックス化の色数によって異なる。インデックス化の色数は例えば16色、256色があり、16色であれば4bit、256色であれば8bitである。そして、図4(b)に示すように、RGB夫々の色の組み合わせが、各インデックス値に対応して設定されている。これにより、インデックス化された画像データにおいては、8bitによって1画素を表現することができる。   Here, the bit size of the index value shown in FIG. 4A differs depending on the number of colors for indexing. The number of colors for indexing is, for example, 16 colors and 256 colors. If 16 colors are used, 4 bits are used, and if 256 colors are used, 8 bits are used. And as shown in FIG.4 (b), the combination of each RGB color is set corresponding to each index value. Thereby, in the indexed image data, one pixel can be expressed by 8 bits.

尚、インデックス化された画像データにおいては、図4(a)に示すようなインデックス値が縦横に配列された画像データに加えて、図4(b)に示すようなインデックステーブルも必要となる。図4(b)に示すように、インデックステーブルにおいては、RGB夫々の諧調の値、即ち、画像を構成する画素の色を表現するための情報が、インデックス値と関連付けられている。256色のインデックステーブルの容量は例えば756byteである。   In addition, in the indexed image data, an index table as shown in FIG. 4B is required in addition to image data in which index values as shown in FIG. As shown in FIG. 4B, in the index table, gradation values of RGB, that is, information for expressing the colors of the pixels constituting the image is associated with the index value. The capacity of the 256 color index table is, for example, 756 bytes.

次に、本実施形態に係るグラフィック部10bの動作について、図5のフローチャートを参照して説明する。図5に示すように、グラフィック制御部100は、グラフィック部10bに入力された画像情報を取得すると(S501)、先頭画素から順番にカレントピクセルを設定する。即ち、グラフィック制御部100が、画像取得部として機能する。そして、色数判定処理部101は、カレントピクセルの色を確認する(S502)。即ち、色数判定処理部101が、S502において、画素色判定部として機能する。   Next, the operation of the graphic unit 10b according to the present embodiment will be described with reference to the flowchart of FIG. As illustrated in FIG. 5, when the graphic control unit 100 acquires image information input to the graphic unit 10b (S501), the graphic control unit 100 sets current pixels in order from the top pixel. That is, the graphic control unit 100 functions as an image acquisition unit. Then, the color number determination processing unit 101 confirms the color of the current pixel (S502). That is, the color number determination processing unit 101 functions as a pixel color determination unit in S502.

確認したカレントピクセルの色が未だインデックステーブルに登録されていない未登録色であれば(S503/YES)、色数判定処理部101は、色数カウンタをインクリメントする(S504)。即ち、色数判定処理部101が、色カウンタとして機能する。これによって色数カウンタのカウント値が256を超えた場合(S505/NO)、PDL生成処理部103は、グラフィック制御部100が取得した画像情報のうち、カレントピクセルが含まれる主走査ラインの画像について、24ビットデータの画像のままPDLデータを生成する。そして、グラフィック制御部100は、PDL生成処理部103が生成したPDLデータをスプーラー4に出力する(S507)。尚、S507の処理を実行すると、色数判定処理部101はインデックステーブル104及び色数カウンタをクリアし、画像変換処理部102は画像バッファ105をクリアする。   If the confirmed current pixel color is an unregistered color that has not yet been registered in the index table (S503 / YES), the color number determination processing unit 101 increments the color number counter (S504). That is, the color number determination processing unit 101 functions as a color counter. As a result, when the count value of the color number counter exceeds 256 (S505 / NO), the PDL generation processing unit 103 selects the image of the main scanning line including the current pixel from the image information acquired by the graphic control unit 100. , PDL data is generated as an image of 24-bit data. Then, the graphic control unit 100 outputs the PDL data generated by the PDL generation processing unit 103 to the spooler 4 (S507). When the processing of S507 is executed, the color number determination processing unit 101 clears the index table 104 and the color number counter, and the image conversion processing unit 102 clears the image buffer 105.

S507の処理により、256色を超える色数の主走査ラインについては、24bitデータのままの画像に基づいてPDLデータが生成される。他方、色数カウンタがインクリメントされても、カウント値が256以内である場合(S505/YES)、色数判定処理部101は、カレントピクセルの色を登録してインデックステーブルを更新する(S506)。即ち、色数判定処理部101が、インデックス処理部として機能する。また、画像変換処理部102は、カレントピクセルのインデックス値を画像バッファに追加する(S508)。尚、S503の確認の結果、登録済みの色であった場合(S503/NO)も、S508の処理を実行する。   As a result of the processing in S507, PDL data is generated based on an image that remains as 24-bit data for main scanning lines having more than 256 colors. On the other hand, even if the color number counter is incremented, if the count value is within 256 (S505 / YES), the color number determination processing unit 101 registers the color of the current pixel and updates the index table (S506). That is, the color number determination processing unit 101 functions as an index processing unit. The image conversion processing unit 102 adds the index value of the current pixel to the image buffer (S508). It should be noted that the processing of S508 is also executed when the color is a registered color as a result of the confirmation of S503 (S503 / NO).

S508の処理が完了すると、グラフィック制御部100は、現在のカレントピクセルがラインの終端であるか否か確認し(S509)、ライン終端でなければ(S509/NO)、カレントピクセルを移動して(S514)、S502からの処理を繰り返す。他方、ライン終端であった場合(S509/YES)、色数判定処理部101は、色数のカウント値が16以内であるか否か確認する(S510)。   When the processing of S508 is completed, the graphic control unit 100 checks whether or not the current current pixel is the end of the line (S509), and if it is not the end of the line (S509 / NO), moves the current pixel (S509 / NO). S514) and the process from S502 are repeated. On the other hand, if it is the line end (S509 / YES), the color number determination processing unit 101 confirms whether the count value of the number of colors is within 16 (S510).

S510の確認の結果、カウント値が16以内であった場合(S510/YES)、PDL生成処理部103が画像バッファ105に格納されているインデックス化された画像データ及びインデックステーブルに基づき、16色(4bit)の画像データとしてPDLデータを生成し、グラフィック制御部100がスプーラー4に出力する(S511)。尚、インデックステーブル104及び画像バッファ105においては、8bitが想定されているため、4bitのデータとして処理するためには、8bitのうちの上位4bitを無視して処理すれば良い。   As a result of the confirmation in S510, if the count value is within 16 (S510 / YES), the PDL generation processing unit 103 has 16 colors (based on the indexed image data and the index table stored in the image buffer 105). PDL data is generated as 4-bit image data, and the graphic control unit 100 outputs the PDL data to the spooler 4 (S511). Since the index table 104 and the image buffer 105 are assumed to have 8 bits, in order to process as 4 bits of data, the upper 4 bits of the 8 bits may be ignored.

他方、カウント値が16を超えていれば(S510/NO)、PDL生成処理部103が画像バッファ105に格納されているインデックス化された画像データ及びインデックステーブルに基づき、256色(8bit)の画像データとしてPDLデータを生成し、グラフィック制御部100がスプーラー4に出力する(S512)。即ち、S511、S512においては、PDL生成処理部103及びグラフィック制御部100が、印刷制御情報処理部として機能する。尚、S511、S512の処理を実行すると、色数判定処理部101はインデックステーブル104及び色数カウンタをクリアし、画像変換処理部102は画像バッファ105をクリアする。   On the other hand, if the count value exceeds 16 (S510 / NO), the PDL generation processing unit 103 is an image of 256 colors (8 bits) based on the indexed image data and the index table stored in the image buffer 105. PDL data is generated as data, and the graphic control unit 100 outputs the PDL data to the spooler 4 (S512). That is, in S511 and S512, the PDL generation processing unit 103 and the graphic control unit 100 function as a print control information processing unit. When the processing of S511 and S512 is executed, the color number determination processing unit 101 clears the index table 104 and the color number counter, and the image conversion processing unit 102 clears the image buffer 105.

S507、S511、S512いずれかの処理が完了すると、グラフィック制御部100は、画像の終端まで処理が完了したか否かを確認する(S513)。確認の結果、終端まで処理が完了していなければ(S513/NO)、グラフィック制御部100は、カレントピクセルを移動して(S514)、S502からの処理を繰り返す。ここで、グラフィック制御部100は、S514の処理において、現在のカレントピクセルから隣のピクセルに移動するが、S507を経ている場合、現在のカレントピクセルが含まれているラインの次のラインの先頭に移動する。そして、画像終端まで処理が完了していれば(S513/YES)、処理を終了する。   When the processing in any of S507, S511, and S512 is completed, the graphic control unit 100 confirms whether or not the processing has been completed up to the end of the image (S513). As a result of the confirmation, if the processing has not been completed to the end (S513 / NO), the graphic control unit 100 moves the current pixel (S514) and repeats the processing from S502. Here, in the process of S514, the graphic control unit 100 moves from the current current pixel to the adjacent pixel. However, in the case of passing through S507, the graphic control unit 100 moves to the head of the line next to the line including the current current pixel. Moving. If the processing is completed up to the end of the image (S513 / YES), the processing ends.

このように、本実施形態に係るグラフィック部10bは、出力対象の画像の主走査ライン毎に、PDLデータを生成してスプーラー4に出力する。その際、主走査ライン毎に色数をカウントしており、256色以内であれば8bitのインデックス化された画像データに基づいてPDLデータを生成する。そして、16色以内であれば、より情報量の少ない4bitのインデックス化された画像データに基づいてPDLデータを生成する。他方、カウント値が256色を超えた時点で、そのラインについては24bitデータのままPDLデータを生成する。   As described above, the graphic unit 10b according to the present embodiment generates PDL data for each main scanning line of the output target image and outputs the PDL data to the spooler 4. At this time, the number of colors is counted for each main scanning line, and if it is within 256 colors, PDL data is generated based on 8-bit indexed image data. If it is within 16 colors, PDL data is generated based on 4-bit indexed image data with a smaller amount of information. On the other hand, when the count value exceeds 256 colors, PDL data is generated with the 24-bit data for that line.

このような処理により、図6に示すように、ある範囲についてはインデックス化された画像として、他の範囲については元の画像データとして、印刷出力するための画像がプリンタ8に送信される。プリンタ8においては、PDL解析機能によってインデックス化された部分も元の画像データのままの部分も同様に画像データとして認識可能であり、印刷出力を実行することができる。   By such processing, as shown in FIG. 6, an image to be printed out is transmitted to the printer 8 as an indexed image for a certain range and as original image data for another range. In the printer 8, the part indexed by the PDL analysis function and the part as the original image data can be similarly recognized as the image data, and the print output can be executed.

これに対して、PC1側においては、本来、画像全体について、24bitの画像データに基づいてPDLデータを生成しなければならないところ、可能な部分だけでもインデックス化することにより、プリンタ8に送信する合計のデータ量を削減することができ、画像の転送効率を向上することができる。   On the other hand, on the PC 1 side, PDL data must be generated based on 24-bit image data for the entire image. However, only the possible portions are indexed, so that the total transmitted to the printer 8 is calculated. Can be reduced, and the transfer efficiency of images can be improved.

以上、説明したように、本実施形態に係る印刷システムにおいては、インデックス化の可否を主走査ライン毎に判断することにより、プリンタドライバによる印刷ジョブの生成処理における画像のインデックス化を効率化することができる。   As described above, in the printing system according to the present embodiment, the efficiency of image indexing in the print job generation processing by the printer driver is determined by determining whether or not indexing is possible for each main scanning line. Can do.

尚、上記実施形態においては、主走査ライン毎にインデックス化の可否を判断する態様を例として説明した。これは、主走査ライン毎に画像を送信することによって、プリンタ8側においては、画素の位置を考慮する必要がなく、PC1から送信された画像データを順番に積み重ねるだけで良いため有意義である。   In the above-described embodiment, an example in which indexing is determined for each main scanning line has been described as an example. This is significant because by transmitting an image for each main scanning line, it is not necessary to consider pixel positions on the printer 8 side, and it is only necessary to sequentially stack image data transmitted from the PC 1.

しかしながら、分割数を多くすれば、それだけ多くのインデックステーブルが必要であり、その分だけ情報量が増えることとなる。従って、1ライン毎ではなく、2ライン、3ラインのように複数ライン毎にインデックス化の可否を判断しても良い。   However, if the number of divisions is increased, so many index tables are required, and the amount of information increases accordingly. Therefore, whether or not indexing is possible may be determined for each of a plurality of lines such as two lines and three lines instead of every line.

また、プリンタ8における画像処理においては、所定の範囲毎に画像を副走査方向に分割した“バンド”と呼ばれる単位毎に処理が行われることがある。このバンド毎にインデックス化を判断しても良い。この場合、PC1側において1バンドに含まれる主走査ライン数(以降、バンド幅とする)を認識しておく必要があるが、例えば用紙サイズ毎の固定値としてグラフィック制御部100にバンド幅を記憶させておくことにより実現可能である。   In the image processing in the printer 8, processing may be performed for each unit called “band” obtained by dividing the image in the sub-scanning direction for each predetermined range. Indexing may be determined for each band. In this case, it is necessary to recognize the number of main scanning lines included in one band (hereinafter referred to as a bandwidth) on the PC 1 side. For example, the bandwidth is stored in the graphic control unit 100 as a fixed value for each paper size. This can be realized by letting it go.

また、ライン毎にインデックス可否を判断するのではなく、256色という色数の上限を区切ってPDLデータを生成することにより、必ずインデックス化を達成することも可能である。このような態様は、テキストを多く含む資料の画像等、同一の色が多く含まれる画像において特に有効である。そのような態様について、図7を参照して説明する。   In addition, it is possible to always achieve indexing by generating PDL data by dividing the upper limit of the number of colors of 256 colors, instead of determining whether indexing is possible for each line. Such an aspect is particularly effective in an image including many identical colors, such as an image of a document including many texts. Such an aspect will be described with reference to FIG.

図7は、色数の上限を区切ってPDLデータを生成する場合のグラフィック部10bの動作を示すフローチャートである。図7に示すように、S701〜S705までは、図5のS501〜S505までと同様に処理が実行される。そして、S705の確認の結果、色数が256色を超えた場合(S705/NO)、PDL生成処理部103が画像バッファ105に格納されているインデックス化された画像データ及びインデックステーブルに基づき、256色(8bit)の画像データとしてPDLデータを生成し、グラフィック制御部100がスプーラー4に出力する(S706)。   FIG. 7 is a flowchart showing the operation of the graphic unit 10b when generating PDL data by dividing the upper limit of the number of colors. As shown in FIG. 7, processing from S701 to S705 is executed in the same manner as S501 to S505 in FIG. 5. If the number of colors exceeds 256 as a result of the confirmation in S705 (S705 / NO), the PDL generation processing unit 103 sets 256 based on the indexed image data and the index table stored in the image buffer 105. PDL data is generated as color (8-bit) image data, and the graphic control unit 100 outputs the PDL data to the spooler 4 (S706).

尚、S706の処理により、図5の場合と同様に、色数判定処理部101はインデックステーブル104及び色数カウンタをクリアし、画像変換処理部102は画像バッファ105をクリアする。   By the processing in S706, the color number determination processing unit 101 clears the index table 104 and the color number counter, and the image conversion processing unit 102 clears the image buffer 105, as in the case of FIG.

S705の確認の結果、色数が256色以内であった場合(S705/YES)、または、上記S706の処理が完了したら、S506と同様に、色数判定処理部101が、インデックステーブルを更新し(S707)、S508と同様に、画像変換処理部102が、画像バッファ105にインデックス値を追加する(S708)。尚、S703の確認の結果、登録済みの色であった場合(S703/NO)も、S708の処理を実行する。   If the number of colors is 256 or less as a result of the confirmation in S705 (S705 / YES), or when the processing in S706 is completed, the color number determination processing unit 101 updates the index table in the same manner as in S506. (S707) Similar to S508, the image conversion processing unit 102 adds an index value to the image buffer 105 (S708). Note that if the result of the confirmation in S703 is a registered color (S703 / NO), the processing in S708 is also executed.

グラフィック部10bは、S702からS708までのこのような処理を、画像の終端に到達するまで、カレントピクセルを移動しながら繰り返し(S709/NO、S711)画像の終端に到達すると(S709/YES)、PDL生成処理部103が画像バッファ105に格納されているインデックス化された画像データ及びインデックステーブルに基づき、256色(8bit)の画像データとしてPDLデータを生成し、グラフィック制御部100がスプーラー4に出力して(S710)、処理を終了する。   The graphic unit 10b repeats such processing from S702 to S708 while moving the current pixel until the end of the image is reached (S709 / NO, S711). When the end of the image is reached (S709 / YES), The PDL generation processing unit 103 generates PDL data as 256-color (8-bit) image data based on the indexed image data and the index table stored in the image buffer 105, and the graphic control unit 100 outputs the PDL data to the spooler 4. (S710), and the process ends.

このように、図7の態様によれば、256色のインデックス値によって表現可能な画像毎にPDLデータを生成して出力するため、画像全体を必ずインデックス化することができる。   As described above, according to the aspect of FIG. 7, since the PDL data is generated and output for each image that can be expressed by the index values of 256 colors, the entire image can be always indexed.

ここで、図7の例の場合、図5の例とは異なり、画像の主走査ラインを判断していないため、ラインの途中でPDLデータが出力される場合があり得る。従って、プリンタ8側においては、受信したPDLデータに含まれる画像を副走査方向に積み重ねるだけでは、画像を正確に描画することができない。このため、PDL生成処理部103は、PDLデータを生成する際、画像の先頭の画素の主走査方向の位置を示す情報をPDLデータに含める。これにより、プリンタ8側においては、PC1側から別々に送信される画像を、画素の主走査方向の位置を示す情報に基づいて好適に結合することができる。   In the case of the example in FIG. 7, unlike the example in FIG. 5, since the main scanning line of the image is not determined, there is a possibility that the PDL data is output in the middle of the line. Therefore, on the printer 8 side, the image cannot be accurately drawn only by stacking the images included in the received PDL data in the sub-scanning direction. Therefore, when generating the PDL data, the PDL generation processing unit 103 includes information indicating the position in the main scanning direction of the first pixel of the image in the PDL data. Thereby, on the printer 8 side, images separately transmitted from the PC 1 side can be suitably combined based on information indicating the position of the pixel in the main scanning direction.

尚、図5や、図7に示すような機能は、上述したように図2に示すグラフィック部10bによって実現されるが、図2に示すようなグラフィック部10bの機能構成は、ソフトウェアとハードウェアとの組み合わせによって実現される。以下、本実施形態に係るPC1のハードウェア構成について図8を参照して説明する。   The functions shown in FIGS. 5 and 7 are realized by the graphic unit 10b shown in FIG. 2 as described above. The functional configuration of the graphic unit 10b shown in FIG. 2 includes software and hardware. It is realized by the combination. Hereinafter, the hardware configuration of the PC 1 according to the present embodiment will be described with reference to FIG.

図8に示すように、本実施形態に係るPC1は、一般的な情報処理端末と同様の構成を有する。即ち、本実施形態に係るPC1は、CPU(Central Processing Unit)30、RAM(Random Access Memory)31、ROM(Read Only Memory)32、HDD(Hard Disk Drive)34及びI/F35がバス33を介して接続されている。また、I/F35にはLCD(Liquid Crystal Display)36及び操作部37が接続されている。   As shown in FIG. 8, the PC 1 according to the present embodiment has the same configuration as a general information processing terminal. That is, the PC 1 according to the present embodiment includes a CPU (Central Processing Unit) 30, a RAM (Random Access Memory) 31, a ROM (Read Only Memory) 32, an HDD (Hard Disk Drive) 34, and an I / F 35 via the bus 33. Connected. In addition, an LCD (Liquid Crystal Display) 36 and an operation unit 37 are connected to the I / F 35.

CPU30は演算手段であり、PC1全体の動作を制御する。RAM31は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU30が情報を処理する際の作業領域として用いられる。ROM32は、読み出し専用の不揮発性記憶媒体であり、ファームウェア等のプログラムが格納されている。   The CPU 30 is a calculation means and controls the operation of the entire PC 1. The RAM 31 is a volatile storage medium capable of reading and writing information at high speed, and is used as a work area when the CPU 30 processes information. The ROM 32 is a read-only nonvolatile storage medium and stores a program such as firmware.

HDD34は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーション・プログラム等が格納されている。I/F35は、バス34と各種のハードウェアやネットワーク等を接続し制御する。LCD36は、ユーザがPC1の状態を確認するための視覚的ユーザインタフェースである。操作部37は、キーボードやマウス等、ユーザがPC1に情報を入力するためのユーザインタフェースである。   The HDD 34 is a non-volatile storage medium that can read and write information, and stores an OS (Operating System), various control programs, application programs, and the like. The I / F 35 connects and controls the bus 34 and various hardware and networks. The LCD 36 is a visual user interface for the user to check the state of the PC 1. The operation unit 37 is a user interface such as a keyboard and a mouse for the user to input information to the PC 1.

このようなハードウェア構成において、ROM32やHDD34若しくは図示しない光学ディスク等の記録媒体に格納されたプログラムがRAM31に読み出され、それらのプログラムに従ってCPU30が演算を行うことにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、図1、図2に示すような、本実施形態に係るPC1の機能を実現する機能ブロックが構成される。   In such a hardware configuration, a program stored in a recording medium such as the ROM 32, the HDD 34, or an optical disk (not shown) is read into the RAM 31, and the CPU 30 performs an operation according to these programs, thereby configuring a software control unit. The A functional block for realizing the functions of the PC 1 according to the present embodiment as shown in FIGS. 1 and 2 is configured by a combination of the software control unit configured in this way and hardware.

図2に示すようなグラフィック部10bの機能構成を実現するプリンタドライバ10は、例えば光記憶媒体等に格納されたソフトウェア・プログラムが、PC1のHDD34にインストールされることによって構成される。しかしながら、図2に示すようなプリンタドライバ10をインストールするための方法は、記憶媒体に格納されたソフトウェア・プログラムをPC1に読み出すことに限らず、例えば、ネットワークを介してPC1にソフトウェア・プログラムをダウンロードすることによって実現することも可能である。   The printer driver 10 that realizes the functional configuration of the graphic unit 10b as shown in FIG. 2 is configured by installing a software program stored in an optical storage medium or the like in the HDD 34 of the PC 1, for example. However, the method for installing the printer driver 10 as shown in FIG. 2 is not limited to reading the software program stored in the storage medium to the PC 1, for example, downloading the software program to the PC 1 via the network. This can also be realized.

そのような場合において、プリンタドライバ10をインストールするためのインストーラ・プログラムをプリンタ8に設けられた記憶媒体に記憶しておき、プリンタ8からPC1にインストーラ・プログラムをダウンロードすることによっても、PC1にプリンタドライバ10を構成することができる。即ち、本実施形態に係るプリンタドライバ10の流通形態として、プリンタドライバ10を記憶させた記憶媒体を含むプリンタ10としての流通形態が考えられる。   In such a case, an installer program for installing the printer driver 10 is stored in a storage medium provided in the printer 8 and the installer program is downloaded from the printer 8 to the PC 1. The driver 10 can be configured. That is, as a distribution form of the printer driver 10 according to the present embodiment, a distribution form as the printer 10 including a storage medium in which the printer driver 10 is stored can be considered.

1 PC
2 アプリケーション
3 GDI
4 スプーラー
5 スプールファイル
6 プリンタプロセッサ
7 ポートモニタ
8 プリンタ
9 ネットワーク
10 プリンタドライバ
10a UI部
10b グラフィック部
30 CPU
31 RAM
32 ROM
33 バス
34 HDD
35 I/F
36 LCD
37 操作部
100 グラフィック制御部100
101 色数判定処理部
102 画像変換処理部
103 PDL生成処理部
104 インデックステーブル
105 画像バッファ
1 PC
2 Application 3 GDI
4 Spooler 5 Spool file 6 Printer processor 7 Port monitor 8 Printer 9 Network 10 Printer driver 10a UI unit 10b Graphic unit 30 CPU
31 RAM
32 ROM
33 Bus 34 HDD
35 I / F
36 LCD
37 Operation unit 100 Graphic control unit 100
101 Color Number Determination Processing Unit 102 Image Conversion Processing Unit 103 PDL Generation Processing Unit 104 Index Table 105 Image Buffer

特開2010−152597号公報JP 2010-152597 A

Claims (10)

印刷装置に印刷出力を実行させるための印刷制御情報を生成するための印刷制御プログラムであって、
前記印刷出力するべき画像を取得して記憶媒体に記憶させるステップと、
前記記憶された画像を構成する各画素の色を前記画素の並び順に従って判定するステップと、
前記各画素の色の判定結果に基づいて異なる色をカウントするステップと、
前記異なる色を表現するための情報をインデックス値と関連付けて記憶媒体に記憶させるステップと、
前記判定された色に関連付けられた前記インデックス値を前記画素の並び順に従って記憶媒体に記憶させるステップと、
予め定められた前記インデックス値の数の上限値と前記異なる色のカウント数との比較結果に基づき、前記画素の並び順に従って記憶されたインデックス値を用いて前記印刷制御情報を生成して出力するステップとを情報処理装置に実行させることを特徴とする印刷制御プログラム。
A print control program for generating print control information for causing a printing apparatus to execute print output,
Acquiring the image to be printed and storing it in a storage medium;
Determining the color of each pixel constituting the stored image according to the arrangement order of the pixels;
Counting different colors based on the determination result of the color of each pixel;
Storing the information for expressing the different colors in a storage medium in association with an index value;
Storing the index value associated with the determined color in a storage medium according to the order of the pixels;
Based on the comparison result between the predetermined upper limit value of the number of index values and the count number of different colors, the print control information is generated and output using the index values stored in accordance with the arrangement order of the pixels. And a step of causing the information processing apparatus to execute the step.
前記印刷制御情報を生成して出力するステップにおいては、前記画像の副走査方向の所定の範囲毎に前記インデックス値の数の上限値と前記異なる色のカウント数との比較結果を判断することを特徴とする請求項1に記載の印刷制御プログラム。   In the step of generating and outputting the print control information, a comparison result between the upper limit value of the number of index values and the count number of different colors is determined for each predetermined range in the sub-scanning direction of the image. The printing control program according to claim 1, wherein: 前記印刷制御情報を生成して出力するステップにおいては、前記異なる色のカウント数が前記インデックス値の数の上限値を超えた場合、前記色を判定中の画素が含まれる前記所定の範囲の画素について、前記記憶された元の画像を用いて前記印刷制御情報を生成して出力すると共に、前記異なる色のカウント数が前記インデックス値の数の上限値以下の状態で前記所定の範囲の終端まで前記画素の色の判定を完了した場合、前記画素の並び順に従って記憶されたインデックス値を用いて前記印刷制御情報を生成して出力することを特徴とする請求項2に記載の印刷制御プログラム。   In the step of generating and outputting the print control information, if the count number of the different color exceeds the upper limit value of the number of index values, the pixels in the predetermined range including the pixel whose color is being determined And generating and outputting the print control information using the stored original image and the end of the predetermined range in a state where the count number of the different colors is equal to or less than the upper limit value of the number of index values The print control program according to claim 2, wherein when the determination of the color of the pixel is completed, the print control information is generated and output using an index value stored according to the arrangement order of the pixels. 前記インデックス値の数の上限値に加えて、前記上限値よりも低い閾値が定められており、
前記印刷制御情報を生成して出力するステップにおいては、前記異なる色のカウント数が前記インデックス値の数の上限値以下の状態で前記所定の範囲の終端まで前記画素の色の判定を完了した場合、前記カウント数が前記閾値以下の状態であれば、ビット数が削減されたインデックス値を用いて前記印刷制御情報を生成して出力することを特長とする請求項3に記載の印刷制御プログラム。
In addition to the upper limit value of the number of index values, a threshold value lower than the upper limit value is defined,
In the step of generating and outputting the print control information, the determination of the color of the pixel is completed up to the end of the predetermined range in a state where the count number of the different colors is equal to or less than the upper limit value of the number of index values The print control program according to claim 3, wherein if the count number is equal to or less than the threshold value, the print control information is generated and output using an index value with a reduced number of bits.
前記画像の副走査方向の所定の範囲が、一主走査ライン毎であることを特徴とする請求項2乃至4いずれかに記載の印刷制御プログラム。   5. The print control program according to claim 2, wherein the predetermined range in the sub-scanning direction of the image is every main scanning line. 前記画像の副走査方向の所定の範囲が、前記印刷装置が前記印刷制御情報を処理する範囲毎であることを特徴とする請求項2乃至4いずれかに記載の印刷制御プログラム。   5. The print control program according to claim 2, wherein the predetermined range of the image in the sub-scanning direction is a range in which the printing apparatus processes the print control information. 前記印刷制御情報を生成して出力するステップにおいては、前記異なる色のカウント数が前記インデックス値の数の上限値を超える毎に、既に記憶されているインデックス値を用いて前記印刷制御情報を生成して出力することを特徴とする請求項1に記載の印刷制御プログラム。   In the step of generating and outputting the print control information, the print control information is generated using an already stored index value every time the number of different color counts exceeds the upper limit of the number of index values. The print control program according to claim 1, wherein the print control program is output in the same manner. 印刷装置に印刷出力を実行させるための印刷制御情報を生成するための印刷制御機能を実現する情報処理装置であって、
前記印刷出力するべき画像を取得する画像取得部と、
前記取得した画像を構成する各画素の色を前記画素の並び順に従って判定する画素色判定部と、
前記各画素の色の判定結果に基づいて異なる色をカウントする色カウント部と、
前記異なる色を表現するための情報をインデックス値と関連付けて記憶媒体に記憶させるインデックス処理部と、
前記判定された色に関連付けられた前記インデックス値を前記画素の並び順に従って記憶媒体に記憶させる画像変換処理部と、
予め定められた前記インデックス値の数の上限値と前記異なる色のカウント数との比較結果に基づき、前記画素の並び順に従って記憶されたインデックス値を用いて前記印刷制御情報を生成して出力する印刷制御情報処理部とを含むことを特徴とする情報処理装置。
An information processing apparatus for realizing a print control function for generating print control information for causing a printing apparatus to execute print output,
An image acquisition unit for acquiring an image to be printed;
A pixel color determination unit that determines the color of each pixel constituting the acquired image according to the arrangement order of the pixels;
A color counting unit that counts different colors based on the determination result of the color of each pixel;
An index processing unit that stores information for expressing the different colors in a storage medium in association with an index value;
An image conversion processing unit that stores the index value associated with the determined color in a storage medium according to the arrangement order of the pixels;
Based on the comparison result between the predetermined upper limit value of the number of index values and the count number of different colors, the print control information is generated and output using the index values stored in accordance with the pixel arrangement order. An information processing apparatus including a print control information processing unit.
請求項1乃至7いずれか1項に記載の印刷制御プログラムと印刷装置とを含むことを特徴とする印刷システム。   A printing system comprising the printing control program according to claim 1 and a printing apparatus. 請求項1乃至7いずれか1項に記載の印刷制御プログラムが記憶された記憶部を含むことを特徴とする印刷装置。   A printing apparatus comprising: a storage unit in which the print control program according to claim 1 is stored.
JP2011020865A 2011-02-02 2011-02-02 Printing control program, information processing device, printing system, and printing device Withdrawn JP2012160124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011020865A JP2012160124A (en) 2011-02-02 2011-02-02 Printing control program, information processing device, printing system, and printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011020865A JP2012160124A (en) 2011-02-02 2011-02-02 Printing control program, information processing device, printing system, and printing device

Publications (1)

Publication Number Publication Date
JP2012160124A true JP2012160124A (en) 2012-08-23

Family

ID=46840581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011020865A Withdrawn JP2012160124A (en) 2011-02-02 2011-02-02 Printing control program, information processing device, printing system, and printing device

Country Status (1)

Country Link
JP (1) JP2012160124A (en)

Similar Documents

Publication Publication Date Title
US7711141B2 (en) Systems and methods for imaging streaming image data comprising multiple images on an image-by-image basis
JP4458176B2 (en) Printing control apparatus, printing apparatus, and program
US8724153B2 (en) Information processing apparatus, method of information processing, and storage mediurn for performing scaling processing on image data
EP2278449A2 (en) Apparatus, method, system and storage medium for setting print status
EP2779619B1 (en) Method and system for determining an object type from raster data in an image forming apparatus
JP5655590B2 (en) Image forming apparatus, image forming apparatus control method, and image forming apparatus control program
JP5490757B2 (en) Printer driver and printing method using the same
JP4933415B2 (en) Image processing apparatus, method, and program
KR100633140B1 (en) Image forming device and Method for compensating resoultion
JP2013052615A (en) Image forming apparatus, program and method for controlling drawing processing
US10021275B2 (en) Image processing apparatus, method of controlling image processing apparatus, and non-transitory recording medium
JP7102955B2 (en) Information processing equipment and programs
JP6120824B2 (en) Image processing apparatus, image processing method, and program
US9069507B2 (en) Print server, printing system, and computer program product configured to send print data to an image forming apparatus based on obtained designation of the image forming apparatus
JP2016107617A (en) Image formation device, image formation method, and image formation program
JP5978706B2 (en) Printing control program, information processing apparatus, printing system, and printing apparatus
JP2012160124A (en) Printing control program, information processing device, printing system, and printing device
JP2020110926A (en) Image formation apparatus, control method of image formation apparatus, image formation system and program
JP5202265B2 (en) Image processing apparatus, program, and control method for image processing apparatus
KR20180067221A (en) Host divice transmitting print data to printer and method for encoding print data by host device
US9189181B2 (en) Information processing apparatus, method, and computer program product comparing number of color conversions considering object attributes
JP2022070514A (en) Printing device, program and information processing device
US20130063775A1 (en) Image forming apparatus capable of providing actual-size preview, method of controlling the same, and storage medium
JP6455675B2 (en) Electronic device and font image output program
JP5992956B2 (en) Image processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513