JP2011203957A - Image forming apparatus and image forming program - Google Patents
Image forming apparatus and image forming program Download PDFInfo
- Publication number
- JP2011203957A JP2011203957A JP2010069947A JP2010069947A JP2011203957A JP 2011203957 A JP2011203957 A JP 2011203957A JP 2010069947 A JP2010069947 A JP 2010069947A JP 2010069947 A JP2010069947 A JP 2010069947A JP 2011203957 A JP2011203957 A JP 2011203957A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- order
- xps
- setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、XPS(XML(Extensible Markup Language) Paper Specification)ファイルを印刷することができる画像形成装置に関する。 The present invention relates to an image forming apparatus capable of printing an XPS (XML (Extensible Markup Language) Paper Specification) file.
従来、電子文書の規格として、XPSが知られている。XPSファイルは、複数のファイルがZIP形式で圧縮されたファイルである。XPSファイルは、例えばMicrosoft Office(登録商標) WordなどのアプリケーションのファイルをWindows Vista(登録商標)に標準インストールされているXPS Document Writerを使用して印刷することなどによって生成される。このようにして生成されたXPSファイル内の複数のファイルは、通常、ページが正順になるように並べられて圧縮されている。 Conventionally, XPS is known as a standard for electronic documents. An XPS file is a file in which a plurality of files are compressed in ZIP format. The XPS file is generated by, for example, printing an application file such as Microsoft Office (registered trademark) Word using XPS Document Writer installed as standard in Windows Vista (registered trademark). The plurality of files in the XPS file generated in this way are usually arranged and compressed so that the pages are in normal order.
したがって、プリンタは、ページが正順になるように複数のファイルが並べられて圧縮されたXPSファイルを外部の情報処理装置から受信して印刷する場合、XPSファイル内の複数のファイルを先頭のページから末尾のページまで正順に外部の情報処理装置から受信することになる。 Therefore, when the printer receives and prints an XPS file in which multiple files are arranged and compressed so that the pages are in normal order from an external information processing device, the multiple files in the XPS file are printed from the first page. The data is received from the external information processing apparatus in the normal order up to the last page.
ここで、プリンタは、印刷面を下に向けて用紙を排出するフェイスダウン出力が印刷設定で設定さている場合、先頭のページから末尾のページに向けて正順に印刷する必要がある。そのため、プリンタは、ページが正順になるように複数のファイルが並べられて圧縮されたXPSファイルに対してフェイスダウン出力を行う場合、XPSファイル内の複数のファイルを先頭のページから末尾のページまで正順に外部の情報処理装置から受信する度に、受信したページの印刷を実行することができる。 Here, the printer needs to print in the normal order from the first page to the last page when face-down output for discharging the paper with the print side facing down is set in the print settings. Therefore, when performing face-down output on an XPS file in which multiple files are arranged and compressed so that the pages are in the normal order, the printer outputs multiple files in the XPS file from the first page to the last page. Each time the data is received from the external information processing apparatus in the normal order, the received page can be printed.
一方、プリンタは、印刷面を上に向けて用紙を排出するフェイスアップ出力が印刷設定で設定さている場合、末尾のページから先頭のページに向けて逆順に印刷する必要がある。そのため、プリンタは、ページが正順になるように複数のファイルが並べられて圧縮されたXPSファイルに対してフェイスアップ出力を行う場合、XPSファイル内の複数のファイルを先頭のページから末尾のページまで正順に全て外部の情報処理装置から受信した後でなければ、受信したページの印刷を開始することができない。 On the other hand, the printer needs to print in reverse order from the last page to the first page when face-up output for discharging the paper with the print side facing up is set in the print settings. Therefore, when performing face-up output on an XPS file in which multiple files are arranged and compressed so that the pages are in the normal order, the printer will transfer multiple files in the XPS file from the first page to the last page. The received page cannot be printed until it has been received from the external information processing apparatus in the normal order.
つまり、ページが正順になるように複数のファイルが並べられて圧縮されたXPSファイルの印刷において、フェイスアップ出力は、フェイスダウン出力と比較して印刷効率が低下する。 In other words, when printing an XPS file in which a plurality of files are arranged and compressed so that the pages are in the normal order, the face-up output is less efficient than the face-down output.
このようなフェイスアップ出力の場合の印刷効率の低下の問題を解決するための方法として、まず、外部の情報処理装置のプリンタドライバによってプリンタの印刷設定をプリンタから取得し、次いで、取得した印刷設定でフェイスアップ出力が設定されているときに、ページが逆順になるように複数のファイルが並べられて圧縮された構造にXPSファイルの構造をプリンタドライバによって変更し、最後に、ページが逆順になるように複数のファイルが並べられて圧縮されたXPSファイルをプリンタドライバによってプリンタに送信する方法が知られている(例えば、特許文献1参照。)。この方法によって、プリンタは、フェイスアップ出力を行う場合であっても、ページの印刷を開始するときに全てのページのファイルを外部の情報処理装置から受信する必要がなく、外部の情報処理装置からページのファイルを受信する度に、受信したページの印刷を実行することができる。 As a method for solving the problem of reduction in printing efficiency in the case of face-up output, first, the printer setting of the printer is acquired from the printer by the printer driver of the external information processing apparatus, and then the acquired printing setting is acquired. When face-up output is set in, the XPS file structure is changed by the printer driver to a structure in which multiple files are arranged and compressed so that the pages are in reverse order, and finally the pages are in reverse order A method of transmitting an XPS file in which a plurality of files are arranged and compressed as described above to a printer by a printer driver is known (for example, see Patent Document 1). With this method, even when face-up output is performed, the printer does not need to receive files of all pages from the external information processing apparatus when starting page printing. Each time a page file is received, the received page can be printed.
しかしながら、特許文献1に記載された方法においては、ページの印刷順序に関するプリンタの印刷設定を外部の情報処理装置のプリンタドライバがプリンタから取得しなければならないという問題がある。
However, the method described in
そこで、本発明は、ページの印刷順序に関する画像形成装置自身の印刷設定を外部に通知しなくてもXPSファイルを印刷することができる画像形成装置を提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an image forming apparatus capable of printing an XPS file without notifying externally the print settings of the image forming apparatus itself regarding the printing order of pages.
本発明の画像形成装置は、XPSファイルを印刷する印刷部を備えている画像形成装置であって、前記印刷部による前記XPSファイルのページの印刷順序を決定する印刷順序決定手段と、前記印刷順序決定手段によって決定された前記印刷順序で前記印刷部に印刷を行わせる印刷制御手段と、前記印刷順序に関する前記XPSファイルの印刷設定であるXPS印刷順設定を取得するXPS印刷順設定取得手段と、前記印刷順序に関する前記画像形成装置の印刷設定である装置印刷順設定を取得する装置印刷順設定取得手段と、前記XPS印刷順設定および前記装置印刷順設定の何れを優先的に適用するかを示す優先情報を記憶する優先情報記憶手段とを備えており、前記印刷順序決定手段は、前記XPS印刷順設定取得手段によって取得された前記XPS印刷順設定と、前記装置印刷順設定取得手段によって取得された前記装置印刷順設定とのうち前記優先情報に応じた方に基づいて、前記印刷順序を決定することを特徴とする。 The image forming apparatus of the present invention is an image forming apparatus that includes a printing unit that prints an XPS file, the printing order determining unit that determines the printing order of pages of the XPS file by the printing unit, and the printing order. A printing control unit that causes the printing unit to perform printing in the printing order determined by the determining unit; an XPS printing order setting acquisition unit that acquires an XPS printing order setting that is a printing setting of the XPS file related to the printing order; An apparatus print order setting acquisition unit that acquires an apparatus print order setting that is a print setting of the image forming apparatus related to the print order, and indicates which of the XPS print order setting and the apparatus print order setting is to be preferentially applied. Priority information storage means for storing priority information, the printing order determination means, the XPS printing order setting acquired by the XPS printing order setting acquisition means, Based on the person in accordance with the priority information of the to said device print order setting an acquisition by location print order setting acquiring unit, and determines the printing order.
この構成により、本発明の画像形成装置は、ページの印刷順序に関するXPSファイルの印刷設定と、ページの印刷順序に関する画像形成装置自身の印刷設定とのうち優先情報に応じた方に基づいて、印刷順序を決定するので、ページの印刷順序に関する画像形成装置自身の印刷設定を外部に通知しなくてもXPSファイルを印刷することができる。 With this configuration, the image forming apparatus of the present invention performs printing based on the print setting of the XPS file related to the print order of pages and the print setting of the image forming apparatus itself related to the print order of pages according to priority information. Since the order is determined, the XPS file can be printed without notifying the outside of the print settings of the image forming apparatus itself regarding the page printing order.
本発明の画像形成プログラムは、XPSファイルを印刷する印刷部を備えている画像形成装置によって実行される画像形成プログラムであって、前記印刷部による前記XPSファイルのページの印刷順序を決定する印刷順序決定手段と、前記印刷順序決定手段によって決定された前記印刷順序で前記印刷部に印刷を行わせる印刷制御手段と、前記印刷順序に関する前記XPSファイルの印刷設定であるXPS印刷順設定を取得するXPS印刷順設定取得手段と、前記印刷順序に関する前記画像形成装置の印刷設定である装置印刷順設定を取得する装置印刷順設定取得手段と、前記XPS印刷順設定および前記装置印刷順設定の何れを優先的に適用するかを示す優先情報を記憶する優先情報記憶手段として前記画像形成装置を機能させ、前記印刷順序決定手段は、前記XPS印刷順設定取得手段によって取得された前記XPS印刷順設定と、前記装置印刷順設定取得手段によって取得された前記装置印刷順設定とのうち前記優先情報に応じた方に基づいて、前記印刷順序を決定することを特徴とする。 An image forming program according to the present invention is an image forming program executed by an image forming apparatus including a printing unit that prints an XPS file, and determines a printing order of pages of the XPS file by the printing unit. Determining means, print control means for causing the printing unit to perform printing in the printing order determined by the printing order determining means, and XPS for acquiring XPS printing order settings that are print settings of the XPS file relating to the printing order Priority is given to the print order setting acquisition means, the apparatus print order setting acquisition means for acquiring the apparatus print order setting which is the print setting of the image forming apparatus relating to the print order, and the XPS print order setting and the apparatus print order setting. The image forming apparatus functions as a priority information storage unit that stores priority information indicating whether to apply automatically, and the printing order determination unit includes the XPS Based on the one corresponding to the priority information among the XPS printing order setting acquired by the printing order setting acquisition unit and the apparatus printing order setting acquired by the apparatus printing order setting acquisition unit, the printing order is determined. It is characterized by determining.
この構成により、本発明の画像形成プログラムを実行する画像形成装置は、ページの印刷順序に関するXPSファイルの印刷設定と、ページの印刷順序に関する画像形成装置の印刷設定とのうち優先情報に応じた方に基づいて、印刷順序を決定するので、ページの印刷順序に関する画像形成装置の印刷設定を画像形成装置の外部に通知しなくてもXPSファイルを印刷することができる。 With this configuration, the image forming apparatus that executes the image forming program according to the present invention can select one of the XPS file print settings related to the page print order and the image forming apparatus print settings related to the page print order according to priority information. Therefore, the XPS file can be printed without notifying the outside of the image forming apparatus of the print setting of the image forming apparatus regarding the page printing order.
本発明の画像形成装置は、ページの印刷順序に関する画像形成装置自身の印刷設定を外部に通知しなくてもXPSファイルを印刷することができる。 The image forming apparatus of the present invention can print an XPS file without notifying outside of the print settings of the image forming apparatus itself regarding the page printing order.
以下、本発明の一実施の形態について、図面を用いて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
まず、本実施の形態に係る画像形成システムの構成について説明する。 First, the configuration of the image forming system according to the present embodiment will be described.
図1は、本実施の形態に係る画像形成システム10のシステム構成を示すブロック図である。 FIG. 1 is a block diagram showing a system configuration of an image forming system 10 according to the present embodiment.
図1に示すように、画像形成システム10は、本発明の画像形成装置としてのプリンタ20と、プリンタ20に印刷させる印刷データをプリンタ20に送信したりプリンタ20によって読み取られた画像データを受信したりする情報処理装置であるPC(Personal Computer)30とを備えている。プリンタ20およびPC30は、互いに通信可能な状態でLAN(Local Area Network)などのネットワーク11に接続されている。
As shown in FIG. 1, an image forming system 10 transmits a
図2は、プリンタ20の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating the configuration of the
図2に示すように、プリンタ20は、プリンタ20全体を制御する制御部21と、種々の情報を記憶する記憶部22と、用紙などの記録媒体に印刷を行う印刷部23と、PC30などの外部の装置とネットワーク11を介して通信を行うための通信インターフェース24とを備えている。
As shown in FIG. 2, the
制御部21は、例えば、CPU(Central Processing Unit)と、本発明の画像形成プログラムを含むプログラムや各種のデータを予め記憶している不揮発性のメモリであるROM(Read Only Memory)と、CPUの作業領域として用いられる揮発性のメモリであるRAM(Random Access Memory)となどから構成されているコンピュータである。CPUは、ROMに記憶されているプログラムを実行することによって制御部21を動作させる演算処理装置である。RAMは、CPUによってプログラムが実行されるときにプログラムや各種のデータを一時的に記憶するようになっている。
The
制御部21は、画像形成プログラムを実行することによって、後述するように、印刷部23によるXPSファイル22aのページの印刷順序を決定する印刷順序決定手段21aと、印刷順序決定手段21aによって決定された印刷順序で印刷部23に印刷を行わせる印刷制御手段21bと、印刷順序に関するXPSファイル22aの印刷設定であるXPS印刷順設定22bを取得するXPS印刷順設定取得手段21cと、印刷順序に関するプリンタ20の印刷設定である装置印刷順設定22cを取得する装置印刷順設定取得手段21dとして機能するようになっている。
As will be described later, the
ここで、装置印刷順設定22cについて説明する。フェイスダウン出力が行われる排紙トレイと、フェイスアップ出力が行われる排紙トレイとがプリンタ20に備わっている場合、プリンタ20は、何れの排紙トレイに優先的に出力するかを例えば利用者の指示によって設定されることができる。この設定が装置印刷順設定22cである。フェイスダウン出力が行われる排紙トレイに優先的に出力することが装置印刷順設定22cに設定されているということは、装置印刷順設定22cに正順印刷が設定されているということである。一方、フェイスアップ出力が行われる排紙トレイに優先的に出力することが装置印刷順設定22cに設定されているということは、装置印刷順設定22cに逆順印刷が設定されているということである。
Here, the apparatus
記憶部22は、例えば、RAMや、HDD(Hard Disk Drive)などによって構成されている。記憶部22は、例えば、XPSファイル22a、XPS印刷順設定22bおよび装置印刷順設定22cと、XPSファイル22aのページの順序を表すリスト22dと、XPS印刷順設定22bおよび装置印刷順設定22cの何れを優先的に適用するかを示す優先情報22eとを記憶するようになっており、本発明の優先情報記憶手段を構成している。なお、XPSファイル22a、XPS印刷順設定22bおよびリスト22dは、プリンタ20がPC30からXPSファイル22aを受信した後で記憶部22に記憶される情報であるが、装置印刷順設定22cおよび優先情報22eは、プリンタ20がPC30からXPSファイル22aを受信する前に予め記憶されておくべき情報である。
The
優先情報22eは、例えば利用者の指示によって設定されることができる。
The
印刷部23は、PC30からの印刷データの印刷ジョブを印刷する印刷デバイスである。
The
通信インターフェース24は、例えば、印刷部23によって印刷されるための印刷データをネットワーク11を介して外部のPC30から受信するようになっている。
For example, the
次に、画像形成システム10の動作について説明する。 Next, the operation of the image forming system 10 will be described.
図3は、XPSファイル22aを印刷するときのプリンタ20の動作のフローチャートである。
FIG. 3 is a flowchart of the operation of the
利用者は、PC30を操作することによってPC30上のXPSファイル22aをプリンタ20に印刷させることができる。このとき、PC30上のプリンタドライバは、XPSファイル22aをネットワーク11を介してプリンタ20に送信する。
The user can cause the
プリンタ20の制御部21は、通信インターフェース24を介してPC30からXPSファイル22aが送信されてくると、図3に示す処理を開始する。
When the
図3に示すように、制御部21は、まず、PC30から送信されてきたXPSファイル22aの全てを受信し、受信したXPSファイル22aを記憶部22に記憶させる(S101)。
As shown in FIG. 3, the
次いで、制御部21は、S101において記憶部22に記憶させたXPSファイル22aの構造を解析する(S102)。具体的には、制御部21は、記憶部22に記憶させたXPSファイル22aをZIP解凍し、XPSファイル22aのページの順序を取得する。
Next, the
図4は、制御部21によって解析されるXPSファイル22aの構造を示す図である。
FIG. 4 is a diagram showing the structure of the
XPSファイル22aは、ジョブ、ドキュメント、ページという3段階の階層で構成されている。
The
図4に示す例において、XPSファイル22aのジョブのフォルダであるJobフォルダは、Metadataフォルダと、Documentsフォルダとを有している。
In the example shown in FIG. 4, the Job folder, which is a folder for the
Jobフォルダの直下のMetadataフォルダは、ジョブの印刷設定などが記述されているファイルであるJob_PT.xmlを有している。 The Metadata folder directly under the Job folder has Job_PT.xml, which is a file describing job print settings and the like.
Documentsフォルダは、Metadataフォルダと、1つ目のドキュメントのフォルダである1フォルダと、2つ目のドキュメントのフォルダである2フォルダとを有している。Documentsフォルダは、1フォルダおよび2フォルダと同様に、3つ目以降のドキュメントのフォルダも有している。 The Documents folder includes a Metadata folder, a first folder that is a first document folder, and a second folder that is a second document folder. The Documents folder also has third and subsequent document folders, similar to the first and second folders.
Documentsフォルダの直下のMetadataフォルダは、1つ目のドキュメントの印刷設定などが記述されているファイルであるDoc1_PT.xmlと、2つ目のドキュメントの印刷設定などが記述されているファイルであるDoc2_PT.xmlとを有している。Documentsフォルダの直下のMetadataフォルダは、Doc1_PT.xml、Doc2_PT.xmlと同様に、3つ目以降のドキュメントのファイルも有している。 The Metadata folder directly under the Documents folder is Doc1_PT.xml, which is a file that describes the print settings for the first document, and Doc2_PT, which is a file that describes the print settings for the second document. xml. Like the Doc1_PT.xml and Doc2_PT.xml, the Metadata folder directly under the Documents folder also has the third and subsequent document files.
1フォルダは、Metadataフォルダと、Pagesフォルダとを有している。 One folder has a Metadata folder and a Pages folder.
1フォルダの直下のMetadataフォルダは、1つ目のページの印刷設定などが記述されているファイルであるPage1_PT.xmlと、2つ目のページの印刷設定などが記述されているファイルであるPage2_PT.xmlとを有している。1フォルダの直下のMetadataフォルダは、Page1_PT.xml、Page2_PT.xmlと同様に、3つ目以降のページのファイルも有している。 The Metadata folder directly under the first folder is Page1_PT.xml, which is a file that describes the print settings for the first page, and Page2_PT.xml, which is a file that describes the print settings for the second page. xml. The Metadata folder directly under one folder also has files for the third and subsequent pages, similar to Page1_PT.xml and Page2_PT.xml.
1フォルダの直下のPagesフォルダは、1つ目のページの印刷内容が記述されているファイルである1.fpageと、2つ目のページの印刷内容が記述されているファイルである2.fpageとを有している。1フォルダの直下のPagesフォルダは、1.fpage、2.fpageと同様に、3つ目以降のページのファイルも有している。 The Pages folder directly under the 1 folder is 1.fpage which is the file describing the print contents of the first page, and 2.fpage which is the file describing the print contents of the second page. have. The Pages folder directly under one folder also has files for the third and subsequent pages, similar to 1.fpage and 2.fpage.
以上においては、1フォルダについて説明したが、2フォルダや、3つ目以降のドキュメントのフォルダについても、1フォルダと同様である。 Although one folder has been described above, the same applies to the second folder and the third and subsequent document folders.
図3に示すように、制御部21は、S102において取得したページの順序を正順にリスト22dとして記憶部22に記憶させる(S103)。
As shown in FIG. 3, the
図5は、制御部21によってページの順序を正順に並べられたリスト22dの例を示す図である。
FIG. 5 is a diagram illustrating an example of the
図5に示す例では、XPSファイル22aのジョブには、Documents/1/、Documents/2/、Documents/3/という3つのドキュメントが含まれており、Documents/1/には、Pages/1.fpage、Pages/2.fpage、Pages/3.fpageという3つのページが含まれており、Documents/2/には、Pages/1.fpage、Pages/2.fpageという2つのページが含まれており、Documents/3/には、Pages/1.fpage、Pages/2.fpage、Pages/3.fpageという3つのページが含まれている。
In the example shown in FIG. 5, the job of the
図3に示すように、制御部21は、S102において解析したXPSファイル22aにPrintTicketが含まれているか否かを判断する(S104)。
As shown in FIG. 3, the
ここで、PrintTicketとは、XPSファイル22aの印刷設定などが記述されているファイルであり、上述したJob_PT.xml、Doc1_PT.xml、Doc2_PT.xml、Page1_PT.xml、Page2_PT.xmlなどのことである。
Here, the PrintTicket is a file in which the print settings of the
制御部21は、XPSファイル22aにPrintTicketが含まれているとS104において判断すると、そのPrintTicketにXPS印刷順設定22bが含まれているか否かを判断する(S105)。
When determining in S104 that the
ジョブのPrintTicketであるJob_PT.xmlは、ジョブの印刷順序を直接的に正順または逆順と設定することや、ジョブの出力結果である印刷物が排出される排紙トレイを指定することによってジョブの印刷順序を間接的に正順または逆順に設定することができる。Doc1_PT.xml、Doc2_PT.xmlなどのドキュメントのPrintTicketは、ドキュメントの印刷順序を直接的に正順または逆順と設定することや、ドキュメントの出力結果である印刷物が排出される排紙トレイを指定することによってドキュメントの印刷順序を間接的に正順または逆順に設定することができる。Page1_PT.xml、Page2_PT.xmlなどのページのPrintTicketは、ページの出力結果である印刷物が排出される排紙トレイを指定することによってページの印刷順序を間接的に正順または逆順に設定することができる。これらの印刷順序の設定がXPS印刷順設定22bである。 Job_PT.xml, which is the PrintTicket of the job, prints the job by setting the print order of the job directly to the normal or reverse order, and by specifying the output tray to which the printed output of the job is discharged The order can be set indirectly in the forward or reverse order. For the PrintTicket of a document such as Doc1_PT.xml or Doc2_PT.xml, set the document print order directly to the normal or reverse order, and specify the output tray to which the printed output of the document is output. The document printing order can be indirectly set in the normal or reverse order. The PrintTicket of pages such as Page1_PT.xml, Page2_PT.xml, etc. can indirectly set the printing order of pages by specifying the paper output tray to which the printed matter that is the output result of the page is discharged. it can. These print order settings are the XPS print order setting 22b.
なお、ジョブのPrintTicketの印刷順序の設定よりも、ドキュメントのPrintTicketの印刷順序の設定が優先される。また、ドキュメントのPrintTicketの印刷順序の設定よりも、ページのPrintTicketの印刷順序の設定が優先される。 Note that the setting of the PrintTicket print order of the document has priority over the setting of the PrintTicket print order of the job. Also, the setting of the print order of the PrintTicket of the page has priority over the setting of the print order of the PrintTicket of the document.
PrintTicketにXPS印刷順設定22bが含まれているとS105において制御部21が判断すると、制御部21の機能の1つであるXPS印刷順設定取得手段21cは、そのXPS印刷順設定22bを取得して記憶部22に記憶させる(S106)。
When the
次いで、制御部21の機能の1つである装置印刷順設定取得手段21dは、記憶部22に記憶されている装置印刷順設定22cを取得する(S107)。なお、装置印刷順設定取得手段21dは、XPSファイル22aにPrintTicketが含まれていないとS104において制御部21が判断したときと、PrintTicketにXPS印刷順設定22bが含まれていないとS105において制御部21が判断したときも、S107の処理を実行する。
Next, the device printing order
次いで、制御部21の機能の1つである印刷順序決定手段21aは、S106においてXPS印刷順設定取得手段21cによって取得されたXPS印刷順設定22bと、S107において装置印刷順設定取得手段21dによって取得された装置印刷順設定22cとのうち、記憶部22に記憶されている優先情報22eに応じた方に基づいて、印刷部23によるXPSファイル22aのページの印刷順序を決定する印刷順序決定処理を実行する(S108)。
Next, the printing
図6は、印刷順序決定処理のフローチャートである。 FIG. 6 is a flowchart of the printing order determination process.
図6に示すように、印刷順序決定手段21aは、XPS印刷順設定22bおよび装置印刷順設定22cのうちXPS印刷順設定22bを優先的に適用することを優先情報22eが示しているか否かを判断する(S121)。
As shown in FIG. 6, the printing
印刷順序決定手段21aは、装置印刷順設定22cを優先的に適用することを優先情報22eが示しているとS121において判断すると、装置印刷順設定22cに逆順印刷が設定されているか否かを判断する(S122)。
If the printing
印刷順序決定手段21aは、装置印刷順設定22cに逆順印刷が設定されていないとS122において判断すると、図6に示す印刷順序決定処理を終了して図3に示す処理に戻る。
If the printing
一方、印刷順序決定手段21aは、装置印刷順設定22cに逆順印刷が設定されているとS122において判断すると、S103において記憶部22に記憶されたリスト22dを逆順に変更した後(S123)、図6に示す印刷順序決定処理を終了して図3に示す処理に戻る。
On the other hand, if the printing
図7は、ページの順序を逆順に変更されたリスト22dの例を示す図である。図7に示すリスト22dは、図5に示すリスト22dにおいてページの順序が逆順に変更されたものである。
FIG. 7 is a diagram illustrating an example of the
図6に示すように、印刷順序決定手段21aは、XPS印刷順設定22bを優先的に適用することを優先情報22eが示しているとS121において判断すると、S103において記憶部22に記憶されたリスト22dをXPS印刷順設定22bに基づいて変更した後(S124)、図6に示す印刷順序決定処理を終了して図3に示す処理に戻る。
As shown in FIG. 6, when the print
図8は、ページの順序をXPS印刷順設定22bに基づいて変更されたリスト22dの例を示す図である。図8に示すリスト22dは、Doc2_PT.xmlのみに逆順印刷が設定されていた場合のリストであって、図5に示すリスト22dにおいてDocuments/2/のPages/1.fpage、Pages/2.fpageのみが逆順に変更されたものである。印刷順序決定手段21aがどのようにリスト22dを変更するかは、XPSファイル22aに含まれるPrintTicket次第である。なお、印刷順序決定手段21aは、XPSファイル22aに含まれるPrintTicketが正順印刷に設定されているとき、S103において記憶部22に記憶されたリスト22dを変更しない。
FIG. 8 is a diagram illustrating an example of a
図3に示すように、印刷順序決定手段21aがS108の印刷順序決定処理の実行を終了すると、制御部21の機能の1つである印刷制御手段21bは、印刷順序決定手段21aによって決定された印刷順序であるリスト22dに従って、Documents/1/Pages/1.fpageなどの各ページのファイルにアクセスしてその描画データからビットマップを作成し、そのビットマップを印刷部23に印刷させる(S109)。
As shown in FIG. 3, when the printing
以上に説明したように、プリンタ20は、ページの印刷順序に関するXPSファイル22aの印刷設定であるXPS印刷順設定22bと、ページの印刷順序に関するプリンタ20自身の印刷設定である装置印刷順設定22cとのうち優先情報22eに応じた方に基づいて、印刷部23によるXPSファイル22aのページの印刷順序を決定するので、装置印刷順設定22cを外部に通知しなくてもXPSファイル22aを印刷することができる。
As described above, the
XPSファイル22aは、仕様上、各ページのファイルにランダムアクセスが可能である。したがって、本実施の形態に係るプリンタ20は、XPSファイル22aを正順ではなく印刷する場合であっても、特許文献1に記載された方法のようにXPSファイル22a自体を再構築する必要はない。
The
特許文献1に記載された方法においては、プリンタは、外部の情報処理装置のプリンタドライバからXPSファイルのページのファイルが送られてくる度に、ページのファイルを印刷するようになっているので、プリンタドライバから送られてくるページの順序が何らかの原因によって誤った順序になってしまったとしても、誤った順序で印刷することになる。一方、本実施の形態に係るプリンタ20は、プリンタ20自身でページの印刷順序を決定し、プリンタ20自身でXPSファイル22aから各ページのファイルを取り出すので、誤った順序で印刷することを防止することができる。
In the method described in
また、特許文献1に記載された方法においては、プリンタによって逆順印刷されたXPSファイルは、ページが逆順になるように再構築されているので、プリンタから取得されてXPS Viewerによって利用者に確認される場合、ページが逆順になっており電子文書として欠陥がある。一方、本実施の形態に係るプリンタ20によって逆順印刷されたXPSファイル22aは、XPSファイル22a自体が再構築される必要がないので、プリンタ20から取得されてXPS Viewerによって利用者に確認される場合であっても、ページが正順になっており電子文書として問題がない。
In the method described in
なお、本実施の形態においては、PC30のプリンタドライバからネットワーク11を介してプリンタ20にXPSファイルの印刷を指示しているが、プリンタ20とPC30とがUSB(Universal Serial Bus)ケーブルなどによってローカルに接続されている場合も同様の作用効果を得ることができる。更に、USBメモリなどの記憶装置をプリンタ20に直に接続可能にし、記憶装置に記憶されているXPSファイルをプリンタ20で直接印刷する場合も同様の作用効果を得ることができる。
In this embodiment, the printer driver of the
また、本実施の形態においては、画像形成装置としてプリンタについて説明しているが、XPSファイルを印刷することができる画像形成装置であれば、複合機など、プリンタ以外の画像形成装置であっても良い。 In this embodiment, a printer is described as an image forming apparatus. However, an image forming apparatus other than a printer, such as a multifunction peripheral, can be used as long as it is an image forming apparatus capable of printing an XPS file. good.
20 プリンタ(画像形成装置)
21a 印刷順序決定手段
21b 印刷制御手段
21c XPS印刷順設定取得手段
21d 装置印刷順設定取得手段
22 記憶部(優先情報記憶手段)
22a XPSファイル
22b XPS印刷順設定
22c 装置印刷順設定
22e 優先情報
23 印刷部
20 Printer (image forming device)
21a Printing order determining means 21b Printing control means 21c XPS printing order
Claims (2)
前記印刷部による前記XPSファイルのページの印刷順序を決定する印刷順序決定手段と、前記印刷順序決定手段によって決定された前記印刷順序で前記印刷部に印刷を行わせる印刷制御手段と、前記印刷順序に関する前記XPSファイルの印刷設定であるXPS印刷順設定を取得するXPS印刷順設定取得手段と、前記印刷順序に関する前記画像形成装置の印刷設定である装置印刷順設定を取得する装置印刷順設定取得手段と、前記XPS印刷順設定および前記装置印刷順設定の何れを優先的に適用するかを示す優先情報を記憶する優先情報記憶手段とを備えており、
前記印刷順序決定手段は、前記XPS印刷順設定取得手段によって取得された前記XPS印刷順設定と、前記装置印刷順設定取得手段によって取得された前記装置印刷順設定とのうち前記優先情報に応じた方に基づいて、前記印刷順序を決定することを特徴とする画像形成装置。 An image forming apparatus having a printing unit for printing an XPS file,
A printing order determining unit that determines a printing order of pages of the XPS file by the printing unit; a printing control unit that causes the printing unit to perform printing in the printing order determined by the printing order determining unit; and the printing order An XPS print order setting acquisition means for acquiring an XPS print order setting that is a print setting of the XPS file, and an apparatus print order setting acquisition means for acquiring an apparatus print order setting that is a print setting of the image forming apparatus regarding the print order And priority information storage means for storing priority information indicating which of the XPS printing order setting and the apparatus printing order setting is preferentially applied,
The printing order determination unit corresponds to the priority information among the XPS printing order setting acquired by the XPS printing order setting acquisition unit and the apparatus printing order setting acquired by the apparatus printing order setting acquisition unit. An image forming apparatus that determines the printing order based on the method.
前記印刷部による前記XPSファイルのページの印刷順序を決定する印刷順序決定手段と、前記印刷順序決定手段によって決定された前記印刷順序で前記印刷部に印刷を行わせる印刷制御手段と、前記印刷順序に関する前記XPSファイルの印刷設定であるXPS印刷順設定を取得するXPS印刷順設定取得手段と、前記印刷順序に関する前記画像形成装置の印刷設定である装置印刷順設定を取得する装置印刷順設定取得手段と、前記XPS印刷順設定および前記装置印刷順設定の何れを優先的に適用するかを示す優先情報を記憶する優先情報記憶手段として前記画像形成装置を機能させ、
前記印刷順序決定手段は、前記XPS印刷順設定取得手段によって取得された前記XPS印刷順設定と、前記装置印刷順設定取得手段によって取得された前記装置印刷順設定とのうち前記優先情報に応じた方に基づいて、前記印刷順序を決定することを特徴とする画像形成プログラム。 An image forming program executed by an image forming apparatus including a printing unit for printing an XPS file,
A printing order determining unit that determines a printing order of pages of the XPS file by the printing unit; a printing control unit that causes the printing unit to perform printing in the printing order determined by the printing order determining unit; and the printing order An XPS print order setting acquisition means for acquiring an XPS print order setting that is a print setting of the XPS file, and an apparatus print order setting acquisition means for acquiring an apparatus print order setting that is a print setting of the image forming apparatus regarding the print order And causing the image forming apparatus to function as priority information storage means for storing priority information indicating which of the XPS printing order setting and the apparatus printing order setting is preferentially applied,
The printing order determination unit corresponds to the priority information among the XPS printing order setting acquired by the XPS printing order setting acquisition unit and the apparatus printing order setting acquired by the apparatus printing order setting acquisition unit. An image forming program for determining the printing order based on the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010069947A JP2011203957A (en) | 2010-03-25 | 2010-03-25 | Image forming apparatus and image forming program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010069947A JP2011203957A (en) | 2010-03-25 | 2010-03-25 | Image forming apparatus and image forming program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011203957A true JP2011203957A (en) | 2011-10-13 |
Family
ID=44880542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010069947A Pending JP2011203957A (en) | 2010-03-25 | 2010-03-25 | Image forming apparatus and image forming program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011203957A (en) |
-
2010
- 2010-03-25 JP JP2010069947A patent/JP2011203957A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5288837B2 (en) | Print job control apparatus, print job control method, print job control program | |
US8913269B2 (en) | Method for printing PDF files containing corrupted pages | |
US20150153971A1 (en) | Information processing apparatus, information processing method, and recording medium | |
US9645770B2 (en) | Information processing system, information processing apparatus, information processing method, and storage medium storing program | |
US9507544B2 (en) | Information processing apparatus, recording medium, and control method to process print data using filters | |
JP6115515B2 (en) | Printer driver and prohibition processing method of printer driver | |
US20100309519A1 (en) | Printer driver program product and information processing apparatus | |
JP2007257592A (en) | Printing system, information processor, and printer | |
JP5919783B2 (en) | Print control program, print control apparatus, print control method, and printing system | |
JP2012018631A (en) | Display device, display method, computer program and recording medium | |
JP2015215653A (en) | Printer driver and prohibition processing control method of printer driver | |
US20120154860A1 (en) | Information processing apparatus, printing control method, and storage medium | |
US10310788B2 (en) | Control method for generating data used for printing and information processing apparatus | |
JP2012058795A (en) | Information processor, document image processor, electronic document processing method, and program | |
JP2011134285A (en) | Printing processing apparatus, printing processing program, and printing processing method | |
JP5027676B2 (en) | Print setting program and print setting method | |
US20110242582A1 (en) | Printer control system, printing method, and storage medium | |
JP2011203957A (en) | Image forming apparatus and image forming program | |
JP4661832B2 (en) | Print control device and printer driver program | |
JP6007015B2 (en) | Image forming apparatus and image forming program | |
JP5723813B2 (en) | Data processing program and information processing apparatus | |
JP2008027217A (en) | Printing system with information processor and printing apparatus | |
JP2010188598A (en) | Printing apparatus, driver program and printing system | |
JP2010231621A (en) | Printing control program, printing data output device, and printing system | |
JP2006130816A (en) | Image forming device |