JP2013197736A - Information processing device and data processing method and program in information processing device - Google Patents

Information processing device and data processing method and program in information processing device Download PDF

Info

Publication number
JP2013197736A
JP2013197736A JP2012061109A JP2012061109A JP2013197736A JP 2013197736 A JP2013197736 A JP 2013197736A JP 2012061109 A JP2012061109 A JP 2012061109A JP 2012061109 A JP2012061109 A JP 2012061109A JP 2013197736 A JP2013197736 A JP 2013197736A
Authority
JP
Japan
Prior art keywords
color space
image data
unit
data
information processing
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
Application number
JP2012061109A
Other languages
Japanese (ja)
Inventor
Hirobumi Narita
博文 成田
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Inc
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 Canon Finetech Inc filed Critical Canon Finetech Inc
Priority to JP2012061109A priority Critical patent/JP2013197736A/en
Publication of JP2013197736A publication Critical patent/JP2013197736A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device which improves efficiency in a printing process including spooling.SOLUTION: Image data to be printed and information on a color space in which the image data is defined are acquired, and determination of whether the color space in which the image data is defined can be processed by a printing device is made. When the color space is determined not to be the one processable by the printing device, the image data is converted to image data defined in a color space processable by the printing device, and the converted image data is spooled in a storage unit. When the color space is determined to be the one processable by the printing device, print data processable by the printing device is generated from the acquired image data, and the generated image data is sent to the printing device.

Description

印刷装置が処理可能な印刷データを印刷装置に送信するためにスプールする情報処理装置、その情報処理装置におけるデータ処理方法およびプログラムに関する。   The present invention relates to an information processing apparatus that spools print data that can be processed by a printing apparatus, and a data processing method and program in the information processing apparatus.

近年の印刷装置の高速化に伴い、ホスト装置からの印刷装置に対する印刷データの供給が間に合わずに、印刷装置が印刷データ待ちで一時停止を繰り返してしまうことがある。そのような場合には、印刷装置の性能を活かすことができずに、印刷装置を余分に占有してしまうことになる。   With the recent increase in the speed of printing apparatuses, the printing apparatus may not be able to supply the printing data in time to the printing apparatus, and the printing apparatus may repeatedly pause while waiting for the printing data. In such a case, the performance of the printing apparatus cannot be utilized, and the printing apparatus is occupied exclusively.

そこで、印刷装置で一時停止することなく、ホスト装置から印刷装置に印刷データを供給する技術としてスプール処理が知られている。スプール処理とは、ホスト装置側で複数ページの全てに対する画像処理を行いつつ印刷データを生成し、全てのページの印刷データのスプールが完了すると、ホスト装置から印刷装置に、そのスプールされた全てのページの印刷データを送信することである。そのようなスプール処理により、ホスト装置では、印刷装置への印刷データの供給遅延の原因となる画像処理や印刷データ生成処理を、印刷データへの送信処理と別にすることにより、印刷装置が一時停止を防ぐことができる。   Therefore, spool processing is known as a technique for supplying print data from a host device to a printing device without temporarily stopping the printing device. Spool processing is a process of generating print data while performing image processing for all of a plurality of pages on the host device side, and when spooling of print data for all pages is completed, all the spooled data is transferred from the host device to the printing device. Sending print data for a page. By such spooling processing, the host device suspends the printing device by separating image processing and print data generation processing that cause a delay in supplying print data to the printing device from transmission processing to the print data. Can be prevented.

特許文献1には、ホスト装置に関する環境情報(CPU能力、RAM搭載量、RAM速度、HDD速度、インタフェース速度)に基づいて、スプールモード若しくは非スプールモードが選択されることが記載されている。特許文献1には、スプール処理を行うか否かの選択構成により、ホスト装置における印刷開始から印刷装置における印刷終了までの印刷処理時間を短縮することが記載されている。   Patent Document 1 describes that a spool mode or a non-spool mode is selected based on environment information (CPU capability, RAM mounting amount, RAM speed, HDD speed, interface speed) regarding the host device. Japanese Patent Application Laid-Open No. 2004-151561 describes that the print processing time from the start of printing in the host device to the end of printing in the printing device is shortened by selecting the configuration for whether or not to perform spool processing.

特許第3907484号公報Japanese Patent No. 3907484

しかしながら、特許文献1では、スプール処理を行う場合には、データの種類に関わらず一律にスプール処理を実行している。従って、スプール処理が不要なデータであっても、全てのページについて印刷データを生成してスプール処理している。つまり、本来はスプール処理が不要なデータについてもスプール処理を行なうこととなり、その結果、不要な処理時間が発生してしまう。   However, in Patent Document 1, when performing spool processing, the spool processing is uniformly executed regardless of the type of data. Therefore, print data is generated and spooled for all pages even if the data does not require spooling. That is, spool processing is also performed for data that originally does not require spool processing, and as a result, unnecessary processing time occurs.

本発明の目的は、このような従来の問題点を解決することにある。上記の点に鑑み、本発明は、スプール処理を含む印刷処理において効率性を向上する情報処理装置、その情報処理装置におけるデータ処理方法およびプログラムを提供することを目的とする。   An object of the present invention is to solve such conventional problems. In view of the above, it is an object of the present invention to provide an information processing apparatus that improves efficiency in print processing including spool processing, and a data processing method and program in the information processing apparatus.

上記課題を解決するため、本発明に係る情報処理装置は、印刷対象の画像データと、当該画像データが定義されている色空間の情報とを取得する取得手段と、前記取得手段により前記情報が取得された結果、前記画像データが定義されている色空間が印刷装置で処理可能な色空間であるか否かを判定する判定手段と、前記判定手段により前記印刷装置で処理可能な色空間でないと判定された場合に、前記画像データを前記印刷装置で処理可能な色空間で定義されている画像データに変換する変換手段と、前記変換手段により変換された画像データを記憶部にスプールするスプール手段と、前記判定手段により前記印刷装置で処理可能な色空間であると判定された場合に、前記取得手段により取得された画像データから、前記印刷装置で処理可能な印刷データを生成するデータ生成手段と、前記データ生成手段により生成された印刷データを前記印刷装置に送信する送信手段とを備えることを特徴とする。   In order to solve the above-described problem, an information processing apparatus according to the present invention includes an acquisition unit that acquires image data to be printed and information on a color space in which the image data is defined, and the information is acquired by the acquisition unit. As a result of the acquisition, a determination unit that determines whether the color space in which the image data is defined is a color space that can be processed by the printing apparatus, and a color space that is not processable by the printing apparatus by the determination unit A conversion unit that converts the image data into image data defined in a color space that can be processed by the printing apparatus, and a spool that spools the image data converted by the conversion unit in a storage unit And the printing device can process the image data acquired by the acquisition device when the determination device determines that the color space can be processed by the printing device. Data generating means for generating Do print data, characterized by comprising a transmitting means for transmitting the print data generated by said data generating means to the printing apparatus.

本発明によれば、スプール処理を含む印刷処理において効率性を向上することができる。   According to the present invention, it is possible to improve efficiency in print processing including spool processing.

情報処理装置のハードウエア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of information processing apparatus. 情報処理装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of information processing apparatus. 情報処理装置の他の機能構成を示すブロック図である。It is a block diagram which shows the other function structure of information processing apparatus. 画像データを印刷処理する手順を示すフローチャートである。It is a flowchart which shows the procedure which prints image data. 画像処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an image process.

以下、添付図面を参照して本発明の好適な実施例を詳しく説明する。尚、以下の実施例は特許請求の範囲に係る本発明を限定するものでなく、また本実施例で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are not necessarily essential to the solution means of the present invention. . The same constituent elements are denoted by the same reference numerals, and the description thereof is omitted.

図1は、本発明に係る実施例における情報処理装置100のハードウエア構成を示すブロック図である。情報処理装置100として、例えば、汎用的なパーソナル・コンピュータ等が用いられる。情報処理装置100のハードディスク(HDD)102には、オペレーティングシステム(OS)と、印刷装置200を制御するためのプリンタドライバと、各種ドキュメント等を作成するアプリケーションとがインストールされている。情報処理装置100はさらに、以下の各ユニットを含んでいる。CPU101は、HDD102に記憶された制御プログラムに基づき、システムバス103に接続された各ユニットを制御して、OSやアプリケーション、プリンタドライバ等を起動して実行する。RAM104は主に、CPU101のワークエリアとして用いられる。RAM104には、システムプログラムとしてのOSや、プリンタドライバ等のデバイスドライバ等が常駐する。外部メモリ105は、FD(フレキシブルディスク)、CD−ROM、MO等の記録媒体である。入力部106は、例えば、ポインティングデバイス、キーボード等を含むユーザコマンド入力装置であり、ユーザからのコマンドを受け付ける。表示部107は、CRTディスプレイや液晶ディスプレイ等であり、OS、アプリケーション、プリンタドライバ等のユーザインタフェースを表示する。表示部107は、各種のウィンドウ上のアイコンやボタン等を介してユーザからの指示を受け付ける。通信部108は、IEEE1284規格に準拠するパラレルインタフェース、IEEE1394規格やUSB規格に準拠するシリアルインタフェース、LAN等のネットワークを介して、印刷装置200とデータ送受信を行う。   FIG. 1 is a block diagram showing a hardware configuration of an information processing apparatus 100 according to an embodiment of the present invention. As the information processing apparatus 100, for example, a general-purpose personal computer or the like is used. An operating system (OS), a printer driver for controlling the printing apparatus 200, and an application for creating various documents are installed in the hard disk (HDD) 102 of the information processing apparatus 100. The information processing apparatus 100 further includes the following units. The CPU 101 controls each unit connected to the system bus 103 based on a control program stored in the HDD 102, and starts and executes an OS, an application, a printer driver, and the like. The RAM 104 is mainly used as a work area for the CPU 101. In the RAM 104, an OS as a system program, a device driver such as a printer driver, and the like reside. The external memory 105 is a recording medium such as an FD (flexible disk), CD-ROM, or MO. The input unit 106 is a user command input device including, for example, a pointing device, a keyboard, and the like, and accepts commands from the user. The display unit 107 is a CRT display, a liquid crystal display, or the like, and displays a user interface such as an OS, an application, and a printer driver. The display unit 107 receives instructions from the user via icons and buttons on various windows. The communication unit 108 transmits / receives data to / from the printing apparatus 200 via a parallel interface conforming to the IEEE1284 standard, a serial interface conforming to the IEEE1394 standard or the USB standard, or a network such as a LAN.

図2は、本実施例における情報処理装置100の機能構成を示すブロック図である。情報処理装置100は、色空間取得部120と、色変換判定部130と、画像処理部140と、印刷データ生成部150と、印刷データ出力部160と、第1スプール処理部170とを含む。本実施例において、色空間取得部120と、色変換判定部130と、画像処理部140と、印刷データ生成部150と、印刷データ出力部160と、第1スプール処理部170とは、ソフトウェアで実現される。図2の各部についての機能は、CPU101がHDD102に格納されたプログラムを実行することにより実現される。   FIG. 2 is a block diagram illustrating a functional configuration of the information processing apparatus 100 according to the present embodiment. The information processing apparatus 100 includes a color space acquisition unit 120, a color conversion determination unit 130, an image processing unit 140, a print data generation unit 150, a print data output unit 160, and a first spool processing unit 170. In this embodiment, the color space acquisition unit 120, the color conversion determination unit 130, the image processing unit 140, the print data generation unit 150, the print data output unit 160, and the first spool processing unit 170 are software. Realized. 2 is realized by the CPU 101 executing a program stored in the HDD 102.

色空間取得部120は、印刷対象として入力された画像データから、その画像データを定義している色空間についての情報を取得する。例えば、色空間取得部120は、ページ記述言語(PDL:PageDescriptionLanguage)で記述されている色空間情報を取得する。色変換判定部130は、色空間取得部120により取得された色空間情報に基づいて、画像データを定義している色空間が、印刷装置200が処理可能な印刷データを定義している色空間であるか否かを判定する。画像処理部140は、画像データに対して、様々な画像処理を行う。画像処理については、図5において説明する。   The color space acquisition unit 120 acquires information about the color space defining the image data from the image data input as the print target. For example, the color space acquisition unit 120 acquires color space information described in a page description language (PDL: PageDescription Language). Based on the color space information acquired by the color space acquisition unit 120, the color conversion determination unit 130 defines a color space in which image data is defined and print data that can be processed by the printing apparatus 200. It is determined whether or not. The image processing unit 140 performs various image processing on the image data. Image processing will be described with reference to FIG.

本実施例においては、画像処理部140で画像処理された画像データは、色変換判定部130による判定結果に応じて、印刷データ生成部150に直接供給されるか、若しくは、第1スプール処理部170を介して印刷データ生成部150に供給される。第1スプール処理部170を介して印刷データ生成部150に供給される場合には、画像処理部140で画像処理された画像データは、第1スプール処理部170によりスプールデータ記憶部180にスプールされる。その後、第1スプール処理部170は、スプールデータ記憶部180にスプールされた画像データを印刷データ生成部150に供給する。なお、スプールデータ記憶部180は、例えばHDD102内に構成されるようにしても良い。   In the present embodiment, the image data image-processed by the image processing unit 140 is directly supplied to the print data generation unit 150 according to the determination result by the color conversion determination unit 130, or the first spool processing unit The data is supplied to the print data generation unit 150 via 170. When supplied to the print data generation unit 150 via the first spool processing unit 170, the image data processed by the image processing unit 140 is spooled to the spool data storage unit 180 by the first spool processing unit 170. The Thereafter, the first spool processing unit 170 supplies the image data spooled in the spool data storage unit 180 to the print data generation unit 150. The spool data storage unit 180 may be configured in the HDD 102, for example.

印刷データ生成部150は、供給された画像処理済みの画像データから、印刷装置200が印刷処理可能な印刷データを生成する。印刷データ出力部160は、印刷データ生成部150により生成された印刷データを、情報処理装置100の通信部108を介して、印刷装置200に出力する。   The print data generation unit 150 generates print data that can be printed by the printing apparatus 200 from the supplied image processed image data. The print data output unit 160 outputs the print data generated by the print data generation unit 150 to the printing apparatus 200 via the communication unit 108 of the information processing apparatus 100.

図3は、本実施例における情報処理装置の他の機能構成を示すブロック図である。情報処理装置100は、色空間取得部120と、色変換判定部130と、画像処理部140と、印刷データ生成部150と、印刷データ出力部160と、第2スプール処理部190とを含む。本実施例において、色空間取得部120と、色変換判定部130と、画像処理部140と、印刷データ生成部150と、印刷データ出力部160と、第2スプール処理部190とは、ソフトウェアで実現される。図3の各部についての機能は、CPU101がHDD102に格納されたプログラムを実行することにより実現される。   FIG. 3 is a block diagram illustrating another functional configuration of the information processing apparatus according to the present embodiment. The information processing apparatus 100 includes a color space acquisition unit 120, a color conversion determination unit 130, an image processing unit 140, a print data generation unit 150, a print data output unit 160, and a second spool processing unit 190. In this embodiment, the color space acquisition unit 120, the color conversion determination unit 130, the image processing unit 140, the print data generation unit 150, the print data output unit 160, and the second spool processing unit 190 are software. Realized. 3 is realized by the CPU 101 executing a program stored in the HDD 102.

色空間取得部120は、印刷対象として入力された画像データから、その画像データを定義している色空間についての情報を取得する。例えば、色空間取得部120は、ページ記述言語で記述されている色空間情報を取得する。色変換判定部130は、色空間取得部120で取得された色空間情報に基づいて、画像データを定義している色空間が、印刷装置200が処理可能な印刷データを定義している色空間であるか否かを判定する。画像処理部140は、画像データに対して、様々な画像処理を行う。画像処理については、図5において説明する。   The color space acquisition unit 120 acquires information about the color space defining the image data from the image data input as the print target. For example, the color space acquisition unit 120 acquires color space information described in a page description language. Based on the color space information acquired by the color space acquisition unit 120, the color conversion determination unit 130 defines a color space in which image data is defined and print data that can be processed by the printing apparatus 200. It is determined whether or not. The image processing unit 140 performs various image processing on the image data. Image processing will be described with reference to FIG.

印刷データ生成部150は、画像処理部140で画像処理された画像データから、印刷装置200が印刷処理可能な印刷データを生成する。印刷データ生成部150により生成された印刷データは、色変換判定部130による判定結果に応じて、印刷データ出力部160に直接供給されるか、若しくは、第2スプール処理部190を介して、印刷データ出力部160に供給される。   The print data generation unit 150 generates print data that can be printed by the printing apparatus 200 from the image data that has been subjected to image processing by the image processing unit 140. The print data generated by the print data generation unit 150 is directly supplied to the print data output unit 160 or printed via the second spool processing unit 190 depending on the determination result by the color conversion determination unit 130. The data is supplied to the data output unit 160.

第2スプール処理部190を介して、印刷データ出力部160に供給される場合には、印刷データ生成部150により生成された印刷データは、第2スプール処理部190によりスプールデータ記憶部180にスプールされる。その後、第2スプール処理部190は、スプールデータ記憶部180にスプールされた印刷データを、印刷データ出力部160に供給する。なお、スプールデータ記憶部180は、例えばHDD102内に構成されるようにしても良い。印刷データ出力部160は、供給された印刷データを、情報処理装置100の通信部108を介して、印刷装置200に出力する。   When the print data is supplied to the print data output unit 160 via the second spool processing unit 190, the print data generated by the print data generation unit 150 is spooled to the spool data storage unit 180 by the second spool processing unit 190. Is done. Thereafter, the second spool processing unit 190 supplies the print data spooled in the spool data storage unit 180 to the print data output unit 160. The spool data storage unit 180 may be configured in the HDD 102, for example. The print data output unit 160 outputs the supplied print data to the printing apparatus 200 via the communication unit 108 of the information processing apparatus 100.

図4は、情報処理装置100において実行されるデータ処理の手順を示すフローチャートである。図4に示す処理は、例えば、情報処理装置100のCPU101により実行される。以下、情報処理装置100が図3に示す機能構成を有する場合について説明する。また、図4に示す処理は、画像データの表わす画像が複数のページから構成されている場合には、その先頭ページから最終ページまで各ページごとに、画像処理や印刷データ生成処理が実行される。CPU101は、色空間取得部120により、印刷対象として入力された画像データから、その画像データを定義している色空間についての情報を取得する(S401)。次に、CPU101は、色変換判定部130により、その画像データの色空間情報に基づいて、画像データを定義している色空間が、印刷装置200が処理可能な印刷データを定義している色空間であるか否かを判定する(S402)。   FIG. 4 is a flowchart illustrating a data processing procedure executed in the information processing apparatus 100. The process illustrated in FIG. 4 is executed by the CPU 101 of the information processing apparatus 100, for example. Hereinafter, a case where the information processing apparatus 100 has the functional configuration illustrated in FIG. 3 will be described. In the process shown in FIG. 4, when an image represented by image data is composed of a plurality of pages, image processing and print data generation processing are executed for each page from the first page to the last page. . The CPU 101 uses the color space acquisition unit 120 to acquire information about the color space defining the image data from the image data input as a print target (S401). Next, based on the color space information of the image data, the CPU 101 causes the color space defining the image data to define the print data that can be processed by the printing apparatus 200 based on the color space information of the image data. It is determined whether or not it is a space (S402).

つまり、本実施例では、S402において、色空間変換が発生するか否かを判定している。例えば、S402で画像データを定義している色空間が、印刷装置200が処理可能な印刷データを定義している色空間でないと判定された場合には、色空間変換が発生すると判定する。S402で画像データを定義している色空間が印刷装置200が処理可能な印刷データを定義している色空間でないと判定された場合、スプールモードとして設定する(S403)。ここで、スプールモードとは、印刷装置200が処理可能な印刷データをスプールデータ記憶部180にスプールしてから、印刷装置200に送信する処理の形態をいう。スプールモードとして設定するとは、例えば、RAM104等の記憶領域に一時的に、スプールモードであることを示すフラグ等を格納するようにして構成されても良い。次に、CPU101は、現在の処理対象のページが、画像データが表わす画像の最終ページについての処理が終了したか否かを判定する(S404)。ここで、最終ページについて処理が終了したと判定される場合とは、入力された画像データの表わす画像の全てのページに対して画像処理及び印刷データ生成処理が終了している場合である。   That is, in this embodiment, it is determined in S402 whether or not color space conversion occurs. For example, if it is determined in S402 that the color space defining the image data is not a color space defining print data that can be processed by the printing apparatus 200, it is determined that color space conversion occurs. If it is determined in S402 that the color space defining the image data is not a color space defining print data that can be processed by the printing apparatus 200, the spool mode is set (S403). Here, the spool mode refers to a form of processing in which print data that can be processed by the printing apparatus 200 is spooled in the spool data storage unit 180 and then transmitted to the printing apparatus 200. The setting as the spool mode may be configured such that a flag indicating the spool mode is temporarily stored in a storage area such as the RAM 104, for example. Next, the CPU 101 determines whether or not the processing for the last page of the image represented by the image data is completed for the current page to be processed (S404). Here, the case where it is determined that the processing has been completed for the last page is a case where the image processing and the print data generation processing have been completed for all pages of the image represented by the input image data.

S404で最終ページでないと判定された場合には、CPU101は、画像処理部140により、現在の処理対象のページに対して、画像データを定義している色空間に応じた画像処理を行う(S405)。次に、CPU101は、印刷データ生成部150により、画像処理部140によって画像処理された画像データから、印刷装置200が印刷処理可能な印刷データを生成する(S406)。   If it is determined in S404 that the page is not the last page, the CPU 101 causes the image processing unit 140 to perform image processing corresponding to the color space defining the image data on the current processing target page (S405). ). Next, the CPU 101 uses the print data generation unit 150 to generate print data that can be printed by the printing apparatus 200 from the image data that has been subjected to image processing by the image processing unit 140 (S406).

次に、CPU101は、画像データがS403でスプールモードに設定されていたか否かを判定する(S407)。CPU101は、S403での設定結果に基づいて、画像データがスプールモードに設定されているか否かを判定する。ここで、スプールモードに設定されていると判定された場合には、CPU101は、印刷データ生成部150により生成された印刷データを、第2スプール処理部190によりスプール処理する(S408)。一方、スプールモードに設定されていないと判定された場合には、CPU101は、印刷データ生成部150により生成された印刷データを、印刷データ出力部160により印刷装置200に出力する。次に、CPU101は、処理対象のページを1ページ進め(インクリメント)、S404からの処理を繰り返す(S410)。   Next, the CPU 101 determines whether or not the image data has been set to the spool mode in S403 (S407). The CPU 101 determines whether the image data is set to the spool mode based on the setting result in S403. If it is determined that the spool mode is set, the CPU 101 spools the print data generated by the print data generation unit 150 by the second spool processing unit 190 (S408). On the other hand, when it is determined that the spool mode is not set, the CPU 101 outputs the print data generated by the print data generation unit 150 to the printing apparatus 200 by the print data output unit 160. Next, the CPU 101 advances (increments) the page to be processed by one page, and repeats the processing from S404 (S410).

S404で画像データの表わす画像の最終ページについて処理が終了していると判定された場合には、画像データが、スプールモードに設定されていたかを判定する(S411)。ここで、スプールモードに設定されていたと判定された場合には、CPU101は、第2スプール処理部190によりスプールデータ記憶部180にスプールされた印刷データを、印刷データ出力部160に供給する(S412)。印刷データ出力部160は、印刷装置200に印刷データを出力して、図4に示す処理を終了する。一方、S411でスプールモードに設定されていなかったと判定された場合には、図4に示す処理を終了する。   If it is determined in S404 that the process has been completed for the last page of the image represented by the image data, it is determined whether the image data has been set to the spool mode (S411). If it is determined that the spool mode is set, the CPU 101 supplies the print data spooled in the spool data storage unit 180 by the second spool processing unit 190 to the print data output unit 160 (S412). ). The print data output unit 160 outputs the print data to the printing apparatus 200 and ends the process shown in FIG. On the other hand, if it is determined in S411 that the spool mode has not been set, the processing shown in FIG. 4 ends.

図4に示す処理は、情報処理装置100が図3に示す機能構成を有する場合について説明した。ここで、情報処理装置100が図2に示す機能構成を有する場合について説明する。図2において説明したように、画像処理部140で画像処理された画像データは、色変換判定部130による判定結果に応じて、印刷データ生成部150に直接供給されるか、若しくは、第1スプール処理部170を介して印刷データ生成部150に供給される。第1スプール処理部170を介して印刷データ生成部150に供給される場合には、画像処理部140で画像処理された画像データは、第1スプール処理部170によりスプールデータ記憶部180にスプールされる。その後、第1スプール処理部170は、スプールデータ記憶部180にスプールされた画像データを印刷データ生成部150に供給する。印刷データ生成部150は、供給された画像処理済みの画像データから、印刷装置200が印刷処理可能な印刷データを生成する。   The processing shown in FIG. 4 has been described for the case where the information processing apparatus 100 has the functional configuration shown in FIG. Here, the case where the information processing apparatus 100 has the functional configuration shown in FIG. 2 will be described. As described in FIG. 2, the image data processed by the image processing unit 140 is directly supplied to the print data generation unit 150 or the first spool according to the determination result by the color conversion determination unit 130. The data is supplied to the print data generation unit 150 via the processing unit 170. When supplied to the print data generation unit 150 via the first spool processing unit 170, the image data processed by the image processing unit 140 is spooled to the spool data storage unit 180 by the first spool processing unit 170. The Thereafter, the first spool processing unit 170 supplies the image data spooled in the spool data storage unit 180 to the print data generation unit 150. The print data generation unit 150 generates print data that can be printed by the printing apparatus 200 from the supplied image processed image data.

よって、情報処理装置100が図2に示す機能構成を有する場合で且つS407でスプールモードと判定された場合には、図4のS406の印刷データ生成処理は、S412において、スプールデータ記憶部180から読み出され、印刷データが生成される。また、情報処理装置100が図2に示す機能構成を有する場合で且つS407でスプールモードでないと判定された場合には、図4のS406の印刷データ生成処理は、S409の印刷データ出力処理の前段(S407とS409の間)で行われる。   Therefore, when the information processing apparatus 100 has the functional configuration shown in FIG. 2 and when the spool mode is determined in S407, the print data generation processing in S406 in FIG. 4 is performed from the spool data storage unit 180 in S412. The data is read and print data is generated. If the information processing apparatus 100 has the functional configuration shown in FIG. 2 and if it is determined in S407 that the information processing apparatus 100 is not in the spool mode, the print data generation process in S406 in FIG. 4 is preceded by the print data output process in S409. (Between S407 and S409).

図5は、情報処理装置100の画像処理部140が行う画像処理の手順を示すフローチャートである。図5に示す処理は、例えば、情報処理装置100のCPU101により実行される。以下、入力された画像データはRGB色空間で定義されたデータであり、印刷データはCMYK色空間で定義されたデータとする。   FIG. 5 is a flowchart illustrating a procedure of image processing performed by the image processing unit 140 of the information processing apparatus 100. The process illustrated in FIG. 5 is executed by the CPU 101 of the information processing apparatus 100, for example. Hereinafter, the input image data is data defined in the RGB color space, and the print data is data defined in the CMYK color space.

まず、CPU101は、入力された画像データのRGB値に対して、印刷装置200が色再現可能な色空間上の領域への合わせ込みを行うための色補正を行う(S501)。ここで、CPU101は、ルックアップテーブル(LUT)を用いて、入力データのRGB値をR’G’B’値に補正したとする。次に、その補正されたR’G’B’値を印刷装置200のインク(トナー)色であるCMYK値に色空間変換する(S502)。ここで、印刷装置200は、CMYKの4色インクを用いる構成でなくても、例えば、淡色シアン(Lc)や淡色マゼンタ(Lm)も含むCMYKLcLmの6色インクを用いる構成であっても良い。または、印刷装置200は、グレー、レッド、グリーンといった特色インクを用いる構成であっても良い。つまり、各構成に応じて、R’G’B’値から、印刷装置200が用いるインク色に適応した色空間で定義されたデータに変換することになる。   First, the CPU 101 performs color correction for matching the RGB values of the input image data into an area on a color space that can be reproduced by the printing apparatus 200 (S501). Here, it is assumed that the CPU 101 corrects the RGB value of the input data to the R′G′B ′ value by using a lookup table (LUT). Next, the corrected R′G′B ′ value is color space converted into a CMYK value that is an ink (toner) color of the printing apparatus 200 (S502). Here, the printing apparatus 200 may not be configured to use four-color inks of CMYK, but may be configured to use six-color inks of CMYKLcLm including light-colored cyan (Lc) and light-colored magenta (Lm), for example. Alternatively, the printing apparatus 200 may be configured to use special color inks such as gray, red, and green. That is, according to each configuration, the R′G′B ′ value is converted into data defined in a color space suitable for the ink color used by the printing apparatus 200.

次に、CPU101は、印刷装置200のインク(トナー)ごとの明度特性を補正する出力γ補正を行い(S503)、インク(トナー)色ごとの多値データに対して、ディザ処理や誤差拡散処理などのハーフトーン処理を行う(S504)。ハーフトーン処理された画像データは、その後、情報処理装置100の印刷データ生成部150に供給される。つまり、図5に示す画像処理の終了後は、その画像処理された画像データは、情報処理装置100の印刷データ生成部150に供給される。   Next, the CPU 101 performs output γ correction for correcting the brightness characteristic of each ink (toner) of the printing apparatus 200 (S503), and dither processing or error diffusion processing is performed on the multi-value data for each ink (toner) color. And so on (S504). The halftone processed image data is then supplied to the print data generation unit 150 of the information processing apparatus 100. That is, after the image processing shown in FIG. 5 is completed, the image processed image data is supplied to the print data generation unit 150 of the information processing apparatus 100.

以上の例において、入力された画像データがCMYK色空間で定義されたデータであり、印刷データもCMYK色空間で定義されたデータである場合には、少なくともS502の色変換処理は発生しない。つまり、本例においては、CMYK色空間で定義された画像データは、RGB色空間で定義された画像データと比較して、S501〜S504で示される画像処理の処理時間は短くなる。従来、印刷装置への印刷データの供給遅延の原因となる画像処理や印刷データ生成処理を、印刷データへの送信処理と別にする(スプール処理)ことにより、印刷装置の待ち時間を低減していた。従って、本例のように、色空間変換処理がなく、そもそも画像処理時間が短くすむようなデータについては、スプール処理をする必要がない。本実施例においては、そのようなデータについては、スプール処理を行うことなく、印刷データを生成した後に印刷装置200に送信するようにし、印刷装置200の不要な待ち時間を低減している。   In the above example, when the input image data is data defined in the CMYK color space and the print data is also data defined in the CMYK color space, at least the color conversion process of S502 does not occur. That is, in this example, the image data defined in the CMYK color space has a shorter processing time for the image processing shown in S501 to S504 than the image data defined in the RGB color space. Conventionally, the waiting time of the printing device has been reduced by separating the image processing and print data generation processing causing the delay in supplying the printing data to the printing device from the transmission processing to the printing data (spool processing). . Therefore, it is not necessary to perform spool processing for data that does not have color space conversion processing and shortens the image processing time. In this embodiment, such data is transmitted to the printing apparatus 200 after generating print data without performing spool processing, thereby reducing unnecessary waiting time of the printing apparatus 200.

本例においては、入力された画像データを定義している色空間と、印刷データを定義している色空間とが同じであるか否かを判定する処理を説明した。しかしながら、本実施例において、例えば、入力された画像データがグレー色空間で定義されており、印刷データがCMYK色空間で定義されている場合についても、同じであるとみなしてスプール処理を行わないようにしても良い。つまり、色空間変換処理の時間にある基準値を設けて、その基準値に収まる程度の短い処理時間であるならば、色空間を同じであるとみなすということである。   In this example, the process for determining whether or not the color space defining the input image data is the same as the color space defining the print data has been described. However, in the present embodiment, for example, when the input image data is defined in the gray color space and the print data is defined in the CMYK color space, it is regarded as the same and the spool processing is not performed. You may do it. In other words, if a reference value is provided at the time of color space conversion processing and the processing time is short enough to fit within the reference value, the color space is regarded as the same.

本実施例においては、印刷装置200の印刷処理可能な印刷データの色空間をCMYK色空間として説明した。しかしながら、印刷装置200がRGB多値データを印刷データとして受け付けるような構成であっても良い。その場合には、入力される画像データを定義している色空間がRGB色空間である場合に、スプール処理が行わないように制御される。また、入力された画像データは、RGB色空間やCMYK色空間でなく、L*a*b*色空間やXYZ色空間等、他の色空間で定義されているデータであっても良い。   In the present embodiment, the color space of print data that can be subjected to print processing by the printing apparatus 200 has been described as the CMYK color space. However, the configuration may be such that the printing apparatus 200 accepts RGB multi-value data as print data. In that case, when the color space defining the input image data is the RGB color space, the spool process is controlled not to be performed. Further, the input image data may be data defined in another color space such as an L * a * b * color space or an XYZ color space instead of the RGB color space or the CMYK color space.

100 情報処理装置
101 CPU
102 HDD
103 システムバス
104 RAM
105 外部メモリ
106 入力部
107 表示部
108 通信部
200 印刷装置
100 Information processing apparatus 101 CPU
102 HDD
103 System bus 104 RAM
105 External Memory 106 Input Unit 107 Display Unit 108 Communication Unit 200 Printing Device

Claims (3)

印刷対象の画像データと、当該画像データが定義されている色空間の情報とを取得する取得手段と、
前記取得手段により前記情報が取得された結果、前記画像データが定義されている色空間が印刷装置で処理可能な色空間であるか否かを判定する判定手段と、
前記判定手段により前記印刷装置で処理可能な色空間でないと判定された場合に、前記画像データを前記印刷装置で処理可能な色空間で定義されている画像データに変換する変換手段と、
前記変換手段により変換された画像データを記憶部にスプールするスプール手段と、
前記判定手段により前記印刷装置で処理可能な色空間であると判定された場合に、前記取得手段により取得された画像データから、前記印刷装置で処理可能な印刷データを生成するデータ生成手段と、
前記データ生成手段により生成された印刷データを前記印刷装置に送信する送信手段と、
を備えることを特徴とする情報処理装置。
Acquisition means for acquiring image data to be printed and information on a color space in which the image data is defined;
A determination unit that determines whether or not a color space in which the image data is defined is a color space that can be processed by a printing apparatus as a result of acquiring the information by the acquisition unit;
A conversion unit that converts the image data into image data defined in a color space that can be processed by the printing device when the determination unit determines that the color space cannot be processed by the printing device;
Spool means for spooling the image data converted by the conversion means in a storage unit;
A data generation unit that generates print data that can be processed by the printing apparatus from the image data acquired by the acquisition unit when the determination unit determines that the color space can be processed by the printing apparatus;
Transmitting means for transmitting print data generated by the data generating means to the printing apparatus;
An information processing apparatus comprising:
情報処理装置において実行されるデータ処理方法であって、
前記情報処理装置の取得手段が、印刷対象の画像データと、当該画像データが定義されている色空間の情報とを取得する取得工程と、
前記情報処理装置の判定手段が、前記取得工程において前記情報が取得された結果、前記画像データが定義されている色空間が印刷装置で処理可能な色空間であるか否かを判定する判定工程と、
前記情報処理装置の変換手段が、前記判定工程において前記印刷装置で処理可能な色空間でないと判定された場合に、前記画像データを前記印刷装置で処理可能な色空間で定義されている画像データに変換する変換工程と、
前記情報処理装置のスプール手段が、前記変換工程において変換された画像データを記憶部にスプールするスプール工程と、
前記情報処理装置のデータ生成手段が、前記判定工程において前記印刷装置で処理可能な色空間であると判定された場合に、前記取得工程において取得された画像データから、前記印刷装置で処理可能な印刷データを生成するデータ生成工程と、
前記情報処理装置の送信手段が、前記データ生成工程において生成された印刷データを前記印刷装置に送信する送信工程と、
を有することを特徴とするデータ処理方法。
A data processing method executed in an information processing apparatus,
An acquisition step in which an acquisition unit of the information processing apparatus acquires image data to be printed and information on a color space in which the image data is defined;
A determination step in which the determination unit of the information processing apparatus determines whether the color space in which the image data is defined is a color space that can be processed by a printing apparatus as a result of acquiring the information in the acquisition step. When,
Image data defined in a color space that can be processed by the printing apparatus when the conversion unit of the information processing apparatus determines that the color space is not processable by the printing apparatus in the determination step A conversion process for converting to
A spool step in which the spool means of the information processing apparatus spools the image data converted in the conversion step in a storage unit;
When the data generation unit of the information processing apparatus determines that the color space can be processed by the printing apparatus in the determination step, it can be processed by the printing apparatus from the image data acquired in the acquisition step. A data generation process for generating print data;
A transmission step in which the transmission unit of the information processing device transmits the print data generated in the data generation step to the printing device;
A data processing method characterized by comprising:
請求項1に記載の情報処理装置の各手段としてコンピュータを機能させるプログラム。   The program which makes a computer function as each means of the information processing apparatus of Claim 1.
JP2012061109A 2012-03-16 2012-03-16 Information processing device and data processing method and program in information processing device Pending JP2013197736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012061109A JP2013197736A (en) 2012-03-16 2012-03-16 Information processing device and data processing method and program in information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012061109A JP2013197736A (en) 2012-03-16 2012-03-16 Information processing device and data processing method and program in information processing device

Publications (1)

Publication Number Publication Date
JP2013197736A true JP2013197736A (en) 2013-09-30

Family

ID=49396207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012061109A Pending JP2013197736A (en) 2012-03-16 2012-03-16 Information processing device and data processing method and program in information processing device

Country Status (1)

Country Link
JP (1) JP2013197736A (en)

Similar Documents

Publication Publication Date Title
JP4618324B2 (en) Image processing apparatus and program
KR101520151B1 (en) Image processing apparatus, image processing method and computer-readable storage medium
JP4207609B2 (en) Image processing device
JP2015114769A (en) Image forming system
US8767227B2 (en) Storage medium for printer driver program, print control apparatus, and method for controlling same
JP6325847B2 (en) Image processing apparatus, image processing method, and program
US9036202B2 (en) Image processing device and image processing method performing image process according to attribute information of image object
JP2008108006A (en) Print control device, print control method, program and storage medium
JP5893338B2 (en) Image processing apparatus, image processing method, and program
US20190052774A1 (en) Image processing apparatus, image processing method, and storage medium
JP2016100830A (en) Image processing device and computer program
US20120188598A1 (en) Information processing apparatus, control method, and computer-readable medium
JP2008206141A (en) Image forming apparatus, color conversion method and color conversion program
JP2013197736A (en) Information processing device and data processing method and program in information processing device
JP2010274616A (en) Image processing system, image processing device, image forming apparatus and program
JP2012093881A (en) Image processing device, image output device, and program
JP2010056769A (en) Device and method for processing image
US8081343B2 (en) Image forming system and computer readable medium storing image forming program
JP2004320190A (en) Conversion table generating method, print method, converter, and printer
JP5202265B2 (en) Image processing apparatus, program, and control method for image processing apparatus
US8699078B2 (en) Image processing apparatus, image processing method, and computer readable medium storing program
JP5447219B2 (en) Print data generation apparatus, print data generation method, and print data generation program
JP2010039976A (en) Image processor, printing data generation method, and computer program
JP6700707B2 (en) Image forming device
US10306104B2 (en) Image processing method and image processing apparatus that ensure efficient memory use, and recording medium therefor