JP5106655B2 - Printing control apparatus and method - Google Patents

Printing control apparatus and method Download PDF

Info

Publication number
JP5106655B2
JP5106655B2 JP2011102299A JP2011102299A JP5106655B2 JP 5106655 B2 JP5106655 B2 JP 5106655B2 JP 2011102299 A JP2011102299 A JP 2011102299A JP 2011102299 A JP2011102299 A JP 2011102299A JP 5106655 B2 JP5106655 B2 JP 5106655B2
Authority
JP
Japan
Prior art keywords
print
setting
hierarchy
takeover
settings
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011102299A
Other languages
Japanese (ja)
Other versions
JP2011154728A (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 JP2011102299A priority Critical patent/JP5106655B2/en
Publication of JP2011154728A publication Critical patent/JP2011154728A/en
Application granted granted Critical
Publication of JP5106655B2 publication Critical patent/JP5106655B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、たとえばドキュメントデータ等を処理して、プリンタデバイスすなわち印刷装置に対して印刷ジョブを発行する印刷制御装置及び方法に関する。   The present invention relates to a print control apparatus and method for processing, for example, document data and issuing a print job to a printer device, that is, a printing apparatus.

Microsoft社のWindows(登録商標) Vistaでは、新しいXML形式のドキュメントフォーマットであるXPS(XML Paper Specification)がサポートされる(非特許文献1)。XPSドキュメントは、図13に示すようなFixedDocumentSequence,FixedDocument,FixedPageの3つの階層を持ったドキュメントフォーマットである。それぞれの階層のノードには、プリントチケットと呼ばれる印刷属性(すなわち印刷設定)を保持するためのXMLドキュメントを関連付けることができる(非特許文献2)。図13の例のようにFixedDocumentSequenceには、ジョブレベルのプリントチケット1304が関連付けられている。FixedDocument1には、ドキュメントレベルのプリントチケット1305が関連付けられている。FixedPage1には、ページレベルのプリントチケット1306が関連付けられている。各階層のノード毎にプリントチケットを指定することができるので、XPSドキュメントでは、そのFixedPage毎に出力用紙サイズを変更するといったことが可能になる。XPSドキュメントでは、各ページ(FixedPage)あるいはページのまとまり(FixedDocument)に関連づけられた印刷設定を指定することで、ひとつのドキュメント中においても例外設定を実現することができる。   Microsoft's Windows (registered trademark) Vista supports XPS (XML Paper Specification) which is a new XML format document format (Non-patent Document 1). The XPS document is a document format having three layers of FixedDocumentSequence, FixedDocument, and FixedPage as shown in FIG. An XML document for holding a print attribute called a print ticket (that is, print setting) can be associated with each hierarchical node (Non-patent Document 2). A job level print ticket 1304 is associated with the FixedDocumentSequence as in the example of FIG. A document level print ticket 1305 is associated with FixedDocument1. A page-level print ticket 1306 is associated with FixedPage1. Since a print ticket can be designated for each node of each hierarchy, it is possible to change the output paper size for each FixedPage in an XPS document. In an XPS document, by specifying print settings associated with each page (FixedPage) or a group of pages (FixedDocument), exceptional settings can be realized even in one document.

従来のプリンタドライバの中にも、それが生成する印刷ジョブ全体の印刷設定以外に、ある特定のページの印刷設定を指定することができるページ例外設定の機能を持つものがある。たとえばXerox社製のPostScript(登録商標)プリンタドライバは、セクション別設定機能部を有している。セクション別設定機能部は、文書のセクションごとに異なる印刷設定を、セクション設定情報ファイルとして保存する機能を提供する。この機能は、プリンタドライバを利用したホットフォルダでも利用できる。ホットフォルダとは、予め定義された機能と関連づけられたフォルダであり、そのフォルダに入れられたデータは、フォルダに関連づけた機能遂行による処理の対象となる。   Some conventional printer drivers have a page exception setting function that can specify print settings for a specific page in addition to print settings for the entire print job generated by the printer driver. For example, a PostScript (registered trademark) printer driver manufactured by Xerox has a section-specific setting function unit. The section-specific setting function unit provides a function of storing different print settings for each section of a document as a section setting information file. This function can also be used in a hot folder using a printer driver. A hot folder is a folder associated with a predefined function, and data stored in the folder is a target of processing by performing a function associated with the folder.

また、Heidelberg社製のPostScript(登録商標)プリンタドライバは、基本設定条件に対して、例外印刷条件を予め決めておく機能を有している。たとえば、例外設定条件を、用紙サイズがA3、ページレイアウトが1−upとし、基本設定条件を、用紙サイズがA4、ページレイアウトが2−upと設定した場合を考える。印刷対象の文書がA4,A4,A3,A4,A4の5ページからなる場合、原稿1ページ目と2ページ目はA4サイズなので基本設定に従って2−upのレイアウトとなる。原稿3ページ目はA3サイズであり、例外設定条件に該当するため、レイアウトは1−upとなる。4ページ目と5ページ目は基本設定条件にしたがって2−upで印刷される。   Further, the PostScript (registered trademark) printer driver manufactured by Heidelberg has a function of predetermining exceptional printing conditions with respect to basic setting conditions. For example, let us consider a case where the exception setting condition is set to A3 for the paper size and 1-up for the page layout, and the basic setting condition is set to A4 for the paper size and 2-up for the page layout. If the document to be printed consists of 5 pages A4, A4, A3, A4, and A4, the first and second pages of the document are A4 size, so the layout is 2-up according to the basic settings. Since the third page of the document is A3 size and corresponds to the exception setting condition, the layout is 1-up. The fourth and fifth pages are printed in 2-up according to the basic setting conditions.

上述した2つのプリンタドライバで印刷を行う場合、ユーザはまず例外設定を行うページ、あるいはページ範囲の指定を行い、パーティションを作成する。次に他の印刷設定シートあるいはダイアログで、指定したパーティションに対して例外設定を行う、という方法がとられている。   When printing with the two printer drivers described above, the user first designates a page or a page range for which an exception is set, and creates a partition. Next, an exception is set for the specified partition in another print setting sheet or dialog.

さて、XPSドキュメントは、非特許文献1に記載されているように、印刷時のスプールフォーマットとしての側面と、文書の頒布等に利用される電子文書の側面を持つ。すなわち、XPSドキュメントも、アドビ社のPDFドキュメントのように、各種文書の公開や配布の用途で利用できる。たとえば、プリントチケットすなわち印刷設定を所望の階層のノードに関連づけたXPSドキュメントを作成し、XPSドキュメントを印刷設定とともに配布することができる。XPSドキュメントが電子文書として普及すれば、それを簡易に印刷する手段として、コンピュータの介在無しでドキュメントを印刷できるダイレクトプリントやコンピュータを用いたホットフォルダ等が必要となる。ホットフォルダは、たとえば、予め定めた印刷設定と関連づけられたフォルダ(これをホットフォルダという)にドキュメントデータが投入されると、そのフォルダに関連づけられた機能が実行されるというものである。ダイレクトプリントは、コンピュータを介さずにプリンタデバイス単体でドキュメントを印刷する機能である。   As described in Non-Patent Document 1, an XPS document has a side as a spool format at the time of printing and a side of an electronic document used for document distribution or the like. That is, XPS documents can also be used for the purpose of publishing and distributing various documents, such as PDF documents from Adobe. For example, an XPS document in which a print ticket, that is, a print setting is associated with a node in a desired hierarchy can be created, and the XPS document can be distributed together with the print setting. If an XPS document becomes widespread as an electronic document, direct printing capable of printing the document without the intervention of a computer, a hot folder using a computer, or the like is required as a means for easily printing the XPS document. For example, when the document data is input to a folder associated with a predetermined print setting (referred to as a hot folder), the hot folder executes a function associated with the folder. Direct printing is a function of printing a document with a single printer device without using a computer.

XPSドキュメントを、ホットフォルダを用いて印刷する場合、XPSドキュメントに含まれる印刷設定と、ホットフォルダに関連づけられている印刷設定とが一致するとは限らない。特にXPSドキュメントは、ページやページのまとまり単位の例外設定がある場合には、全体の印刷設定か例外設定か、いずれかがホットフォルダの印刷設定(フォルダ設定と呼ぶ場合がある。)と一致しないことになる。なお、ページはFixedPageに、ページのまとまりはFixedDocumentに、全体はFixedDocumentSequenceに相当する。   When printing an XPS document using a hot folder, the print settings included in the XPS document do not always match the print settings associated with the hot folder. In particular, in the case of an XPS document, if there is an exception setting for each page or a group of pages, either the entire print setting or the exception setting does not match the hot folder print setting (sometimes referred to as folder setting). It will be. A page corresponds to a FixedPage, a group of pages corresponds to a FixedDocument, and the whole corresponds to a FixedDocumentSequence.

たとえば、XPSドキュメントの用途として、出力用紙サイズが決まっている帳票ドキュメントがある。この用途のためには、あらかじめXPSドキュメント内で出力用紙サイズを指定しておく必要がある。帳票サイズは一定だからである。一方で、給紙段などプリンタデバイスに依存する設定をXPSドキュメントのプリントチケットで指定してしまうと、その配布先のホットフォルダの印刷設定で指定された給紙段とXPSドキュメントで指定されている給紙段は一致しない場合がある。この場合、用紙サイズはXPSドキュメントにおける印刷設定に従う必要がある一方で、給紙段はプリンタデバイスごとに柔軟に変更する必要がある。   For example, as an application of an XPS document, there is a form document whose output paper size is determined. For this purpose, it is necessary to specify the output paper size in the XPS document in advance. This is because the form size is constant. On the other hand, if settings that depend on the printer device, such as the paper feed tray, are specified in the print ticket of the XPS document, they are specified in the paper feed tray and XPS document specified in the print settings of the distribution destination hot folder. The paper feed stages may not match. In this case, the paper size needs to follow the print setting in the XPS document, while the paper feed stage needs to be flexibly changed for each printer device.

その一解法として、特許文献1には、複数のサブフォルダに印刷設定を指定することで、入稿される印刷データ毎に異なるプリントチケットを設定することができるホットフォルダが記載されている。   As one solution, Patent Document 1 describes a hot folder in which different print tickets can be set for each print data to be submitted by specifying print settings for a plurality of subfolders.

特開2005−111284号公報Japanese Patent Laid-Open No. 2005-111284

マイクロソフト社、"XML Paper Specification"、[online]、平成18年10月25日、マイクロソフト社、[平成19年1月31日検索]、インターネット<URL:http://www.microsoft.com/whdc/xps/xpsspecdwn.mspx(XPS_1_0.exe)>Microsoft, "XML Paper Specification", [online], October 25, 2006, Microsoft, [searched January 31, 2007], Internet <URL: http://www.microsoft.com/whdc /xps/xpsspecdwn.mspx (XPS_1_0.exe)> マイクロソフト社、"PrintTicket and PrintCapabilities Support in Windows(登録商標) Print Drivers"、[online]、平成18年2月15日、マイクロソフト社、[平成19年1月31日検索]、インターネット<URL:http://www.microsoft.com/whdc/device/print/XPSDrv_PrintTicket.mspx(XPSDrv_PrintTicket.doc)>Microsoft, "PrintTicket and PrintCapabilities Support in Windows (registered trademark) Print Drivers", [online], February 15, 2006, Microsoft, [searched January 31, 2007], Internet <URL: http: //www.microsoft.com/whdc/device/print/XPSDrv_PrintTicket.mspx (XPSDrv_PrintTicket.doc)>

しかしながら、特許文献1に記載の技術では、XPSドキュメントのようにドキュメントが印刷設定を有する場合に、XPSドキュメントが有する印刷設定を利用することができない。そのため、帳票データの例のように、XPSドキュメントの特定の印刷設定のみを使用して出力したい場合に、XPSドキュメントに指定されている印刷設定を利用者が知り、それをホットフォルダの設定に移し替えなければ本来の出力結果を得られない。   However, in the technique described in Patent Document 1, when a document has a print setting like an XPS document, the print setting that the XPS document has cannot be used. Therefore, as in the form data example, if you want to output using only the specific print settings of the XPS document, the user knows the print settings specified in the XPS document and moves them to the hot folder settings. If it is not changed, the original output result cannot be obtained.

また、XPSドキュメントを出力形式とするホットフォルダに例外設定を指定する場合、各ページのプリントチケットを編集する必要がある。そのため、ドキュメントのページ数や例外設定の項目が多くなると、編集の労力がかかり、生産性が低下するばかりか、人為的な過誤の原因ともなる。   In addition, when an exception setting is specified for a hot folder whose output format is an XPS document, it is necessary to edit the print ticket for each page. For this reason, if the number of pages of the document and the number of exception setting items increase, editing efforts are required, which not only decreases productivity but also causes human error.

本発明は上記従来例に鑑みてなされたもので、上述した課題を解決することを目的とする。さらに詳しくはXPS等のドキュメントデータに含まれる印刷設定のうち、指定したレベル(すなわち例外を含むか否か)及び指定した項目を、ホットフォルダ設定に引き継ぐことができる印刷制御装置及び方法を提供することを目的とする。   The present invention has been made in view of the above conventional example, and an object thereof is to solve the above-described problems. More specifically, the present invention provides a print control apparatus and method that can transfer a designated level (that is, whether an exception is included) and a designated item among print settings included in document data such as XPS to a hot folder setting. For the purpose.

上記目的を達成するために本発明は以下の構成を有する。すなわち、階層構造を有し且つ各階層に対応する複数の内部印刷設定を含むドキュメントデータに、外的に定義され且つ前記階層に対応する複数の外部印刷設定をさらに付加するための印刷制御装置であって、前記複数の外部印刷設定の入力と、前記複数の内部印刷設定のうち引き継ぐべき階層に関する引き継ぎ設定の入力とを受け付けて保存する保存手段と、前記引き継ぎ設定により印刷設定の引き継ぎが指定されている場合、前記複数の内部印刷設定のうち引継ぎが指定された階層の内部印刷設定と、前記引き継ぎが指定された階層に対応する前記外部印刷設定とをマージして新たな前記引き継ぎが指定された階層の印刷設定を生成する生成手段と、前記生成手段により生成された印刷設定を、前記ドキュメントデータとともにプリンタデバイスに送信するデータ送信手段とを備えることを特徴とする。 In order to achieve the above object, the present invention has the following configuration. That is, a print control apparatus for further adding a plurality of external print settings defined externally and corresponding to the hierarchy to document data having a hierarchical structure and including a plurality of internal print settings corresponding to each hierarchy. And storing means for accepting and storing the input of the plurality of external print settings and the input of the takeover setting relating to the hierarchy to be inherited among the plurality of internal print settings, and the takeover of the print setting is designated by the takeover setting If it is, the internal print settings of hierarchy the takeover of the plurality of internal print setting is designated, a new the takeover by merging said external print setting corresponding to the hierarchy in which the takeover is designated Generating means for generating print settings of a specified hierarchy, and printing settings generated by the generating means together with the document data; Characterized in that it comprises a data transmitting means for transmitting to the device.

本発明によれば、上述した課題を解決することができる。特に、XPS等のドキュメントデータに含まれる印刷設定のうち、指定したレベル(すなわち例外を含むか否か)及び指定した項目を、ホットフォルダ設定に引き継ぐことができる。   According to the present invention, the above-described problems can be solved. In particular, a specified level (that is, whether an exception is included) and a specified item among print settings included in document data such as XPS can be taken over by hot folder settings.

印刷システムの図である。1 is a diagram of a printing system. ホットフォルダ構成の図である。It is a figure of a hot folder structure. ホットフォルダ基本設定画面例の図である。It is a figure of the example of a hot folder basic setting screen. 例外設定画面例の図である。It is a figure of an example of an exception setting screen. 例外設定追加画面例の図である。It is a figure of an example of an exception setting addition screen. XPS入力時動作設定画面例の図である。It is a figure of the operation setting screen example at the time of XPS input. XPS入力時動作設定画面例の図である。It is a figure of the operation setting screen example at the time of XPS input. ホットフォルダ設定保存処理のフローチャートである。It is a flowchart of a hot folder setting preservation | save process. ホットフォルダの入力処理フローチャートである。It is a hot folder input processing flowchart. 第1実施形態におけるXPSパッケージ形式の出力処理フローチャートである。It is an output processing flowchart of the XPS package format in the first embodiment. 第1実施形態におけるJDF形式の出力処理フローチャートである。It is a JDF format output processing flowchart in the first embodiment. 従来の出力処理フローチャートである。It is a conventional output process flowchart. XPSドキュメント構成図である。It is a XPS document block diagram. XPSドキュメントの印刷設定の例の図である。6 is a diagram illustrating an example of XPS document print settings. FIG. プリントチケットの例の図である。It is a figure of the example of a print ticket. ホットフォルダの印刷設定を保存したJDFの例の図である。FIG. 6 is a diagram illustrating an example of a JDF that stores print settings for a hot folder. プリントチケットの内容をマージした後のJDFの例の図である。It is a figure of the example of JDF after merging the contents of a print ticket. PDFをコンテンツデータとして指定したJDFの例の図である。It is a figure of the example of JDF which designated PDF as content data. XPSをコンテンツデータとして指定したJDFの例の図である。It is a figure of the example of JDF which designated XPS as content data. 入力XPSドキュメントの印刷設定にホットフォルダの印刷設定をマージした後のXPSドキュメント例の図である。FIG. 10 is a diagram of an example XPS document after merging hot folder print settings with input XPS document print settings. 入力XPSドキュメントの印刷設定にホットフォルダの印刷設定をマージした後のプリントチケットの例の図である。FIG. 10 is a diagram illustrating an example of a print ticket after merging print settings of a hot folder with print settings of an input XPS document. 入力XPSドキュメントの印刷設定にホットフォルダの印刷設定をマージした後のXPSドキュメントの例の図である。FIG. 10 is a diagram of an example of an XPS document after merging hot folder print settings with input XPS document print settings. 入力XPSドキュメントの印刷設定にホットフォルダの印刷設定をマージした後のXPSドキュメント例の図である。FIG. 10 is a diagram of an example XPS document after merging hot folder print settings with input XPS document print settings. 第2実施形態におけるXPSパッケージ形式の出力処理フローチャートである。It is an output processing flowchart of the XPS package format in the second embodiment. 第2実施形態におけるJDF形式の出力処理フローチャートである。It is an output processing flowchart of JDF format in a 2nd embodiment. XPS引継ぎ設定を指定したJDFの例の図である。It is a figure of the example of JDF which designated XPS takeover setting. XPS引継ぎ設定を指定したプリントチケットの例の図である。It is a figure of the example of the print ticket which designated the XPS takeover setting. XPSをコンテンツデータとして指定したJDFの例の図である。It is a figure of the example of JDF which designated XPS as content data. XPS引継ぎ設定を指定したプリントチケットの例の図である。It is a figure of the example of the print ticket which designated the XPS takeover setting. XPS引継ぎ設定を持つプリントチケットを指定したXPSドキュメントの例の図である。FIG. 10 is a diagram of an example of an XPS document that designates a print ticket having an XPS takeover setting. XPS引継ぎ設定を持つプリントチケットを指定したXPSドキュメントの例の図である。FIG. 10 is a diagram of an example of an XPS document that designates a print ticket having an XPS takeover setting. XPSドキュメントをコンテンツデータとして指定したJDFの例の図である。It is a figure of the example of JDF which designated the XPS document as content data. XPSドキュメントをコンテンツデータとして指定したJDFの例の図である。It is a figure of the example of JDF which designated the XPS document as content data.

[第1実施形態]
<システム構成>
図1は、本発明に係る印刷制御装置を有する印刷システム構成図である。図1に示すように、クライアントPC101、プリンタ103から構成されており、これらは通信媒体であるネットワーク104によって通信することが可能となっている。ネットワーク上に複数のクライアントPCが存在することを示すためにクライアントPC101および102の2台を図示している。2台とも同じ構成のため、クライアントPCの101のみを説明に使用する。クライアントPC101には電子文書、具体的には階層構造を有するXPSドキュメントを受け付けて印刷するためのホットフォルダが搭載されている。プリンタ103は、XPSドキュメントを解釈してXPSドキュメントに含まれる印刷設定にしたがって印刷できる。また、JDFを解釈して、JDFで定義された印刷設定にしたがってJDFに関連づけられたドキュメントを印刷することもできる。なお、印刷設定を含むジョブ制御情報と、印刷される文書の内容(コンテンツ)とを合わせてパッケージと呼ぶ。また、XPSドキュメントに含まれる印刷設定は、XPSドキュメントの一部を構成しており、内部印刷設定あるいはドキュメントに従属した従属印刷設定と呼ぶことができる。一方、ホットフォルダに対して外的に定義された印刷設定は、外部印刷設定、あるいはドキュメントと独立した独立印刷設定と呼ぶことができる。
[First Embodiment]
<System configuration>
FIG. 1 is a configuration diagram of a printing system having a printing control apparatus according to the present invention. As shown in FIG. 1, a client PC 101 and a printer 103 are configured, and these can communicate via a network 104 which is a communication medium. In order to show that there are a plurality of client PCs on the network, two client PCs 101 and 102 are shown. Since both units have the same configuration, only the client PC 101 is used for the description. The client PC 101 is equipped with a hot folder for receiving and printing an electronic document, specifically, an XPS document having a hierarchical structure. The printer 103 can interpret the XPS document and print according to the print settings included in the XPS document. It is also possible to interpret the JDF and print a document associated with the JDF according to the print settings defined in the JDF. The job control information including the print settings and the content (content) of the document to be printed are collectively referred to as a package. The print settings included in the XPS document constitute a part of the XPS document, and can be called internal print settings or dependent print settings dependent on the document. On the other hand, the print settings defined externally for the hot folder can be called external print settings or independent print settings independent of the document.

<本発明におけるホットフォルダの構成>
図2は、本実施形態におけるホットフォルダの動作を制御するホットフォルダマネージャ200の構成を示したものである。クライアントPC101に搭載され、ホットフォルダの設定制御や入力される電子文書を処理するためのシステムである。ホットフォルダマネージャ200は、ドキュメント制御部201、設定制御部202を備える。以下でホットフォルダマネージャ200を構成する各制御部について説明する。
<Configuration of Hot Folder in the Present Invention>
FIG. 2 shows the configuration of the hot folder manager 200 that controls the operation of the hot folder in the present embodiment. The system is mounted on the client PC 101 and controls hot folder settings and processes input electronic documents. The hot folder manager 200 includes a document control unit 201 and a setting control unit 202. Below, each control part which comprises the hot folder manager 200 is demonstrated.

<本発明におけるホットフォルダの設定制御部の説明>
設定制御部202のUI制御部213は、ホットフォルダにあらかじめ印刷設定や動作設定を指定するためのUI制御部である。UI制御部213は、後述の図3から図7の操作画面を備える。図8のフローチャートを用いて、印刷設定時のUI制御部213の設定保存処理について説明する。図3〜図7の各UI画面で入力された設定値は、各項目毎に識別可能な形式で一時保存される。
<Description of Hot Folder Setting Control Unit in Present Invention>
The UI control unit 213 of the setting control unit 202 is a UI control unit for designating print settings and operation settings in advance in the hot folder. The UI control unit 213 includes operation screens shown in FIGS. A setting storage process of the UI control unit 213 at the time of print setting will be described with reference to the flowchart of FIG. The setting values input on the UI screens of FIGS. 3 to 7 are temporarily stored in a format that can be identified for each item.

ユーザがデスクトップ等に作成しているホットフォルダのアイコンを右クリックするなどして設定画面を開くと(不図示)、UI制御部213は、図3のような設定画面301を表示する。本実施形態における設定画面301は、基本設定シート302、例外設定シート303、XPS動作設定シート304からなる。基本設定シート302は、ホットフォルダ名305、基本印刷設定の選択領域307、OKボタン308、キャンセルボタン306で構成される。基本設定シート302では、ホットフォルダが生成する印刷ジョブ全体に指定される印刷設定の指定(印刷設定)を受け付ける。例えば、図3の画面例の出力用紙サイズを例にとると、用紙サイズをA4サイズで出力する印刷設定が入力されている。   When the user opens a setting screen (not shown) by right-clicking on a hot folder icon created on the desktop or the like (not shown), the UI control unit 213 displays a setting screen 301 as shown in FIG. The setting screen 301 in this embodiment includes a basic setting sheet 302, an exception setting sheet 303, and an XPS operation setting sheet 304. The basic setting sheet 302 includes a hot folder name 305, a basic print setting selection area 307, an OK button 308, and a cancel button 306. The basic setting sheet 302 receives print setting designation (print setting) designated for the entire print job generated by the hot folder. For example, taking the output paper size in the screen example of FIG. 3 as an example, print settings for outputting the paper size in A4 size are input.

図4は、例外設定シート303の画面例である。例外設定は、図3の基本設定シート301に対し、ある特定のページに対する印刷設定である。例外設定シート303は、例外設定のページ範囲表示領域401と、それぞれのページ範囲に設定されている印刷設定の内容を表示する設定項目表示領域402とを含む。また、例外設定シート303は、例外設定追加ボタン403と例外設定の削除ボタン404とを備える。例外設定追加ボタン403が押下されると、図5に示すような例外設定追加画面501が表示され、例外設定が追加可能となる。削除ボタン404が押下されると、例外設定表示領域で選択された例外設定が削除される。図4の例では、2〜3ページに対してカラー設定と解像度設定が、5〜10ページに対して出力用紙サイズの設定がそれぞれ例外設定として設定されている。   FIG. 4 is a screen example of the exception setting sheet 303. The exception setting is a print setting for a specific page with respect to the basic setting sheet 301 of FIG. The exception setting sheet 303 includes a page range display area 401 for exception settings and a setting item display area 402 for displaying the contents of print settings set for each page range. The exception setting sheet 303 includes an exception setting addition button 403 and an exception setting deletion button 404. When the exception setting addition button 403 is pressed, an exception setting addition screen 501 as shown in FIG. 5 is displayed, and exception settings can be added. When the delete button 404 is pressed, the exception setting selected in the exception setting display area is deleted. In the example of FIG. 4, color settings and resolution settings are set as exception settings for pages 2 to 3, and output paper sizes are set for pages 5 to 10, respectively.

図5の例外設定追加画面501は、例外設定を適用するページ範囲を指定するページ例外範囲指定領域502と、例外設定領域503と、OKボタン504と、キャンセルボタン505とからなる。図5の画面例では、5ページから10ページが例外範囲として指定され、その範囲に対して出力用紙サイズをA3サイズで出力する例外設定が設定されている。ユーザがOKボタン504を押下することで、例外設定領域503の設定項目がページ例外範囲指定領域502に指示されたページに関連づけられて登録される。登録された内容は、前述のページ範囲表示領域401、設定項目表示領域402に表示される。例外設定領域503で"基本設定と同じ"と指定されている印刷設定は、基本設定シート302で指示された印刷設定を使用して処理されることを意味する。   The exception setting addition screen 501 in FIG. 5 includes a page exception range specification area 502 for specifying a page range to which exception settings are applied, an exception setting area 503, an OK button 504, and a cancel button 505. In the screen example of FIG. 5, pages 5 to 10 are designated as exception ranges, and exception settings for outputting the output paper size in A3 size are set for the ranges. When the user presses an OK button 504, the setting items in the exception setting area 503 are registered in association with the page specified in the page exception range specifying area 502. The registered contents are displayed in the page range display area 401 and the setting item display area 402 described above. The print setting designated as “same as basic setting” in the exception setting area 503 means that the print setting designated on the basic setting sheet 302 is processed.

図6は、ドキュメント制御部201にXPSドキュメントが入力された際の動作設定を操作する画面例である。出力形式指定部601、動作モード指定部602、引継ぎ項目指定部603、引継ぎレベル指定部604からなる。出力形式指定部601では、XPSドキュメントがホットフォルダに入力された場合のデバイスに送付する出力形式のフォーマットを指定する。本実施形態においては、「XPSパッケージ形式で出力」、「JDF形式で出力」のいずれかが選択できる。それぞれの形式についての詳細については後述する。動作モード指定部602では、入力されたXPSドキュメント内に指示されている印刷設定を引き継ぐか否かを設定する。具体的には図7に示すように「ホットフォルダの設定を優先する」か「選択した項目のXPS設定を引き継ぐ」のいずれかを選択する。動作モード指定部602で、「選択した項目のXPS設定を引き継ぐ」が指定された場合は、印刷設定のうち、引継ぎ項目指定部603で指定された項目が引き継がれる。引継ぎ項目指定部603では、「すべての項目を引き継ぐ」か、あるいは「カラー設定」や「出力用紙サイズ」など設定項目別に、引き継がれる項目を指定する。図6の例では、「カラー設定」と「出力用紙サイズ」を引き継ぐ設定になっている。引継ぎレベル指定部604では、動作モード指定部602で、「選択した項目のXPS設定を引き継ぐ」が選択された場合に、XPSドキュメントのどの階層の設定を引き継ぐかを選択する。「ジョブの設定のみ」が指定された場合は、図13に示すXPSドキュメント内のジョブレベル(すなわちドキュメントデータレベル)の印刷設定1304のみ引き継ぐ。この場合には例外設定は引き継がれないことになる。一方、「すべてのページ」が選択された場合には、入力されたXPSドキュメント内のすべてのFixedPageに関連付けられている印刷設定(属性とも呼ぶ)1306が引き継がれる。すなわち、例外設定も含めて引き継がれる。   FIG. 6 is a screen example for operating setting when an XPS document is input to the document control unit 201. The output format specifying unit 601, the operation mode specifying unit 602, the takeover item specifying unit 603, and the takeover level specifying unit 604 are included. The output format designation unit 601 designates the format of the output format to be sent to the device when the XPS document is input to the hot folder. In the present embodiment, either “output in XPS package format” or “output in JDF format” can be selected. Details of each format will be described later. The operation mode designating unit 602 sets whether to take over the print settings specified in the input XPS document. Specifically, as shown in FIG. 7, either “prioritize hot folder setting” or “inherit XPS setting of selected item” is selected. When “take over the XPS setting of the selected item” is designated in the operation mode designation unit 602, the item designated in the takeover item designation unit 603 is inherited from the print settings. The takeover item designation unit 603 designates items to be taken over for each setting item such as “take over all items” or “color setting” and “output paper size”. In the example of FIG. 6, “color setting” and “output paper size” are set to be inherited. The takeover level designation unit 604 selects which hierarchy setting of the XPS document is to be taken over when the operation mode designation unit 602 selects “inherit the XPS setting of the selected item”. When “job setting only” is designated, only the job level (ie, document data level) print setting 1304 in the XPS document shown in FIG. 13 is taken over. In this case, the exception setting is not inherited. On the other hand, when “all pages” is selected, the print settings (also referred to as attributes) 1306 associated with all the FixedPages in the input XPS document are inherited. That is, it is inherited including exception settings.

以上説明したように、ホットフォルダ設定では、基本印刷設定と例外印刷設定という印刷設定に加えて、XSPドキュメントが内包する内部印刷設定の引き継ぎに関する引き継ぎ設定も指定しておくことができる。引き継ぎ設定では、ホットフォルダの印刷設定すなわち内部印刷設定を引き継がずに外部印刷設定のみに従って印刷を行うという第1の引き継ぎ設定と、内部印刷設定を引き継ぐという第2の引き継ぎ設定のいずれかを選択できる。第2の引き継ぎ設定では、さらに、内部印刷設定を全て引き継ぐという設定と、全ては引き継がないという設定とが選択できる。全ては引き継がない場合には、引き継ぐ項目を指定ができる。また、第2の引き継ぎ設定ではさらに、引き継ぎレベルを設定できる。引き継ぎレベルでは、ジョブ全体の印刷設定のみを引き継ぐか、全てのページの例外印刷設定も含めて引き継ぐか選択できる。   As described above, in the hot folder setting, in addition to the print settings such as the basic print setting and the exceptional print setting, it is possible to specify the takeover setting regarding the takeover of the internal print setting included in the XSP document. In the takeover setting, it is possible to select either the first takeover setting for performing printing according to only the external print setting without taking over the hot folder print setting, that is, the internal print setting, or the second takeover setting for taking over the internal print setting. . In the second takeover setting, a setting for taking over all internal print settings and a setting for not taking over all can be selected. When all items are not inherited, the items to be inherited can be specified. Further, in the second takeover setting, a takeover level can be further set. At the takeover level, it is possible to select whether to take over only the print settings for the entire job or to take over the exception print settings for all pages.

<ホットフォルダの設定制御部による処理>
図8は、図3から図7の設定画面で設定が終了し、OKボタン308が押下された際に、ホットフォルダ設定制御部202が設定画面の内容を保存する処理のフローチャートを示す。S801にてホットフォルダ設定画面301でイベントが発生すると、S802でOKボタンの押下イベントか否かを判断する。OKボタンの押下イベントであると判断すると、次のS803に進む。S802でOKボタンの押下イベントでないと判断された場合には、再びS801でイベント待ち状態となる。
<Processing by hot folder setting control unit>
FIG. 8 shows a flowchart of processing in which the hot folder setting control unit 202 saves the contents of the setting screen when the setting is completed on the setting screen of FIGS. 3 to 7 and the OK button 308 is pressed. If an event occurs on the hot folder setting screen 301 in S801, it is determined whether or not an OK button press event occurs in S802. If it is determined that the OK button is pressed, the process advances to step S803. If it is determined in S802 that the event is not an OK button press event, the event wait state is entered again in S801.

S803では、XPSホットフォルダ動作設定保存部214によって、XPS動作設定シート304で設定された内容をXPS動作設定216に保存する。XPS動作設定216の内容は、図6,図7に示す通りであるが、まとめると次のようなものとなる。
(1)出力形式:XPSパッケージまたはJDF形式。これは、力形式をドキュメントデータそのものとするか、ドキュメントデータに印刷設定を付加した形式とするか、という選択とも言える。
(2)動作モード:ホットフォルダ設定(外部印刷設定)の優先またはXPS印刷設定(内部印刷設定)の引き継ぎ
(3)引き継ぎ項目:引き継がれる項目の指定(全てまたは個々の項目)
(4)引き継ぎレベル:ジョブレベル(すなわちドキュメントレベル)またはページレベル。すなわち、引き継ぎレベルは、例外印刷設定を引き継ぐか否かを示す。
In step S <b> 803, the XPS hot folder operation setting storage unit 214 stores the contents set on the XPS operation setting sheet 304 in the XPS operation setting 216. The contents of the XPS operation setting 216 are as shown in FIG. 6 and FIG. 7, but are summarized as follows.
(1) Output format: XPS package or JDF format. This can be said to be the selection of whether the force format is the document data itself or a format in which print settings are added to the document data.
(2) Operation mode: hot folder setting (external print setting) priority or XPS print setting (internal print setting) takeover (3) takeover item: specification of items to be taken over (all or individual items)
(4) Takeover level: job level (ie document level) or page level. That is, the takeover level indicates whether or not to take over the exceptional print setting.

次にS804でホットフォルダ設定により指定された印刷設定の内容をJDFデータ218に保存する。ここで保存される内容は、基本設定シート302の設定内容と、例外設定シート303の設定内容である。図3、図4のUI画面例の基本設定と例外設定の場合、図16の例に示すようなJDFが保存される。図16のJDF1601は、レイアウト配置処理設定1602、レンダリング処理設定1603、印刷処理設定1604を持つ。図16中のPxはページ番号を示す。レイアウト配置処理設定1602においては、すべてのページに基本設定が適用されており、すべてのページに対して、印刷の向きとしてポートレイトが指定されている。レンダリング処理設定1603においては、基本設定として、色設定がカラー、解像度が600dpiに設定され、例外設定として、2ページと3ページに、色設定がモノクロ、解像度が300dpiに設定されている。JDF(Job Definition Format)は、XMLで定義されたジョブ制御情報であり、印刷設定などを含む。   In step S804, the contents of the print setting designated by the hot folder setting are stored in the JDF data 218. The contents stored here are the setting contents of the basic setting sheet 302 and the setting contents of the exception setting sheet 303. In the case of the basic setting and the exception setting in the UI screen examples of FIGS. 3 and 4, the JDF as shown in the example of FIG. 16 is saved. The JDF 1601 in FIG. 16 has a layout arrangement processing setting 1602, a rendering processing setting 1603, and a printing processing setting 1604. Px in FIG. 16 indicates a page number. In the layout arrangement processing setting 1602, basic settings are applied to all pages, and a portrait is designated as the print direction for all pages. In the rendering processing setting 1603, as basic settings, the color setting is set to color and the resolution is set to 600 dpi, and as exceptional settings, the color setting is set to monochrome and the resolution is set to 300 dpi on the second and third pages. JDF (Job Definition Format) is job control information defined in XML, and includes print settings and the like.

S805では、XPS動作設定シート304の出力形式指定部601で指定された出力形式が判定される。「XPSパッケージ形式で出力」が選択されている場合にはS806に進み、そうでない場合は処理を終了する。S806では、印刷設定フォーマット生成部215により、基本設定302の内容をプリントチケット217に保存して処理を終了する。図3の画面例であれば、図15に示すようなプリントチケットを生成する。プリントチケットもまたXMLで定義されたデータである。プリントチケット1500は、PrintTicketタグ1501の中にFeature指定部1502を複数個持つ。Feature指定部1502は設定項目を表し、Option指定部1503では、Feature指定部1502で指定された設定項目の設定値を表す。   In step S805, the output format designated by the output format designation unit 601 of the XPS operation setting sheet 304 is determined. If “output in XPS package format” is selected, the process advances to step S806. If not, the process ends. In step S806, the print setting format generation unit 215 stores the contents of the basic setting 302 in the print ticket 217, and the process ends. In the screen example of FIG. 3, a print ticket as shown in FIG. 15 is generated. A print ticket is also data defined in XML. The print ticket 1500 has a plurality of Feature designation sections 1502 in a PrintTicket tag 1501. The Feature designation unit 1502 represents a setting item, and the Option designation unit 1503 represents a setting value of the setting item designated by the Feature designation unit 1502.

図15の例では、基本設定画面に指定された以下のような項目が格納されている。
<Feature Name="JobDuplex">:両面設定
<Option Name="TwoSided">:両面印刷
<Feature Name="PageMediaSize">:用紙サイズ
<Option Name="ISOA4">:A4サイズ
<Feature Name="PageOutputColor">:カラー設定
<Option Name="Color">:カラー印刷
<Feature Name="PageOrientation">:印刷の向き
<Option Name="Portrait">:縦
<Feature Name="PageResolition">:解像度
<Option Name="600dpi">:600dpi。
In the example of FIG. 15, the following items specified on the basic setting screen are stored.
<Feature Name = “JobDuplex”>: Duplex setting <Option Name = “TwoSided”>: Duplex printing <Feature Name = “PageMediaSize”>: Paper size <Option Name = “ISOA4”>: A4 size <FeaturePoolName ” “>: Color setting <Option Name =“ Color ”>: Color printing <Feature Name =“ Page Orientation ”>: Printing orientation <Option Name =“ Portrait ”>: Vertical <Feature Name =“ PageResolution ”>: Resolution <Option Name = “600 dpi”>: 600 dpi.

以上の手順により、ホットフォルダUIで入力された印刷設定は、出力形式としてXPSパッケージ形式が選択されていれば、プリントチケット形式で保存され、JDF形式が選択されていればJDF形式で保存される。   Through the above procedure, the print settings input in the hot folder UI are saved in the print ticket format if the XPS package format is selected as the output format, and are saved in the JDF format if the JDF format is selected. .

<ホットフォルダの入力ドキュメント制御部による処理>
以下では、本実施形態におけるホットフォルダマネージャ200の入力ドキュメント制御部201の動作について説明する。図9は、ホットフォルダにドキュメントが入力された際の処理フローを示したものである。ドキュメント受信部203がS901で入力待ち状態となり、S902でイベントが発生し、S903にてS902で発生したイベントがドキュメント入力イベントか否かを判別する。S903で入力イベントであると判断された場合には、S904に進む。一方、入力イベントでないと判断された場合には、S901に進み再び入力待ち状態となる。
<Processing by the input document control unit of the hot folder>
Hereinafter, an operation of the input document control unit 201 of the hot folder manager 200 in the present embodiment will be described. FIG. 9 shows a processing flow when a document is input to the hot folder. The document reception unit 203 enters an input waiting state in S901, an event occurs in S902, and in S903, it is determined whether or not the event that occurred in S902 is a document input event. If it is determined in S903 that the event is an input event, the process proceeds to S904. On the other hand, if it is determined that the event is not an input event, the process proceeds to S901 and the input wait state is entered again.

S904では、入力ドキュメント判別部205が入力されたドキュメントのデータタイプを判別し、S905に進む。S905では、判別された入力ドキュメントのデータタイプがXPSドキュメントであるか否かを判定する。S905でXPSドキュメントであると判別された場合には、S907に進む。一方、XPSドキュメント以外のデータタイプと判別された場合には、S911に進む。XPSドキュメント以外のデータタイプとは、従来からホットフォルダでサポートされていたPDFやTIFF、PostScriptなどを指す。ドキュメントファイルがXPSドキュメントであることは、たとえば文書の先頭に付加されたxmlのタグによって判定できる。S911では、PDF制御部206やTIFF制御部205などによって従来の出力処理が実行される。   In step S904, the input document determination unit 205 determines the data type of the input document, and the process advances to step S905. In step S905, it is determined whether the data type of the determined input document is an XPS document. If it is determined in S905 that the document is an XPS document, the process proceeds to S907. On the other hand, if it is determined that the data type is other than the XPS document, the process proceeds to S911. Data types other than XPS documents indicate PDF, TIFF, PostScript, etc. that have been conventionally supported in hot folders. Whether a document file is an XPS document can be determined by, for example, an xml tag added to the top of the document. In S911, the conventional output processing is executed by the PDF control unit 206, the TIFF control unit 205, and the like.

図12は、従来のホットフォルダの出力処理のフローチャートである。S1201で設定制御部202によって保存されたJDFデータ218を取得する。S1202では、S1201で取得したJDFのコンテンツ(すなわち印刷対象のドキュメントファイル)として、ドキュメント受信部203に入力されたドキュメントデータを指定して印刷ジョブを生成する。図18は、JDFデータ218に保存されたJDFデータ1801コンテンツデータとしてPDFファイル(SAMPLE.pdf)を指定した場合の例である。S1202で、JDFデータ1801にコンテンツデータ1805の識別子を記述し、S1203で、PDFデータ1805とJDFデータ1801をパッケージ化したパッケージデータ1806をデバイス103に対して送信し、処理を終了する。このパッケージデータが印刷ジョブに相当するデータである。   FIG. 12 is a flowchart of a conventional hot folder output process. In step S1201, the JDF data 218 saved by the setting control unit 202 is acquired. In step S1202, the document data input to the document reception unit 203 is specified as the JDF content acquired in step S1201 (that is, the document file to be printed) to generate a print job. FIG. 18 shows an example when a PDF file (SAMPLE.pdf) is designated as the JDF data 1801 content data stored in the JDF data 218. In step S1202, the identifier of the content data 1805 is described in the JDF data 1801, and in step S1203, package data 1806 obtained by packaging the PDF data 1805 and the JDF data 1801 is transmitted to the device 103, and the process ends. This package data is data corresponding to a print job.

一方、図9のS905でXPSドキュメントであると判別された場合の処理について説明する。S906では、XPS動作設定216を取得する。もちろん取得しなくともXPS動作設定216の内容にアクセスできる状態になればよい。S907では、XPS動作設定216の出力形式の設定に応じて、PTデータ217またはJDFデータ218を参照して、例外設定項目に設定値があるか判定する。S908にて、出力フォーマット判定部208により、XPS動作設定216内の出力形式指定部601の設定値が、「XPSパッケージ形式で出力」であるか否かを判定する。S908でXPSパッケージ形式であると判別された場合には、S909に進む。一方、XPSパッケージ形式でないと判別された場合には、S910に進む。S909では、XPSパッケージ形式の出力処理が実行される。   On the other hand, processing when it is determined in step S905 in FIG. 9 that the document is an XPS document will be described. In S906, the XPS operation setting 216 is acquired. Of course, it is only necessary to be able to access the contents of the XPS operation setting 216 without acquisition. In S907, it is determined whether there is a set value for the exception setting item with reference to the PT data 217 or JDF data 218 according to the output format setting of the XPS operation setting 216. In step S908, the output format determination unit 208 determines whether the setting value of the output format designation unit 601 in the XPS operation setting 216 is “output in XPS package format”. If it is determined in S908 that the format is the XPS package format, the process proceeds to S909. On the other hand, if it is determined that the format is not the XPS package format, the process proceeds to S910. In step S909, output processing in the XPS package format is executed.

図10のフローチャートを用いて、S909におけるXPSパッケージ形式の出力処理について説明する。S1001にて、プリントチケット形式で保存されているホットフォルダの印刷設定PTデータ217を取得する。S1002にて、S907で取得したXPS動作設定216に、入力されたXPSドキュメントの印刷設定の引き継ぎ設定がされているか否かを判定する。XPSの印刷設定の引き継ぎ設定がない場合、すなわち動作モード指定部602で「ホットフォルダの設定を優先する」が指定されている場合には、S1013に進む。   The XPS package format output process in step S909 will be described with reference to the flowchart of FIG. In step S1001, the hot folder print setting PT data 217 stored in the print ticket format is acquired. In step S1002, it is determined whether the XPS operation setting 216 acquired in step S907 is set to take over the print setting of the input XPS document. If there is no XPS print setting takeover setting, that is, if “prioritize hot folder setting” is designated in the operation mode designation unit 602, the process advances to step S 1013.

S1013では、図14に示すようなXPSドキュメントのジョブレベルのプリントチケット1401を削除する。ジョブレベルの印刷設定とは、図14に示すXPSドキュメントのFixedDocumentSequenceノードに関連付けられたプリントチケット1401を指す。S1014にて、入力されたXPSドキュメントのFixedDocumentSequenceに、削除したプリントチケットの代わりとしてプリントチケット217を関連付ける。プリントチケット217は、図6のステップS806で保存されたデータである。さらに、S1015で、入力されたXPSドキュメントに属するすべてのFixedPageのプリントチケットを削除する。その結果、図20に示すような、FixedDocumentSequenceノードにのみプリントチケットが関連づけられたXPSドキュメントが生成される。S1017で、生成されたXPSドキュメントをプリンタデバイスへ送信して処理を終了する。   In step S1013, the XPS document job level print ticket 1401 shown in FIG. 14 is deleted. The job level print setting refers to the print ticket 1401 associated with the FixedDocumentSequence node of the XPS document shown in FIG. In step S1014, the print ticket 217 is associated with the FixedDocumentSequence of the input XPS document instead of the deleted print ticket. The print ticket 217 is data stored in step S806 in FIG. Further, in step S1015, all FixedPage print tickets belonging to the input XPS document are deleted. As a result, an XPS document in which a print ticket is associated only with the FixedDocumentSequence node as shown in FIG. 20 is generated. In step S1017, the generated XPS document is transmitted to the printer device, and the process ends.

一方、S1002で、入力されたXPSドキュメントの印刷設定を引き継ぐと判断された場合には、S1003に進む。S1003では、引継ぎ項目指定部603で指定された引継ぎ項目をXPS動作設定216より取得する。図6の画面例の場合、以下のように引継ぎ項目として"カラー"、"出力用紙サイズ"が取得される。
[引継ぎ項目]
<PageOutputColor>
<PageMediaSize>。
On the other hand, if it is determined in S1002 that the print settings of the input XPS document are taken over, the process proceeds to S1003. In S1003, the takeover item specified by the takeover item specifying unit 603 is acquired from the XPS operation setting 216. In the case of the screen example of FIG. 6, “color” and “output paper size” are acquired as takeover items as follows.
[Transfer items]
<PageOutputColor>
<PageMediaSize>.

次にS1004では、入力されたXPSドキュメントのジョブレベルの印刷設定を取得する。その一例であるプリントチケット1401には、以下のような印刷設定が関連付けられている。
<Feature Name="PageMediaSize">・・・用紙サイズ
<Option Name="ISOA4">・・・A4サイズ
<Feature Name="PageOutputColor">・・・カラー設定
<Option Name="Mono">・・・モノクロ印刷
<Feature Name="PageResolition">・・・解像度
<Option Name="300dpi">・・・300dpi。
In step S1004, the job level print setting of the input XPS document is acquired. The following print settings are associated with the print ticket 1401 as an example.
<Feature Name = “PageMediaSize”>... Paper size <Option Name = “ISOA4”>... A4 size <Feature Name = “PageOutputColor”>... Color setting <Option Name = “Mono”>. Monochrome printing <Feature Name = “PageResolution”>... Resolution <Option Name = “300 dpi”>... 300 dpi.

S1005で、S1004で取得した印刷設定のうち、S1003で取得した、指定された引継ぎ項目のみをホットフォルダの印刷設定PTデータ217にマージする。図14に示す入力XPSドキュメントのジョブレベルのプリントチケット1401に、図15のプリントチケット1500をマージして得られるプリントチケットが、図21のプリントチケット2100である。入力ドキュメントのプリントチケット1401のうち、引継ぎ項目のPageOutputColor、PageMediaSizeについては、プリントチケット2100に引き継がれている。このマージ処理では、マージされる側の印刷設定(ホットフォルダの印刷設定)に、マージする側の印刷設定(XPSドキュメントの印刷設定)と同一の項目があれば、その項目の設定値はマージする側の印刷設定値に置換される。また、同一の項目がなければ、マージする側のその項目を、マージされる側の印刷設定に追加する。   In S1005, only the designated handover items acquired in S1003 out of the print settings acquired in S1004 are merged with the print setting PT data 217 of the hot folder. The print ticket 2100 in FIG. 21 is a print ticket obtained by merging the print ticket 1500 in FIG. 15 with the job level print ticket 1401 of the input XPS document shown in FIG. Of the print ticket 1401 of the input document, the PageOutputColor and PageMediaSize of the takeover items are taken over by the print ticket 2100. In this merging process, if there is an item in the merged print setting (hot folder print setting) that is the same as the merged print setting (XPS document print setting), the setting value of that item is merged. It is replaced with the print setting value on the side. If there is no identical item, the merged item is added to the merged print setting.

S1006では、入力されたXPSドキュメントのジョブレベルのプリントチケット1401を削除後、新たに作成されたプリントチケット2100をジョブレベルに関連付ける。次に、S1007にて、すべてのページの設定を引き継ぐか否かを判定する。ここでは、S907で取得したXPS動作設定216で、図6の引継ぎレベル指定部604の「すべてのページ」が指定されているか否かを判定する。「すべてのページ」が指定されていないと判断された場合には、S1016に進む。S1016では、入力XPSドキュメントのページレベルの印刷設定、すなわちFixedPageに関連付かれているプリントチケットをすべて削除する。図14の入力XPSドキュメントの例であれば、プリントチケット1402が削除されることになる。その結果、図22に示すような、入力ドキュメントのXPS設定とホットフォルダの印刷設定とをマージしたプリントチケット2201をジョブレベルに持つXPSドキュメントが生成される。次に、S1017で生成されたXPSドキュメントをプリンタデバイスに送信する。   In step S1006, after deleting the job level print ticket 1401 of the input XPS document, the newly created print ticket 2100 is associated with the job level. Next, in S1007, it is determined whether or not all page settings are to be taken over. Here, it is determined whether or not “all pages” of the takeover level designation unit 604 in FIG. 6 is designated by the XPS operation setting 216 acquired in S907. If it is determined that “all pages” is not designated, the process advances to step S1016. In S1016, the page level print setting of the input XPS document, that is, all the print tickets associated with the FixedPage are deleted. In the example of the input XPS document in FIG. 14, the print ticket 1402 is deleted. As a result, an XPS document having a print ticket 2201 merged with the XPS setting of the input document and the print setting of the hot folder as shown in FIG. 22 is generated. Next, the XPS document generated in S1017 is transmitted to the printer device.

一方、S1007にて、すべての印刷設定を引き継ぐと判断された場合には、S1008に進み、入力XPSドキュメントの最初のページのプリントチケットを取得する。次にS1009で、S1008で取得したプリントチケットのうち、S1003で取得した引継ぎ項目の印刷設定のみを抽出する。S1010にて、S1008で取得した元のプリントチケットを関連するページから削除後、S1009で抽出した、引き継がれる印刷設定のみを含むプリントチケットを再度関連づける。次にS1011にて現在参照しているページが最後のページか否かを判定し、最後のページでなければS1012で次のページを参照し、再びS1008を繰り返す。なお、プリントチケットが関連づけられていないページについては、引き継ぐべき設定項目はないので、S1008からS1011へ分岐しても良い。   On the other hand, if it is determined in S1007 that all print settings are taken over, the process proceeds to S1008, and a print ticket for the first page of the input XPS document is acquired. In step S1009, only the print settings for the takeover item acquired in step S1003 are extracted from the print ticket acquired in step S1008. In step S1010, the original print ticket acquired in step S1008 is deleted from the related page, and the print ticket extracted in step S1009 and including only the print settings to be taken over is associated again. Next, in S1011, it is determined whether or not the page currently referred to is the last page. If it is not the last page, the next page is referred to in S1012 and S1008 is repeated again. Note that there is no setting item to be inherited for pages that are not associated with a print ticket, and the process may branch from S1008 to S1011.

一方、S1011にて最後のページと判定された場合には、S1017へ進み、入力XPSドキュメントの全ページについて、指定された項目の設定値を引き継いだプリントチケットが関連づけられたXPSドキュメントをデバイスに送信する。   On the other hand, if it is determined in S1011 that the page is the last page, the process proceeds to S1017, and for all pages of the input XPS document, the XPS document associated with the print ticket that inherits the setting value of the designated item is transmitted to the device. To do.

図23は、図14に示すXPSドキュメントのすべてのページに関連付けられたプリントチケットのうち、指定された項目のみ引き継いで作成されたXPSドキュメントの例である。FixedDocumentSequenceのプリントチケット2301では、入力された元のXPSドキュメントのプリントチケットのうち、引継ぎが指定された項目PageOutputColorとPageMediaSizeがマージされている。また、FixedPage2、FixedPage3に関連づけられたプリントチケットでも、指定された項目のみがプリントチケット2302に引き継がれていることがわかる。FixedPaeg2、FixedPage3には、PageOutputColorとPageMediaSizeのみが例外設定として設定されており、その他の項目は、ジョブレベルのプリントチケット2301の設定に従う。   FIG. 23 is an example of an XPS document created by handing over only specified items among print tickets associated with all pages of the XPS document shown in FIG. In the FixedDocumentSequence print ticket 2301, the items PageOutputColor and PageMediaSize that are designated to be taken over are merged in the print ticket of the original XPS document that has been input. Also, it can be seen that only the designated items have been taken over by the print ticket 2302 even in the print tickets associated with the FixedPage 2 and the FixedPage 3. In FixedPaeg2 and FixedPage3, only PageOutputColor and PageMediaSize are set as exception settings, and other items follow the settings of the print ticket 2301 at the job level.

図9の説明に戻る。S910では、JDF+XPS形式の出力処理が実行される。図11のフローチャートを用いて、JDF+XPS形式の出力処理について説明する。   Returning to the description of FIG. In S910, output processing in JDF + XPS format is executed. The JDF + XPS format output process will be described with reference to the flowchart of FIG.

S1101では、ホットフォルダに指定された印刷設定を持つJDFデータ218を取得する。次に、S1102に進み、S907で取得したXPS動作設定216に、入力されたXPSドキュメントの印刷設定を引き継ぐホットフォルダ設定がされているか否かを判定する。XPSの印刷設定を引き継ぐ設定がされていない場合にはS1107に進む。S1107では、JDFデータ218に入力されたXPSドキュメントをコンテンツとして指定し、図19の例のようなJDFデータ1901を生成する。さらにS1108にてJDFとXPSドキュメント1905のパッケージデータ1906をデバイスへ送信して処理を終了する。   In step S1101, JDF data 218 having print settings designated as a hot folder is acquired. In step S1102, it is determined whether the XPS operation setting 216 acquired in step S907 has a hot folder setting that inherits the print setting of the input XPS document. If it is not set to take over the XPS print settings, the process advances to step S1107. In step S1107, the XPS document input to the JDF data 218 is designated as content, and JDF data 1901 as shown in the example of FIG. 19 is generated. In step S1108, the package data 1906 of the JDF and XPS document 1905 is transmitted to the device, and the process ends.

一方、XPSドキュメントの印刷設定を引き継ぐ指示がある場合には、S1103に進む。S1103では、引継ぎ項目指定部603で指定された引継ぎ項目をXPS動作設定216より取得する。図6の画面例の場合、以下のように引継ぎ項目として"カラー"、"出力用紙サイズ"が取得される。
[引継ぎ項目]
<PageOutputColor>
<PageMediaSize>。
On the other hand, if there is an instruction to take over the XPS document print settings, the process advances to step S1103. In S1103, the takeover item designated by the takeover item designation unit 603 is acquired from the XPS operation setting 216. In the case of the screen example of FIG. 6, “color” and “output paper size” are acquired as takeover items as follows.
[Transfer items]
<PageOutputColor>
<PageMediaSize>.

次に、S1104で入力されたXPSドキュメントのジョブレベルの印刷設定(プリントチケット)を取得する。たとえばジョブレベルのプリントチケット1401には、以下のような印刷設定が関連付けられている。
<Feature Name="PageMediaSize">・・・用紙サイズ
<Option Name="ISOA4">・・・A3サイズ
<Feature Name="PageOutputColor">・・・カラー設定
<Option Name="Mono">・・・モノクロ印刷
<Feature Name="PageResolition">・・・解像度
<Option Name="300dpi">・・・300dpi。
Next, the job level print setting (print ticket) of the XPS document input in step S1104 is acquired. For example, the following print settings are associated with the job level print ticket 1401.
<Feature Name = “PageMediaSize”>... Paper size <Option Name = “ISOA4”>... A3 size <Feature Name = “PageOutputColor”>... Color setting <Option Name = “Mono”>. Monochrome printing <Feature Name = “PageResolution”>... Resolution <Option Name = “300 dpi”>... 300 dpi.

次にS1105で、PTマージ部209によって、入力されたXPSドキュメントの印刷設定のうちS1103で取得した引継ぎ項目をJDFデータ218の印刷設定にマージする。図16に示すJDF1601がホットフォルダに指定されている状態で、図14のプリントチケットの設定をマージした結果の例を、図17のJDFデータ1701に示す。図6の画面例においては、カラー印刷設定と、出力用紙サイズが引継ぎ項目として指定されている。プリントチケット1401のうち、カラー設定の「モノクロ」印刷設定と、出力用紙サイズの「A4」設定とが、ホットフォルダの印刷設定であるJDFデータ218の基本設定に対して引き継がれる。JDFデータ218のカラー設定の基本設定は、「カラー」印刷設定であるので、レンダリング処理設定1603の「カラー」印刷設定がレンダリング処理設定1703のように「モノクロ」印刷設定に変更される。出力用紙サイズ1604については、ホットフォルダの基本設定が「A4」サイズであるため、引き継ぎがされてもJDFデータ218の設定はそのままである。また、プリントチケット1401には、解像度として300dpiが指示されているが、引継ぎ項目に含まれないため引き継がれない。次に、S1106に進み、S1105でマージされたJDFデータ1701に対し、入力XPSドキュメントをそのコンテンツデータと指定する。たとえば、JDFにXPSドキュメントファイル名を記述する。図28は、JDF1701にXPSデータ1905(SAMPLE.xps)をコンテンツとして指定した例である。JDF2801のコンテンツ指定部分でSAMPLE.xpsが指定されている。次にS1108に進み、JDF1901とXPSデータ1905をパッケージ化したパッケージデータ1906をプリンタデバイス103に送信する。   In step S <b> 1105, the PT merge unit 209 merges the inherited item acquired in step S <b> 1103 out of the input XPS document print settings with the print settings of the JDF data 218. An example of the result of merging the print ticket settings in FIG. 14 while the JDF 1601 shown in FIG. 16 is designated as a hot folder is shown in the JDF data 1701 in FIG. In the screen example of FIG. 6, the color print setting and the output paper size are specified as takeover items. In the print ticket 1401, the “monochrome” print setting of the color setting and the “A4” setting of the output paper size are inherited from the basic setting of the JDF data 218 which is the print setting of the hot folder. Since the basic setting of the color setting of the JDF data 218 is the “color” print setting, the “color” print setting of the rendering process setting 1603 is changed to the “monochrome” print setting like the rendering process setting 1703. As for the output paper size 1604, the basic setting of the hot folder is “A4” size, so the setting of the JDF data 218 remains the same even when the inheritance is performed. The print ticket 1401 is instructed to have a resolution of 300 dpi, but is not taken over because it is not included in the takeover item. In step S1106, the input XPS document is designated as the content data for the JDF data 1701 merged in step S1105. For example, an XPS document file name is described in JDF. FIG. 28 shows an example in which XPS data 1905 (SAMPLE.xps) is specified as content in the JDF 1701. SAMPLE. Is specified in the content specification part of JDF2801. xps is specified. In step S 1108, package data 1906 obtained by packaging the JDF 1901 and the XPS data 1905 is transmitted to the printer device 103.

以上の手順により、XPSドキュメントを入力ドキュメントしたホットフォルダの実現が可能となる。すなわち、XPSドキュメントに指定されている印刷設定をそのまま利用指定印刷することもできる。あるいは、指定した項目だけ、XPSドキュメントに指定された印刷設定を用い、他の設定項目はホットフォルダの印刷設定を用いることもできる。また、XPSドキュメントの印刷設定を一切用いず、ホットフォルダの印刷設定のみを用いることができる。さらに、XPSドキュメントの印刷設定を引き継ぐ場合、ページ単位で設定される例外設定を引き継ぐか否かを指定することもできる。これにより、たとえばXPSドキュメントに含まれる印刷設定には、必須の項目のみを与え、印刷を行うクライアントにおいては、ホットフォルダ設定を、XPS設定を引き継ぐ設定としておくという設定が可能となる。このような設定にしておくことで、XPSドキュメントの作成者が意図した印刷設定に従いつつ、個別の印刷環境に応じた設定に従って印刷することができる。   With the above procedure, a hot folder in which an XPS document is input can be realized. In other words, the print setting specified in the XPS document can be used and printed as it is. Alternatively, the print settings specified in the XPS document can be used only for the specified items, and the print settings of the hot folder can be used for other setting items. Also, only the hot folder print settings can be used without using any XPS document print settings. Further, when the XPS document print settings are taken over, it is possible to specify whether or not to take over the exception settings set for each page. As a result, for example, only essential items are given to the print settings included in the XPS document, and in the client that performs printing, the hot folder setting can be set to take over the XPS settings. By making such settings, it is possible to print according to the settings according to the individual printing environment while following the print settings intended by the creator of the XPS document.

また、プリンタへの力形式として、従来のJDFを用いた形式、XPS形式、JDFをXPSに付加した形式といったように、プリンタのサポート状況に応じて形式を切り換えることができる。本実施形態では、プリンタはXPSとJDFといずれにも対応しているものとしたが、いずれか一方のみサポートするプリンタもあり得るため、この様なプリンタを利用することが可能となる。   Further, as a format for the power to the printer, the format can be switched according to the support status of the printer, such as a conventional format using JDF, an XPS format, and a format in which JDF is added to XPS. In this embodiment, the printer is compatible with both XPS and JDF. However, since there is a printer that supports only one of them, such a printer can be used.

なお、本実施形態では例外印刷設定はページレベルのみとしているが、FixedDocumentレベルのプリントチケットを例外印刷設定として、ページレベルの例外印刷設定と同様に扱うこともできる。   In this embodiment, the exception print setting is set to the page level only. However, the fixed document level print ticket can be handled as the exception print setting in the same manner as the page level exception print setting.

[第2実施形態]
本実施形態では、第1実施形態の図9におけるS909及びS910の詳細が、それぞれ図24、図25に示す手順となる点で第1実施形態と異なっている。
[Second Embodiment]
This embodiment is different from the first embodiment in that the details of S909 and S910 in FIG. 9 of the first embodiment are the procedures shown in FIGS. 24 and 25, respectively.

まず図24のフローチャートを用いて、XPSパッケージ形式の出力処理について説明する。   First, output processing in the XPS package format will be described using the flowchart of FIG.

S2401にて、プリントチケット形式で保存されているホットフォルダの印刷設定PTデータ217を取得する。次にS2402で、S907で取得したXPS動作設定216に指示された引継ぎ項目と引継ぎレベルを取得する。   In step S2401, hot folder print setting PT data 217 stored in the print ticket format is acquired. In step S2402, the takeover item and the takeover level specified in the XPS operation setting 216 acquired in step S907 are acquired.

S2403にて、S2402で取得した引継ぎ項目で、入力されたXPSドキュメントの印刷設定を引き継ぐ指示があるか否かを判定する。XPSの印刷設定を引き継ぐ指示がない場合、すなわち動作モード602で「ホットフォルダの設定を優先する」が指定されている場合には、S2409に進む。   In S2403, it is determined whether or not there is an instruction to take over the print setting of the input XPS document in the takeover item acquired in S2402. If there is no instruction to take over the XPS print settings, that is, if “prioritize hot folder settings” is specified in the operation mode 602, the process advances to step S 2409.

S2409で、図14に示すようなXPSドキュメント形式の入力ドキュメントに含まれるジョブレベルのプリントチケット1401を削除する。ジョブレベルの印刷設定とは、図14に示すXPSドキュメントのFixedDocumentSequenceに関連付けられたプリントチケット1401を指す。S2410にて、入力XPSドキュメントのFixedDocumentSequenceに、ホットフォルダ設定で入力された印刷設定を持つPTデータ217を関連付ける。S2411では、S2410で関連づけたプリントチケットに、引継ぎレベルとして"None"を指定する。その結果、図29に示すようなプリントチケット2900が生成される。引継ぎレベル指定部2901には、S2411で指定されたNoneが記述されている。S2408で、生成された図30に示すXPSドキュメントをデバイス103に送信して処理を終了する。プリントチケット2900を受信したデバイス103では、引継ぎレベル指定部2901でNoneが指定されていた場合には、ページレベルに指定されているプリントチケット3002の内容は無視する。その結果、ホットフォルダでの指示通り、入力されたXPSドキュメントの印刷設定は引き継がれない。   In step S2409, the job level print ticket 1401 included in the input document in the XPS document format as shown in FIG. 14 is deleted. The job level print setting refers to the print ticket 1401 associated with the FixedDocumentSequence of the XPS document shown in FIG. In step S2410, the PT data 217 having the print setting input in the hot folder setting is associated with the FixedDocumentSequence of the input XPS document. In S2411, “None” is designated as the takeover level in the print ticket associated in S2410. As a result, a print ticket 2900 as shown in FIG. 29 is generated. The takeover level designation unit 2901 describes the None designated in S2411. In step S2408, the generated XPS document shown in FIG. 30 is transmitted to the device 103, and the process ends. In the device 103 that has received the print ticket 2900, if None is specified by the takeover level specifying unit 2901, the contents of the print ticket 3002 specified at the page level are ignored. As a result, the print setting of the input XPS document is not carried over as instructed by the hot folder.

一方、S2403で、入力されたXPSドキュメントの印刷設定を引き継ぐと判断された場合には、S2404に進む。S2404では、入力されたXPSドキュメントのジョブレベルの印刷設定を取得する。プリントチケット1401には、以下のような印刷設定が関連付けられている。
<Feature Name="PageMediaSize">・・・ 用紙サイズ
<Option Name="ISOA4">・・・・・・ A3サイズ
<Feature Name="PageOutputColor">・・ カラー設定
<Option Name="Mono">・・・・・・ モノクロ印刷
<Feature Name="PageResolition">・・・解像度
<Option Name="300dpi">・・・・・ 300dpi。
On the other hand, if it is determined in S2403 that the print settings of the input XPS document are to be taken over, the process advances to S2404. In step S2404, the job level print setting of the input XPS document is acquired. The following print settings are associated with the print ticket 1401.
<Feature Name = "PageMediaSize"> ... Paper size <Option Name = "ISOA4"> ... A3 size <Feature Name = "PageOutputColor"> ... Color setting <Option Name = "Mono"> Monochrome printing <Feature Name = “PageResolution”>... Resolution <Option Name = “300 dpi”> 300 dpi.

S2405で、S2404で取得した印刷設定のうち、S2402で取得した引継ぎ項目のみを、ホットフォルダの印刷設定PTデータ217にマージする。図14に示す入力XPSドキュメントに含まれるジョブレベルのプリントチケット1401に、図15のプリントチケット1500をマージ後のプリントチケットが、図21のプリントチケット2100である。入力ドキュメントのプリントチケット1401のうち、引継ぎ項目のPageOutputColor、PageMediaSizeのみプリントチケット2240に引き継がれているのがわかる。   In S2405, only the takeover item acquired in S2402 among the print settings acquired in S2404 is merged with the print setting PT data 217 of the hot folder. The print ticket after merging the print ticket 1500 in FIG. 15 with the job level print ticket 1401 included in the input XPS document shown in FIG. 14 is the print ticket 2100 in FIG. It can be seen that, among the print tickets 1401 of the input document, only the PageOutputColor and PageMediaSize of the takeover items are taken over by the print ticket 2240.

S2406では、入力されたXPSドキュメントのジョブレベルのプリントチケット1401を削除後、プリントチケット2240をジョブレベルに関連付ける。次に、S2407で、S2406でジョブレベルに指定したプリントチケットにS2402で取得したXPSドキュメントの引き継ぐ項目と引継ぎレベルを指定する。図27のプリントチケット2700が引継ぎ項目と引継ぎレベルを指定したプリントチケットの例である。引継ぎレベル指定部2701に"Page"が指定され、引継ぎ項目指定部2702に"PageMediaSize"2703と、"PageOutputColor"2704とが指定されている。図31に示すような、プリントチケット2700をジョブレベルに指定したXPSドキュメントが生成され、S2408にてデバイスに送信される。引継ぎレベルに"Page"が指定されたプリントチケットをデバイスが受け取ると、ページレベルのプリントチケットのうち、引継ぎ項目指定部2702に指定された印刷設定のみ適用して印刷処理を実行する。図31の例では、プリントチケット3102に指定されている印刷設定のうち、指定された項目であるPageOutputColorとPageMediaSizeの設定値が、FixedPage2、FixedPage3に適用される。   In step S2406, after deleting the job level print ticket 1401 of the input XPS document, the print ticket 2240 is associated with the job level. In step S2407, the XPS document acquired in step S2402 and the transfer level are specified in the print ticket specified in the job level in step S2406. A print ticket 2700 in FIG. 27 is an example of a print ticket in which a takeover item and a takeover level are designated. “Page” is designated in the takeover level designation part 2701, and “PageMediaSize” 2703 and “PageOutputColor” 2704 are designated in the takeover item designation part 2702. As shown in FIG. 31, an XPS document designating the print ticket 2700 as the job level is generated and transmitted to the device in S2408. When the device receives a print ticket in which “Page” is designated as the takeover level, the print processing is executed by applying only the print settings designated in the takeover item designation unit 2702 of the page level print ticket. In the example of FIG. 31, the setting values of PageOutputColor and PageMediaSize, which are specified items among the print settings specified in the print ticket 3102, are applied to FixedPage2 and FixedPage3.

次に図25のフローチャートを用いて、JDF+XPS形式の出力処理について説明する。S2501では、ホットフォルダに指定された印刷設定を持つJDFデータ218を取得する。次に、S2502に進み、S907で取得したXPS動作設定216の入力されたXPSドキュメントの印刷設定を引き継ぎ項目と引継ぎレベルを取得する。S2503にて、XPSドキュメントの印刷設定を引き継ぐ指示があるか否かを判定する。XPSの印刷設定を引き継ぐ指示がない場合には、S2506に進む。S2506では、JDFデータ218に入力されたXPSドキュメントをコンテンツとして指定し、さらに、S2507でJDFデータに引継ぎレベルを指定する。ここでは、XPSドキュメントの印刷設定を引き継がないので、図32に示すJDF3201のXPS引継ぎレベル指定部3202のように、NONEを指定する。さらにS2508にて、JDFとXPSのパッケージデータ3206をデバイス103へ送信して処理を終了する。パッケージデータ3206を受信したデバイス103では、XPS引継ぎレベル指定部3202にNONEが指定された場合、XPSドキュメント3207に指定されている印刷設定は無視される。   Next, JDF + XPS format output processing will be described with reference to the flowchart of FIG. In step S2501, JDF data 218 having print settings designated as a hot folder is acquired. In step S2502, the print setting of the XPS document to which the XPS operation setting 216 acquired in step S907 is input is acquired as a handover item and a handover level. In step S2503, it is determined whether there is an instruction to take over the print setting of the XPS document. If there is no instruction to take over the XPS print settings, the process advances to step S2506. In step S2506, the XPS document input to the JDF data 218 is designated as content, and in step S2507, a takeover level is designated in the JDF data. Here, since the XPS document print settings are not taken over, NONE is designated as in the XPS takeover level designation unit 3202 of JDF 3201 shown in FIG. In step S2508, the JDF and XPS package data 3206 is transmitted to the device 103, and the process ends. In the device 103 that has received the package data 3206, if NONE is designated in the XPS takeover level designation unit 3202, the print setting designated in the XPS document 3207 is ignored.

一方、S2503にてXPSの印刷設定を引き継ぐ指示があると判断された場合には、S2504に進む。S2504では、S2502で取得した設定の引継ぎ項目と引継ぎレベルとをJDFの引継ぎレベル指定部とXPS優先項目設定指定部とにそれぞれ指定する。図26のJDF2601の例では、XPS引継ぎレベル指定部2602に"PAGE LEVEL"が、XPS優先項目設定指定部2603には、出力用紙サイズとカラー設定が指定されている。次に、S2505で引継ぎ項目・レベルを指定したJDF3201に、そのコンテンツとして入力XPSドキュメント3207を指定する。その結果、図33に示すようなJDF3301が作成される。S2508でデバイス103にXPSパッケージデータ3307を送信する。XPSパッケージデータ3206を受信したデバイス103では、JDFのXPS引継ぎレベル指定部3302、XPS優先項目設定指定部3303の設定にしたがって、XPSドキュメント3308のプリントチケットに記述された印刷設定を引き継ぐ。   On the other hand, if it is determined in S2503 that there is an instruction to take over the XPS print settings, the process advances to S2504. In S2504, the takeover item and takeover level set in S2502 are designated in the JDF takeover level designation unit and XPS priority item setting designation unit, respectively. In the example of JDF 2601 in FIG. 26, “PAGE LEVEL” is designated in the XPS takeover level designation section 2602, and the output paper size and color settings are designated in the XPS priority item setting designation section 2603. In step S2505, the input XPS document 3207 is designated as the content in the JDF 3201 for which the takeover item / level is designated. As a result, a JDF 3301 as shown in FIG. 33 is created. In step S2508, the XPS package data 3307 is transmitted to the device 103. The device 103 that has received the XPS package data 3206 takes over the print settings described in the print ticket of the XPS document 3308 according to the settings of the JDF XPS takeover level designation unit 3302 and the XPS priority item setting designation unit 3303.

以上の手順により、本実施形態においても、XPSドキュメントを入力ドキュメントしたホットフォルダの実現が可能となる。   According to the above procedure, a hot folder in which an XPS document is input can be realized also in the present embodiment.

以上の手順により、XPSドキュメントを入力ドキュメントしたホットフォルダの実現が可能となる。すなわち、XPSドキュメントに指定されている印刷設定をそのまま利用指定印刷することもできる。あるいは、指定した項目だけ、XPSドキュメントに指定された印刷設定を用い、他の設定項目はホットフォルダの印刷設定を用いることもできる。また、XPSドキュメントの印刷設定を一切用いず、ホットフォルダの印刷設定のみを用いることができる。さらに、XPSドキュメントの印刷設定を引き継ぐ場合、ページ単位で設定される例外設定を引き継ぐか否かを指定することもできる。これにより、たとえばXPSドキュメントに含まれる印刷設定には、必須の項目のみを与え、印刷を行うクライアントにおいては、ホットフォルダ設定を、XPS設定を引き継ぐ設定としておくという設定が可能となる。このような設定にしておくことで、XPSドキュメントの作成者が意図した印刷設定に従いつつ、個別の印刷環境に応じた設定に従って印刷することができる。   With the above procedure, a hot folder in which an XPS document is input can be realized. In other words, the print setting specified in the XPS document can be used and printed as it is. Alternatively, the print settings specified in the XPS document can be used only for the specified items, and the print settings of the hot folder can be used for other setting items. Also, only the hot folder print settings can be used without using any XPS document print settings. Further, when the XPS document print settings are taken over, it is possible to specify whether or not to take over the exception settings set for each page. As a result, for example, only essential items are given to the print settings included in the XPS document, and in the client that performs printing, the hot folder setting can be set to take over the XPS settings. By making such settings, it is possible to print according to the settings according to the individual printing environment while following the print settings intended by the creator of the XPS document.

また、プリンタへの力形式として、従来のJDFを用いた形式、XPS形式、JDFをXPSに付加した形式といったように、プリンタのサポート状況に応じて形式を切り換えることができる。本実施形態では、プリンタはXPSとJDFといずれにも対応しているものとしたが、いずれか一方のみサポートするプリンタもあり得るため、この様なプリンタを利用することが可能となる。   Further, as a format for the power to the printer, the format can be switched according to the support status of the printer, such as a conventional format using JDF, an XPS format, and a format in which JDF is added to XPS. In this embodiment, the printer is compatible with both XPS and JDF. However, since there is a printer that supports only one of them, such a printer can be used.

なお本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。また本発明の目的は、前述の実施形態の機能を実現するプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータが記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体およびプログラムコードを記憶した記憶媒体は本発明を構成することになる。   Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even if it is applied to a system composed of a plurality of devices (eg, a host computer, interface device, reader, printer, etc.). You may apply. Another object of the present invention is to supply a recording medium recording a program code for realizing the functions of the above-described embodiments to a system or apparatus, and the system or apparatus computer reads out and executes the program code stored in the storage medium. Is also achieved. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

また、本発明には、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた場合についても、本発明は適用される。その場合、書き込まれたプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。   Further, according to the present invention, the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. This is also included. Furthermore, the present invention is also applied to the case where the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. In that case, based on the instruction of the written program code, the CPU of the function expansion card or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. .

Claims (15)

階層構造を有し且つ各階層に対応する複数の内部印刷設定を含むドキュメントデータに、外的に定義され且つ前記階層に対応する複数の外部印刷設定をさらに付加するための印刷制御装置であって、
前記複数の外部印刷設定の入力と、前記複数の内部印刷設定のうち引き継ぐべき階層に関する引き継ぎ設定の入力とを受け付けて保存する保存手段と、
前記引き継ぎ設定により印刷設定の引き継ぎが指定されている場合、前記複数の内部印刷設定のうち引継ぎが指定された階層の内部印刷設定と、前記引き継ぎが指定された階層に対応する前記外部印刷設定とをマージして新たな前記引き継ぎが指定された階層の印刷設定を生成する生成手段と、
前記生成手段により生成された印刷設定を、前記ドキュメントデータとともにプリンタデバイスに送信するデータ送信手段と
を備えることを特徴とする印刷制御装置。
A print control apparatus for further adding a plurality of external print settings defined externally and corresponding to the hierarchy to document data having a hierarchical structure and including a plurality of internal print settings corresponding to each hierarchy. ,
A storage unit that receives and stores the input of the plurality of external print settings and the input of the takeover setting relating to a hierarchy to be taken over among the plurality of internal print settings;
If takeover print setting by the takeover setting is specified, the internal print setting of the takeover of the plurality of internal print settings are specified hierarchy, the external printing corresponding to the hierarchy in which the takeover is designated Generating means for merging settings and generating print settings of a hierarchy in which a new takeover is specified;
A print control apparatus comprising: a data transmission unit configured to transmit a print setting generated by the generation unit to a printer device together with the document data.
前記引き継ぎ設定には、前記外部印刷設定の優先の選択が含まれ、
前記生成手段は、前記外部印刷設定の優先が選択されている場合には、前記内部印刷設定を削除することを特徴とする請求項1に記載の印刷制御装置。
The takeover setting includes a priority selection of the external print setting,
The print control apparatus according to claim 1, wherein the generation unit deletes the internal print setting when the priority of the external print setting is selected.
前記保存手段には、データ送信手段により送信されるデータ形式を、前記ドキュメントデータそのものとするか、前記ドキュメントデータに印刷設定を付加した形式とするかを選択するための出力形式の設定も保存され、
前記生成手段は、前記出力形式としてドキュメントデータそのものが選択されている場合には、新たな印刷設定を、前記内部印刷設定の形式で生成し、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項1に記載の印刷制御装置。
The storage unit also stores an output format setting for selecting whether the data format transmitted by the data transmission unit is the document data itself or a format in which print settings are added to the document data. ,
When the document data itself is selected as the output format, the generation unit generates a new print setting in the internal print setting format, and adds the print setting to the document data as the output format. 2. The print control apparatus according to claim 1, wherein a new print setting is generated in the form of the external print setting.
前記生成手段は、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項3に記載の印刷制御装置。   The generation unit generates a new print setting in the format of the external print setting when a format in which print settings are added to document data is selected as the output format. The printing control apparatus according to 1. 前記ドキュメントデータは、ジョブレベルの階層と、前記ジョブレベルの階層より下位のページレベルの階層を有し、
前記引継ぎ設定は、前記ページレベルの階層の前記内部印刷設定を引き継がずに前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定と、前記ページレベルの階層の前記内部印刷設定と前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定のいずれかを含むことを特徴とする請求項1に記載の印刷制御装置。
The document data has a job level hierarchy and a page level hierarchy lower than the job level hierarchy,
The takeover configuration, a designation to take over the internal print setting of the job level in the hierarchy without inherited the internal print setting of the page-level hierarchy, the internal print settings and the job level of the page level of the hierarchy The print control apparatus according to claim 1, further comprising: a designation that takes over the internal print settings of a hierarchy of
階層構造を有し且つ各階層に対応する複数の内部印刷設定を含むドキュメントデータに、外的に定義され且つ前記階層に対応する複数の外部印刷設定をさらに付加するための印刷制御方法であって、
保存手段が、前記複数の外部印刷設定の入力と、前記複数の内部印刷設定のうち引き継ぐべき階層に関する引き継ぎ設定の入力とを受け付けて保存する保存工程と、
生成手段が、前記引き継ぎ設定により印刷設定の引き継ぎが指定されている場合、前記複数の内部印刷設定のうち引継ぎが指定された階層の内部印刷設定と、前記引き継ぎが指定された階層に対応する前記外部印刷設定とをマージして新たな前記引き継ぎが指定された階層の印刷設定を生成する生成工程と、
データ送信手段が、前記生成工程により生成された印刷設定を、前記ドキュメントデータとともにプリンタデバイスに送信するデータ送信工程と
を有することを特徴とする印刷制御方法。
A print control method for further adding a plurality of external print settings externally defined and corresponding to the hierarchy to document data having a hierarchical structure and including a plurality of internal print settings corresponding to each hierarchy. ,
A storing step for receiving and storing the input of the plurality of external print settings and the input of the takeover setting relating to a hierarchy to be taken over among the plurality of internal print settings;
Generating means, if the takeover of the print settings by the takeover setting is specified, the internal print setting of the takeover of the plurality of internal print settings are specified hierarchy, corresponding to the hierarchical said takeover is designated a generation step of the new piece of the takeover by merging and external print settings to generate print settings for the specified hierarchy,
A print control method comprising: a data transmission step, wherein the data transmission means transmits a print setting generated in the generation step together with the document data to a printer device.
前記引き継ぎ設定には、前記外部印刷設定の優先の選択が含まれ、
前記生成工程では、前記外部印刷設定の優先が選択されている場合には、前記内部印刷設定を削除することを特徴とする請求項6に記載の印刷制御方法。
The takeover setting includes a priority selection of the external print setting,
The print control method according to claim 6, wherein, in the generation step, the internal print setting is deleted when priority of the external print setting is selected.
前記保存工程では、データ送信手段により送信されるデータ形式を、前記ドキュメントデータそのものとするか、前記ドキュメントデータに印刷設定を付加した形式とするかを選択するための出力形式の設定も保存され、
前記生成工程では、前記出力形式としてドキュメントデータそのものが選択されている場合には、新たな印刷設定を、前記内部印刷設定の形式で生成し、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項6に記載の印刷制御方法。
In the storing step, the setting of the output format for selecting whether the data format transmitted by the data transmitting means is the document data itself or a format in which print settings are added to the document data is also stored.
In the generation step, when document data itself is selected as the output format, a new print setting is generated in the format of the internal print setting, and a format in which the print setting is added to the document data as the output format The print control method according to claim 6, wherein a new print setting is generated in the form of the external print setting when is selected.
前記生成工程では、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項8に記載の印刷制御方法。   9. The generation step includes generating a new print setting in the format of the external print setting when a format in which print settings are added to document data is selected as the output format. A printing control method according to claim 1. 前記ドキュメントデータは、ジョブレベルの階層と、前記ジョブレベルの階層より下位のページレベルの階層を有し、
前記引継ぎ設定は、前記ページレベルの階層の前記内部印刷設定を引き継がずに前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定と、前記ページレベルの階層の前記内部印刷設定と前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定のいずれかを含むことを特徴とする請求項6に記載の印刷制御方法。
The document data has a job level hierarchy and a page level hierarchy lower than the job level hierarchy,
The takeover configuration, a designation to take over the internal print setting of the job level in the hierarchy without inherited the internal print setting of the page-level hierarchy, the internal print settings and the job level of the page level of the hierarchy The print control method according to claim 6, further comprising: any one of designations that take over the internal print setting of the hierarchy of
階層構造を有し且つ各階層に対応する複数の内部印刷設定を含むドキュメントデータに、外的に定義され且つ前記階層に対応する複数の外部印刷設定をさらに付加するための印刷制御装置としてコンピュータを機能させるためのプログラムであって、
前記複数の外部印刷設定の入力と、前記複数の内部印刷設定のうち引き継ぐべき階層に関する引き継ぎ設定の入力とを受け付けて保存する保存手段と、
前記引き継ぎ設定により印刷設定の引き継ぎが指定されている場合、前記複数の内部印刷設定のうち引継ぎが指定された階層の内部印刷設定と、前記引き継ぎが指定された階層に対応する前記外部印刷設定とをマージして新たな前記引き継ぎが指定された階層の印刷設定を生成する生成手段と、
前記生成手段により生成された印刷設定を、前記ドキュメントデータとともにプリンタデバイスに送信するデータ送信手段と
してコンピュータを機能させるためのプログラム。
A computer serving as a print control apparatus for further adding a plurality of external print settings defined externally and corresponding to the hierarchy to document data having a hierarchical structure and including a plurality of internal print settings corresponding to each hierarchy A program for functioning,
A storage unit that receives and stores the input of the plurality of external print settings and the input of the takeover setting relating to a hierarchy to be taken over among the plurality of internal print settings;
If takeover print setting by the takeover setting is specified, the internal print setting of the takeover of the plurality of internal print settings are specified hierarchy, the external printing corresponding to the hierarchy in which the takeover is designated Generating means for merging settings and generating print settings of a hierarchy in which a new takeover is specified;
A program for causing a computer to function as a data transmission unit that transmits a print setting generated by the generation unit to a printer device together with the document data.
前記引き継ぎ設定には、前記外部印刷設定の優先の選択が含まれ、
前記生成手段は、前記外部印刷設定の優先が選択されている場合には、前記内部印刷設定を削除することを特徴とする請求項11に記載のプログラム。
The takeover setting includes a priority selection of the external print setting,
12. The program according to claim 11, wherein the generation unit deletes the internal print setting when priority of the external print setting is selected.
前記保存手段には、データ送信手段により送信されるデータ形式を、前記ドキュメントデータそのものとするか、前記ドキュメントデータに印刷設定を付加した形式とするかを選択するための出力形式の設定も保存され、
前記生成手段は、前記出力形式としてドキュメントデータそのものが選択されている場合には、新たな印刷設定を、前記内部印刷設定の形式で生成し、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項11に記載のプログラム。
The storage unit also stores an output format setting for selecting whether the data format transmitted by the data transmission unit is the document data itself or a format in which print settings are added to the document data. ,
When the document data itself is selected as the output format, the generation unit generates a new print setting in the internal print setting format, and adds the print setting to the document data as the output format. 12. The program according to claim 11, wherein a new print setting is generated in the form of the external print setting when is selected.
前記生成手段は、前記出力形式としてドキュメントデータに印刷設定を付加した形式が選択されている場合には、新たな印刷設定を、前記外部印刷設定の形式で生成することを特徴とする請求項13に記載のプログラム。   14. The generation unit generates a new print setting in the format of the external print setting when a format in which print settings are added to document data is selected as the output format. The program described in. 前記ドキュメントデータは、ジョブレベルの階層と、前記ジョブレベルの階層より下位のページレベルの階層を有し、
前記引継ぎ設定は、前記ページレベルの階層の前記内部印刷設定を引き継がずに前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定と、前記ページレベルの階層の前記内部印刷設定と前記ジョブレベルの階層の前記内部印刷設定を引き継ぐ指定のいずれかを含むことを特徴とする請求項11に記載のプログラム。
The document data has a job level hierarchy and a page level hierarchy lower than the job level hierarchy,
The takeover configuration, a designation to take over the internal print setting of the job level in the hierarchy without inherited the internal print setting of the page-level hierarchy, the internal print settings and the job level of the page level of the hierarchy 12. The program according to claim 11, comprising any one of designations that take over the internal print setting of the hierarchy of the file.
JP2011102299A 2011-04-28 2011-04-28 Printing control apparatus and method Expired - Fee Related JP5106655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011102299A JP5106655B2 (en) 2011-04-28 2011-04-28 Printing control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011102299A JP5106655B2 (en) 2011-04-28 2011-04-28 Printing control apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007080190A Division JP4799460B2 (en) 2007-03-26 2007-03-26 Printing control apparatus and method

Publications (2)

Publication Number Publication Date
JP2011154728A JP2011154728A (en) 2011-08-11
JP5106655B2 true JP5106655B2 (en) 2012-12-26

Family

ID=44540589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011102299A Expired - Fee Related JP5106655B2 (en) 2011-04-28 2011-04-28 Printing control apparatus and method

Country Status (1)

Country Link
JP (1) JP5106655B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6007015B2 (en) * 2012-05-22 2016-10-12 京セラドキュメントソリューションズ株式会社 Image forming apparatus and image forming program
JP6394311B2 (en) * 2014-11-18 2018-09-26 コニカミノルタ株式会社 Printing system, printing apparatus and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3970137B2 (en) * 2001-09-14 2007-09-05 キヤノン株式会社 Document processing method and apparatus
JP2006344172A (en) * 2005-06-10 2006-12-21 Canon Inc Image formation control method, document printing method, and program

Also Published As

Publication number Publication date
JP2011154728A (en) 2011-08-11

Similar Documents

Publication Publication Date Title
JP4799460B2 (en) Printing control apparatus and method
JP6433339B2 (en) Information processing system, server device, control method, and program
US7916332B2 (en) Document processing apparatus and a method for controlling a document processing apparatus
JP5072676B2 (en) Information processing apparatus, information processing method, and printing system
JP5825565B2 (en) Printer driver and method of adding printer driver print function
JP4110147B2 (en) Information leakage prevention method, information processing apparatus and driver program for realizing the method
US7760379B2 (en) Systems and methods for changing settings for selected objects within a print job
JP5845576B2 (en) Image forming system, image forming instruction apparatus, and program
JP2018151690A (en) Information processing apparatus, information processing method and program
US8688864B2 (en) Information processing apparatus, information processing method, and information processing program
US20110109930A1 (en) Printing control apparatus and method
JP5070101B2 (en) Information processing apparatus, control method therefor, and printer driver program
US20100162103A1 (en) Method to change thumbnail and printing control apparatus
JP5804758B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP2017049848A (en) Information processing device, and control method of the same
JP5106655B2 (en) Printing control apparatus and method
KR20110062306A (en) Print controling apparatus and method for controling print
JP2012128651A (en) Information processing apparatus, printing control method, and program
US9626131B2 (en) Print data processing method, print data processing apparatus, and storage medium for processing print data according to print setting information in the print data
JP4227394B2 (en) Printing system
JP2012098927A (en) Information processor, information processing method, program and information processing system
JP4956259B2 (en) Information processing apparatus, control method therefor, and computer program
JP6320146B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP7271208B2 (en) Program and information processing device
JP7242203B2 (en) Information processing device, application and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110428

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120904

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: 20121001

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121002

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151012

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees