JP7066518B2 - Program and control method - Google Patents

Program and control method Download PDF

Info

Publication number
JP7066518B2
JP7066518B2 JP2018095778A JP2018095778A JP7066518B2 JP 7066518 B2 JP7066518 B2 JP 7066518B2 JP 2018095778 A JP2018095778 A JP 2018095778A JP 2018095778 A JP2018095778 A JP 2018095778A JP 7066518 B2 JP7066518 B2 JP 7066518B2
Authority
JP
Japan
Prior art keywords
color matching
print
information
file
image
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.)
Active
Application number
JP2018095778A
Other languages
Japanese (ja)
Other versions
JP2019200674A (en
Inventor
哲英 ▲高▼崎
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 Inc
Original Assignee
Canon 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 Inc filed Critical Canon Inc
Priority to JP2018095778A priority Critical patent/JP7066518B2/en
Publication of JP2019200674A publication Critical patent/JP2019200674A/en
Application granted granted Critical
Publication of JP7066518B2 publication Critical patent/JP7066518B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明はプログラム及び制御方法に関する。特に、カラーマッチング処理が行われた場合の処理技術に関するものである。 The present invention relates to a program and a control method. In particular, it relates to a processing technique when a color matching process is performed.

従来から、印刷を行う上で、印刷前に印刷結果を確認するための機能として、印刷プレビューの機能が知られている。特に、大判プリンタでは、大きな用紙に印刷を行うため、用紙、インク、時間など失敗時のコストが高いため、印刷プレビューの確認による失敗防止は非常に効果的である。 Conventionally, a print preview function has been known as a function for confirming a print result before printing in printing. In particular, in a large-format printer, since printing is performed on a large paper, the cost of paper, ink, time, etc. at the time of failure is high, so it is very effective to prevent the failure by checking the print preview.

プリンタドライバは、印刷対象となる用紙種別毎に発色特性を考慮した印字色変換テーブル(いわゆる「出力プロファイル」)を持っている。特許文献1は、この出力プロファイルを適用したプリンタからの出力結果を画面上で確認する機能(いわゆる「ソフトプルーフ」)を備えたプレビュー方法を提案している。 The printer driver has a print color conversion table (so-called "output profile") in consideration of color development characteristics for each paper type to be printed. Patent Document 1 proposes a preview method including a function (so-called "soft proof") for confirming an output result from a printer to which this output profile is applied on a screen.

特開2009-151468号公報Japanese Unexamined Patent Publication No. 2009-151468

従来、画像編集アプリケーションにより生成された画像データ(実画像データ)を用いて印刷プレビュー機能を実現するには、印刷プレビューアプリケーションが、実画像データに基づくスプールファイルを取得して、印刷プレビューを実行していた。より詳細には、画像編集アプリケーションがOSのモジュールであるプリンティングシステムに対してスプールファイル生成要求を行い、OSのプリンティングシステムがスプールファイルを生成する。そして、このスプールファイルの生成をトリガーに、スプールファイルを入力ファイルとして印刷プレビューアプリケーションが起動する。そして、印刷プレビューアプリケーションは、このスプールファイルを用いて印刷プレビューを実行する。 Conventionally, in order to realize the print preview function using the image data (actual image data) generated by the image editing application, the print preview application acquires the spool file based on the actual image data and executes the print preview. Was there. More specifically, the image editing application makes a spool file generation request to the printing system which is a module of the OS, and the printing system of the OS generates the spool file. Then, triggered by the generation of this spool file, the print preview application is started with the spool file as an input file. Then, the print preview application executes a print preview using this spool file.

しかしながら、OSが、印刷プレビューアプリケーションのような汎用的なアプリケーションにスプールファイルを提供する場合、画像編集アプリケーションにより実行された色変換処理の出力プロファイルが欠落する場合があった。このように出力プロファイルが欠落する場合、プリンタドライバで適切な処理がなされず、所望の色味で出力されない可能性があった。 However, when the OS provides a spool file to a general-purpose application such as a print preview application, the output profile of the color conversion process executed by the image editing application may be missing. If the output profile is missing in this way, the printer driver may not perform appropriate processing, and the printer may not output in the desired color.

本発明は、画像編集アプリケーションにより実行された色変換処理の出力プロファイルが欠落する場合でも、適切に処理されるよう制御することを目的とする。 An object of the present invention is to control so that even if the output profile of the color conversion process executed by the image editing application is missing, it is processed appropriately.

本発明のプログラムは、画像編集アプリケーションにより生成された画像データに基づき、印刷プレビューを実行するプレビューアプリケーションのプログラムであって、前記画像編集アプリケーションにより生成された画像データに基づき生成された所定の形式のファイルを取得するステップと、印刷設定に関する情報を取得するステップと、前記印刷設定に関する情報に基づき、前記画像編集アプリケーションによるカラーマッチング処理が行われたか判定するステップと、前記画像編集アプリケーションによるカラーマッチング処理が行われた場合に、前記ファイルに含まれる画像オブジェクトから、前記カラーマッチング処理に用いられたカラーマッチング情報を取得するステップと、前記取得されたカラーマッチング情報を、前記印刷設定に関する情報中に登録するステップと、前記ファイルと、前記取得されたカラーマッチング情報が登録された印刷設定に関する情報と、を出力するステップと、をコンピュータに実行させ、前記プレビューアプリケーションより出力された、前記ファイルと、前記取得されたカラーマッチング情報が登録された前記印刷設定に関する情報と、を用いてプリンタドライバにより印刷データが生成される。 The program of the present invention is a program of a preview application that executes a print preview based on the image data generated by the image editing application, and has a predetermined format generated based on the image data generated by the image editing application. A step of acquiring a file, a step of acquiring information related to print settings, a step of determining whether color matching processing has been performed by the image editing application based on the information related to the print settings, and a color matching process by the image editing application. Is performed, the step of acquiring the color matching information used for the color matching process from the image object included in the file and the acquired color matching information are registered in the information related to the print setting. The file, the file, and the print setting information in which the acquired color matching information is registered, are executed by a computer, and the file is output from the preview application. Print data is generated by the printer driver using the information related to the print setting in which the acquired color matching information is registered.

本発明により、画像編集アプリケーションにより実行された色変換処理の出力プロファイルが欠落する場合でも、適切に処理されるよう制御することが可能となる。 According to the present invention, even if the output profile of the color conversion process executed by the image editing application is missing, it is possible to control the process appropriately.

本発明の印刷プレビュー表示システムの構成を示すブロック図である。It is a block diagram which shows the structure of the print preview display system of this invention. ホスト装置の構成を示すブロック図である。It is a block diagram which shows the structure of a host apparatus. プリント設定ダイアログの例を示した模式図である。It is a schematic diagram which showed the example of the print setting dialog. プリンタドライバユーザーインターフェースの例を示した模式図である。It is a schematic diagram which showed the example of the printer driver user interface. プリンタドライバユーザーインターフェースの例を示した模式図である。It is a schematic diagram which showed the example of the printer driver user interface. PDFメニューの例を示した模式図である。It is a schematic diagram which showed the example of the PDF menu. 印刷プレビューアプリのユーザーインターフェースの例を示した模式図である。It is a schematic diagram which showed the example of the user interface of the print preview application. プリントダイアログ設定通知処理のフローチャートである。It is a flowchart of print dialog setting notification processing. 印刷プレビューアプリの起動処理のフローチャートである。It is a flowchart of the start process of the print preview application. 印刷プレビューアプリの欠落情報の生成処理のフローチャートである。It is a flowchart of the generation process of missing information of a print preview application. 印刷プレビューアプリのプリント要求処理のフローチャートである。It is a flowchart of print request processing of a print preview application. 実施形態2の印刷プレビューアプリの欠落情報の生成処理のフローチャートである。It is a flowchart of the generation process of the missing information of the print preview application of Embodiment 2. 実施形態2の印刷プレビューアプリのプリント要求処理のフローチャートである。It is a flowchart of print request processing of the print preview application of Embodiment 2. 実施形態2の選択ダイアログの例を示した模式図である。It is a schematic diagram which showed the example of the selection dialog of Embodiment 2. 実施形態3の印刷プレビューアプリのプリント要求処理のフローチャートである。It is a flowchart of print request processing of the print preview application of Embodiment 3. 実施形態4の印刷プレビューアプリの起動処理のフローチャートである。It is a flowchart of the activation process of the print preview application of Embodiment 4. 実施形態4の印刷プレビューアプリの設定ユーザーインターフェースの例を示した模式図である。It is a schematic diagram which showed the example of the setting user interface of the print preview application of Embodiment 4. スプールファイルの構造例である。This is an example of the structure of a spool file. 印刷設定に関する情報の一例である。This is an example of information about print settings.

以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。尚、以下の実施の形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、既に説明した部分には同一符号を付し重複説明を省略する。 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 scope of claims, and that all combinations of features described in the present embodiments are essential for the means for solving the present invention. Not exclusively. The same reference numerals are given to the parts already described, and duplicate explanations will be omitted.

<<実施形態1>>
<システム構成>
図1は、本発明の代表的な実施形態である印刷システムの概略構成を示すブロック図である。本実施形態のシステムは、情報処理装置であるパーソナルコンピュータ(PC)等のホスト装置1と、記録装置であるプリンタ2と、を含む。本実施形態のプリンタ2は、A0やB0などの大きなサイズの記録媒体(例えば、シート)に記録を行うことができる。ホスト装置1には、Operating System(以下、OS)101と、プリンタ2を制御するソフトウェアであるプリンタドライバ103がインストールされている。さらに、ホスト装置1には、OS101とプリンタドライバ103と協調して動作し、印刷レイアウト等を確認する印刷プレビューアプリケーション106と、各種文書を作成・編集する画像編集アプリケーション102と、がインストールされている。
<< Embodiment 1 >>
<System configuration>
FIG. 1 is a block diagram showing a schematic configuration of a printing system according to a typical embodiment of the present invention. The system of the present embodiment includes a host device 1 such as a personal computer (PC) which is an information processing device, and a printer 2 which is a recording device. The printer 2 of the present embodiment can record on a recording medium (for example, a sheet) having a large size such as A0 or B0. An Operating System (hereinafter, OS) 101 and a printer driver 103, which is software for controlling the printer 2, are installed in the host device 1. Further, the host device 1 is installed with a print preview application 106 that operates in cooperation with the OS 101 and the printer driver 103 to check the print layout and the like, and an image editing application 102 that creates and edits various documents. ..

ホスト装置1では、画像編集アプリケーション102によって作成される各種のドキュメントを印刷するため、OS101とプリンタドライバ103とが動作する。また、プリンタドライバ103は、以下の2つの機能部から構成される。即ち、プリンタドライバ103は、ユーザーからの入力を受け付けるユーザーインターフェース部104と、プリンタに送信する印刷データを生成するグラフィックス処理部105を備える。なお、本実施形態では、OSとしては、Apple(登録商標)社のmacOS(登録商標)を例に説明し、プリンタドライバ103としては、CUPSプリンタドライバを例に説明する。画像編集アプリケーションとしては、カラーマッチング処理が可能なアプリケーションを例に説明する。また、本実施形態では、OS101の構成物であるレンダリングモジュール(不図示)を利用してプリンタドライバ103のグラフィックス処理部105がレンダリングを実行しているが、本実施形態はこれに限定されない。例えば、プリンタドライバ103のグラフィックス処理部105がレンダリングモジュールを備えてもよい。 In the host device 1, the OS 101 and the printer driver 103 operate in order to print various documents created by the image editing application 102. Further, the printer driver 103 is composed of the following two functional units. That is, the printer driver 103 includes a user interface unit 104 that accepts input from the user, and a graphics processing unit 105 that generates print data to be transmitted to the printer. In the present embodiment, the OS will be described using macOS (registered trademark) of Apple (registered trademark) as an example, and the printer driver 103 will be described using a CUPS printer driver as an example. As an image editing application, an application capable of color matching processing will be described as an example. Further, in the present embodiment, the graphics processing unit 105 of the printer driver 103 executes rendering by using the rendering module (not shown) which is a component of the OS 101, but the present embodiment is not limited to this. For example, the graphics processing unit 105 of the printer driver 103 may include a rendering module.

また、印刷プレビューアプリケーション106は、印刷プレビュー表示部107と、印刷プレビュー制御部108の2つの機能部を備える。印刷プレビューアプリケーション106は、スプールファイルと印刷設定情報に基づき、印刷前に印刷結果として印刷プレビュー画面を表示する。印刷プレビュー制御部108は、スプールファイルおよび印刷設定情報を用いて印刷プレビュー後の印刷指示を制御する。 Further, the print preview application 106 includes two functional units, a print preview display unit 107 and a print preview control unit 108. The print preview application 106 displays a print preview screen as a print result before printing based on the spool file and print setting information. The print preview control unit 108 controls the print instruction after the print preview by using the spool file and the print setting information.

図2は、ホスト装置1の構成を示すブロック図である。図2において、CPU301はホスト装置1全体の各種制御を行うプロセッサである。ROM302にはホスト装置の起動時にCPU301が実行する初期化プログラムや各種データが格納されている。RAM303はCPU301に対するメインメモリや作業領域として用いられる。外部記憶装置305は、例えば、ハードディスク(HDD)等で構成され、各種プログラムが格納される。そして、RAM303には後述するフローチャートで示される処理を実現するためのプログラムが外部記憶装置(HDD)305よりロードされる。OS、画像編集アプリケーション102、プリンタドライバ103、印刷プレビューアプリケーション106は、ROM302又は外部記憶装置305に記憶されている。入力部306はキーボードやマウス等で構成され、CPU301に対して、各種指示入力を行う。LCDやCRTなどで構成される表示部307は、CPU301の制御によって各種表示を行う。通信インターフェース304は、CPU301の制御により、プリンタ2等の外部装置と通信を行う。 FIG. 2 is a block diagram showing the configuration of the host device 1. In FIG. 2, the CPU 301 is a processor that performs various controls for the entire host device 1. The ROM 302 stores an initialization program and various data executed by the CPU 301 when the host device is started. The RAM 303 is used as a main memory or a work area for the CPU 301. The external storage device 305 is composed of, for example, a hard disk (HDD) or the like, and stores various programs. Then, a program for realizing the process shown in the flowchart described later is loaded into the RAM 303 from the external storage device (HDD) 305. The OS, the image editing application 102, the printer driver 103, and the print preview application 106 are stored in the ROM 302 or the external storage device 305. The input unit 306 is composed of a keyboard, a mouse, and the like, and inputs various instructions to the CPU 301. The display unit 307 composed of an LCD, a CRT, or the like performs various displays under the control of the CPU 301. The communication interface 304 communicates with an external device such as a printer 2 under the control of the CPU 301.

本実施形態のプリンタ2は、ロール紙給紙ユニット(不図示)を備え、プリンタドライバが許容する範囲内で、任意の長さの原稿(画像)を印刷することができる。また、カット紙用の給紙口(不図示)を備え、ロール紙だけでなくカット紙に対しても印刷を行うことが可能である。 The printer 2 of the present embodiment includes a roll paper feeding unit (not shown), and can print a document (image) of an arbitrary length within a range allowed by the printer driver. Further, it is provided with a paper feed port (not shown) for cut paper, and can print not only on roll paper but also on cut paper.

<表示画面の概要>
次に、本実施形態で表示される画面について説明する。特に、印刷プレビューアプリケーション106を利用した印刷プレビュー表示がされるまでの画面と手順について説明する。初めに、画像編集アプリケーション102により、ユーザーにより描画された画像を含む画像ファイル(画像データ)が作成される。そして、画像編集アプリケーション102が表示するメニュー等の表示アイテムを介して印刷指示が行われ、図3のプリント設定ダイアログが起動する。
<Overview of display screen>
Next, the screen displayed in this embodiment will be described. In particular, the screen and procedure until the print preview display using the print preview application 106 will be described. First, the image editing application 102 creates an image file (image data) including an image drawn by the user. Then, a print instruction is given via a display item such as a menu displayed by the image editing application 102, and the print setting dialog of FIG. 3 is activated.

図3は、画像編集アプリケーション102が提供するプリント設定ダイアログ401の模式図である。本実施形態の画像編集アプリケーション102は、アプリケーション自体がカラーマッチング機能を持つ。その場合、印刷時のカラーマッチング処理を画像編集アプリケーション102が管理するか、プリンタドライバ103が管理するかを、カラー処理選択ポップアップメニュー402で選択することが可能となっている。なお、カラーマッチング処理とは、デバイスが持つ色空間の違いによって生じる出力時の色味の違いを、適切にマッチングさせるための処理であり、カラーマネジメントとも呼ぶ。カラーマッチング処理では、デバイスが持つ色空間の情報を示すプロファイルがカラーマッチング情報として用いられる。一般的には、カラーマッチング情報として、ICC(International Color Consortium)により規定されたICCプロファイルが用いられる。カラーマッチング処理が行われると、カラーマッチング処理に用いられたプロファイルが、出力プロファイルとしてスプールファイルのOutputIntentsキーに登録(格納)される。さらに、カラーマッチング処理に用いられたプロファイルは、画像オブジェクト内のオブジェクト入力プロファイルにも登録(格納)される。スプールファイルの構成については、図18(A)及び図18(B)を用いて後ほど詳細に説明する。なお、画像オブジェクトとは、画像編集アプリケーション102を用いてユーザーが生成した画像そのものを示すデータ(描画イメージ)と、その画像に関連する情報(画像の色空間を示す情報等)を含む。また、これらの機能は、OS101、画像編集アプリケーション102、プリンタドライバ103が協調して動作する機能である。OS101のモジュールであるプリンティングシステムを介して、画像編集アプリケーション102がカラーマッチング処理を行った場合は、プリンタドライバ103に対して、カラーマッチング処理を行わないように通知する。これにより、所望の色味で印刷が可能となる。 FIG. 3 is a schematic diagram of the print setting dialog 401 provided by the image editing application 102. In the image editing application 102 of the present embodiment, the application itself has a color matching function. In that case, it is possible to select whether the image editing application 102 manages the color matching process at the time of printing or the printer driver 103 manages the color matching process in the color process selection pop-up menu 402. The color matching process is a process for appropriately matching the difference in color tone at the time of output caused by the difference in the color space of the device, and is also called color management. In the color matching process, a profile showing information on the color space of the device is used as the color matching information. Generally, an ICC profile defined by an ICC (International Color Consortium) is used as the color matching information. When the color matching process is performed, the profile used for the color matching process is registered (stored) in the OutputIntents key of the spool file as an output profile. Further, the profile used for the color matching process is also registered (stored) in the object input profile in the image object. The structure of the spool file will be described in detail later with reference to FIGS. 18A and 18B. The image object includes data (drawing image) indicating the image itself generated by the user using the image editing application 102 and information related to the image (information indicating the color space of the image, etc.). Further, these functions are functions in which the OS 101, the image editing application 102, and the printer driver 103 operate in cooperation with each other. When the image editing application 102 performs the color matching process via the printing system which is a module of the OS 101, the printer driver 103 is notified not to perform the color matching process. This enables printing with a desired color.

図3において、「カラー処理」選択ポップアップメニュー402で、ユーザーが「アプリケーションによるカラー管理」を選択した場合、画像編集アプリケーション102がカラーマッチング処理を行う。具体的には、印刷指示時の描画処理において、図3のプリンタプロファイルのポップアップメニュー403で選択されたプリンタプロファイルを利用して、画像編集アプリケーションがカラーマッチング処理を行う。そして、OS101のモジュールであるプリンティングシステムに対して、画像編集アプリケーション102でカラーマッチング処理を行ったことを通知する。なお、「カラー処理」選択ポップアップメニュー402で、ユーザーが「プリンタドライバによるカラー管理」を選択した場合、画像編集アプリケーション102はカラーマッチング処理を行わず、プリンタドライバ103により、カラーマッチング処理が行われる。「カラー処理」選択ポップアップメニュー402でいずれかが選択された後、ドライバ設定405が選択されると、OS101が提供するプリントダイアログが表示される。一方、図3の画面でキャンセル404が選択されると、印刷指示を行う前の画面である、画像編集アプリが提供する画像編集用の画面に戻る。 In FIG. 3, when the user selects “color management by application” in the “color processing” selection pop-up menu 402, the image editing application 102 performs color matching processing. Specifically, in the drawing process at the time of printing instruction, the image editing application performs the color matching process by using the printer profile selected in the pop-up menu 403 of the printer profile of FIG. Then, the printing system, which is a module of the OS 101, is notified that the color matching process has been performed by the image editing application 102. When the user selects "color management by the printer driver" in the "color processing" selection pop-up menu 402, the image editing application 102 does not perform the color matching processing, but the printer driver 103 performs the color matching processing. When the driver setting 405 is selected after any one is selected in the "color processing" selection pop-up menu 402, the print dialog provided by the OS 101 is displayed. On the other hand, when Cancel 404 is selected on the screen of FIG. 3, the screen returns to the image editing screen provided by the image editing application, which is the screen before the print instruction is given.

図4は、OS101が提供するプリントダイアログ501を示す模式図である。このプリントダイアログ501では、OS101が提供する機能とプリンタドライバ103が提供する機能の設定を行うことができる。プリンタドライバ103が提供する機能の設定に関しては、プリンタドライバ103のユーザーインターフェース部104によって制御される。 FIG. 4 is a schematic diagram showing a print dialog 501 provided by OS 101. In this print dialog 501, the functions provided by the OS 101 and the functions provided by the printer driver 103 can be set. The setting of the function provided by the printer driver 103 is controlled by the user interface unit 104 of the printer driver 103.

「プリンター」ポップアップメニュー502は印刷を行うプリンタを指定することができる制御アイテムである。ここに表示されるプリンタは、OS101のプリンティングシステムに登録されたプリンタである。なお、インストーラにより所定のプリンタドライバのファイルがOS101に格納されると、対応するプリンタのプリントキューが登録可能となる。
そして実際に、プリントキューが登録されると、プリンタドライバを使用するプリンタとして、OS101のプリンティングシステムに登録される。「用紙サイズ」ポップアップメニュー503では、「プリンター」ポップアップメニュー502に指定されたプリンタで使用できる用紙サイズが表示され、ユーザは所望の用紙サイズを指定することができる。「プリントダイアログ」ポップアップメニュー504は、OS101が提供する機能と、「プリンター」ポップアップメニュー502に指定されたプリンタに対応するプリンタドライバ103の機能と、を指定することができるメニューである。
The "printer" pop-up menu 502 is a control item that allows you to specify a printer for printing. The printer displayed here is a printer registered in the printing system of OS101. When the file of the predetermined printer driver is stored in the OS 101 by the installer, the print queue of the corresponding printer can be registered.
Then, when the print queue is actually registered, it is registered in the printing system of OS101 as a printer that uses the printer driver. In the "paper size" pop-up menu 503, the paper size that can be used by the printer specified in the "printer" pop-up menu 502 is displayed, and the user can specify the desired paper size. The "print dialog" pop-up menu 504 is a menu on which the functions provided by the OS 101 and the functions of the printer driver 103 corresponding to the printer specified in the "printer" pop-up menu 502 can be specified.

図4の「プリントダイアログ」ポップアップメニュー504において選択されている「品位と用紙の種類」メニューは、プリンタドライバ103の機能を設定するメニューである。「用紙の種類」ポップアップメニュー505は、印刷を行う用紙の種類を選択するメニューである。普通紙、コート紙、ファインアート紙等といった用紙の種類を指定できる。なお、この「用紙の種類」ポップアップメニュー505には、「プリンター」ポップアップメニュー502において指定されたプリンタで使用できる用紙の種類が表示される。「印刷品質」ポップアップメニュー506は、印刷時の品質を選択するメニューである。標準、きれい、最高といった品質を指定できる。この「印刷品質」ポップアップメニュー506には、「プリンター」ポップアップメニュー502において指定されたプリンタで使用できる印刷品質が表示される。 The "Quality and Paper Type" menu selected in the "Print Dialog" pop-up menu 504 of FIG. 4 is a menu for setting the functions of the printer driver 103. The "paper type" pop-up menu 505 is a menu for selecting the type of paper to be printed. You can specify the type of paper such as plain paper, coated paper, and fine art paper. The "paper type" pop-up menu 505 displays the types of paper that can be used by the printer specified in the "printer" pop-up menu 502. The "print quality" pop-up menu 506 is a menu for selecting the quality at the time of printing. You can specify quality such as standard, clean, and best. The "print quality" pop-up menu 506 displays the print quality that can be used with the printer specified in the "printer" pop-up menu 502.

図5は、「プリントダイアログ」ポップアップメニュー504において、「カラー・マッチング」メニューが選択された場合のプリントダイアログ501を示す模式図である。「マッチング種類」選択ラジオボタン510は、OS101が提供するカラーマッチング処理か、プリンタドライバ103が提供するカラーマッチング処理か、のどちらかを選択するメニューである。なお、図3の「カラー処理」選択ポップアップメニュー402において、「アプリケーションによるカラー管理」を選択した後にプリントダイアログ501が表示された場合、図5の「マッチング種類」選択ラジオボタン510の選択はできないようになっている。つまり、OS101のプリンティングシステムは、OS101が提供するカラーマッチング(「OSカラーマッチング」に対応)およびプリンタドライバ103が提供するカラーマッチング(「ドライバカラーマッチング」に対応)を共に無効にする。また、図3の「カラー処理」選択ポップアップメニュー402において、「プリンタドライバによるカラー管理」を選択した後に、プリントダイアログ501が表示された場合、「マッチング種類」選択ラジオボタン510の選択は有効となる。つまり、OS101が提供するカラーマッチング(「OSカラーマッチング」に対応)またはプリンタドライバ103が提供するカラーマッチング(「ドライバカラーマッチング」に対応)が選択可能となる。図5において、キャンセルボタン508が押下されると、図5のプリントダイアログ501が閉じられ、画像編集アプリケーション102の前の画面である図3の画面へ戻る。 FIG. 5 is a schematic diagram showing a print dialog 501 when the “color matching” menu is selected in the “print dialog” pop-up menu 504. The "matching type" selection radio button 510 is a menu for selecting either the color matching process provided by the OS 101 or the color matching process provided by the printer driver 103. If the print dialog 501 is displayed after selecting "Color management by application" in the "Color processing" selection pop-up menu 402 of FIG. 3, the "matching type" selection radio button 510 of FIG. 5 cannot be selected. It has become. That is, the printing system of the OS 101 invalidates both the color matching provided by the OS 101 (corresponding to "OS color matching") and the color matching provided by the printer driver 103 (corresponding to "driver color matching"). Further, when the print dialog 501 is displayed after selecting "color management by the printer driver" in the "color processing" selection pop-up menu 402 of FIG. 3, the selection of the "matching type" selection radio button 510 is valid. .. That is, the color matching provided by the OS 101 (corresponding to "OS color matching") or the color matching provided by the printer driver 103 (corresponding to "driver color matching") can be selected. In FIG. 5, when the cancel button 508 is pressed, the print dialog 501 of FIG. 5 is closed, and the screen returns to the screen of FIG. 3, which is the screen before the image editing application 102.

図5における設定が終わり、ユーザーがプリントボタン509を押下すると、OS101のプリンティングシステムは、プリンタドライバ103のユーザーインターフェース部104へ印刷設定に関する情報を要求する。この要求に応答して、プリンタドライバ103のユーザーインターフェース部104は、OS101のプリンティングシステムへ、プリントダイアログ501で行われた設定に基づき、印刷設定に関する情報を送信する。その後、OS101のプリンティングシステムは、画像編集アプリケーション102に対し、印刷時の描画命令をコールするように要求する。つまり、OS101のプリンティングシステムは画像編集アプリケーション102に対し、印刷時描画処理を要求する。この要求に応じて、画像編集アプリケーション102は、画像データに対してカラーマッチング処理を実行する。 When the setting in FIG. 5 is completed and the user presses the print button 509, the printing system of the OS 101 requests information regarding the print setting from the user interface unit 104 of the printer driver 103. In response to this request, the user interface unit 104 of the printer driver 103 transmits information regarding the print settings to the printing system of the OS 101 based on the settings made in the print dialog 501. After that, the printing system of OS 101 requests the image editing application 102 to call a drawing command at the time of printing. That is, the printing system of OS 101 requests the image editing application 102 to perform drawing processing at the time of printing. In response to this request, the image editing application 102 executes a color matching process on the image data.

画像編集アプリケーション102は、カラーマッチング処理が完了すると、カラーマッチング処理後の画像データを、OS101のプリンティングシステムに渡し、スプールファイルを生成するように要求する。この要求に応じて、OS101のプリンティングシステムは、入力された画像データに基づき、スプールファイルを生成する。スプールファイルは、画像編集アプリケーション102が生成した画像データに基づくPortable Document Format(PDF)ファイルである。 When the color matching process is completed, the image editing application 102 passes the image data after the color matching process to the printing system of the OS 101 and requests that a spool file be generated. In response to this request, the printing system of OS101 generates a spool file based on the input image data. The spool file is a Portable Document Form (PDF) file based on the image data generated by the image editing application 102.

なお、図5のプリントボタン509を押下することにより生成されるスプールファイルのOutputIntentsキーには、カラーマッチング処理に用いられたプロファイルの情報(カラーマッチング情報)が、出力プロファイル情報として登録されている。さらに、カラーマッチング情報は、画像オブジェクトのオブジェクト入力プロファイルにも登録されている。 In the OutputIntents key of the spool file generated by pressing the print button 509 of FIG. 5, the profile information (color matching information) used for the color matching process is registered as the output profile information. Further, the color matching information is also registered in the object input profile of the image object.

図18(A)に、プリントボタン509を押下時に生成されるスプールファイルの構造の例を示す。図18(A)において、「/T:OutputIntents」キーが、カラーマッチング処理に用いられた出力プロファイルが記述されていることを示すタグである。そして、「DestOutputProfile」の要素として、カラーマッチング処理で用いられた出力プロファイル情報が記述される。 FIG. 18A shows an example of the structure of the spool file generated when the print button 509 is pressed. In FIG. 18A, the “/ T: OutputIntents” key is a tag indicating that the output profile used for the color matching process is described. Then, the output profile information used in the color matching process is described as an element of the "DestOutputProfile".

また、図18(A)において、「T:Pages」キーは、画像編集アプリケーション102を用いてユーザーが生成した画像オブジェクト等の画像を描画した1ページ分の情報が記述されていることを示すタグである。そして、「/T:Xobject /S:Image」キーの要素として、画像オブジェクト(Image Object)が埋め込まれる。また、この画像オブジェクトの色空間を示す入力プロファイルが、「ICC Profile Stream」の要素として記述される。 Further, in FIG. 18A, the “T: Pages” key is a tag indicating that information for one page in which an image such as an image object generated by a user using the image editing application 102 is drawn is described. Is. Then, an image object (Image Object) is embedded as an element of the "/ T: Xoject / S: Image" key. Further, an input profile indicating the color space of this image object is described as an element of "ICC Profile Stream".

このようなスプールファイルがOS101のプリンティングシステムにより生成されると、OSのプリンティングシステムは、OSのモジュールであるCUPSにスプールファイルと、印刷設定に関する情報と、を送信し、印刷処理を要求する。この要求に応じて、CUPSはプリンタドライバ103のグラフィック処理部105を起動する。なお、プリンタドライバ103のグラフィック処理部105は、スプールファイルと、印刷設定に関する情報の入力をトリガーとして起動する。そして、プリンタドライバ103のグラフィック処理部105は、スプールファイルと、印刷設定を示す情報と、に基づきプリンタ2に送信する印刷データを生成する。印刷データの形式は、送信先のプリンタが解釈可能な形式である。 When such a spool file is generated by the printing system of the OS 101, the printing system of the OS transmits the spool file and information regarding print settings to the CUPS, which is a module of the OS, and requests a print process. In response to this request, CUPS activates the graphic processing unit 105 of the printer driver 103. The graphic processing unit 105 of the printer driver 103 is activated by inputting a spool file and information related to print settings as a trigger. Then, the graphic processing unit 105 of the printer driver 103 generates print data to be transmitted to the printer 2 based on the spool file, the information indicating the print setting, and the information. The format of the print data is a format that can be interpreted by the destination printer.

以上が、図5におけるプリントボタン509が押下された場合の印刷データ生成のためのシーケンスである。このシーケンスでは、OS101のプリンティングシステムで生成されたスプールファイルが、直接プリンタドライバ103に送られる。 The above is the sequence for generating print data when the print button 509 in FIG. 5 is pressed. In this sequence, the spool file generated by the printing system of OS 101 is sent directly to the printer driver 103.

一方、図5において、PDFボタン507が押下された場合のシーケンスでは、OS101のプリンティングシステムのスプールファイルの送信先が異なる。このシーケンスについての詳細は後述し、ここでは概要を説明する。 On the other hand, in FIG. 5, in the sequence when the PDF button 507 is pressed, the destination of the spool file of the printing system of the OS 101 is different. Details of this sequence will be described later, and an outline will be described here.

図6は、図5内のPDFボタン507の押下に応じて表示されるPDFメニューを示す模式図である。図6において、メニューリスト601に表示されるアプリケーション名をユーザーが選択すると、OS101のプリンティングシステムは、プリンタドライバ103のユーザーインターフェース部104へ印刷設定に関する情報を要求する。この要求に応答して、プリンタドライバ103のユーザーインターフェース部104は、OS101のプリンティングシステムへ、プリントダイアログ501で行われた設定に基づき、印刷設定に関する情報を送信する。その後、OS101のプリンティングシステムは、画像編集アプリケーション102に対し、印刷時の描画命令をコールするように要求する。この要求に応じて、画像編集アプリケーション102は、画像データに対してカラーマッチング処理を実行する。 そして、画像編集アプリケーション102は、カラーマッチング処理が完了すると、カラーマッチング処理後の画像データを、OS101のプリンティングシステムに渡し、スプールファイルを生成するように要求する。この要求に応じて、OS101のプリンティングシステムは、入力された画像データに基づき、スプールファイルを生成する。なお、図6のPDFボタン507を押下することにより生成されるスプールファイルには、OutputIntentsキーが含まれていない。つまり、カラーマッチング処理に用いられたICCプロファイルの情報(カラーマッチング情報)が、出力プロファイル情報として登録されていない。ただし、画像オブジェクトのオブジェクト入力プロファイルにはカラーマッチング情報が登録されている。なお、PDFボタン押下により生成されるスプールファイルの内容については、図18(B)を用いて後述する。 FIG. 6 is a schematic diagram showing a PDF menu displayed in response to pressing the PDF button 507 in FIG. In FIG. 6, when the user selects an application name displayed in the menu list 601 the printing system of the OS 101 requests information regarding print settings from the user interface unit 104 of the printer driver 103. In response to this request, the user interface unit 104 of the printer driver 103 transmits information regarding the print settings to the printing system of the OS 101 based on the settings made in the print dialog 501. After that, the printing system of OS 101 requests the image editing application 102 to call a drawing command at the time of printing. In response to this request, the image editing application 102 executes a color matching process on the image data. Then, when the color matching process is completed, the image editing application 102 passes the image data after the color matching process to the printing system of the OS 101 and requests that a spool file be generated. In response to this request, the printing system of OS101 generates a spool file based on the input image data. The spool file generated by pressing the PDF button 507 in FIG. 6 does not include the OutputIntents key. That is, the ICC profile information (color matching information) used for the color matching process is not registered as the output profile information. However, color matching information is registered in the object input profile of the image object. The contents of the spool file generated by pressing the PDF button will be described later with reference to FIG. 18B.

OS101のプリンティングシステムによりスプールファイルが生成されると、OSのプリンティングシステムは、図6で選択された印刷プレビューアプリケーションを起動する。 When the spool file is generated by the printing system of the OS 101, the printing system of the OS launches the print preview application selected in FIG.

図7は、図6のメニューリスト601から起動された印刷プレビューアプリケーション106のUIの一例を示す模式図である。印刷プレビューアプリケーション106は、印刷プレビューアプリケーションウインドウ701上に、印刷プレビューの表示領域として、印刷プレビュー表示ビュー702を設ける。印刷プレビュー表示部107は、印刷プレビューアプリケーション106の起動時に受け取ったスプールファイルと印刷設定に関する情報とを元に、印刷プレビュー表示ビュー702にスプールファイルの印刷プレビューを描画する。印刷プレビューでは、ロール紙幅ポップアップメニュー703で指定されたロール紙幅の用紙を示す画像上に、画像編集アプリケーション102で生成された画像が表示される。よって、ユーザーは作成した画像がどのようにレイアウトされて印刷されるのかが認識可能となる。 FIG. 7 is a schematic diagram showing an example of the UI of the print preview application 106 launched from the menu list 601 of FIG. The print preview application 106 provides a print preview display view 702 as a print preview display area on the print preview application window 701. The print preview display unit 107 draws a print preview of the spool file on the print preview display view 702 based on the spool file received when the print preview application 106 is started and the information related to the print settings. In the print preview, the image generated by the image editing application 102 is displayed on the image showing the paper having the roll paper width specified by the roll paper width pop-up menu 703. Therefore, the user can recognize how the created image is laid out and printed.

印刷プレビューの結果、ユーザーがプリントボタン704を選択すると、印刷プレビュー制御部108が、OS101を介してスプールファイルと印刷設定をプリンタドライバ103へ渡し、プリンタドライバ103によって印刷データが生成される。また、印刷プレビューを確認した結果、印刷を行わない場合は、キャンセルボタン705を選択することにより、印刷プレビューアプリケーション106を終了する。 As a result of the print preview, when the user selects the print button 704, the print preview control unit 108 passes the spool file and the print setting to the printer driver 103 via the OS 101, and the printer driver 103 generates print data. If printing is not performed as a result of checking the print preview, the print preview application 106 is terminated by selecting the cancel button 705.

<詳細な手順>
以下、画像編集アプリケーションでカラーマッチングを行った後に、印刷プレビューアプリケーションにて印刷プレビューが実行され、その後、印刷データが生成される例について、より詳細に説明する。
<Detailed procedure>
Hereinafter, an example in which print preview is executed by the print preview application after color matching is performed by the image editing application and then print data is generated will be described in more detail.

まず、カラーマッチング機能を持つ画像編集アプリケーション102により画像データのファイルを作成し、画像編集アプリケーション102が表示する所定のメニューから印刷指示を行うと、図3のプリント設定ダイアログ401が表示される。ここでは、画像編集アプリケーション102がカラーマッチング処理を行うため、「カラー処理選択」ポップアップメニュー402で「アプリケーションによるカラー管理」を選択する。また、カラーマッチング処理のためのプロファイルとしては、「プリンタプロファイル」ポップアップメニュー403で「CCC Fine Art Photo」というプロファイルを選択するものとする。なお、「CCC Fine Art Photo」というプロファイルは、この実施例を説明するための仮想のプロファイル名である。 First, when an image data file is created by the image editing application 102 having a color matching function and a print instruction is given from a predetermined menu displayed by the image editing application 102, the print setting dialog 401 of FIG. 3 is displayed. Here, since the image editing application 102 performs color matching processing, "color management by application" is selected from the "color processing selection" pop-up menu 402. As the profile for the color matching process, the profile "CCC Fine Art Photo" is selected in the "Printer Profile" pop-up menu 403. The profile "CCC Fine Art Photo" is a virtual profile name for explaining this embodiment.

次にドライバ設定ボタン405を選択することにより、図4のプリントダイアログ501が表示される。印刷を行うプリンタとしては、「プリンター」ポップアップメニュー502でOS101に既に登録されているプリンタである「CCC PRO series」を選択するものとする。次に、印刷する用紙サイズとして、「用紙サイズ」ポップアップメニュー503で「A2」を選択するものとする。 Next, by selecting the driver setting button 405, the print dialog 501 of FIG. 4 is displayed. As the printer for printing, "CCC PRO series", which is a printer already registered in OS 101, is selected from the "Printer" pop-up menu 502. Next, it is assumed that "A2" is selected in the "Paper size" pop-up menu 503 as the paper size to be printed.

次に「プリントダイアログ」ポップアップメニュー504で「品位と用紙の種類」を選択する。「用紙の種類」ポップアップメニュー505には印刷を行う用紙の種類であるファインアート(フォト)を選び、「印刷品質」ポップアップメニュー506にて印刷の品質である「最高」を選択するものとする。 Next, select "Quality and Paper Type" in the "Print Dialog" pop-up menu 504. In the "paper type" pop-up menu 505, fine art (photo), which is the type of paper to be printed, is selected, and in the "print quality" pop-up menu 506, "highest", which is the print quality, is selected.

次に、「プリントダイアログ」ポップアップメニュー504で「カラー・マッチング」を選択すると、図5の「マッチング種類選択」ラジオボタン510は選択できない状態となる。 Next, when "color matching" is selected in the "print dialog" pop-up menu 504, the "matching type selection" radio button 510 in FIG. 5 cannot be selected.

印刷プレビューアプリケーション106を起動するために、PDFボタン507が選択されると、図6のメニューリスト601が表示される。ここでは、印刷プレビューアプリケーション106として「CCC PRO series」を選択するものとする。 When the PDF button 507 is selected to launch the print preview application 106, the menu list 601 of FIG. 6 is displayed. Here, it is assumed that "CCC PRO series" is selected as the print preview application 106.

図6において、印刷プレビューアプリケーション106をユーザーが選択すると、プリンタドライバ103のユーザーインターフェース部104へ印刷設定に関する情報を要求する。この要求に応答して、プリンタドライバ103のユーザーインターフェース部104は、OS101のプリンティングシステムへ、プリントダイアログ501で行われた設定に基づき、印刷設定に関する情報を送信する。その後、OS101のプリンティングシステムは、画像編集アプリケーション102に対し、印刷時の描画命令をコールするように要求する。つまり、OS101のプリンティングシステムは画像編集アプリケーション102に対し、印刷時描画処理を要求する。この要求に応じて、画像編集アプリケーション102は、画像データに対してカラーマッチング処理を実行する。 In FIG. 6, when the user selects the print preview application 106, the user interface unit 104 of the printer driver 103 is requested to provide information regarding print settings. In response to this request, the user interface unit 104 of the printer driver 103 transmits information regarding the print settings to the printing system of the OS 101 based on the settings made in the print dialog 501. After that, the printing system of OS 101 requests the image editing application 102 to call a drawing command at the time of printing. That is, the printing system of OS 101 requests the image editing application 102 to perform drawing processing at the time of printing. In response to this request, the image editing application 102 executes a color matching process on the image data.

画像編集アプリケーション102は、カラーマッチング処理が完了すると、カラーマッチング処理後の画像データを、OS101のプリンティングシステムに渡し、スプールファイルを生成するように要求する。この要求に応じて、OS101のプリンティングシステムは、入力された画像データに基づき、PDFのスプールファイルを生成する。 When the color matching process is completed, the image editing application 102 passes the image data after the color matching process to the printing system of the OS 101 and requests that a spool file be generated. In response to this request, the printing system of OS101 generates a PDF spool file based on the input image data.

なお、図6のPDF507を押下することにより生成されるスプールファイルには、OutputIntentsキーが含まれていない。つまり、カラーマッチング処理に用いられたICCプロファイルの情報(カラーマッチング情報)が、出力プロファイル情報として登録されていない。ただし、画像オブジェクトのオブジェクト入力プロファイルにはカラーマッチング情報が登録されている。 The spool file generated by pressing PDF 507 in FIG. 6 does not include the OutputIntents key. That is, the ICC profile information (color matching information) used for the color matching process is not registered as the output profile information. However, color matching information is registered in the object input profile of the image object.

図18(B)に、PDFボタン507を押下時に生成されるスプールファイルの構造の例を示す。図18(B)では、図18(A)とは異なり、「/T:OutputIntents」キーがない。つまり、カラーマッチング処理で用いられた出力プロファイル情報が記述されていない。一方、図18(B)には、図18(A)と同様に、画像編集アプリケーション102を用いてユーザーが生成した画像に関する情報が記述される「T:Pages」キーは存在する。そして、「/T:Xobject /S:Image」キーの要素として、画像オブジェクト(Image Object)が格納されており、この画像オブジェクトの色空間を示す情報が、「ICC Profile Stream」の要素として記述される。 FIG. 18B shows an example of the structure of the spool file generated when the PDF button 507 is pressed. In FIG. 18B, unlike FIG. 18A, there is no “/ T: OutputIntents” key. That is, the output profile information used in the color matching process is not described. On the other hand, in FIG. 18B, as in FIG. 18A, there is a “T: Pages” key in which information about an image generated by a user using the image editing application 102 is described. An image object (Image Object) is stored as an element of the "/ T: Xoject / S: Image" key, and information indicating the color space of this image object is described as an element of the "ICC Profile Stream". The object.

このように、PDFボタン507を押下した場合に生成されるスプールファイルは、カラーマッチング処理で用いられた出力プロファイルを記載すべき項目が欠落する。この理由を以下に説明する。 As described above, the spool file generated when the PDF button 507 is pressed lacks the item to describe the output profile used in the color matching process. The reason for this will be explained below.

通常、OSは、意図しないソフトウェアのインストールにより、ファイルの消失、書き換えが勝手に行われたり、個人情報が流出したりすることを防ぐためのセキュリティー対策がとられている。その一例として、OSのプリンティングシステムは、OS内の特別な権限であるシステム権限で動作する。しかしながら、印刷プレビューアプリケーションのような汎用的なアプリケーションは、ユーザー権限で動作可能である。よって、システム権限で動作して生成されたスプールファイルを、ユーザー権限で動作する印刷プレビューアプリケーションが取得することはセキュリティーの観点から適切ではない。よって、このような汎用的なアプリケーションへスプールファイルを渡す場合には、macOSの仕組みとして、PDF Workflow Optionsというワークフローを用いる。具体的には、まず、OSのプリンティングシステムは、画像編集アプリケーションへ描画処理要求を行って描画編集アプリケーションへ描画処理を行わせる。その後、スプールファイルの生成要求を受けると、PDF Workflow Optionsを利用して、スプールファイルを生成する。このワークフローで生成されるスプールファイルは、通常のドライバ印刷シーケンス(OSが生成したスプールファイルをそのまま直接プリンタドライバに渡すシーケンス)において生成されるスプールファイルと異なり、一部の情報が欠落する場合がある。具体的には、色変換機能を持つ画像編集アプリケーションが行ったカラーマッチング処理に用いたカラーマッチング情報である、出力プロファイル情報が欠落する場合があった。 Normally, the OS has security measures taken to prevent files from being lost or rewritten or personal information from being leaked due to unintended installation of software. As an example, the printing system of the OS operates with the system authority which is a special authority in the OS. However, general purpose applications such as print preview applications can operate with user privileges. Therefore, it is not appropriate from the viewpoint of security that the print preview application operating with the user authority acquires the spool file generated by operating with the system authority. Therefore, when passing a spool file to such a general-purpose application, a workflow called PDF Workflow Options is used as a mechanism of macOS. Specifically, first, the printing system of the OS makes a drawing processing request to the image editing application and causes the drawing editing application to perform the drawing processing. After that, when the spool file generation request is received, the spool file is generated by using PDF Workflow Options. The spool file generated by this workflow is different from the spool file generated in the normal driver printing sequence (the sequence in which the spool file generated by the OS is passed directly to the printer driver), and some information may be missing. .. Specifically, the output profile information, which is the color matching information used in the color matching process performed by the image editing application having the color conversion function, may be missing.

これが、図18(B)のスプールファイルの構造例で示した「/T:OutputIntents」キーがない理由である。このような出力プロファイル情報が欠落したスプールファイルが印刷プレビューアプリケーションに渡された場合、印刷プレビューアプリケーションは、このスプールファイルを用いてプレビュー処理を行った後、スプールファイルをプリンタドライバへ渡す。通常、プリンタドライバは、スプールファイルを取得すると、スプールファイル内の出力プロファイルと、スプールプロファイル内の画像オブジェクトに登録されている入力プロファイルと、が一致するかを判定する。しかしながら、印刷プレビューアプリケーションを介してプリンタドライバがスプールファイルを取得した場合、このスプールファイルには、出力プロファイル情報が欠落している。よって、プリンタドライバは、出力プロファイルと入力プロファイルとが一致していないと判定し、プリンタドライバ自身でカラーマッチング処理を行ってしまう。つまり、再度カラーマッチング処理が行われしまい、所望の色味で出力されない可能性があった。 This is the reason why the "/ T: OutputIntents" key shown in the structure example of the spool file in FIG. 18B does not exist. When a spool file lacking such output profile information is passed to the print preview application, the print preview application performs preview processing using this spool file and then passes the spool file to the printer driver. Normally, when the printer driver acquires the spool file, it determines whether the output profile in the spool file and the input profile registered in the image object in the spool profile match. However, if the printer driver gets the spool file via the print preview application, the spool file is missing output profile information. Therefore, the printer driver determines that the output profile and the input profile do not match, and the printer driver itself performs the color matching process. That is, there is a possibility that the color matching process is performed again and the desired color is not output.

そこで、本実施形態では、スプールファイルから出力プロファイル情報が欠落している場合であっても、入力プロファイル情報を活用することにより、プリンタドライバでカラーマッチング処理が行われないよう制御する。以下、詳細にその制御方法について説明する。 Therefore, in the present embodiment, even if the output profile information is missing from the spool file, the printer driver is controlled so that the color matching process is not performed by utilizing the input profile information. Hereinafter, the control method will be described in detail.

<印刷設定に関する情報の通知フロー>
まず、印刷設定の通知に関する処理フローについて説明する。図8は、図6におけるメニューリスト601から印刷プレビューアプリケーション106が選択された場合に、プリンタドライバ103において行われるフローである。具体的には、プリンタドライバ103のユーザーインターフェース部104において行われる、プリントダイアログ設定通知処理を示したフローチャートである。例えば、CPU301が、ROM302又は外部記憶装置305に格納されたプリンタドライバのプログラムを、RAM303に読み出して実行することにより実現される。以降、プリンタドライバ103のユーザーインターフェース部104を、各処理の主体として説明することもあるが、実際には、対応するプログラムをCPU301が実行することで、対応する機能が実現されることになる。なお、全ての処理は必ずしも一つのプロセス上で逐次的に実行されるものではなく、一度OS側に処理が移り、再度OSから呼び出されるようなケースもあり得る。あくまでプリンタドライバ103の主要な処理を、便宜的にわかりやすく示したフローである。
<Notification flow of information about print settings>
First, the processing flow related to the notification of print settings will be described. FIG. 8 is a flow performed by the printer driver 103 when the print preview application 106 is selected from the menu list 601 in FIG. Specifically, it is a flowchart showing the print dialog setting notification process performed in the user interface unit 104 of the printer driver 103. For example, the CPU 301 is realized by reading the program of the printer driver stored in the ROM 302 or the external storage device 305 into the RAM 303 and executing the program. Hereinafter, the user interface unit 104 of the printer driver 103 may be described as the main body of each process, but in reality, the corresponding function is realized by executing the corresponding program by the CPU 301. It should be noted that all the processes are not necessarily executed sequentially on one process, and there may be a case where the processes are once transferred to the OS side and then called again from the OS. To the last, it is a flow showing the main processing of the printer driver 103 in an easy-to-understand manner for convenience.

まず、S101にて、ユーザーインターフェース部104は、プリントダイアログ501の各印刷設定に対応するコントロールアイテムに設定された設定値を取得する。 First, in S101, the user interface unit 104 acquires the setting values set for the control items corresponding to the print settings of the print dialog 501.

次に、S102にて、ユーザーインターフェース部104は、OS101にプリントダイアログ501を表示させた画像編集アプリケーション102がカラーマッチングを行う設定の状態で、プリントダイアログ501が表示されたかを判定する。この判定は、「マッチング種類選択」ラジオボタン510の選択状態に基づいて判定される。「カラー処理選択」ポップアップメニュー402で「アプリケーションによるカラー管理」が選択された後、プリントダイアログ501が表示された場合、「マッチング種類選択」ラジオボタン510の選択は無効となる。一方、「カラー処理選択」ポップアップメニュー402で「プリンタドライバによる管理」が選択された場合は、「マッチング種類選択」ラジオボタン510の選択が有効になる。つまり、「OS カラーマッチング」または「ドライバカラーマッチング」のいずれかを選択することが可能となる。「マッチング種類選択」ラジオボタン510の選択が無効となっている状態の場合、S102でYESと判定される。つまり、画像編集アプリケーション102によりカラーマッチング処理を行う設定になっていると判断し、S103に進む。そして、S103では、ユーザーインターフェース部104は、アプリケーションマッチング設定の値を「TRUE」とする。一方、「マッチング種類選択」ラジオボタン510の選択が有効となっている状態の場合、S102でNOと判定される。つまり、画像編集アプリケーション102によりカラーマッチング処理を行わない設定になっていると判断し、S104に進む。そして、ユーザーインターフェース部104は、アプリケーションマッチング設定の値を「FALSE」とする。 Next, in S102, the user interface unit 104 determines whether the print dialog 501 is displayed in the state where the image editing application 102 that has displayed the print dialog 501 on the OS 101 is set to perform color matching. This determination is determined based on the selection state of the "matching type selection" radio button 510. If the print dialog 501 is displayed after "Color management by application" is selected in the "Color processing selection" pop-up menu 402, the selection of the "Matching type selection" radio button 510 is invalid. On the other hand, when "management by the printer driver" is selected in the "color processing selection" pop-up menu 402, the selection of the "matching type selection" radio button 510 becomes effective. That is, it is possible to select either "OS color matching" or "driver color matching". When the selection of the "matching type selection" radio button 510 is invalid, YES is determined in S102. That is, it is determined that the image editing application 102 is set to perform the color matching process, and the process proceeds to S103. Then, in S103, the user interface unit 104 sets the value of the application matching setting to "TRUE". On the other hand, when the selection of the "matching type selection" radio button 510 is enabled, NO is determined in S102. That is, it is determined by the image editing application 102 that the color matching process is not performed, and the process proceeds to S104. Then, the user interface unit 104 sets the value of the application matching setting to "FALSE".

次に、S105にて、ユーザーインターフェース部104は、OS101のプリンティングシステムに通知する印刷設定に関する情報に、このアプリケーションマッチング設定の値を追加する。 Next, in S105, the user interface unit 104 adds the value of this application matching setting to the information regarding the print setting notified to the printing system of the OS 101.

そして、S106にて、ユーザーインターフェース部104は、印刷設定に関する情報を、OS101のプリンティングシステムに通知する。 Then, in S106, the user interface unit 104 notifies the printing system of the OS 101 of the information regarding the print settings.

図8のフローにより、プリンタドライバ103のユーザーインターフェース部104から、プリントダイアログ設定の通知があると、OS101のプリンティングシステムは、画像編集アプリケーション102に対し印刷時の描画命令をコールするように要求する。つまり、OS101のプリンティングシステムは画像編集アプリケーション102に対し、印刷時描画処理を要求する。この要求に応じて、画像編集アプリケーション102は、画像データに対してカラーマッチング処理を実行する。つまり、画像編集アプリケーション102は、プリンタプロファイルポップアップメニュー403で選択されたCCC Fine Art Photoを出力プロファイルとしたカラーマッチングを行う。 According to the flow of FIG. 8, when the user interface unit 104 of the printer driver 103 notifies the print dialog setting, the printing system of the OS 101 requests the image editing application 102 to call a drawing command at the time of printing. That is, the printing system of OS 101 requests the image editing application 102 to perform drawing processing at the time of printing. In response to this request, the image editing application 102 executes a color matching process on the image data. That is, the image editing application 102 performs color matching using the CCC Fine Art Photo selected in the printer profile pop-up menu 403 as an output profile.

カラーマッチング処理が完了すると、OS101のプリンティングシステムは、スプールファイルを生成する。具体的には、図18(B)にて説明した構造のスプールファイルを生成する。そして、生成されたスプールファイルと、印刷設定に関する情報と、を入力として、印刷プレビューアプリケーション106を起動する。 When the color matching process is completed, the printing system of OS101 generates a spool file. Specifically, a spool file having the structure described with reference to FIG. 18B is generated. Then, the print preview application 106 is started by inputting the generated spool file and the information about the print settings.

ここで、図19を用いて、印刷設定に関する情報の例を説明する。なお、印刷設定に関する情報は、CUPS OPTIONSと呼ばれるテキスト形式のDictionary型の情報である。図19において、「DestinationPrinterID」には、図4の画面にて選択されたプリンタの情報(CCC PRO series)が記載される。「PageSize」には、図4の画面にて選択された用紙サイズ(A2)が記載される。「CNIJMediaType」には、図4の画面にて選択された用紙種(FineArtPhoto)が記載される。「CNIJPrintQuality」には、図4の画面にて選択された印刷品質(Highest)が記載される。さらに、「CNIJColorMatchingMode」には、図8のS105において追加されたアプリケーションマッチング設定の値が記載される。本例の場合、画像編集アプリケーション102にてカラーマッチング処理が行われる設定のため「True」が記載されている。 Here, an example of information regarding print settings will be described with reference to FIG. The information regarding the print setting is a text format dictionary type information called CUPS OPTIONS. In FIG. 19, in the "Destination Printer ID", information (CCC PRO series) of the printer selected on the screen of FIG. 4 is described. In "PageSize", the paper size (A2) selected on the screen of FIG. 4 is described. In "CNIJMediaType", the paper type (FineArtPhoto) selected on the screen of FIG. 4 is described. In "CNIJPPrint Quality", the print quality (Highest) selected on the screen of FIG. 4 is described. Further, in "CNIJColorMatchingMode", the value of the application matching setting added in S105 of FIG. 8 is described. In the case of this example, "True" is described for the setting that the color matching process is performed by the image editing application 102.

なお、図19の印刷設定に関する情報については、図3~図5における設定内容が同じであれば、プリントボタン509押下時に生成される情報も、PDFボタン507押下時に生成される情報も同じである。 Regarding the information related to the print settings in FIG. 19, if the setting contents in FIGS. 3 to 5 are the same, the information generated when the print button 509 is pressed and the information generated when the PDF button 507 is pressed are the same. ..

<印刷プレビューの処理フロー>
次に、図9~図11を用いて、印刷プレビューに関する処理フローを説明する。図9は印刷プレビューアプリケーション106の起動時の印刷プレビュー制御部108の処理を示すフローチャートである。例えば、CPU301が、ROM302又は外部記憶装置305に格納された印刷プレビューアプリケーション106のプログラムを、RAM303に読み出して実行することにより実現される。以降、印刷プレビューアプリケーション106を、各処理の主体として説明することもあるが、実際には、対応するプログラムをCPU301が実行することで、対応する機能が実現されることになる。なお、全ての処理は必ずしも一つのプロセス上で逐次的に実行されるものではなく、一度OS側に処理が移り、再度OSから呼び出されるようなケースもあり得る。あくまで印刷プレビューアプリケーション106の主要な処理を、便宜的にわかりやすく示したフローである。
<Print preview processing flow>
Next, the processing flow related to the print preview will be described with reference to FIGS. 9 to 11. FIG. 9 is a flowchart showing the processing of the print preview control unit 108 when the print preview application 106 is started. For example, the CPU 301 is realized by reading the program of the print preview application 106 stored in the ROM 302 or the external storage device 305 into the RAM 303 and executing the program. Hereinafter, the print preview application 106 may be described as the main body of each process, but in reality, the corresponding function is realized by executing the corresponding program by the CPU 301. It should be noted that all the processes are not necessarily executed sequentially on one process, and there may be a case where the processes are once transferred to the OS side and then called again from the OS. It is a flow that shows the main processing of the print preview application 106 in an easy-to-understand manner for convenience.

まず、S201にて、印刷プレビューアプリケーション106は、スプールファイル(図18(B)参照)の取得を行う。次に、S202にて、印刷設定を示す情報(図19参照)を取得する。なお、S201の後にS202を実行しているが、これは逆でも良いし、同時に行われてもよい。 First, in S201, the print preview application 106 acquires a spool file (see FIG. 18B). Next, in S202, information indicating the print setting (see FIG. 19) is acquired. Although S202 is executed after S201, this may be reversed or may be performed at the same time.

S203にて、印刷プレビューアプリケーション106は、プリントボタン704を無効にする。ここでプリントボタン704を無効にするのは、スプールファイルの情報の確認が終わっておらず印刷準備ができていないため、プレビュー後の印刷指示を受け付けないようにするためである。なお、このコントロールの無効処理は、印刷プレビューアプリケーション106のうち特に印刷プレビュー表示部108にて行なわれる。 In S203, the print preview application 106 disables the print button 704. The reason why the print button 704 is disabled here is to prevent the print instruction after the preview from being accepted because the confirmation of the information in the spool file has not been completed and the print preparation is not completed. The invalidation process of this control is particularly performed by the print preview display unit 108 of the print preview application 106.

S204では、印刷プレビューアプリケーション106は、取得した印刷設定に関する情報とスプールファイルとに基づき印刷プレビュー表示を行う。このプレビュー表示に関しては、特に、印刷プレビュー表示部108が処理を行う。そして、印刷プレビュー表示ビュー702に印刷プレビュー画像が表示される。ここでは、ロール紙幅ポップアップメニュー703で24inchが選択されているものとする。この場合、印刷プレビュー表示部108は印刷プレビュー表示ビュー702に、24inchのロール紙幅を示す用紙上に、A2サイズの画像が印刷される様子を示す印刷プレビューを表示する(図7参照)。 In S204, the print preview application 106 performs a print preview display based on the acquired information regarding the print settings and the spool file. In particular, the print preview display unit 108 performs processing on this preview display. Then, the print preview image is displayed in the print preview display view 702. Here, it is assumed that 24 inches is selected in the roll paper width pop-up menu 703. In this case, the print preview display unit 108 displays a print preview showing how an A2 size image is printed on a paper showing a roll paper width of 24 inches in the print preview display view 702 (see FIG. 7).

S205では、印刷プレビューアプリケーション106は、取得した印刷設定に関する情報に基づき、アプリケーションマッチング設定がTRUEか判定する。図8のS102にてYESと判定された場合、図19のようにTRUEが登録されているため、S206に進む。一方、アプリケーションマッチング設定がTRUEでない場合は、S208に進む。 In S205, the print preview application 106 determines whether the application matching setting is TRUE based on the acquired information regarding the print setting. If YES is determined in S102 of FIG. 8, since TRUE is registered as shown in FIG. 19, the process proceeds to S206. On the other hand, if the application matching setting is not TRUE, the process proceeds to S208.

S206では、印刷プレビューアプリケーション106は、スプールファイルの出力プロファイル情報としてカラーマッチング情報が欠落しているかどうかを判定する。図18(B)にて説明したとおり、PDFボタン507に応じて生成されたスプールファイルは、OutputIntentsキーがなく、出力プロファイルの情報が格納されていない。よって、この場合は、欠落している(YES)と判定され、S207に進む。なお、仮に、OutputIntentsキーに出力プロファイル情報が格納されている場合は、S208に進む。 In S206, the print preview application 106 determines whether or not the color matching information is missing as the output profile information of the spool file. As described with reference to FIG. 18B, the spool file generated in response to the PDF button 507 does not have the OutputIntents key and does not store the output profile information. Therefore, in this case, it is determined that the product is missing (YES), and the process proceeds to S207. If the output profile information is stored in the OutputIntents key, the process proceeds to S208.

S207では、印刷プレビューアプリケーション106は、欠落情報の生成処理を行う。図10はS207の欠落情報の生成処理の詳細を示すフローチャートである。 In S207, the print preview application 106 performs a process of generating missing information. FIG. 10 is a flowchart showing the details of the missing information generation process of S207.

まず、S301にて、印刷プレビューアプリケーション106は、スプールファイルの画像オブジェクトを取得する。そして、S302にて、取得した画像オブジェクトから入力プロファイル情報を取得する。ここでは、画像編集アプリケーション102がカラーマッチング処理を行った際に使用したプロファイルであるCCC Fine Art Photoが取得されたものとする。 First, in S301, the print preview application 106 acquires an image object of the spool file. Then, in S302, the input profile information is acquired from the acquired image object. Here, it is assumed that the CCC Fine Art Photo, which is the profile used when the image editing application 102 performs the color matching process, has been acquired.

次に、S303にて、印刷プレビューアプリケーション106は、この取得された入力プロファイル(CCC Fine Art Photo)を、欠落情報生成候補として設定する。これにより印刷準備が整う。 Next, in S303, the print preview application 106 sets the acquired input profile (CCC Fine Art Photo) as a missing information generation candidate. This prepares for printing.

図10の処理を終えると、図9のS208に進み、プリントボタン704を有効にする。そして、ユーザーにより、プリントボタン704が選択されると、図11のフローに進む。 When the process of FIG. 10 is completed, the process proceeds to S208 of FIG. 9, and the print button 704 is enabled. Then, when the print button 704 is selected by the user, the process proceeds to the flow of FIG.

図11は、印刷プレビューアプリケーション106のプリントボタン704が選択された場合に行われる処理を示すフローチャートであり、特に、印刷プレビュー制御部108の印刷プレビュープリント処理を示すフローチャートである。 FIG. 11 is a flowchart showing the processing performed when the print button 704 of the print preview application 106 is selected, and in particular, is a flowchart showing the print preview print processing of the print preview control unit 108.

まず、S401にて、印刷プレビューアプリケーション106は、欠落情報生成候補があるかの判定を行う。図10のS303にて欠落情報生成候補(CCC Fine Art Photo)が設定されている場合は、S402に進む。一方、欠落情報生成候補がない場合はS403に進む。 First, in S401, the print preview application 106 determines whether or not there is a missing information generation candidate. If the missing information generation candidate (CCC Fine Art Photo) is set in S303 of FIG. 10, the process proceeds to S402. On the other hand, if there is no missing information generation candidate, the process proceeds to S403.

次に、S402にて、印刷プレビューアプリケーション106は、印刷設定に関する情報の中に、取得した欠落情報生成候補を登録する。つまり、図19の項目の中に、出力プロファイル情報として、欠落情報生成候補である「CCC Fine Art Photo」が記載される。より具体的には、図19の中に「CNCustomProfileDictionaryStr=CCC Fine Art Photo」の記載が追加される。この印刷設定に関する情報は、プリンタドライバ103のグラフィックス処理部105のレンダリング処理にて参照される。 Next, in S402, the print preview application 106 registers the acquired missing information generation candidate in the information related to the print settings. That is, in the item of FIG. 19, “CCC Fine Art Photo”, which is a candidate for generating missing information, is described as output profile information. More specifically, the description of "CNClastomFileDictionaryStr = CCC Fine Art Photo" is added in FIG. Information regarding this print setting is referred to in the rendering process of the graphics processing unit 105 of the printer driver 103.

次に、S403にて、印刷プレビューアプリケーション106は、OS101のプリンティングシステムを介して、プリンタドライバ103に対して印刷データ生成のための処理を要求する。具体的には、スプールファイルと、欠落情報生成候補が追加された印刷設定に関する情報と、をプリンタドライバ103へ送る。 Next, in S403, the print preview application 106 requests the printer driver 103 to perform a process for generating print data via the printing system of the OS 101. Specifically, the spool file and the information regarding the print setting to which the missing information generation candidate is added are sent to the printer driver 103.

図11のフローが終了することにより、プリンタドライバ103のグラフィックス処理部105は、スプールファイルと、欠落情報生成候補が追加された印刷設定に関する情報と、に基づいて、レンダリング処理を行い、印刷データを生成する。なお、印刷設定に関する情報の中に、出力プロファイル情報が記載されている場合、プリンタドライバ103は、この印刷設定に関する情報中の出力プロファイル情報と、スプールファイルの画像オブジェクト内の入力プロファイル情報と、を比較する。つまり、この場合、レンダリング処理では、印刷設定に関する情報中の出力プロファイルと、スプールファイル中の入力プロファイルとが共にCCC Fine Art Photoである。よって、両者が一致すると判断される。よって、スプールファイル中の出力プロファイル情報の項目がない場合であっても、プリンタドライバ103によりカラーマッチング処理が行われることがない。 When the flow of FIG. 11 ends, the graphics processing unit 105 of the printer driver 103 performs rendering processing based on the spool file and the information regarding the print setting to which the missing information generation candidate is added, and print data. To generate. When the output profile information is described in the information related to the print settings, the printer driver 103 sets the output profile information in the information related to the print settings and the input profile information in the image object of the spool file. Compare. That is, in this case, in the rendering process, both the output profile in the information regarding the print settings and the input profile in the spool file are CCC Fine Art Photo. Therefore, it is judged that they match. Therefore, even if there is no item of output profile information in the spool file, the color matching process is not performed by the printer driver 103.

以上説明したとおり、本実施形態では、スプールファイルの出力プロファイル情報が欠落している場合でも、スプールファイルの画像オブジェクト内の入力プロファイル情報を取得して活用することにより、プリンタドライバ103にて適切に処理が行われる。よって、レンダリング処理ではカラーマッチング処理が行われず、適切な印刷データが生成されるため、所望の色味で印刷される。 As described above, in the present embodiment, even if the output profile information of the spool file is missing, the printer driver 103 can appropriately acquire and utilize the input profile information in the image object of the spool file. Processing is done. Therefore, in the rendering process, the color matching process is not performed and appropriate print data is generated, so that the image is printed with a desired color.

なお、このようなカラーマッチング情報の欠落の問題を解決するため、印刷プレビューアプリケーション106による処理の際に、プリンタドライバ103が、用紙種の情報を渡すという方法も考えられる。具体的には、プリンタドライバは、ユーザーが図4の画面において指定した「用紙の種類」に基づき、その用紙種の情報を、印刷プレビューアプリケーション106へ通知する。そして印刷プレビューアプリケーション106は、その用紙種に対応するICCプロファイルを取得する。しかしながら、この方法の場合、この取得したICCプロファイルの情報が正しくない場合がある。例えば、ユーザーは、カラーマッチング処理で使用するプロファイルをカスタムする場合がある。この場合、図3の画面において、「プリンタプロファイル」に、カスタムしたプロファイル情報を入力する。しかしながら、プリンタドライバ103は、画像編集アプリケーション102のカラーマッチング処理に使用されたカスタムプロファイルを知ることができない。よって、プリンタドライバは、カスタムプロファイルではなく、図4の画面で指定された用紙種の情報を印刷プレビューアプリケーション106へ通知する。よって、この場合、カスタムプロファイルと、用紙種に対応するICCプロファイルとが、異なってしまう。そして、印刷プレビューアプリケーション106は、間違ったプロファイルを印刷設定に関する情報中の出力プロファイル情報に追加して、プリンタドライバ103へ渡すことになる。よって、プリンタドライバは、出力プロファイルと入力プロファイルとが一致していないと判定し、プリンタドライバ自身でカラーマッチング処理を行ってしまう。そして、一致していないと判定された場合、プリンタドライバは、ユーザーが図4の画面において指定した「用紙の種類」に対応するICCプロファイルを用いてカラーマッチング処理を行うため、ユーザー所望の色味で出力されない。 In order to solve the problem of lack of color matching information, it is conceivable that the printer driver 103 passes the paper type information at the time of processing by the print preview application 106. Specifically, the printer driver notifies the print preview application 106 of the information of the paper type based on the "paper type" specified by the user on the screen of FIG. Then, the print preview application 106 acquires the ICC profile corresponding to the paper type. However, in the case of this method, the acquired ICC profile information may not be correct. For example, the user may customize the profile used in the color matching process. In this case, the custom profile information is input to the "printer profile" on the screen of FIG. However, the printer driver 103 cannot know the custom profile used for the color matching process of the image editing application 102. Therefore, the printer driver notifies the print preview application 106 of the information of the paper type specified on the screen of FIG. 4 instead of the custom profile. Therefore, in this case, the custom profile and the ICC profile corresponding to the paper type are different. Then, the print preview application 106 adds the wrong profile to the output profile information in the information about the print settings and passes it to the printer driver 103. Therefore, the printer driver determines that the output profile and the input profile do not match, and the printer driver itself performs the color matching process. If it is determined that they do not match, the printer driver performs color matching processing using the ICC profile corresponding to the "paper type" specified by the user on the screen of FIG. 4, so that the color tones desired by the user are used. Is not output.

一方、本実施形態では、上述したとおり、スプールファイルの画像オブジェクト内の入力プロファイル情報を取得して印刷設定に関する情報中に追加する。よって、プリンタドライバ103にて適切に処理が行われ、レンダリング処理ではカラーマッチング処理が行われず、適切な印刷データが生成されるため、所望の色味で印刷される。 On the other hand, in the present embodiment, as described above, the input profile information in the image object of the spool file is acquired and added to the information related to the print settings. Therefore, processing is appropriately performed by the printer driver 103, color matching processing is not performed in the rendering processing, and appropriate print data is generated, so that printing is performed with a desired color.

<実施形態2>
次に、実施形態2について説明する。この実施形態では、欠落情報生成候補が複数取得された場合の例を示す。なお、それ以外の構成や処理は、実施形態1と同様であるため、実施形態1で説明したものと共通の構成や処理については説明を省略する。
<Embodiment 2>
Next, the second embodiment will be described. In this embodiment, an example is shown in the case where a plurality of missing information generation candidates are acquired. Since the other configurations and processes are the same as those in the first embodiment, the description of the configurations and processes common to those described in the first embodiment will be omitted.

図12は、本実施形態における欠落情報生成処理のフローチャートである。図12の処理は、図9のS206にてスプールファイルのカラーマッチング情報が欠落していると判定された後に行われる処理であり、S207の欠落情報の生成処理に対応する。例えば、CPU301が、ROM302又は外部記憶装置305に格納された印刷プレビューアプリケーション106のプログラムを、RAM303に読み出して実行することにより実現される。以降、印刷プレビューアプリケーション106を、各処理の主体として説明することもあるが、実際には、対応するプログラムをCPU301が実行することで、対応する機能が実現されることになる。なお、全ての処理は必ずしも一つのプロセス上で逐次的に実行されるものではなく、一度OS側に処理が移り、再度OSから呼び出されるようなケースもあり得る。あくまで印刷プレビューアプリケーション106の主要な処理を、便宜的にわかりやすく示したフローである。 FIG. 12 is a flowchart of the missing information generation process in the present embodiment. The process of FIG. 12 is a process performed after it is determined in S206 of FIG. 9 that the color matching information of the spool file is missing, and corresponds to the process of generating the missing information in S207. For example, the CPU 301 is realized by reading the program of the print preview application 106 stored in the ROM 302 or the external storage device 305 into the RAM 303 and executing the program. Hereinafter, the print preview application 106 may be described as the main body of each process, but in reality, the corresponding function is realized by executing the corresponding program by the CPU 301. It should be noted that all the processes are not necessarily executed sequentially on one process, and there may be a case where the processes are once transferred to the OS side and then called again from the OS. It is a flow that shows the main processing of the print preview application 106 in an easy-to-understand manner for convenience.

まず、S501からS502のループにて、スプールファイル内の全画像オブジェクトに対してS301からS303の各ステップを実行する。S301からS303の各ステップに関しての処理は、実施形態1のS301からS303の各ステップと同じ処理である。なお、本実施形態においては、3つの画像オブジェクトを含むスプールファイルを用いるものとして説明する。つまり、図18(B)において、「/T:Xobject/S:Image」キーが3つ存在する。また、各画像オブジェクトの入力プロファイル情報については、1つ目の画像オブジェクトと2つ目の画像オブジェクトは、「CCC Fine Art Photo」が登録されており、3つ目の画像オブジェクトには、「SRGB」が登録されているものとする。 First, in the loop of S501 to S502, each step of S301 to S303 is executed for all the image objects in the spool file. The processing for each step from S301 to S303 is the same as the processing for each step from S301 to S303 of the first embodiment. In this embodiment, it is assumed that a spool file including three image objects is used. That is, in FIG. 18B, there are three "/ T: Xobject / S: Image" keys. Regarding the input profile information of each image object, "CCC FineArt Photo" is registered in the first image object and the second image object, and "SRGB" is registered in the third image object. "Is assumed to be registered.

まず、S301にて、印刷プレビューアプリケーション106は、スプールファイル内の1つめの画像オブジェクトを取得する。そして、S302にて、印刷プレビューアプリケーション106は、取得した1つ目の画像オブジェクトから入力プロファイルである「CCC Fine Art Photo」を取得する。S303では、印刷プレビューアプリケーション106は、欠落情報生成候補として「CCC Fine Art Photo」を追加する。 First, in S301, the print preview application 106 acquires the first image object in the spool file. Then, in S302, the print preview application 106 acquires the input profile "CCC Fine Art Photo" from the acquired first image object. In S303, the print preview application 106 adds "CCC Fine Art Photo" as a candidate for generating missing information.

印刷プレビューアプリケーション106は、以降、同様に2つ目のオブジェクトと3つ目のオブジェクトに対してもS301からS303の処理を実行する。これらの処理により、欠落情報生成候補として、「CCC Fine Art Photo」が2つ、「sRGB」が1つ設定された状態でS207が終了し、S208にてプリントボタンが有効になる。 After that, the print preview application 106 also executes the processes S301 to S303 for the second object and the third object. By these processes, S207 ends with two "CCC Fine Art Photo" and one "sRGB" set as missing information generation candidates, and the print button is enabled in S208.

図13は、この状態で、プリントボタン704が選択された場合の印刷プレビュー制御部108の印刷プレビュープリント処理を示すフローチャートである。 FIG. 13 is a flowchart showing a print preview print process of the print preview control unit 108 when the print button 704 is selected in this state.

まず、実施形態1の図11同様に、印刷プレビューアプリケーション106は、S401にて、欠落情報生成候補があるか判定する。この場合、欠落情報生成候補があるのでS601に進む。ここで欠落情報生成候補がない場合はS403へ進む。 First, similarly to FIG. 11 of the first embodiment, the print preview application 106 determines in S401 whether or not there is a missing information generation candidate. In this case, since there is a missing information generation candidate, the process proceeds to S601. If there is no missing information generation candidate here, the process proceeds to S403.

次に、S601にて、印刷プレビューアプリケーション106は、欠落情報生成候補が複数(2つ以上)あるかを判定する。この場合、欠落情報生成候補は2つあるのでS602へ進む。ここで、欠落情報生成候補が1つの場合はS402に進む。 Next, in S601, the print preview application 106 determines whether or not there are a plurality (two or more) missing information generation candidates. In this case, since there are two missing information generation candidates, the process proceeds to S602. Here, if there is only one missing information generation candidate, the process proceeds to S402.

次に、S602にて、印刷プレビューアプリケーション106は、数が最多の欠落情報生成候補をデフォルト状態として選択候補をリスト表示する。ここでは「CCC Fine Art Photo」が最多の欠落情報生成候補であり、このプロファイルをデフォルトとしてリスト表示を行う。 Next, in S602, the print preview application 106 displays a list of selection candidates with the missing information generation candidate having the largest number as the default state. Here, "CCC Fine Art Photo" is the most missing information generation candidate, and the list is displayed with this profile as the default.

図14は、複数の欠落情報生成候補の中から一つの欠落情報生成候補を選択するためのダイアログ(選択画面)を示す模式図である。欠落情報生成候補選択ダイアログ801の欠落情報生成候補ポップアップメニュー802で選択されたプロファイルが、最終的な欠落情報生成候補として設定される。ここでは、欠落情報生成候補ポップアップメニュー802には「CCC Fine Art Photo」がデフォルトの選択状態として表示される。つまり、「CCC Fine Art Photo」が優先的に表示される。欠落情報生成候補ポップアップメニュー802を用いて、第2の選択候補である「sRGB」を選択することも可能である。ここでは、「CCC Fine Art Photo」を選択した状態で、OKボタン803が選択されるものとする。 FIG. 14 is a schematic diagram showing a dialog (selection screen) for selecting one missing information generation candidate from a plurality of missing information generation candidates. The profile selected in the missing information generation candidate pop-up menu 802 of the missing information generation candidate selection dialog 801 is set as the final missing information generation candidate. Here, "CCC Fine Art Photo" is displayed as the default selection state in the missing information generation candidate pop-up menu 802. That is, "CCC Fine Art Photo" is preferentially displayed. It is also possible to select the second selection candidate "sRGB" by using the missing information generation candidate pop-up menu 802. Here, it is assumed that the OK button 803 is selected with "CCC Fine Art Photo" selected.

次に、S603にて、印刷プレビューアプリケーション106は、欠落情報生成候補選択ダイアログ801で選択された「CCC Fine Art Photo」を最終的な欠落情報生成候補として設定する。 Next, in S603, the print preview application 106 sets the “CCC Fine Art Photo” selected in the missing information generation candidate selection dialog 801 as the final missing information generation candidate.

次に、S402にて、印刷プレビューアプリケーション106は、プリンタドライバ103のレンダリング処理で参照される印刷設定に関する情報の中に、欠落情報生成候補である「CCC Fine Art Photo」を出力プロファイル情報として登録(格納)する。 Next, in S402, the print preview application 106 registers "CCC FineArt Photo", which is a candidate for generating missing information, as output profile information in the information related to the print settings referred to in the rendering process of the printer driver 103 (. Store.

そしてS403にて、印刷プレビューアプリケーション106は、実施形態1のS403同様に、OS101のプリンティングシステムを介し、スプールファイルと印刷設定に関する情報と、を入力として、プリンタドライバ103に対し印刷要求を行う。 Then, in S403, the print preview application 106 makes a print request to the printer driver 103 via the printing system of OS101, inputting information about the spool file and print settings, as in S403 of the first embodiment.

以上の処理により、複数の欠落情報生成候補が存在する場合であっても、カラーマッチングの知識がないユーザーでも欠落情報の選択が容易になる。よって、プリンタドライバ103のグラフィックス処理部のレンダリング処理において、出力プロファイル情報が欠落することがないため、所望の色味で印刷される。 By the above processing, even if there are a plurality of missing information generation candidates, even a user who does not have knowledge of color matching can easily select the missing information. Therefore, in the rendering process of the graphics processing unit of the printer driver 103, the output profile information is not lost, and the printer is printed in a desired color.

<実施形態3>
次に、実施形態3について説明する。この実施形態では、実施形態2と同様に、欠落情報生成候補が複数ある場合の例を示す。なお、実施形態2で説明したものと共通の構成や処理については説明を省略する。また、本実施形態においても、実施形態2と同じ3つの画像オブジェクトを含むスプールファイルを用いるものとする。
<Embodiment 3>
Next, the third embodiment will be described. In this embodiment, as in the second embodiment, an example in which there are a plurality of missing information generation candidates is shown. The configuration and processing common to those described in the second embodiment will be omitted. Further, also in this embodiment, it is assumed that a spool file containing the same three image objects as in the second embodiment is used.

図15は、本実施形態における印刷プレビュー後の処理を示すフローチャートである。本実施形態においても、図12の処理により、欠落情報生成候補として、「CCC Fine Art Photo」が2つ、「sRGB」が1つ設定された状態で、図9のS207が終了し、S208にてプリントボタンが有効となる。そして、この状態で、プリントボタン704が選択された場合に、図15の処理が行われる。 FIG. 15 is a flowchart showing the processing after the print preview in the present embodiment. Also in this embodiment, S207 in FIG. 9 ends in S208 with two “CCC Fine Art Photo” and one “sRGB” set as missing information generation candidates by the process of FIG. The print button is enabled. Then, in this state, when the print button 704 is selected, the process of FIG. 15 is performed.

図15において、S401及びS601は、実施形態2の図13と同様である。S401にて、印刷プレビューアプリケーション106は、欠落情報生成候補があるか判定する。この場合、欠落情報生成候補があるのでS601に進む。ここで欠落情報生成候補がない場合はS704へ進む。次に、S601にて、印刷プレビューアプリケーション106は、欠落情報生成候補は複数(2つ以上)あるかを判定する。この場合、欠落情報生成候補は2つあるのでS701へ進む。ここで、欠落情報生成候補が1つの場合はS402に進む。 In FIG. 15, S401 and S601 are the same as those in FIG. 13 of the second embodiment. In S401, the print preview application 106 determines whether there is a missing information generation candidate. In this case, since there is a missing information generation candidate, the process proceeds to S601. If there is no missing information generation candidate here, the process proceeds to S704. Next, in S601, the print preview application 106 determines whether there are a plurality (two or more) of missing information generation candidates. In this case, since there are two missing information generation candidates, the process proceeds to S701. Here, if there is only one missing information generation candidate, the process proceeds to S402.

次にS701にて、印刷プレビューアプリケーション106は、前回利用した欠落情報生成候補の読み込みを行う。ここでは、印刷プレビューアプリケーション106が保持するアプリケーションの設定ファイルから読み出すものとする。また、この場合、前回利用した欠落情報生成候として「CCC Fine Art Photo」が読み込まれたものとする。 Next, in S701, the print preview application 106 reads the missing information generation candidate used last time. Here, it is assumed that the file is read from the application setting file held by the print preview application 106. Further, in this case, it is assumed that "CCC Fine Art Photo" is read as the missing information generation sign used last time.

次に、S702にて、印刷プレビューアプリケーション106は、前回利用した欠落情報生成候補があるかを判定する。この場合、「CCC Fine Art Photo」が読み込まれたのでS703へ進むものとする。ここで、前回利用した欠落情報生成候がない場合、S602へ進み、実施形態2と同様に、最多の個数の欠落情報生成候補をデフォルトして選択候補をリスト表示する。 Next, in S702, the print preview application 106 determines whether or not there is a missing information generation candidate used last time. In this case, since "CCC Fine Art Photo" has been read, it is assumed that the process proceeds to S703. Here, if there is no missing information generation sign used last time, the process proceeds to S602, and as in the second embodiment, the maximum number of missing information generation candidates is defaulted and the selection candidates are displayed in a list.

次に、S703にて、印刷プレビューアプリケーション106は、前回利用した欠落情報生成候補である「CCC Fine Art Photo」をデフォルトの選択状態としてリスト表示する。つまり、「CCC Fine Art Photo」を優先的に表示する。選択候補リストの表示に関しては、実施形態2で説明した図14に示す、欠落情報生成候補選択ダイアログ801と同様の表示にて行うものとする。 Next, in S703, the print preview application 106 displays a list of the previously used missing information generation candidate "CCC Fine Art Photo" as the default selection state. That is, "CCC Fine Art Photo" is preferentially displayed. Regarding the display of the selection candidate list, it is assumed that the display is the same as that of the missing information generation candidate selection dialog 801 shown in FIG. 14 described in the second embodiment.

ここでは、欠落情報生成候補ポップアップメニュー802に「CCC Fine Art Photo」をデフォルト選択状態としてリスト表示を行う。なお、欠落情報生成候補ポップアップメニュー802を用いて第2の選択候補である「sRGB」を選択することも可能である。ここでは、「CCC Fine Art Photo」が選択された状態で、OKボタン803が選択されるものとする。 Here, the list is displayed in the missing information generation candidate pop-up menu 802 with "CCC Fine Art Photo" as the default selection state. It is also possible to select the second selection candidate "sRGB" using the missing information generation candidate pop-up menu 802. Here, it is assumed that the OK button 803 is selected with "CCC Fine Art Photo" selected.

次に、S603にて、印刷プレビューアプリケーション106は、欠落情報生成候補選択ダイアログ801で選択された「CCC Fine Art Photo」を欠落情報生成候補として設定する。 Next, in S603, the print preview application 106 sets the “CCC Fine Art Photo” selected in the missing information generation candidate selection dialog 801 as the missing information generation candidate.

そしてS402にて、印刷プレビューアプリケーション106は、プリンタドライバ103のレンダリング処理で参照される印刷設定に関する情報中に、欠落情報生成候補である「CCC Fine Art Photo」を出力プロファイル情報として登録(格納)する。 Then, in S402, the print preview application 106 registers (stores) "CCC FineArt Photo", which is a candidate for generating missing information, as output profile information in the information related to the print settings referred to in the rendering process of the printer driver 103. ..

S704にて、印刷プレビューアプリケーション106は、登録した欠落情報生成候補を、印刷プレビューアプリケーション106が保持するアプリケーションの設定ファイルに書き出す。これにより、前回利用した欠落情報生成候補として利用できるようにする。 In S704, the print preview application 106 writes the registered missing information generation candidate to the application setting file held by the print preview application 106. This makes it possible to use it as a candidate for generating missing information that was used last time.

そして、S403にて、印刷プレビューアプリケーション106は、OS101のプリンティングシステムを介し、スプールファイルと印刷設定に関する情報と、を入力として、プリンタドライバ103に対し印刷要求を行う。 Then, in S403, the print preview application 106 makes a print request to the printer driver 103 via the printing system of the OS 101, inputting information about the spool file and print settings.

以上の処理により、複数の欠落情報生成候補が存在する場合であっても、カラーマッチングの知識がないユーザーでも欠落情報の選択が容易になる。よって、プリンタドライバ103のグラフィックス処理部のレンダリング処理において、出力プロファイル情報が欠落することがないため、所望の色味で印刷される。 By the above processing, even if there are a plurality of missing information generation candidates, even a user who does not have knowledge of color matching can easily select the missing information. Therefore, in the rendering process of the graphics processing unit of the printer driver 103, the output profile information is not lost, and the printer is printed in a desired color.

<実施形態4>
次に、実施形態4について説明する。本実施形態では、欠落情報生成候補を自動的に設定するか否かを切り替える方法について説明する。本実施形態の処理は、実施形態1に基づいて画像編集アプリケーション102でカラーマッチング処理が行われ、印刷プレビューが確認された後に行われる処理である。なお、実施形態1で説明したものと共通の構成及び処理については説明を省略する。
<Embodiment 4>
Next, the fourth embodiment will be described. In the present embodiment, a method of switching whether or not to automatically set the missing information generation candidate will be described. The process of this embodiment is a process performed after the color matching process is performed by the image editing application 102 based on the first embodiment and the print preview is confirmed. The description of the configuration and processing common to those described in the first embodiment will be omitted.

図16は、本実施形態の欠落情報の生成処理を示すフローチャートであり、図9のS206にてスプールファイルのカラーマッチング情報が欠落していると判定された場合に行われるS207の欠落情報の生成処理に対応する。 FIG. 16 is a flowchart showing a missing information generation process of the present embodiment, and is performed when it is determined in S206 of FIG. 9 that the color matching information of the spool file is missing, the missing information of S207 is generated. Corresponds to processing.

まず、S801にて、印刷プレビューアプリケーション106は、欠落情報生成処理方法の読み込みを行う。ここで、印刷プレビューアプリケーション106が保持するアプリケーションの設定ファイルから読み出すものとする。また、印刷プレビューアプリケーション106はアプリケーション設定メニューを選択することにより、図17に示す印刷プレビューアプリケーション設定ダイアログ901を表示する。欠落情報生成処理の方法としては、「自動」又は「利用可能なプロファイルからの選択」のいずれかが読み込まれる。具体的には、図17において、「欠落したカラーマッチング情報の処理」についての選択ラジオボタン902にて、「自動」または「利用できるプロファイルから選択」のどちらかが選択される。そして、OKボタン903が選択されることにより、アプリケーションの設定ファイルに欠落情報生成処理方法が書き込まれる。ここでは、印刷プレビューアプリケーション106は、アプリケーションの設定ファイルから欠落情報処理方法として「利用できるプロファイルから選択」が読み込まれたものとする。 First, in S801, the print preview application 106 reads the missing information generation processing method. Here, it is assumed that the application setting file held by the print preview application 106 is read. Further, the print preview application 106 displays the print preview application setting dialog 901 shown in FIG. 17 by selecting the application setting menu. As a method of missing information generation processing, either "automatic" or "selection from available profiles" is read. Specifically, in FIG. 17, the selection radio button 902 for "processing of missing color matching information" selects either "automatic" or "select from available profiles". Then, when the OK button 903 is selected, the missing information generation processing method is written in the setting file of the application. Here, it is assumed that the print preview application 106 reads "select from available profiles" as the missing information processing method from the application setting file.

次に、S802にて、印刷プレビューアプリケーション106は、読み込まれた欠落情報生成処理方法が自動生成かどうかを判定する。自動生成の場合は、実施形態1同様のS301からS302までのステップを実行する。ここでは、欠落情報生成処理方法は、「利用できるプロファイルから選択」であったので、S806に進む。 Next, in S802, the print preview application 106 determines whether or not the read missing information generation processing method is automatically generated. In the case of automatic generation, the steps from S301 to S302 similar to those in the first embodiment are executed. Here, since the missing information generation processing method was "select from available profiles", the process proceeds to S806.

S806では、まず、印刷プレビューアプリケーション106は、システムで利用できる全プロファイルを取得する。そして、図14に示す、欠落情報生成候補選択ダイアログを表示し、取得したプロファイルを欠落情報生成候補ポップアップメニュー802のリストに設定する。ここでは、欠落情報生成候補ポップアップメニュー802のリストで「CCC Fine Art Photo」を選択した状態でOKボタン803が選択されるものとする。 In S806, first, the print preview application 106 acquires all the profiles available in the system. Then, the missing information generation candidate selection dialog shown in FIG. 14 is displayed, and the acquired profile is set in the list of the missing information generation candidate pop-up menu 802. Here, it is assumed that the OK button 803 is selected with "CCC Fine Art Photo" selected in the list of the missing information generation candidate pop-up menu 802.

次に、S807にて、印刷プレビューアプリケーション106は、選択されたプロファイルである「CCC Fine Art Photo」を欠落情報生成候補として設定し本処理を終了する。その後の処理は実施形態1に従う。 Next, in S807, the print preview application 106 sets the selected profile “CCC Fine Art Photo” as a missing information generation candidate, and ends this process. Subsequent processing follows the first embodiment.

以上説明したとおり本実施形態においても、スプールファイルの出力プロファイル情報が欠落している場合でも、スプールファイルの画像オブジェクト内の入力プロファイル情報を取得して活用することにより、プリンタドライバ103にて適切に処理が行われる。よって、レンダリング処理ではカラーマッチング処理が行われず、適切な印刷データが生成されるため、所望の色味で印刷される。また、本実施形態では、欠落プロファイルを自動で登録するモードと、手動で登録するモード(リストからユーザが選択するモード)と、を実行可能である。また、ユーザー指示に基づき、2つのモードが切り替え可能となっている。よって、カラーマッチングの知識があるユーザーと知識がないユーザーとで、制御を切り替えられるため利便性が高い。 As described above, also in this embodiment, even if the output profile information of the spool file is missing, the printer driver 103 can appropriately acquire and utilize the input profile information in the image object of the spool file. Processing is done. Therefore, in the rendering process, the color matching process is not performed and appropriate print data is generated, so that the image is printed with a desired color. Further, in the present embodiment, it is possible to execute a mode in which the missing profile is automatically registered and a mode in which the missing profile is manually registered (a mode selected by the user from the list). In addition, the two modes can be switched based on the user's instruction. Therefore, it is highly convenient because the control can be switched between a user who has knowledge of color matching and a user who does not have knowledge of color matching.

<その他の実施形態>
上述した各実施形態は、以下の処理を実行することによっても実行される。すなわち、前述した実施形態のそれぞれの機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(CPUやMPU等)が記録媒体に格納されたプログラムコードを読み出し実行する。これによって、上述した目的を達成することができる。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
<Other embodiments>
Each of the above-described embodiments is also executed by executing the following processing. That is, a recording medium on which the program code of the software that realizes each function of the above-described embodiment is recorded is supplied to the system or the device. Then, the computer (CPU, MPU, etc.) of the system or the device reads and executes the program code stored in the recording medium. Thereby, the above-mentioned purpose can be achieved. In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD-ROM、CD-R、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。 As the storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, a DVD, or the like can be used. can.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでない。そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれる。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized. It is also included that the OS running on the computer performs a part or all of the actual processing based on the instruction of the program code, and the processing realizes the function of the above-described embodiment.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれてもよい。そして、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ってもよい。その処理によって前述した実施形態の機能が実現される。 Further, the program code read from the storage medium may be written in the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer. Then, based on the instruction of the program code, the function expansion board, the CPU provided in the function expansion unit, or the like may perform a part or all of the actual processing. By the processing, the function of the above-described embodiment is realized.

1 ホスト装置
2 プリンタ
101 OS
102 アプリケーション
103 プリンタドライバ
104 ユーザーインターフェース部
105 グラフィックス処理部
106 印刷プレビューアプリケーション
107 印刷プレビュー表示部
108 印刷プレビュー制御部
301 CPU
302 ROM
303 RAM
304 通信インターフェース
305 外部記憶装置(HDD)
306 入力部
307 表示部
1 Host device 2 Printer 101 OS
102 Application 103 Printer driver 104 User interface unit 105 Graphics processing unit 106 Print preview application 107 Print preview display unit 108 Print preview control unit 301 CPU
302 ROM
303 RAM
304 Communication interface 305 External storage device (HDD)
306 Input section 307 Display section

Claims (11)

画像編集アプリケーションにより生成された画像データに基づき、印刷プレビューを実行するプレビューアプリケーションのプログラムであって、
前記画像編集アプリケーションにより生成された画像データに基づき生成された所定の形式のファイルを取得するステップと、
印刷設定に関する情報を取得するステップと、
前記印刷設定に関する情報に基づき、前記画像編集アプリケーションによるカラーマッチング処理が行われたか判定するステップと、
前記画像編集アプリケーションによるカラーマッチング処理が行われた場合に、前記ファイルに含まれる画像オブジェクトから、前記カラーマッチング処理に用いられたカラーマッチング情報を取得するステップと、
前記取得されたカラーマッチング情報を、前記印刷設定に関する情報中に登録するステップと、
前記ファイルと、前記取得されたカラーマッチング情報が登録された印刷設定に関する情報と、を出力するステップと、
をコンピュータに実行させ、
前記プレビューアプリケーションより出力された、前記ファイルと、前記取得されたカラーマッチング情報が登録された前記印刷設定に関する情報と、を用いてプリンタドライバにより印刷データが生成されることを特徴とするプログラム。
A preview application program that executes a print preview based on image data generated by an image editing application.
A step of acquiring a file of a predetermined format generated based on the image data generated by the image editing application, and
Steps to get information about print settings and
A step of determining whether or not color matching processing has been performed by the image editing application based on the information regarding the print settings, and
A step of acquiring color matching information used in the color matching process from an image object included in the file when the color matching process is performed by the image editing application.
A step of registering the acquired color matching information in the information related to the print setting, and
A step of outputting the file and information related to the print setting in which the acquired color matching information is registered, and
Let the computer run
A program characterized in that print data is generated by a printer driver using the file output from the preview application and information related to the print setting in which the acquired color matching information is registered.
前記ファイルの前記画像オブジェクト内に格納された入力プロファイル情報を、前記カラーマッチング情報として取得することを特徴とする請求項1に記載のプログラム。 The program according to claim 1, wherein the input profile information stored in the image object of the file is acquired as the color matching information. 前記ファイルの前記所定の形式は、Portable Document Format(PDF)形式であることを特徴とする請求項1又は2に記載のプログラム。 The program according to claim 1 or 2, wherein the predetermined format of the file is a Portable Document Form (PDF) format. 前記ファイルに基づき、プレビュー画像を表示させるステップと、
前記プリンタドライバに対する前記印刷データ生成のため処理を要求するためのステップと、
をコンピュータにさらに実行させ、
前記プレビュー画像を表示させるステップの後であり、前記印刷データ生成のための処理を要求するためのステップの前に、前記ファイルの前記画像オブジェクトから前記カラーマッチング情報を取得するステップが実行されることを特徴とする請求項1から3のいずれか1項に記載のプログラム。
Based on the above file, the step to display the preview image and
A step for requesting a process for generating the print data for the printer driver, and
Let the computer do more,
A step of acquiring the color matching information from the image object of the file is executed after the step of displaying the preview image and before the step of requesting the process for generating the print data. The program according to any one of claims 1 to 3, wherein the program is characterized by.
前記画像編集アプリケーションによるカラーマッチング処理が行われていない場合、前記ファイルから、前記カラーマッチング処理に用いられたカラーマッチング情報を取得しないことを特徴とする請求項1から4のいずれか1項に記載のプログラム。 The invention according to any one of claims 1 to 4, wherein when the color matching process by the image editing application is not performed, the color matching information used for the color matching process is not acquired from the file. Program. 前記ファイル内に出力プロファイル情報が含まれているか判定するステップをさらにコンピュータに実行させ、
前記印刷設定に関する情報に前記出力プロファイル情報が含まれていない場合、前記ファイルの前記画像オブジェクトから、前記カラーマッチング情報を取得することを特徴とする請求項1から5のいずれか1項に記載のプログラム。
Further, the computer is made to perform a step of determining whether the output profile information is included in the file.
The aspect according to any one of claims 1 to 5, wherein when the information regarding the print setting does not include the output profile information, the color matching information is acquired from the image object of the file. program.
前記ファイルの前記画像オブジェクトから、前記カラーマッチング処理に用いられたカラーマッチング情報が複数取得された場合、前記複数のカラーマッチング情報から1つのカラーマッチング情報を選択させるための選択画面を表示させるステップをさらにコンピュータに実行させ、
前記選択画面において選択された1つのカラーマッチング情報を、前記印刷設定に関する情報中に登録することを特徴とする請求項1から6のいずれか1項に記載のプログラム。
When a plurality of color matching information used for the color matching process is acquired from the image object of the file, a step of displaying a selection screen for selecting one color matching information from the plurality of color matching information is performed. Let the computer do more,
The program according to any one of claims 1 to 6, wherein one color matching information selected on the selection screen is registered in the information related to the print setting.
前記複数のカラーマッチング情報のうち、数が最も多いカラーマッチング情報を前記選択画面に優先的に表示させることを特徴とする請求項7に記載のプログラム。 The program according to claim 7, wherein the color matching information having the largest number among the plurality of color matching information is preferentially displayed on the selection screen. 前記複数のカラーマッチング情報のうち、前回利用されたカラーマッチング情報を、前記選択画面に優先的に表示させることを特徴とする請求項7に記載のプログラム。 The program according to claim 7, wherein the color matching information used last time is preferentially displayed on the selection screen among the plurality of color matching information. 前記ファイルの前記画像オブジェクトから取得されたカラーマッチング情報を、前記印刷設定に関する情報中に自動的に登録するモードと、前記印刷設定に関する情報中に登録するカラーマッチング情報をユーザーに選択させるモードと、を実行可能であることを特徴とする請求項1から9のいずれか1項に記載のプログラム。 A mode in which color matching information acquired from the image object in the file is automatically registered in the information related to the print settings, and a mode in which the user selects the color matching information to be registered in the information related to the print settings. The program according to any one of claims 1 to 9, wherein the program is feasible. 画像編集アプリケーションにより生成された画像データに基づき、印刷プレビューを実行するプレビューアプリケーションが動作可能な装置の制御方法であって、
前記画像編集アプリケーションにより生成された画像データに基づき生成された所定の形式のファイルを取得するステップと、
印刷設定に関する情報を取得するステップと、
前記印刷設定に関する情報に基づき、前記画像編集アプリケーションによるカラーマッチング処理が行われたか判定するステップと、
前記画像編集アプリケーションによるカラーマッチング処理が行われた場合に、前記ファイルに含まれる画像オブジェクトから、前記カラーマッチング処理に用いられたカラーマッチング情報を取得するステップと、
前記取得されたカラーマッチング情報を、前記印刷設定に関する情報中に登録するステップと、
前記ファイルと、前記取得されたカラーマッチング情報が登録された印刷設定に関する情報と、を出力するステップと、
を備え、
前記出力ステップにより出力された、前記ファイルと、前記取得されたカラーマッチング情報が登録された前記印刷設定に関する情報と、を用いてプリンタドライバにより印刷データが生成されることを特徴とする制御方法。
A method of controlling a device that can operate a preview application that executes a print preview based on image data generated by an image editing application.
A step of acquiring a file of a predetermined format generated based on the image data generated by the image editing application, and
Steps to get information about print settings and
A step of determining whether or not color matching processing has been performed by the image editing application based on the information regarding the print settings, and
A step of acquiring color matching information used in the color matching process from an image object included in the file when the color matching process is performed by the image editing application.
A step of registering the acquired color matching information in the information related to the print setting, and
A step of outputting the file and information related to the print setting in which the acquired color matching information is registered, and
Equipped with
A control method characterized in that print data is generated by a printer driver using the file output by the output step and information related to the print setting in which the acquired color matching information is registered.
JP2018095778A 2018-05-17 2018-05-17 Program and control method Active JP7066518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018095778A JP7066518B2 (en) 2018-05-17 2018-05-17 Program and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018095778A JP7066518B2 (en) 2018-05-17 2018-05-17 Program and control method

Publications (2)

Publication Number Publication Date
JP2019200674A JP2019200674A (en) 2019-11-21
JP7066518B2 true JP7066518B2 (en) 2022-05-13

Family

ID=68613163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018095778A Active JP7066518B2 (en) 2018-05-17 2018-05-17 Program and control method

Country Status (1)

Country Link
JP (1) JP7066518B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011847A (en) 2004-06-25 2006-01-12 Canon Inc Print controller and print control method
JP2008118355A (en) 2006-11-02 2008-05-22 Canon Inc Image processor and image processing method
JP2009301553A (en) 2008-06-13 2009-12-24 Xerox Corp Print mediator
JP2010176709A (en) 2010-05-07 2010-08-12 Canon Inc Control method, information processor, and computer readable recording medium
JP2016058927A (en) 2014-09-10 2016-04-21 キヤノン株式会社 Image processing apparatus and control method thereof
JP2016152603A (en) 2015-02-19 2016-08-22 株式会社リコー Information processing apparatus, information processing system, information processing method, and information processing program
JP2016163060A (en) 2015-02-26 2016-09-05 株式会社リコー Information processing apparatus, information processing method and information processing program
JP2017118404A (en) 2015-12-25 2017-06-29 ブラザー工業株式会社 Image processing apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10503072A (en) * 1995-05-02 1998-03-17 ポラロイド コーポレイション Equipment used for color correction of electronic imaging equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011847A (en) 2004-06-25 2006-01-12 Canon Inc Print controller and print control method
JP2008118355A (en) 2006-11-02 2008-05-22 Canon Inc Image processor and image processing method
JP2009301553A (en) 2008-06-13 2009-12-24 Xerox Corp Print mediator
JP2010176709A (en) 2010-05-07 2010-08-12 Canon Inc Control method, information processor, and computer readable recording medium
JP2016058927A (en) 2014-09-10 2016-04-21 キヤノン株式会社 Image processing apparatus and control method thereof
JP2016152603A (en) 2015-02-19 2016-08-22 株式会社リコー Information processing apparatus, information processing system, information processing method, and information processing program
JP2016163060A (en) 2015-02-26 2016-09-05 株式会社リコー Information processing apparatus, information processing method and information processing program
JP2017118404A (en) 2015-12-25 2017-06-29 ブラザー工業株式会社 Image processing apparatus

Also Published As

Publication number Publication date
JP2019200674A (en) 2019-11-21

Similar Documents

Publication Publication Date Title
JP4732113B2 (en) Information processing apparatus, information processing method, program, and storage medium
JP5630984B2 (en) Image input / output device and image input / output method
JP4799206B2 (en) Print control program, print control apparatus, and print control method
JP5063504B2 (en) Information processing apparatus, information processing method, and control program
JP4082427B2 (en) Image forming apparatus, image forming method, image processing apparatus, and image forming program
KR101064065B1 (en) Information processing apparatus, control method, and storage medium
JP4944682B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2001318779A (en) Printing control method and device, storage medium and printing system
JP5836667B2 (en) Information processing apparatus, information processing method, program, system, and image processing method
EP2388685B1 (en) Information processing apparatus and control method thereof, and storage medium
JP2006277345A (en) Device driver and its program for customization, information processor and information processing method
KR20090101767A (en) Printing method to load a filter dynamically and recordable medium with a program to execute the printing method and host apparatus
JP2020087297A (en) Program and control method
JP2010140281A (en) Method of data communication between application program and printer driver, and program therefor
JP5834526B2 (en) Print control program, information processing apparatus and printing apparatus
JP2020027358A (en) Device control program, installer program for installing the device control program, and storage medium
JP2024009336A (en) Program, information processing device and method
JP2012018631A (en) Display device, display method, computer program and recording medium
US10592180B2 (en) Information processing device, information processing method, and recording medium
JP7110631B2 (en) Information processing device, information processing system, and program
JP7066518B2 (en) Program and control method
WO2021131981A1 (en) Information processing device, control method, and program
CN110764720B (en) Printing apparatus, control method of printing apparatus, and storage medium
US11579815B1 (en) Methods and system for implementing print options for a printing device using visual information
US10602005B2 (en) Image forming system, printer driver, and information processing apparatus for processing electronic file

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220323

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220427

R151 Written notification of patent or utility model registration

Ref document number: 7066518

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151