JP5805279B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP5805279B2
JP5805279B2 JP2014161465A JP2014161465A JP5805279B2 JP 5805279 B2 JP5805279 B2 JP 5805279B2 JP 2014161465 A JP2014161465 A JP 2014161465A JP 2014161465 A JP2014161465 A JP 2014161465A JP 5805279 B2 JP5805279 B2 JP 5805279B2
Authority
JP
Japan
Prior art keywords
document
preview
print document
print
information
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
JP2014161465A
Other languages
Japanese (ja)
Other versions
JP2014211915A (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 JP2014161465A priority Critical patent/JP5805279B2/en
Publication of JP2014211915A publication Critical patent/JP2014211915A/en
Application granted granted Critical
Publication of JP5805279B2 publication Critical patent/JP5805279B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Facsimiles In General (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

本発明は、情報処理装置、情報処理方法及びプログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program.

従来、過去に印刷したドキュメントを保存しておき、必要な時に呼び出して印刷を行う履歴印刷機能を有するプリンタドライバが存在した(特許文献1参照)。また、近年では従来の印刷システムとは異なる印刷システムが登場してきた。この新しい印刷システムでは、スプールファイルに格納されるデータ形式として従来のEMF形式(Enhanced Meta File)ではなくXPS形式(XML Paper Specification)が用いられる。XPSとは、オープン規格の電子文書フォーマットである。XPSでは、印刷設定を記述したXMLデータであるPrintTicket(以下、PT)をページ等のパートごとに持つことができる。
XPS文書はフォーマットが公開されており、システムの用いる印刷データの利用が比較的容易となっている。そのため、XPS文書を扱うXPSドライバでは、印刷データの編集が比較的容易であり、ジョブの結合等の編集が可能である。
Conventionally, there has been a printer driver having a history printing function for storing a document printed in the past and calling and printing it when necessary (see Patent Document 1). In recent years, a printing system different from the conventional printing system has appeared. In this new printing system, the XPS format (XML Paper Specification) is used instead of the conventional EMF format (Enhanced Meta File) as the data format stored in the spool file. XPS is an open standard electronic document format. In XPS, PrintTicket (hereinafter referred to as PT), which is XML data describing print settings, can be provided for each part such as a page.
The format of the XPS document is open to the public, and the use of print data used by the system is relatively easy. Therefore, an XPS driver that handles XPS documents can edit print data relatively easily, and can edit jobs such as combining jobs.

特開2006−209708号公報JP 2006-209708 A

しかしながら、特許文献1に記載の技術では、過去に印刷され、履歴として保存されたドキュメント(以下、履歴ドキュメント)を他のドキュメントと組み合わせて使用することはできなかった。   However, in the technique described in Patent Document 1, a document that has been printed in the past and saved as a history (hereinafter, a history document) cannot be used in combination with another document.

本発明はこのような問題点に鑑みなされたもので、新規の印刷ドキュメントと履歴ドキュメントとを容易に結合可能とすることを目的とする。   SUMMARY An advantage of some aspects of the invention is that a new print document and a history document can be easily combined.

そこで、本発明の情報処理装置は、XML Paper Specification形式(XPS形式)のドキュメントを受け付けて前記XPS形式のドキュメントを処理可能なプリンタドライバが動作可能な情報処理装置であって、前記XPS形式のドキュメントを処理可能なプリンタドライバの設定画面においてプレビュー設定が有効化されることで表示されるプレビュー画面に既に印刷された第1印刷ドキュメントに関する情報と新規に発行された第2印刷ドキュメントに関する情報とを表示する表示制御手段を有し、前記プレビュー画面において選択対象が前記第2印刷ドキュメントに関する情報から前記第1印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第2印刷ドキュメントのプレビュー画像から前記第1印刷ドキュメントのプレビュー画像に変更され、前記プレビュー画面において選択対象が前記第1印刷ドキュメントに関する情報から前記第2印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第1印刷ドキュメントのプレビュー画像から前記第2印刷ドキュメントのプレビュー画像に変更されることを特徴とする。   Accordingly, an information processing apparatus of the present invention is an information processing apparatus capable of operating a printer driver capable of receiving an XML Paper Specification (XPS format) document and processing the XPS format document, The information about the first print document already printed and the information about the newly issued second print document are displayed on the preview screen displayed by enabling the preview setting on the setting screen of the printer driver capable of processing And when the selection target on the preview screen is changed from the information on the second print document to the information on the first print document, the display target on the preview screen is the print target of the second print document. When the review image is changed to the preview image of the first print document, and the selection target is changed from the information about the first print document to the information about the second print document on the preview screen, the display target on the preview screen is changed. The preview image of the first print document is changed to the preview image of the second print document.

本発明によれば、新規の印刷ドキュメントと履歴ドキュメントとを容易に結合可能とすることができる。   According to the present invention, it is possible to easily combine a new print document and a history document.

情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of information processing apparatus. 情報処理装置の機能構成等を概念的に表したブロック図である。It is a block diagram showing notionally functional composition etc. of an information processor. プレビューフィルターの処理の一例を示す図である。It is a figure which shows an example of a process of a preview filter. プレビュー制御モジュールによって提供される表示画面(プレビューウィンドウ)の一例を示す図である。It is a figure which shows an example of the display screen (preview window) provided by the preview control module. 印刷プレビューウィンドウ上で印刷履歴機能に関する設定を行う操作の一例を示す図である。It is a figure which shows an example of operation which performs the setting regarding a print log | history function on a print preview window. プレビュー制御モジュールの起動処理の一例を示すフローチャートである。It is a flowchart which shows an example of the starting process of a preview control module. 履歴ドキュメントの表示処理の一例を示すフローチャートである。It is a flowchart which shows an example of the display process of a historical document. プレビューウィンドウから印刷を行う際の処理の一例を示す図である。FIG. 10 is a diagram illustrating an example of processing when printing is performed from a preview window. 履歴保存機能を備えたプレビューフィルター処理の一例を示すフローチャートである。It is a flowchart which shows an example of the preview filter process provided with the log | history preservation | save function.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<実施形態1>
(情報処理装置のハードウェア構成)
図1は、情報処理装置100のハードウェア構成の一例を示す図である。
CPU102、RAM103、ROM104、ハードディスク(HDD)105、ネットワークインタフェースカード(NIC)109、ディスプレイ106、キーボード107、外部I/F108は、それぞれシステムバス101を介して互いに接続されている。システムバス101は、例えば、PCIバス、AGPバス、及びメモリバス等から成る。
CPU102は、装置全体の制御を行い、ハードディスク(HDD)105に格納されているアプリケーションプログラム、OS等を実行し、RAM103にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。
ROM104は、記憶手段の一例であり、内部には、基本I/Oプログラム等のプログラム等を記憶する。RAM103は、一時記憶手段の一例であり、CPU102の主メモリ、ワークエリア等として機能する。
HDD105は、外部記憶手段の一つであり、大容量メモリとして機能するハードディスク(HDD)である。HDD105は、オペレーティングシステムやアプリケーションプログラム(例えば、本実施形態におけるプリンタドライバやプレビュー制御モジュール等)等を格納している。
ディスプレイ106は、表示手段の一例であり、キーボード107から入力したコマンド、印刷文書管理システムの文書情報等を表示するものである。
外部I/F108は、画像形成装置、USB機器、周辺機器を接続するためのI/Fである。
キーボード107は、指示入力手段の一例である。
NIC109は、ネットワークインタフェースカード(NIC)であり、ネットワーク111を介して印刷文書管理システムに含まれる他の装置(外部装置)とデータのやり取りを行う。
尚、上述したハードウェアの構成はその一例であり、図1の構成例に限定されるものではない。例えば、データやプログラムの格納先は、その特徴に応じてROM、RAM、HDD等で変更することもできる。
CPU102がプログラムを実行することによって情報処理装置100の機能(又はソフトウェア構成)が実現される。尚、後述する履歴ドキュメントは、記憶装置の一例であるRAM103又はHDD105等の記憶領域に記憶される。
<Embodiment 1>
(Hardware configuration of information processing device)
FIG. 1 is a diagram illustrating an example of a hardware configuration of the information processing apparatus 100.
The CPU 102, RAM 103, ROM 104, hard disk (HDD) 105, network interface card (NIC) 109, display 106, keyboard 107, and external I / F 108 are connected to each other via the system bus 101. The system bus 101 includes, for example, a PCI bus, an AGP bus, and a memory bus.
The CPU 102 controls the entire apparatus, executes an application program, OS, and the like stored in the hard disk (HDD) 105, and performs control to temporarily store information, files, and the like necessary for executing the program in the RAM 103. .
The ROM 104 is an example of a storage unit, and stores therein a program such as a basic I / O program. The RAM 103 is an example of a temporary storage unit, and functions as a main memory, a work area, and the like of the CPU 102.
The HDD 105 is one of external storage means and is a hard disk (HDD) that functions as a large-capacity memory. The HDD 105 stores an operating system, application programs (for example, a printer driver and a preview control module in this embodiment), and the like.
The display 106 is an example of display means, and displays commands input from the keyboard 107, document information of the print document management system, and the like.
The external I / F 108 is an I / F for connecting an image forming apparatus, a USB device, and a peripheral device.
The keyboard 107 is an example of an instruction input unit.
The NIC 109 is a network interface card (NIC), and exchanges data with other devices (external devices) included in the print document management system via the network 111.
Note that the above-described hardware configuration is an example, and the present invention is not limited to the configuration example of FIG. For example, the storage location of data and programs can be changed by ROM, RAM, HDD, etc. according to the characteristics.
The function (or software configuration) of the information processing apparatus 100 is realized by the CPU 102 executing the program. A history document to be described later is stored in a storage area such as the RAM 103 or the HDD 105 as an example of a storage device.

(プリンタドライバ等の動作)
図2は、情報処理装置100の機能構成等を概念的に表したブロック図である。
本実施形態を含め、以下の実施形態に関わるモジュールは、印刷設定機能を有するユーザインタフェースモジュール215と、フィルター群219と、プレビュー制御モジュール203と、である。フィルター群219は、XPS文書のページをレイアウト処理する機能を有するレイアウトフィルター221と、プレビュー機能を提供するためのフィルターであるプレビューフィルター223と、を含む。また、フィルター群219は、XPS文書をプリンタが解釈可能な印刷コマンドに変換する機能を有する印刷コマンドフィルター225を含む。ここでフィルターとは、一般的に入力されたデータをもとに、加工、変換、無変換、生成等の工程を介して、何らかのデータを出力する機能を有するアプリケーション(プログラム)のことを称する。
図2における印刷システムでは、アプリケーション201が作成した文書の各ページのデータは、OSの印刷サポート機能213を通じてXPSスプールファイル217にXPS文書として一時的に蓄えられる。プリンタドライバのフィルター群219は、一時的に蓄えられたXPS文書を印刷設定情報に基づきプリンタが解釈可能な印刷コマンドに変換してプリンタ231に供給することによって印刷処理が実行される。
ユーザインタフェースモジュール215は、一般に、印刷に使用する用紙サイズや印刷方向、その他の属性を設定する機能を提供する。同時に、ユーザインタフェースモジュール215は、プリンタによる印刷動作を開始する前に印刷イメージを表示制御するプレビューを設定する機能を有する。ユーザインタフェースモジュール215は、複数の印刷設定項目の設定値が格納された印刷設定情報をアプリケーション201に返却する。
アプリケーション201は、作成した任意の文書の印刷にあたり、OSの印刷サポート機能213に対して、印刷開始や印刷終了を通知したり、印刷設定を行うためにユーザインタフェースモジュール215から返却された印刷設定情報を通知したりする。また、アプリケーション201は、文書の各ページの描画開始や描画終了を通知する。OSの印刷サポート機能213は、アプリケーションが描画した内容や印刷設定情報をXPSスプールファイル217に格納する。各フィルターは、スプールされたXPS文書をデスプールする際にOSの印刷サポート機能213から呼び出される。
(Operation of printer driver etc.)
FIG. 2 is a block diagram conceptually showing the functional configuration and the like of the information processing apparatus 100.
The modules related to the following embodiments including this embodiment are a user interface module 215 having a print setting function, a filter group 219, and a preview control module 203. The filter group 219 includes a layout filter 221 having a function of laying out a page of an XPS document, and a preview filter 223 that is a filter for providing a preview function. The filter group 219 includes a print command filter 225 having a function of converting an XPS document into a print command that can be interpreted by the printer. Here, a filter generally refers to an application (program) having a function of outputting some data through processes such as processing, conversion, no conversion, and generation based on input data.
In the printing system in FIG. 2, the data of each page of the document created by the application 201 is temporarily stored as an XPS document in the XPS spool file 217 through the OS print support function 213. The filter group 219 of the printer driver executes the printing process by converting the temporarily stored XPS document into a print command interpretable by the printer based on the print setting information and supplying the print command to the printer 231.
The user interface module 215 generally provides a function for setting a paper size, a printing direction, and other attributes used for printing. At the same time, the user interface module 215 has a function of setting a preview for controlling display of a print image before starting a printing operation by the printer. The user interface module 215 returns print setting information in which setting values of a plurality of print setting items are stored to the application 201.
The application 201 notifies the OS print support function 213 of the start and end of printing, and print setting information returned from the user interface module 215 to perform print settings when printing any created document. Or notify. In addition, the application 201 notifies the drawing start and drawing end of each page of the document. The OS print support function 213 stores the contents drawn by the application and the print setting information in the XPS spool file 217. Each filter is called from the OS print support function 213 when despooling a spooled XPS document.

プリンタドライバのフィルター群219は、一つ以上のフィルターで構成されており、印刷時にXPSスプールファイルからXPS文書を読込み、プリンタが解釈可能な印刷コマンドに変換してプリンタ231に供給し、印刷を行う機能を有する。本実施形態におけるフィルター群219は、レイアウト機能を有するレイアウトフィルター221と、プレビュー文書作成機能を有するプレビューフィルター223と、印刷コマンド変換機能を有する印刷コマンドフィルター225と、を含む。但しレイアウト機能とプレビュー機能とを一つのフィルターで実現したり、不要なフィルターは取り除いたりすることも可能であり、本実施形態は上記フィルター構成に限定されるものではない。
レイアウトフィルター221は、XPSスプールファイル217に格納されたXPS文書を入力とし、印刷設定情報に基づきページのレイアウト処理を行い、レイアウト済みのXPS文書を出力する機能を有する。本実施形態におけるレイアウト処理とは、例えば複数のページを一つの用紙面に印刷するN−up印刷や、一つのページを複数の用紙面に印刷するポスター印刷等を含む。
プレビューフィルター223は、レイアウトフィルター221から出力されたレイアウト済みのXPS文書に基づくプレビュー画像をユーザに提供するプレビュー制御モジュール203を備える。プレビューフィルターの動作については図3を用いて後述する。
本実施形態のプレビュー機能は、複数のXPS文書を扱うことが可能である。そのため、1つのXPS文書がプレビュー制御モジュール203に追加されると、そのXPS文書について以降の処理を行わず一度、終了する。これにより次のXPS文書の処理が開始され、プレビュー制御モジュール203に複数のXPS文書を追加することが可能となる。また、プレビュー制御モジュール203では履歴ドキュメント205をジョブリストに追加し、印刷や編集(結合)を行うこともできる。プレビューを確認したユーザが印刷を指示すると、プレビュー制御モジュール203は、印刷指示を受けたXPS文書を印刷キューに追加する。プレビュー制御モジュール203は、追加したXPS文書のプレビュー設定をOFFにする。これによりプレビューフィルター223が再度プレビューを行うことなく、次の印刷コマンドフィルター225にXPS文書を受け渡す。また、プレビュー制御モジュール203は、印刷時には印刷を行ったXPS文書を必要に応じて履歴ドキュメント205として保存する。
The printer driver filter group 219 includes one or more filters. When printing, the XPS document is read from the XPS spool file, converted into a print command interpretable by the printer, and supplied to the printer 231 for printing. It has a function. The filter group 219 in this embodiment includes a layout filter 221 having a layout function, a preview filter 223 having a preview document creation function, and a print command filter 225 having a print command conversion function. However, the layout function and the preview function can be realized by a single filter, or unnecessary filters can be removed, and the present embodiment is not limited to the above filter configuration.
The layout filter 221 has a function of receiving the XPS document stored in the XPS spool file 217 as input, performing page layout processing based on the print setting information, and outputting a laid-out XPS document. The layout processing in the present embodiment includes, for example, N-up printing for printing a plurality of pages on one sheet surface, poster printing for printing one page on a plurality of sheet surfaces, and the like.
The preview filter 223 includes a preview control module 203 that provides the user with a preview image based on the laid out XPS document output from the layout filter 221. The operation of the preview filter will be described later with reference to FIG.
The preview function of the present embodiment can handle a plurality of XPS documents. For this reason, when one XPS document is added to the preview control module 203, the XPS document is terminated once without performing the subsequent processing. As a result, processing of the next XPS document is started, and a plurality of XPS documents can be added to the preview control module 203. The preview control module 203 can also add the history document 205 to the job list and perform printing or editing (combination). When the user who has confirmed the preview instructs printing, the preview control module 203 adds the XPS document that has received the printing instruction to the print queue. The preview control module 203 turns off the preview setting of the added XPS document. As a result, the preview filter 223 passes the XPS document to the next print command filter 225 without previewing again. Also, the preview control module 203 saves the XPS document that has been printed as a history document 205 as necessary.

印刷コマンドフィルター225は、プレビューフィルター223から出力されたXPS文書と印刷設定情報に従い、XPS文書をプリンタが解釈可能な印刷コマンドに変換し出力する。印刷コマンドフィルター225は、入力されたXPS文書を一度、イメージデータに変換する場合、一般的にレンダーフィルターと呼ばれる。レンダーフィルターは、インクジェットプリンタに代表される廉価なラスタープリンタ用のプリンタドライバにおいて多く見られる。印刷コマンドフィルター225がレンダーフィルターとして動作する場合は、入力のXPS文書を一度、イメージデータに変換する。イメージデータは、その後、色空間の変換や二値化等の画像処理の過程を経て、ラスタープリンタが解釈可能な印刷コマンドに変換される。ページプリンタに代表される高機能なプリンタにおいて、プリンタが解釈できる印刷コマンドの種類にXPSが含まれるならば、印刷コマンドフィルター225は、入力のXPS文書を編集しXPS文書を出力する。印刷コマンドフィルター225にて処理する必要がない場合、印刷コマンドフィルター225は、入力のXPS文書をそのまま出力する。印刷コマンドフィルター225にて処理する必要がない場合、プリンタドライバは、印刷コマンドフィルター225を構成として含めなくてもよい。
出力デバイスであるプリンタ231は、印刷コマンドフィルター225で生成された印刷コマンドを解釈し、可視画像を印刷用紙に対して形成する機能を持つ。印刷用紙241で図示される印刷結果の例は、レイアウトフィルター221が2−upの処理を行った場合を示している。
The print command filter 225 converts the XPS document into a print command interpretable by the printer in accordance with the XPS document output from the preview filter 223 and the print setting information, and outputs the print command. The print command filter 225 is generally called a render filter when converting an input XPS document into image data once. Render filters are often found in printer drivers for inexpensive raster printers typified by inkjet printers. When the print command filter 225 operates as a render filter, the input XPS document is once converted into image data. Thereafter, the image data is converted into a print command that can be interpreted by a raster printer through a process of image processing such as color space conversion and binarization. In a high-function printer represented by a page printer, if XPS is included in the types of print commands that can be interpreted by the printer, the print command filter 225 edits the input XPS document and outputs the XPS document. When there is no need for processing by the print command filter 225, the print command filter 225 outputs the input XPS document as it is. If the print command filter 225 does not need to perform processing, the printer driver may not include the print command filter 225 as a configuration.
The printer 231 serving as an output device has a function of interpreting a print command generated by the print command filter 225 and forming a visible image on a print sheet. The example of the printing result illustrated on the printing paper 241 shows a case where the layout filter 221 performs 2-up processing.

(プレビューフィルター処理)
図3は、プレビューフィルターの処理の一例を示す図である。尚、本願のフローチャートの各ステップは、CPU102が関係するプログラムをメモリから読み出して実行することにより実現される。
まずS101で、プレビューフィルター223は、処理中のXPS文書のプレビュー設定がONかどうかを判定し、ONの場合はS103へ、OFFの場合はS111へ移る。S103で、プレビューフィルター223は、プレビュー制御モジュール203の起動を行い、S105へ移る。S105で、プレビューフィルター223は、プレビューフィルター223からプレビュー制御モジュール203にXPS文書を渡し、S107へ移る。プレビュー制御モジュール203は、XPS文書を表示することによってプレビューを行う。S107で、プレビューフィルター223は、現在処理中のXPS文書をキャンセルし、他のフィルターを含むドライバでの処理を中断する。これによって印刷キューからXPS文書が削除されるため、次のXPS文書の処理が可能となる。S111で、プレビューフィルター223は、プレビューを行わないため、次のフィルターにXPS文書を送信する。全てのXPS文書の送信が終了すると、プレビューフィルター223は、図3に示す処理を終了する。
(Preview filter processing)
FIG. 3 is a diagram illustrating an example of preview filter processing. Each step of the flowchart of the present application is realized by reading out a program related to the CPU 102 from the memory and executing it.
First, in step S101, the preview filter 223 determines whether the preview setting of the XPS document being processed is ON. If ON, the process proceeds to step S103. If OFF, the process proceeds to step S111. In step S103, the preview filter 223 activates the preview control module 203, and proceeds to step S105. In step S105, the preview filter 223 passes the XPS document from the preview filter 223 to the preview control module 203, and the process proceeds to step S107. The preview control module 203 performs a preview by displaying the XPS document. In step S107, the preview filter 223 cancels the XPS document currently being processed, and interrupts processing in the driver including other filters. This deletes the XPS document from the print queue, so that the next XPS document can be processed. In step S111, since the preview filter 223 does not perform the preview, the preview filter 223 transmits the XPS document to the next filter. When the transmission of all XPS documents is completed, the preview filter 223 ends the process shown in FIG.

(プレビュー制御モジュールのプレビューウィンドウ)
図4は、プレビュー制御モジュールによって提供される表示画面(プレビューウィンドウ)の一例を示す図である。印刷プレビュー画面の一例である印刷プレビューウィンドウ301は、プレビュー画像やXPS文書の印刷設定情報等を表示するための表示エリアと、ユーザがプレビュー画像の表示方法等を変更するための入力手段と、を兼備している。
メニューバー302は、ユーザが表示切り替え等、プレビューアへの命令をメニュー形式で選択するためのメニューバーである。ジョブリスト303は、プレビュー表示領域に表示されている、新規の印刷ドキュメントと既に印刷が実行された印刷ドキュメントである履歴ドキュメントとを含むドキュメントデータの一例である。尚、本願では、印刷ドキュメントも履歴ドキュメントもXPS文書である。ジョブリスト303には、プレビュー制御モジュール203によって、処理可能なドキュメントの一覧が表示されている。ジョブリスト303で選択されたドキュメントが表示や印刷の対象となる。履歴ドキュメントを表示する場合も新規の印刷ドキュメントと同様にジョブリスト303に表示される。この際、履歴ドキュメントであることを示すために、ジョブリスト303の状態欄には「保存済み」と表記される。また、プレビュー制御モジュール203は、ユーザの表示切替指示に応じて、履歴ドキュメントの表示と非表示とを切り換えることができる(表示切替)。
プレビュー制御モジュール203は、プレビュー表示領域304に、プレビュー用XPS文書の内容を利用し、印刷用紙と印刷用紙に形成されると予想される可視象とを印刷イメージとして表示する。ユーザ操作部305、306が用意される領域はツールバーである。ユーザはメニューバー302を使用しなくとも前記ツールバーを押下することで容易にプレビューページの切り替え等を指示することができる。ページ切り替えボタン305は、4つのボタンで構成されている。ユーザは、これらのボタンを用いて先頭ページ、前ページ、次ページ、最終ページへプレビュー表示を切り替えることを指示することができる。ドロップダウンリスト306は、プレビュー画像の表示サイズを変更する際に使用される。ユーザは、ドロップダウンリスト306を用いて、全体表示や100%、200%表示等の選択を指示することができる。表示領域307は、プレビュー表示されているXPS文書の印刷設定情報に関わる代表的な設定項目の設定値を表示する。図4においては文書の総ページ数は4ページであり、現在プレビュー表示しているページの番号は第3ページである例を示している。また、図4においては、印刷設定情報で設定された部数は1部で設定されている例を示している。
(Preview window of preview control module)
FIG. 4 is a diagram illustrating an example of a display screen (preview window) provided by the preview control module. A print preview window 301, which is an example of a print preview screen, includes a display area for displaying print settings information of a preview image and an XPS document, and input means for a user to change the display method of the preview image. Have both.
A menu bar 302 is a menu bar for the user to select a command to the previewer such as display switching in a menu format. The job list 303 is an example of document data including a new print document and a history document that is a print document that has already been printed, displayed in the preview display area. In the present application, both the print document and the history document are XPS documents. A list of documents that can be processed by the preview control module 203 is displayed in the job list 303. The document selected in the job list 303 is displayed or printed. When a history document is displayed, it is displayed in the job list 303 as with a new print document. At this time, “saved” is written in the status column of the job list 303 to indicate that the document is a history document. In addition, the preview control module 203 can switch between displaying and hiding a history document according to a user's display switching instruction (display switching).
The preview control module 203 uses the contents of the preview XPS document in the preview display area 304 to display the print sheet and a visible image expected to be formed on the print sheet as a print image. An area where the user operation units 305 and 306 are prepared is a toolbar. Even if the user does not use the menu bar 302, the user can easily instruct switching of the preview page or the like by pressing the toolbar. The page switching button 305 is composed of four buttons. The user can use these buttons to instruct to switch the preview display to the first page, previous page, next page, and last page. The drop-down list 306 is used when changing the display size of the preview image. The user can use the drop-down list 306 to instruct selection of the entire display, 100% display, 200% display, or the like. A display area 307 displays setting values of typical setting items related to the print setting information of the XPS document that is preview-displayed. FIG. 4 shows an example in which the total number of pages of the document is 4, and the number of the page currently displayed in preview is the third page. FIG. 4 shows an example in which the number of copies set in the print setting information is set as one copy.

ドキュメントの編集を指示する編集オブジェクトの一例である結合ボタン308は、ユーザがジョブリスト303で複数のXPS文書を選択した状態で押下することで、選択された複数のXPS文書を結合するためのボタンである。この処理により結合ドキュメントが生成される。また、ユーザは、印刷設定変更領域309において、ジョブリストで選択しているXPS文書に対して印刷設定情報の変更を行うことができる。図4の例では、1枚の用紙に複数のページを配置する割り付け印刷設定と、両面印刷設定と、が可能となっているが、その他の設定項目の配置も可能である。印刷設定変更領域309(又は印刷設定変更領域309に設けられているチェックボックスやラジオボタン等)も、ドキュメントの編集を指示する編集オブジェクトの一例である。
尚、図4ではドキュメント1が選択されているため、上記設定変更はドキュメント1に適用され、履歴ドキュメントであるドキュメント2には適用されない。
ユーザが印刷ボタン310を押下することで、ジョブリスト303で選択されているXPS文書の印刷が開始される。
本実施形態において、プレビュー設定がONである印刷設定情報を伴うXPS文書がスプールされ、OSの印刷サポート機能によりフィルターパイプラインが起動される。そして、プリンタドライバがプレビュー制御モジュール203を起動した時点で図4に例示する表示画面が表示される。但し既にプレビュー制御モジュールが起動されている場合、プレビュー設定がONである印刷設定情報を伴うXPS文書は既存のプレビュー制御モジュール203に供給され、供給されたXPS文書はジョブリスト303に表示される。
また、図4に例示する表示画面は、履歴ドキュメントを印刷するために、プリンタドライバを介さずに直接起動することも可能である。その場合、履歴ドキュメントの表示は初期状態でONになっており、起動時に保存されている履歴ドキュメントがジョブリスト303に表示される。直接起動した場合でも、起動中にプレビュー設定がONである印刷設定情報を伴うXPS文書が発行された場合は、そのXPS文書は起動中のプレビュー制御モジュールに供給され、ジョブリスト303に表示される。
A join button 308, which is an example of an edit object for instructing editing of a document, is a button for joining a plurality of selected XPS documents when the user presses it while selecting a plurality of XPS documents in the job list 303. It is. This process generates a combined document. Further, the user can change the print setting information for the XPS document selected in the job list in the print setting change area 309. In the example of FIG. 4, the layout print setting for arranging a plurality of pages on one sheet and the duplex printing setting are possible, but other setting items can also be arranged. The print setting change area 309 (or a check box or radio button provided in the print setting change area 309) is also an example of an edit object that instructs editing of a document.
In FIG. 4, since document 1 is selected, the above setting change is applied to document 1 and is not applied to document 2 which is a history document.
When the user presses the print button 310, printing of the XPS document selected in the job list 303 is started.
In this embodiment, an XPS document with print setting information whose preview setting is ON is spooled, and the filter pipeline is activated by the OS print support function. When the printer driver activates the preview control module 203, a display screen illustrated in FIG. 4 is displayed. However, when the preview control module is already activated, the XPS document with print setting information whose preview setting is ON is supplied to the existing preview control module 203, and the supplied XPS document is displayed in the job list 303.
Further, the display screen illustrated in FIG. 4 can be directly activated without using a printer driver in order to print a history document. In that case, the display of the history document is ON in the initial state, and the history document stored at the time of activation is displayed in the job list 303. Even when directly activated, if an XPS document with print setting information whose preview setting is ON is issued during activation, the XPS document is supplied to the activated preview control module and displayed in the job list 303. .

(プレビュー制御モジュールにおける履歴設定)
図5は、印刷プレビューウィンドウ301上で印刷履歴機能に関する設定を行う操作の一例を示す図である。ユーザが、メニューからファイルメニューを選択すると、ファイルメニュー一覧401が表示される。この中の履歴機能に関する項目として、「印刷履歴を保存」、「保存する履歴の件数」、「印刷履歴を表示」が存在する。「印刷履歴を保存」メニュー411は、プレビューから印刷されたドキュメントを履歴ドキュメントとして保存するかをユーザが設定するメニューである。ユーザがメニューを押下する度にON/OFFが切り替わり、保存を行う設定になっている場合はメニューの横にチェックが付けられる。保存は印刷時に行われ、プレビュー制御モジュール203で行われた編集内容が反映されたXPS文書が履歴ドキュメントとして保存される。一方、履歴ドキュメントを単に印刷した場合は、同じドキュメントが既に保存されているため、保存は行われない。但し履歴の保存時期の情報だけは更新される。「保存する履歴の件数」メニュー413は、ユーザが履歴ドキュメントの保存可能数の上限数を設定するためのメニューである。保存時に保存可能数の上限数を超えた場合、履歴ドキュメントは古いものから削除される。ユーザが、「保存する履歴の件数」メニュー413を押下すると、図示しない選択可能な保存数の一覧が表示され、その中から保存数を選択することで保存可能数が決定される。
「印刷履歴を表示」メニュー415は、ユーザがジョブリスト303に履歴ドキュメントを表示するかを設定するためのメニューである。メニューを押下する度にON/OFFが切り替わり、表示を行う設定になっている場合はメニューの横にチェックが付けられる。印刷履歴の表示がONになった場合、プレビュー制御モジュール203は、履歴ドキュメント205を呼び出し、ジョブリスト303に表示する。履歴ドキュメントの追加処理については図7を用いて後述する。逆に印刷履歴の表示がOFFになった場合、履歴ドキュメントは、表示されているジョブリスト303からは削除される。
ジョブリストに追加された履歴ドキュメントに対して、ユーザは新規ドキュメントと同様に編集や印刷を行うことができる。また、ユーザは新規ドキュメントと履歴ドキュメントとを選択して、結合ボタン308を押下することで、プレビュー制御モジュール203は、新規ドキュメントと履歴ドキュメントとから結合ドキュメントを生成することもできる。結合を含め、編集が行われ、印刷設定の変更された履歴ドキュメントは保存されているドキュメントと異なるため、編集後のドキュメントは新規ドキュメントとして扱われる。そのため、編集が行われた履歴ドキュメントは、ジョブリスト303の状態欄の「保存済み」の記載が削除され、印刷時の履歴保存の対象となる。
尚、本実施形態ではメニューによって印刷履歴に関する設定の変更方法を挙げたが、履歴表示ボタンを設ける等、他の方法で設定や表示の切り換え(表示切替)を行うこともできる。
(History setting in the preview control module)
FIG. 5 is a diagram illustrating an example of an operation for performing settings related to the print history function on the print preview window 301. When the user selects a file menu from the menu, a file menu list 401 is displayed. Items relating to the history function include “save print history”, “number of history to save”, and “display print history”. A “save print history” menu 411 is a menu for the user to set whether to save a document printed from the preview as a history document. Each time the user presses the menu, ON / OFF is switched. If the setting is to save, a check is added to the side of the menu. Saving is performed at the time of printing, and an XPS document reflecting editing contents performed by the preview control module 203 is saved as a history document. On the other hand, when the history document is simply printed, the same document is already saved, and thus the saving is not performed. However, only the information on the history storage time is updated. The “number of history records to be saved” menu 413 is a menu for setting a maximum number of history documents that can be saved by the user. If the maximum number of storable items is exceeded during saving, the history document is deleted from the oldest one. When the user presses the “number of history items to be saved” menu 413, a list of selectable save numbers (not shown) is displayed, and the saveable number is determined by selecting the save number from the list.
A “print history display” menu 415 is a menu for setting whether the user displays a history document in the job list 303. Each time the menu is pressed, ON / OFF is switched, and if the display is set to be displayed, a check is added to the side of the menu. When the display of the print history is turned on, the preview control module 203 calls the history document 205 and displays it on the job list 303. The history document adding process will be described later with reference to FIG. Conversely, when the display of the print history is turned off, the history document is deleted from the displayed job list 303.
The user can edit and print the history document added to the job list in the same manner as a new document. Further, when the user selects a new document and a history document and presses a merge button 308, the preview control module 203 can also generate a merged document from the new document and the history document. Since the history document that has been edited including the combination and the print setting has been changed is different from the saved document, the edited document is treated as a new document. For this reason, the history document that has been edited is deleted from the description of “saved” in the status column of the job list 303, and becomes a history storage target at the time of printing.
In the present embodiment, the method for changing the setting related to the print history is described using the menu. However, setting and display switching (display switching) can be performed by other methods such as providing a history display button.

(ジョブリストへのドキュメント追加処理)
本件におけるプレビュー制御モジュール203の起動には二通りの方法がある。一つ目はアプリからプリンタドライバの設定画面においてプレビュー設定ONで印刷を行う場合であり、二つ目は履歴ドキュメントの印刷を行うためにユーザが例えばスタートメニュー等に表示されるプレビュー制御モジュールに関するアイコンを指示した場合である。
図6は、プレビュー制御モジュールの起動処理の一例を示すフローチャートである。まずS201で、プレビュー制御モジュール203は、前記二つの起動方法のうち、どちらで起動されたかを判定する。プレビュー制御モジュール203は、アプリからの印刷によってプリンタドライバから起動された場合はS203に、直接、起動された場合(プリンタドライバ以外から起動された場合)はS205に移る。ここで、上述したように、プレビュー制御モジュール203は、プレビューフィルター223から起動された場合、プレビューフィルター223からXPS文書を受け取る。ここで、S201の具体的な判定方法について説明する。プレビュー制御モジュール203は、プレビューフィルター223よりXPS文書を受け取った場合は、プリンタドライバから起動されたと判定し、起動時に何も受け取らなかった場合は、直接、起動されたと判定する。また、その他にも起動パラメータ(起動時に渡される引数)の違いで起動モードを判定してもよい。尚、ここで、「直接、起動された」とは、例えば、スタートメニュー等においてプレビュー制御モジュール203に対応する文字列又はアイコン等が表示されており、この文字列又はアイコン等をユーザが選択したことによって起動されることを示す。
S203はプリンタドライバから起動された場合の処理である。S203では、プレビュー制御モジュール203は、アプリからの印刷によって作成されたXPS文書をフィルターから受け取り、処理可能ドキュメントとしてジョブリストに追加する。
S205からS209までの処理は、プレビュー制御モジュール203が直接、起動された場合の処理である。まずS205で、プレビュー制御モジュール203は、履歴ドキュメントの追加処理を行い、S207に移る。履歴ドキュメントの追加処理については図7を用いて後述する。S207では、プレビュー制御モジュール203は、S205で行われた履歴ドキュメントの追加処理で、ジョブリスト303に追加されたドキュメントが存在するか否かを判定する。プレビュー制御モジュール203は、存在しない場合はS209に移り、存在した場合は、プレビュー制御モジュール203の起動処理を終了する。S209では、プレビュー制御モジュール203は、表示可能なドキュメントが一つも存在しないためプレビュー制御モジュール203の処理を終了する。その際に、ユーザが終了理由を認識できるように、プレビュー制御モジュール203は、利用可能な履歴ドキュメントが存在しない旨をユーザに伝えるメッセージを表示する。
尚、本実施形態では、印刷による起動時は、初期状態で履歴の表示がOFFになっているとしているが、ONとすることもできる。また、起動時の履歴表示のON、OFFをユーザが設定する機能を情報処理装置100に持たせることもできる。
(Process to add documents to the job list)
There are two methods for starting the preview control module 203 in this case. The first is when printing is performed with the preview setting ON on the printer driver setting screen from the application, and the second is an icon related to the preview control module displayed on the start menu or the like by the user to print the history document. Is instructed.
FIG. 6 is a flowchart illustrating an example of the startup process of the preview control module. First, in step S201, the preview control module 203 determines which of the two activation methods is activated. The preview control module 203 proceeds to S203 when activated from the printer driver by printing from the application, and proceeds to S205 when activated directly (when activated from other than the printer driver). Here, as described above, when the preview control module 203 is activated from the preview filter 223, the preview control module 203 receives the XPS document from the preview filter 223. Here, the specific determination method of S201 will be described. When the XPS document is received from the preview filter 223, the preview control module 203 determines that it has been started from the printer driver, and if nothing is received at the time of startup, it determines that it has been started directly. In addition, the activation mode may be determined based on differences in activation parameters (arguments passed at activation). Here, “directly activated” means that, for example, a character string or icon corresponding to the preview control module 203 is displayed in the start menu or the like, and the user selects this character string or icon. Indicates that it will be activated.
S203 is processing when the printer driver is activated. In step S203, the preview control module 203 receives an XPS document created by printing from the application from the filter and adds it to the job list as a processable document.
The processing from S205 to S209 is processing when the preview control module 203 is directly activated. First, in step S205, the preview control module 203 performs history document addition processing, and proceeds to step S207. The history document adding process will be described later with reference to FIG. In step S207, the preview control module 203 determines whether there is a document added to the job list 303 in the history document addition process performed in step S205. If the preview control module 203 does not exist, the process proceeds to S209. If the preview control module 203 exists, the startup process of the preview control module 203 ends. In step S209, the preview control module 203 ends the process of the preview control module 203 because there is no document that can be displayed. At that time, the preview control module 203 displays a message informing the user that there is no available history document so that the user can recognize the reason for termination.
In the present embodiment, at the time of activation by printing, the history display is turned off in the initial state, but it can be turned on. In addition, the information processing apparatus 100 can be provided with a function for the user to set ON / OFF of the history display at startup.

(履歴ドキュメントの表示)
図7は、履歴ドキュメントの表示処理(図6のS205)の一例を示すフローチャートである。まずS301で、プレビュー制御モジュール203は、保存されている履歴ドキュメントを新しいものから取得し、S303に移る。S303では、プレビュー制御モジュール203は、S301において履歴ドキュメントを取得できたかの判定を行う。プレビュー制御モジュール203は、取得できた場合はS305に移り、取得できなかった場合は履歴ドキュメントの追加処理を終了する。S305では、プレビュー制御モジュール203は、取得した履歴ドキュメントをプレビュー制御モジュール203で利用可能なように登録し、ジョブリスト303に追加する。その際、プレビュー制御モジュール203は、ジョブリスト303の状態欄には履歴ドキュメントであることを示すために「保存済み」と表示する。プレビュー制御モジュール203は、S305で履歴ドキュメントの追加処理が終了すると、S301に戻り、未処理の履歴ドキュメントの中から一番新しいドキュメントを取得する。プレビュー制御モジュール203は、このような処理を繰り返すことで保存された全ての履歴ドキュメントをプレビュー制御モジュール203へ追加する。全ての履歴ドキュメントがプレビュー制御モジュールに追加し、S303で未処理の履歴ドキュメントが存在しないと判定した場合、プレビュー制御モジュール203は、履歴ドキュメントの追加処理を終了する。
(Display history document)
FIG. 7 is a flowchart showing an example of the history document display process (S205 in FIG. 6). First, in step S301, the preview control module 203 acquires a saved history document from a new one, and proceeds to step S303. In step S303, the preview control module 203 determines whether a history document has been acquired in step S301. The preview control module 203 proceeds to S305 if it can be acquired, and ends the history document adding process if it cannot be acquired. In step S <b> 305, the preview control module 203 registers the acquired history document so that it can be used by the preview control module 203, and adds it to the job list 303. At this time, the preview control module 203 displays “saved” in the status column of the job list 303 to indicate that it is a history document. When the history document addition processing ends in S305, the preview control module 203 returns to S301, and acquires the newest document from unprocessed history documents. The preview control module 203 adds all the history documents stored by repeating such processing to the preview control module 203. If all history documents are added to the preview control module and it is determined in S303 that there is no unprocessed history document, the preview control module 203 ends the history document addition processing.

(印刷時処理)
図8は、プレビューウィンドウから印刷を行う際の処理の一例を示す図である。まずS401で、プレビュー制御モジュール203は、印刷対象となるユーザにより選択されたXPS文書を印刷キューに追加し、S403に移る。本実施形態で扱っているXPS文書は現在処理対象となっているデータとして用いられているため、印刷キューに追加することで印刷を行うことができる。この際、プレビュー制御モジュール203は、プレビュー設定をOFFにすることで、再度プレビューが行われないようにする。これは、対象のXPS文書にプレビュー済みであるという情報を付加し、フィルターでプレビュー済みのドキュメントであるかどうかを判定することでも実現可能である。また、プレビュー制御モジュールにおける処理対象のデータがXPS文書とは異なる形式である場合は、XPS文書への変換が必要となる。
S403では、プレビュー制御モジュール203は、履歴の保存設定がONかどうか判定し、ONの場合はS405に移り、OFFの場合はS421へ移る。S405では、プレビュー制御モジュール203は、印刷を行ったドキュメントが履歴ドキュメントであるかを判定し、履歴ドキュメントである場合はS407へ、履歴ドキュメントではない場合はS411へ移る。尚、履歴ドキュメントか否かの判定処理は、プレビュー制御モジュールが印刷対象となったデータを履歴ドキュメントとして読み込んだか否かの情報を記憶しておき、読み込んだデータである場合は履歴ドキュメントと判定する。
S407では、プレビュー制御モジュール203は、履歴ドキュメントに対して編集が行われたかどうかを判定する。具体的には、履歴ドキュメントのプリントチケットが、印刷時に変更された場合は、履歴ドキュメントに編集が行なわれたと判定する。
プレビュー制御モジュール203は、編集が行われていない場合はS409へ移り、編集が行われ、保存されている履歴ドキュメントと印刷時の設定が異なる場合はS411へ移る。S409では、プレビュー制御モジュール203は、既に保存されている履歴ドキュメントを印刷しているため、印刷した履歴ドキュメントの保存順の情報を更新し、印刷時の処理を終了する。プレビュー制御モジュール203は、履歴ドキュメントは保存可能数を超えると古いものから削除する。そのため、プレビュー制御モジュール203は、履歴ドキュメントの印刷を行った際は、保存された順番等の情報を更新し、印刷が行われた履歴ドキュメントを最新の履歴とする。
(Processing during printing)
FIG. 8 is a diagram illustrating an example of processing when printing is performed from the preview window. First, in step S401, the preview control module 203 adds the XPS document selected by the user to be printed to the print queue, and proceeds to step S403. Since the XPS document handled in the present embodiment is used as data that is currently processed, printing can be performed by adding it to the print queue. At this time, the preview control module 203 turns off the preview setting so that the preview is not performed again. This can also be realized by adding information that the target XPS document has been previewed and determining whether the document has been previewed by the filter. Further, when the data to be processed in the preview control module is in a format different from that of the XPS document, conversion to an XPS document is necessary.
In step S403, the preview control module 203 determines whether the history storage setting is ON. If it is ON, the process proceeds to step S405. If it is OFF, the process proceeds to step S421. In step S405, the preview control module 203 determines whether the printed document is a history document. If the document is a history document, the process proceeds to step S407. If the document is not a history document, the process proceeds to step S411. In the determination process of whether or not the document is a history document, information indicating whether or not the data to be printed has been read by the preview control module as a history document is stored. .
In step S407, the preview control module 203 determines whether editing has been performed on the history document. Specifically, when the print ticket of the history document is changed at the time of printing, it is determined that the history document has been edited.
The preview control module 203 moves to S409 when the editing is not performed, and moves to S411 when the editing is performed and the stored history document is different from the setting at the time of printing. In step S409, the preview control module 203 prints the history document that has already been saved. Therefore, the preview control module 203 updates the save order information of the printed history document, and ends the printing process. The preview control module 203 deletes the history document from the oldest one when the number of storable documents exceeds the storable number. Therefore, when the history document is printed, the preview control module 203 updates information such as the saved order, and sets the printed history document as the latest history.

S411では、プレビュー制御モジュール203は、印刷したドキュメントを履歴ドキュメントとして保存し、S413に移る。S405とS407との判定によって既に保存されているドキュメントを重複して保存することはない。S413では、プレビュー制御モジュール203は、履歴表示がONかどうかの判定を行い、ONであればS415へ移り、OFFであればS421へ移る。S415、S421では、プレビュー制御モジュール203は、ジョブリストの更新を行う。S415では、プレビュー制御モジュール203は、印刷を行ったドキュメントを履歴として保存しており、履歴表示がONになっている。そのため、プレビュー制御モジュール203は、印刷したドキュメントをジョブリストから削除せず、履歴ドキュメントとしてリスト上に残す。この際、プレビュー制御モジュール203は、履歴ドキュメントであることを示すために、ジョブリストの状態欄を「保存済み」に変更する。S421では、プレビュー制御モジュール203は、履歴保存を行わない、若しくは履歴ドキュメントを表示しない設定になっている。そのため、プレビュー制御モジュール203は、印刷が実行されたドキュメントをジョブリストから削除する。ジョブリストの更新が終了すると、プレビュー制御モジュール203は、印刷時の処理を終了する。   In step S411, the preview control module 203 stores the printed document as a history document, and proceeds to step S413. Documents that have already been saved according to the determination in S405 and S407 are not duplicated. In S413, the preview control module 203 determines whether or not the history display is ON. If the history display is ON, the process proceeds to S415, and if it is OFF, the process proceeds to S421. In S415 and S421, the preview control module 203 updates the job list. In step S415, the preview control module 203 stores the printed document as a history, and the history display is ON. For this reason, the preview control module 203 does not delete the printed document from the job list but leaves it as a history document on the list. At this time, the preview control module 203 changes the status column of the job list to “saved” to indicate that the document is a history document. In step S421, the preview control module 203 is set not to save the history or display the history document. Therefore, the preview control module 203 deletes the document that has been printed from the job list. When the update of the job list is completed, the preview control module 203 ends the printing process.

<実施形態2>
実施形態1の処理によれば、印刷プレビュー上での履歴ドキュメントの処理が可能となった。しかし、プレビュー制御モジュール203で履歴の保存を行っているため、履歴として保存できるのはプレビューを行ったドキュメントのみであった。そこで本実施形態では、実施形態1の手法に加え、フィルターで履歴の保存を行うことでプレビューを行わないドキュメントについても履歴保存を行う手法について提案する。
図9は、履歴保存機能を備えたプレビューフィルター処理の一例を示すフローチャートである。まずS501で、プレビューフィルター223は、処理中のドキュメントのプレビュー設定がONかどうかを判定し、ONであればS503に移動し、OFFであればS511に移動する。プレビュー設定がONの場合のS503からS507までの処理については、実施形態1におけるプレビューフィルター223によるS103からS107までの処理と同じであるため、説明を省略する。
S511では、プレビューフィルター223は、履歴の保存設定がONであるかを判定し、ONであればS513に移り、OFFであればS531に移る。尚、履歴の保存設定は、プリンタドライバの設定画面(図4が表示される前に表示される画面)を使って指定される。S513では、プレビューフィルター223は、処理中のドキュメントが履歴ドキュメントであるか否かを判定し、履歴ドキュメントでなければS515に、履歴ドキュメントであればS521に移る。プレビューフィルター223において履歴ドキュメントかどうかを判定するには、プレビュー制御モジュール203が対象ドキュメントに対して履歴ドキュメントであるという情報を格納しておく必要がある。プレビューからの印刷時に情報を格納する方法としては、PTに記述する方法等が考えられるが、フィルターによって解読可能な場所であればどこに格納してもよい。
<Embodiment 2>
According to the process of the first embodiment, it is possible to process a history document on a print preview. However, since the history is stored in the preview control module 203, only the document that has been previewed can be stored as the history. Therefore, in this embodiment, in addition to the technique of the first embodiment, a technique for saving history for a document that is not previewed by saving history with a filter is proposed.
FIG. 9 is a flowchart illustrating an example of a preview filter process having a history storage function. First, in step S501, the preview filter 223 determines whether the preview setting of the document being processed is ON. If it is ON, the preview filter 223 moves to step S503, and if it is OFF, moves to step S511. Since the processing from S503 to S507 when the preview setting is ON is the same as the processing from S103 to S107 by the preview filter 223 in the first embodiment, description thereof is omitted.
In S511, the preview filter 223 determines whether or not the history storage setting is ON. If it is ON, the process proceeds to S513, and if it is OFF, the process proceeds to S531. The history storage setting is specified using a printer driver setting screen (screen displayed before FIG. 4 is displayed). In S513, the preview filter 223 determines whether or not the document being processed is a history document. If the document is not a history document, the process proceeds to S515. If the document is a history document, the process proceeds to S521. In order to determine whether the document is a history document in the preview filter 223, it is necessary for the preview control module 203 to store information that the target document is a history document. As a method for storing information at the time of printing from the preview, a method described in PT or the like is conceivable, but it may be stored anywhere as long as it is decipherable by a filter.

S515からS519までは履歴ではないドキュメントに対する処理であり、処理中のドキュメントが履歴ドキュメントとして保存される。尚、編集が行われ、保存時と設定の異なる履歴ドキュメントについても、履歴ドキュメントとして扱われないため、履歴ドキュメントとしての保存が行われる。S515では、プレビューフィルター223は、処理中のドキュメントを履歴ドキュメントとして保存し、S517に移る。S517では、プレビューフィルター223は、S515において履歴ドキュメントの保存が行われた際に、保存している履歴ドキュメントの数が、保存可能な上限数を超えていないかを判定し、超えている場合はS519に、超えていない場合はS531に移る。S519では、プレビューフィルター223は、履歴ドキュメントのなかで保存された時期の最も古いドキュメントの削除を行い、S531に移る。
S521は、履歴ドキュメントに対する処理である。したがって、プレビューフィルター223は、処理中のドキュメントは既に履歴ドキュメントとして保存されているため、新規に保存を行うことはしない。S521では、プレビューフィルター223は、履歴ドキュメントの保存順情報の更新を行い、S531に移る。S521の処理はS409と同じであるため、説明は省略する。
S531では、プレビューフィルター223は、印刷データを次のフィルターに送信し、プレビューフィルターの処理を終了する。
本実施形態によって、プレビューを行わずに印刷を行ったドキュメントを履歴として保存することが可能となる。尚、本実施形態ではプレビューフィルターによって保存を行っているが、フィルター構成や各フィルターの動作の違いによって保存に適切なフィルターが異なり、他のフィルターで保存を行うことも可能である。
Steps S515 to S519 are processing for a document that is not a history, and the document being processed is saved as a history document. A history document that has been edited and has a different setting from that at the time of saving is not handled as a history document, so that it is saved as a history document. In S515, the preview filter 223 saves the document being processed as a history document, and proceeds to S517. In S517, when the history document is saved in S515, the preview filter 223 determines whether or not the number of saved history documents exceeds the storable upper limit. In S519, if not exceeded, the process moves to S531. In S519, the preview filter 223 deletes the oldest document stored in the history document, and proceeds to S531.
S521 is processing for a history document. Therefore, the preview filter 223 does not newly save the document being processed because it is already saved as a history document. In S521, the preview filter 223 updates the history document storage order information, and proceeds to S531. Since the process of S521 is the same as S409, the description thereof is omitted.
In step S531, the preview filter 223 transmits the print data to the next filter, and the preview filter processing ends.
According to the present embodiment, it is possible to save a document that has been printed without being previewed as a history. In this embodiment, the image is saved by the preview filter. However, the filter suitable for saving differs depending on the filter configuration and the operation of each filter, and the image can be saved by another filter.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

以上、上述した各実施形態によれば、ユーザは、印刷を実行する際に印刷プレビューを行うだけで印刷履歴の扱いが可能となり、新規の印刷ジョブと履歴ドキュメントとを結合することが可能となる。つまり、新規の印刷ドキュメントと履歴ドキュメントとを容易に同一のアプリケーションで編集可能とすることができる。尚、上述したように、編集には、例えば、印刷設定の変更、ページの編集、ドキュメントの結合等が含まれる。   As described above, according to the above-described embodiments, the user can handle the print history only by performing the print preview when executing the printing, and can combine the new print job and the history document. . That is, a new print document and a history document can be easily edited with the same application. As described above, editing includes, for example, changing print settings, editing pages, combining documents, and the like.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

Claims (15)

XML Paper Specification形式(XPS形式)のドキュメントを受け付けて前記XPS形式のドキュメントを処理可能なプリンタドライバが動作可能な情報処理装置であって、
前記XPS形式のドキュメントを処理可能なプリンタドライバの設定画面においてプレビュー設定が有効化されることで表示されるプレビュー画面に既に印刷された第1印刷ドキュメントに関する情報と新規に発行された第2印刷ドキュメントに関する情報とを表示する表示制御手段を有し、
前記プレビュー画面において選択対象が前記第2印刷ドキュメントに関する情報から前記第1印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第2印刷ドキュメントのプレビュー画像から前記第1印刷ドキュメントのプレビュー画像に変更され、
前記プレビュー画面において選択対象が前記第1印刷ドキュメントに関する情報から前記第2印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第1印刷ドキュメントのプレビュー画像から前記第2印刷ドキュメントのプレビュー画像に変更されることを特徴とする情報処理装置。
An information processing apparatus capable of operating a printer driver capable of receiving a document in an XML Paper Specification format (XPS format) and processing the document in the XPS format,
Information on the first print document already printed on the preview screen displayed when the preview setting is validated on the setting screen of the printer driver capable of processing the XPS format document and the newly issued second print document Display control means for displaying information about
When the selection target in the preview screen is changed from the information related to the second print document to the information related to the first print document, the display target in the preview screen is changed from the preview image of the second print document to the first print document. Changed to preview image,
When the selection target on the preview screen is changed from the information about the first print document to the information about the second print document, the display target on the preview screen is changed from the preview image of the first print document to the second print document. An information processing apparatus that is changed to a preview image.
前記プレビュー画面を介して保存及び印刷の指示を受け付けた印刷ドキュメントの情報が、既に印刷された印刷ドキュメントに関する情報として前記プレビュー画面に表示されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein information on a print document for which an instruction to store and print is received via the preview screen is displayed on the preview screen as information on a print document that has already been printed. . 前記プレビュー画面は、前記第1印刷ドキュメントに関する情報と前記第2印刷ドキュメントに関する情報とが表示された状態で1枚の用紙の面に配置されるページの数を示す割り付け印刷設定の変更、及び、両面印刷の指定の変更の少なくとも1つを受け付けることを特徴とする請求項1又は2に記載の情報処理装置。   The preview screen includes a change in layout print setting indicating the number of pages arranged on the surface of one sheet in a state where information on the first print document and information on the second print document are displayed, and The information processing apparatus according to claim 1, wherein at least one change in designation of duplex printing is received. 前記プレビュー画面は、印刷の指示を受け付ける印刷受付部と、前記プレビュー画面のファイルメニューに既に印刷された印刷ドキュメントの保存の指示を受け付ける受付部とを提供することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。   4. The preview screen includes a print accepting unit that accepts a print instruction and a accepting unit that accepts an instruction to save a print document that has already been printed in the file menu of the preview screen. The information processing apparatus according to any one of the above. 前記第1印刷ドキュメントに関する情報と前記第2印刷ドキュメントに関する情報として、前記第1印刷ドキュメントの名称と前記第2印刷ドキュメントの名称とが前記プレビュー画面に表示されることを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。   The name of the first print document and the name of the second print document are displayed on the preview screen as the information about the first print document and the information about the second print document. 5. The information processing apparatus according to any one of 4. 前記プレビュー画面は、1つのプレビューウィンドウであることを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the preview screen is one preview window. ユーザの表示切替指示に応じて、前記プレビュー画面に前記既に印刷された第1印刷ドキュメントを表示するか、非表示にするかを切り替えることを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。   7. The display device according to claim 1, wherein the first print document that has already been printed is displayed or not displayed on the preview screen in accordance with a user display switching instruction. The information processing apparatus described. XML Paper Specification形式(XPS形式)のドキュメントを受け付けて前記XPS形式のドキュメントを処理可能なプリンタドライバが動作可能な情報処理装置が実行する情報処理方法であって、
前記XPS形式のドキュメントを処理可能なプリンタドライバの設定画面においてプレビュー設定が有効化されることで表示されるプレビュー画面に既に印刷された第1印刷ドキュメントに関する情報と新規に発行された第2印刷ドキュメントに関する情報とを表示する表示制御ステップを含み、
前記プレビュー画面において選択対象が前記第2印刷ドキュメントに関する情報から前記第1印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第2印刷ドキュメントのプレビュー画像から前記第1印刷ドキュメントのプレビュー画像に変更され、
前記プレビュー画面において選択対象が前記第1印刷ドキュメントに関する情報から前記第2印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第1印刷ドキュメントのプレビュー画像から前記第2印刷ドキュメントのプレビュー画像に変更されることを特徴とする情報処理方法。
An information processing method executed by an information processing apparatus capable of operating a printer driver capable of receiving a document in an XML Paper Specification format (XPS format) and processing the document in the XPS format,
Information on the first print document already printed on the preview screen displayed when the preview setting is validated on the setting screen of the printer driver capable of processing the XPS format document and the newly issued second print document Display control step for displaying information about
When the selection target in the preview screen is changed from the information related to the second print document to the information related to the first print document, the display target in the preview screen is changed from the preview image of the second print document to the first print document. Changed to preview image,
When the selection target on the preview screen is changed from the information about the first print document to the information about the second print document, the display target on the preview screen is changed from the preview image of the first print document to the second print document. An information processing method characterized by being changed to a preview image.
XML Paper Specification形式(XPS形式)のドキュメントを受け付けて前記XPS形式のドキュメントを処理可能なプリンタドライバが動作可能なコンピュータに、
前記XPS形式のドキュメントを処理可能なプリンタドライバの設定画面においてプレビュー設定が有効化されることで表示されるプレビュー画面に既に印刷された第1印刷ドキュメントに関する情報と新規に発行された第2印刷ドキュメントに関する情報とを表示する表示制御ステップを実行させ、
前記プレビュー画面において選択対象が前記第2印刷ドキュメントに関する情報から前記第1印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第2印刷ドキュメントのプレビュー画像から前記第1印刷ドキュメントのプレビュー画像に変更され、
前記プレビュー画面において選択対象が前記第1印刷ドキュメントに関する情報から前記第2印刷ドキュメントに関する情報に変更された場合、前記プレビュー画面における表示対象が前記第1印刷ドキュメントのプレビュー画像から前記第2印刷ドキュメントのプレビュー画像に変更されることを特徴とするプログラム。
A computer capable of operating a printer driver that accepts an XML Paper Specification format (XPS format) document and can process the XPS format document,
Information on the first print document already printed on the preview screen displayed when the preview setting is validated on the setting screen of the printer driver capable of processing the XPS format document and the newly issued second print document Display control step to display information about
When the selection target in the preview screen is changed from the information related to the second print document to the information related to the first print document, the display target in the preview screen is changed from the preview image of the second print document to the first print document. Changed to preview image,
When the selection target on the preview screen is changed from the information about the first print document to the information about the second print document, the display target on the preview screen is changed from the preview image of the first print document to the second print document. A program characterized by being changed to a preview image.
前記プレビュー画面を介して保存及び印刷の指示を受け付けた印刷ドキュメントの情報が、既に印刷された印刷ドキュメントに関する情報として前記プレビュー画面に表示されることを特徴とする請求項9に記載のプログラム。   10. The program according to claim 9, wherein information on a print document that has received a save and print instruction via the preview screen is displayed on the preview screen as information about a print document that has already been printed. 前記プレビュー画面は、前記第1印刷ドキュメントに関する情報と前記第2印刷ドキュメントに関する情報とが表示された状態で1枚の用紙の面に配置されるページの数を示す割り付け印刷設定の変更、及び、両面印刷の指定の変更の少なくとも1つを受け付けることを特徴とする請求項9又は10に記載のプログラム。   The preview screen includes a change in layout print setting indicating the number of pages arranged on the surface of one sheet in a state where information on the first print document and information on the second print document are displayed, and The program according to claim 9 or 10, wherein at least one change in designation of duplex printing is received. 前記プレビュー画面は、印刷の指示を受け付ける印刷受付部と、前記プレビュー画面のファイルメニューに既に印刷された印刷ドキュメントの保存の指示を受け付ける受付部とを提供することを特徴とする請求項9乃至11の何れか1項に記載のプログラム。   12. The preview screen includes a print reception unit that receives a print instruction and a reception unit that receives an instruction to save a print document that has already been printed in the file menu of the preview screen. The program according to any one of the above. 前記第1印刷ドキュメントに関する情報と前記第2印刷ドキュメントに関する情報として、前記第1印刷ドキュメントの名称と前記第2印刷ドキュメントの名称とが前記プレビュー画面に表示されることを特徴とする請求項9乃至12の何れか1項に記載のプログラム。   10. The name of the first print document and the name of the second print document are displayed on the preview screen as the information about the first print document and the information about the second print document. The program according to any one of 12 above. 前記プレビュー画面は、1つのプレビューウィンドウであることを特徴とする請求項9乃至13の何れか1項に記載のプログラム。   The program according to any one of claims 9 to 13, wherein the preview screen is one preview window. ユーザの表示切替指示に応じて、前記プレビュー画面に前記既に印刷された第1印刷ドキュメントを表示するか、非表示にするかを切り替えることを特徴とする請求項9乃至14の何れか1項に記載のプログラム。   15. The display device according to claim 9, wherein the first print document that has already been printed is displayed or not displayed on the preview screen in response to a user display switching instruction. The program described.
JP2014161465A 2014-08-07 2014-08-07 Information processing apparatus, information processing method, and program Active JP5805279B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014161465A JP5805279B2 (en) 2014-08-07 2014-08-07 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014161465A JP5805279B2 (en) 2014-08-07 2014-08-07 Information processing apparatus, information processing method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009292771A Division JP5602424B2 (en) 2009-12-24 2009-12-24 Information processing apparatus, information processing method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015165584A Division JP6129255B2 (en) 2015-08-25 2015-08-25 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2014211915A JP2014211915A (en) 2014-11-13
JP5805279B2 true JP5805279B2 (en) 2015-11-04

Family

ID=51931562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014161465A Active JP5805279B2 (en) 2014-08-07 2014-08-07 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5805279B2 (en)

Also Published As

Publication number Publication date
JP2014211915A (en) 2014-11-13

Similar Documents

Publication Publication Date Title
JP5602424B2 (en) Information processing apparatus, information processing method, and program
JP4520340B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL PROGRAM, AND RECORDING MEDIUM
JP5693092B2 (en) Information processing apparatus, control method, and program
US9363395B2 (en) Image processing device, display device and non-transitory computer readable recording medium
JP2003248564A (en) Document management device, document management control method and document management control program
EP2388685B1 (en) Information processing apparatus and control method thereof, and storage medium
KR20120094051A (en) Document processing device, control method, and program
JP6575270B2 (en) Print setting support apparatus and program
JP5371550B2 (en) Information processing apparatus, control method therefor, and computer program
JP6129255B2 (en) Information processing apparatus, information processing method, and program
JP5144429B2 (en) Image forming apparatus, method, and program
JP2004094955A (en) Document management device, document management control method and document management control program
JP4891052B2 (en) Information processing apparatus, preview method, program, and storage medium
JP5805279B2 (en) Information processing apparatus, information processing method, and program
JP6786408B2 (en) Image forming apparatus, control method of image forming apparatus, and program
JP2009226834A (en) Printing device and printing method for printing device
JP3754040B2 (en) Document management apparatus, document management control method, and document management control program
JP4661832B2 (en) Print control device and printer driver program
JP7152879B2 (en) Information processing device and its control method and program
JP2008027217A (en) Printing system with information processor and printing apparatus
JP6675191B2 (en) Printing apparatus, control method thereof, and program
JP2020131603A (en) Image formation apparatus
JP2015047787A (en) Image formation device, image formation control method and image formation control program
JP2019126978A (en) Image forming apparatus, control method therefor, and program
JP2011108174A (en) Data processing device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150625

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150901

R151 Written notification of patent or utility model registration

Ref document number: 5805279

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151