JP2008276745A - Printer controller, and method of printing print document - Google Patents

Printer controller, and method of printing print document Download PDF

Info

Publication number
JP2008276745A
JP2008276745A JP2008055837A JP2008055837A JP2008276745A JP 2008276745 A JP2008276745 A JP 2008276745A JP 2008055837 A JP2008055837 A JP 2008055837A JP 2008055837 A JP2008055837 A JP 2008055837A JP 2008276745 A JP2008276745 A JP 2008276745A
Authority
JP
Japan
Prior art keywords
print
xps
document
printable area
reduced
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.)
Granted
Application number
JP2008055837A
Other languages
Japanese (ja)
Other versions
JP4367561B2 (en
Inventor
Katsumi Tayama
勝美 太山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008055837A priority Critical patent/JP4367561B2/en
Priority to US12/080,282 priority patent/US8233162B2/en
Publication of JP2008276745A publication Critical patent/JP2008276745A/en
Application granted granted Critical
Publication of JP4367561B2 publication Critical patent/JP4367561B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To print information to be printed, within a printable area, without bulging out the information to be printed from the printable area, when carrying out printing based on a print request issued by a GDI application, using an XPS driver. <P>SOLUTION: This printer controller/method has a step (S11) for receiving an XPS document, a step (S12) for analyzing the received XPS document, a step (S13) for determining whether an print instruction to an outside of the printable area in a print paper sheet is included in the XPS document or not, based on a result of the analysis, a step (S16) for composing a reduced print image with a print image composed according to the XPS document size-reduced at a scale factor of bringing the whole area of the print paper sheet within the printable area, when the print instruction to the outside of the printable area is included in the XPS document, as a result of the determination, and a step (S17) for outputting a data of the composed reduced print image to the printer to execute the printing. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、XPSドライバを用いた印刷技術に関し、特にGDIアプリからの印刷要求を適切に印刷する技術に関する。   The present invention relates to a printing technique using an XPS driver, and more particularly to a technique for appropriately printing a printing request from a GDI application.

マイクロソフト社のWindowsXP(商標または登録商標)では、プリンタやディスプレイを制御するためのGDI(Graphic Device Interface)という仕様がある。   Microsoft Windows XP (trademark or registered trademark) has a specification called GDI (Graphic Device Interface) for controlling a printer or a display.

一方、マイクロソフト社のWindows Vista(商標または登録商標)では、XPS(XML Paper Specification)という仕様が採用されている。   On the other hand, Microsoft Windows Vista (trademark or registered trademark) employs a specification called XPS (XML Paper Specification).

ところで、特許文献1には、(1)Win32アプリケーションからGDIドライバへの印刷処理フロー、(2)WinFxアプリケーションからXPSプリンタドライバへの印刷処理フロー、(3)Win32アプリケーションからXPSプリンタドライバへの印刷処理フロー、(4)WinFxアプリケーションからGDIドライバへの印刷処理フローの4つの印刷処理フローが記載されている。なお、この特許文献1は、本願の基礎出願の出願日(2007年4月2日)時点では未公開である。
特開2007−249854号公報
By the way, Patent Document 1 describes (1) a printing process flow from the Win32 application to the GDI driver, (2) a printing process flow from the WinFx application to the XPS printer driver, and (3) a printing process from the Win32 application to the XPS printer driver. Four print processing flows are described: a flow, and (4) a print processing flow from the WinFx application to the GDI driver. In addition, this patent document 1 is unpublished as of the filing date (April 2, 2007) of the basic application of the present application.
JP 2007-249854 A

ところで、GDIによる出力処理を行うGDIアプリケーションは、印刷用紙の印刷可能領域R2(図2参照)を把握するために、GDIに対応したプリンタドライバ(以下、GDIドライバ)に対してGetDeviceCaps()関数を発行し、印刷可能領域R2のサイズを取得する。   By the way, a GDI application that performs GDI output processing uses a GetDeviceCaps () function for a GDI-compatible printer driver (hereinafter referred to as a GDI driver) in order to grasp the printable area R2 (see FIG. 2) of printing paper. Issued and obtains the size of the printable area R2.

これに対して、XPS仕様のプリンタドライバであるXPSドライバは、GetDeviceCaps()関数に対しては、印刷用紙領域R1のサイズを返す仕様になっている。つまり、このことを分かっていない従来のGDIアプリケーションはGetDeviceCaps()関数を発行し、XPSドライバからサイズを受け取ると、図2の印刷用紙全体の領域R1に印刷が可能であると理解する(現実の印刷可能領域はR2)。   On the other hand, the XPS driver, which is an XPS specification printer driver, has a specification that returns the size of the printing paper region R1 to the GetDeviceCaps () function. In other words, a conventional GDI application that does not know this issues a GetDeviceCaps () function and, when receiving a size from the XPS driver, understands that printing is possible in the region R1 of the entire printing paper in FIG. The printable area is R2).

このため、GDIアプリケーションはXPSドライバに対して、現実の印刷可能領域R2からはみ出した領域に印刷画像を割り当てた印刷要求を発行することになる。これをXPSドライバがそのままプリンタに印刷させれば、マージンMの領域(印刷用紙領域R1と印刷可能領域R2との差の領域)に割り当てられた画像が印刷されない。   Therefore, the GDI application issues a print request in which a print image is assigned to an area that protrudes from the actual printable area R2 to the XPS driver. If the XPS driver prints this as it is, the image assigned to the margin M area (the difference area between the print paper area R1 and the printable area R2) is not printed.

そこで、本発明の目的は、XPSドライバを用いてGDIアプリケーションが発行する印刷要求に基づく印刷を行うときに、印刷すべき情報が印刷可能領域からはみ出すことなく、印刷可能領域内に印刷されるようにすることである。   Accordingly, an object of the present invention is to print information in a printable area without printing out of the printable area when printing based on a print request issued by a GDI application using an XPS driver. Is to do.

本発明の一実施態様に従う印刷制御装置は、XPS(XML Paper Specification)規格に基づいてプリンタに印刷を実行させるXPSドライバを備えた印刷制御装置である。前記XPSドライバは、印刷文書を受け付ける手段と、前記受け付けた印刷文書を解析する手段と、前記解析の結果に基づいて、前記印刷文書に印刷用紙の印刷可能領域外への印刷指示が含まれているか否かを判定する手段と、前記判定の結果、前記印刷文書に前記印刷可能領域外への印刷指示が含まれているときは、前記印刷文書に従って合成される印刷イメージを、前記印刷用紙の全領域が前記印刷可能領域内に収まるような倍率で縮小した縮小印刷イメージを合成する手段と、前記合成された縮小印刷イメージのデータを出力し、前記プリンタに印刷を実行させる手段と、を備える印刷制御装置。   A print control apparatus according to an embodiment of the present invention is a print control apparatus including an XPS driver that causes a printer to execute printing based on an XPS (XML Paper Specification) standard. The XPS driver includes a means for receiving a print document, a means for analyzing the received print document, and a print instruction for printing the print paper outside the printable area based on the result of the analysis. And means for determining whether or not the print document includes a print instruction outside the printable area as a result of the determination, the print image synthesized according to the print document is displayed on the print paper. Means for synthesizing a reduced print image reduced at a magnification such that the entire area fits in the printable area; and means for outputting data of the synthesized reduced print image and causing the printer to execute printing. Print control device.

好適な実施形態では、GDI(Graphic Device Interface)を用いて印刷要求を発行するGDIアプリケーションと、前記GDIアプリケーションが発行した印刷要求を前記印刷文書に変換する手段と、をさらに備えてもよい。   In a preferred embodiment, it may further comprise a GDI application that issues a print request using GDI (Graphic Device Interface), and means for converting the print request issued by the GDI application into the print document.

好適な実施形態では、前記印刷文書の発行元が前記XPS規格に基づいているか否かを判断する手段をさらに備え、前記発行元が前記XPS規格に基づいていると判断した場合には、前記判定と縮小印刷イメージの合成を行わずに印刷を行うようにしてもよい。   In a preferred embodiment, the apparatus further comprises means for determining whether or not an issuer of the printed document is based on the XPS standard, and when determining that the issuer is based on the XPS standard, the determination Alternatively, printing may be performed without combining the reduced print image.

以下、本発明の一実施形態に係る印刷システムについて、図面を参照して説明する。   Hereinafter, a printing system according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る印刷システムの構成図を示す。本システムは、同図に示すように、印刷制御装置1と、プリンタ3とを備える。   FIG. 1 is a configuration diagram of a printing system according to an embodiment of the present invention. As shown in the figure, the system includes a print control apparatus 1 and a printer 3.

印刷制御装置1は、例えば汎用的なコンピュータシステムにより構成され、以下に説明する印刷制御装置1内の個々の構成要素または機能は、例えば、コンピュータプログラムを実行することにより実現される。   The print control apparatus 1 is configured by, for example, a general-purpose computer system, and individual components or functions in the print control apparatus 1 described below are realized by, for example, executing a computer program.

印刷制御装置1は、XPSドライバ10と、XPSアプリケーション(以下、XPSアプリ)50と、GDIアプリケーション(以下、GDIアプリ)60と、XPSコンバータ70とを備える。   The print control apparatus 1 includes an XPS driver 10, an XPS application (hereinafter referred to as XPS application) 50, a GDI application (hereinafter referred to as GDI application) 60, and an XPS converter 70.

XPSアプリ50は、XMLで記述されたXPS文書を生成して出力するアプリケーションである。例えば、XPSドライバ10に対して印刷要求を送るときは、印刷すべき内容をXPS文書にして出力する。   The XPS application 50 is an application that generates and outputs an XPS document described in XML. For example, when a print request is sent to the XPS driver 10, the content to be printed is output as an XPS document.

GDIアプリ60は、従来のGDIによる印刷要求を出力する。すなわち、GDIアプリ60は、GetDeviceCaps()関数で取得したエリア内に印刷する画像を割り当てて印刷要求を生成する。   The GDI application 60 outputs a conventional GDI print request. That is, the GDI application 60 allocates an image to be printed in the area acquired by the GetDeviceCaps () function and generates a print request.

XPSコンバータ70は、GDIアプリケーション60がGDIを用いて出力した印刷要求を、XPS文書に変換する。   The XPS converter 70 converts the print request output by the GDI application 60 using GDI into an XPS document.

XPSドライバ10は、XPSアプリ50またはGDIアプリ60からGetDeviceCaps()関数の呼出を受けると、印刷用紙のサイズを返す。また、XPSドライバ10は、XPS文書を受け付け、これに含まれているXML文を解析するXML解析部11と、XPS文書に従って印刷イメージに展開する印刷イメージ合成部13と、印刷可能領域判定部15とを備える。   When the XPS driver 10 receives a call to the GetDeviceCaps () function from the XPS application 50 or the GDI application 60, the XPS driver 10 returns the size of the printing paper. The XPS driver 10 also receives an XPS document and analyzes an XML sentence included in the XPS document, a print image composition unit 13 that develops a print image according to the XPS document, and a printable area determination unit 15. With.

XML解析部11は、XPSアプリ50が作成したXPS文書またはGDIアプリ60の出力をXPSコンバータ70が変換したXPS文書を受け付ける。そして、XML解析部11は、受け付けたXPS文書からXML文を読み出して、XMLの解析を行う。例えば、XPS文書には、XML文によって印刷用紙サイズ、複数の描画エレメントの内容及びその位置座標などが指定されている。XML解析部11は、各描画エレメントについて、XML文を解釈する。なお、描画エレメントとは、例えば、文字、画像あるいは線画などの印刷すべきオブジェクトを指す。   The XML analysis unit 11 receives an XPS document created by the XPS application 50 or an XPS document obtained by converting the output of the GDI application 60 by the XPS converter 70. Then, the XML analysis unit 11 reads an XML sentence from the received XPS document and analyzes the XML. For example, in the XPS document, the print paper size, the contents of a plurality of drawing elements, their position coordinates, and the like are specified by an XML sentence. The XML analysis unit 11 interprets an XML sentence for each drawing element. The drawing element refers to an object to be printed such as a character, an image, or a line drawing.

印刷可能領域判定部15は、XPS文書に記述されている各描画エレメントが、プリンタが印刷可能な領域に収まっているか否かを判定する。   The printable area determination unit 15 determines whether each drawing element described in the XPS document is within an area that can be printed by the printer.

図2は、印刷用紙領域及び印刷可能領域について示す。   FIG. 2 shows the print paper area and the printable area.

印刷用紙のサイズに応じて、印刷用紙全体を示す印刷用紙領域R1が定まる。また、それぞれの印刷用紙サイズごとに、プリンタが印刷できないマージンMが存在し、マージンMの内側の領域が印刷可能領域R2である。例えば、図中のOを原点としたとき、印刷可能領域R2はA,BのX−Y座標で特定される。   A printing paper region R1 indicating the entire printing paper is determined according to the size of the printing paper. Further, for each print paper size, there is a margin M that cannot be printed by the printer, and the area inside the margin M is the printable area R2. For example, when O in the drawing is the origin, the printable region R2 is specified by the XY coordinates of A and B.

印刷可能領域判定部15は、XML解析部11の解析結果に従って、印刷可能領域R2からはみ出している描画エレメントの有無を判定する。例えば、この判定は、描画エレメントが割り当てられている位置の座標が、印刷可能領域R2の範囲であるA,BのX−Y座標の範囲内であるか否かにより行う。   The printable area determination unit 15 determines the presence / absence of a drawing element protruding from the printable area R <b> 2 according to the analysis result of the XML analysis unit 11. For example, this determination is made based on whether or not the coordinates of the position to which the drawing element is assigned are within the range of the XY coordinates of A and B that are the range of the printable region R2.

印刷イメージ合成部13は、XML解析部11の解析結果に従って描画エレメントを展開して、印刷すべき印刷イメージを合成する。例えば、印刷イメージ合成部13は、XML解析部11によって解析された各描画エレメントの描画位置に、文字、画像あるいは線画などのそれぞれの描画エレメントを割り当てて、印刷イメージを合成する。   The print image synthesis unit 13 develops the drawing elements according to the analysis result of the XML analysis unit 11 and synthesizes the print image to be printed. For example, the print image synthesis unit 13 assigns each drawing element such as a character, an image, or a line drawing to the drawing position of each drawing element analyzed by the XML analysis unit 11 and synthesizes the print image.

また、印刷可能領域判定部15によって、印刷可能領域R2からはみ出す描画エレメントが存在すると判定されたときは、印刷イメージ合成部13は縮小された印刷イメージを合成する。例えば、印刷イメージ合成部13は、XPS文書のXML文をそのまま展開した印刷イメージを合成した後、所定の縮小倍率でこの印刷イメージ全体を縮小してもよいし、XPS文書のXML文を展開するときに、縮小倍率考慮して縮小印刷イメージを合成してもよい。なお、この縮小倍率は、たとえば、印刷用紙領域R1の範囲がすべて印刷可能領域R2に入るように縮小する倍率である。この縮小倍率は、用紙サイズごとに定まり、印刷可能領域判定部15が予め保持している。   When the printable area determination unit 15 determines that there is a drawing element that protrudes from the printable area R2, the print image combining unit 13 combines the reduced print images. For example, the print image composition unit 13 may compose the print image in which the XML sentence of the XPS document is developed as it is, and then reduce the entire print image at a predetermined reduction ratio, or develop the XML sentence of the XPS document. Sometimes, the reduced print image may be synthesized in consideration of the reduction magnification. Note that this reduction magnification is, for example, a magnification for reducing the print paper region R1 so that the entire range of the print paper region R1 falls within the printable region R2. This reduction ratio is determined for each paper size, and is stored in advance by the printable area determination unit 15.

図3は、上述したような構成を備える印刷システムで、印刷を実行するときの処理手順を示すフローチャートである。   FIG. 3 is a flowchart showing a processing procedure when printing is performed in the printing system having the above-described configuration.

まず、XML解析部11がXPS文書を受け付ける(S11)。そして、XML解析部11は、受け付けたXPS文書から一つの描画エレメントについてのXML文を取得して、そのXML文におけるこの描画エレメントの描画位置を解析する(S12)。印刷可能領域判定部15は、XML解析部11の解析結果に基づいて、この描画エレメントの描画開始位置及び終了位置の座標が、いずれも印刷可能領域R2内であるか否かを判定する(S13)。   First, the XML analysis unit 11 receives an XPS document (S11). Then, the XML analysis unit 11 acquires an XML sentence for one drawing element from the received XPS document, and analyzes the drawing position of this drawing element in the XML sentence (S12). The printable area determination unit 15 determines whether the coordinates of the drawing start position and the end position of the drawing element are both within the printable area R2 based on the analysis result of the XML analysis unit 11 (S13). ).

この描画エレメントが印刷可能領域R2外に出ていれば(S13:No)、印刷イメージ合成部13は、XPS文書の全描画エレメントのXML文を解釈して、これに従う印刷イメージを縮小した縮小印刷イメージを合成する(S16)。   If the drawing element is outside the printable area R2 (S13: No), the print image composition unit 13 interprets the XML text of all the drawing elements of the XPS document and reduces the print image according to the XML statement. The images are synthesized (S16).

一方、この描画エレメントが印刷可能領域R2内であれば(S13:Yes)、この描画エレメントがXPS文書に記述された描画エレメントのなかの、最後の描画エレメントであるか否かを判定する(S14)。そして、最後の描画エレメントでない間は(S14:No)、すべての描画エレメントについてステップS12以降の処理を繰り返す。   On the other hand, if this drawing element is in the printable area R2 (S13: Yes), it is determined whether or not this drawing element is the last drawing element among the drawing elements described in the XPS document (S14). ). Then, while it is not the last drawing element (S14: No), the processing from step S12 onward is repeated for all the drawing elements.

すべての描画エレメントが印刷可能領域R2内であれば(S14:Yes)、印刷イメージ合成部13は、XPS文書の全描画エレメントのXML文を解釈して、これにそのまま従う印刷イメージを合成する(S15)。   If all the drawing elements are within the printable area R2 (S14: Yes), the print image composition unit 13 interprets the XML statements of all the drawing elements of the XPS document and composes a print image according to the interpretation. S15).

そして、印刷イメージ合成部13が合成した印刷イメージをプリンタ3へ出力して印刷を実行する(S17)。   Then, the print image synthesized by the print image synthesis unit 13 is output to the printer 3 to execute printing (S17).

なお、XPSドライバ10は、受け付けたXPS文書がXPSアプリ50から送られてきたものか、XPSコンバータ70から送られてきたものかを判別するようにしてもよい。これは、例えば、DrvDocumentEvent()関数の“hdc”パラメータによって判断することができる。すなわち、“hdc”パラメータが“INVALID_HANDLE_VALUE”であるか否かによって、XPS文書がXPSアプリ50から直接送信されたものであるか、あるいは、XPSコンバータ70を介して送信されたものであるかを判定することができる。従って、XPSドライバ10が印刷文書の発行元がXPSアプリ50であると判定したときは、XPSドライバ10は、受け付けたXPS文書を処理するときに、ステップS12〜S14の判定を行うことなく、受信したXPS文書のXML文を解釈して、縮小を行わずに、そのままのサイズの印刷イメージを合成するようにしてもよい。   The XPS driver 10 may determine whether the received XPS document is sent from the XPS application 50 or sent from the XPS converter 70. This can be determined, for example, by the “hdc” parameter of the DrvDocumentEvent () function. That is, it is determined whether the XPS document is transmitted directly from the XPS application 50 or transmitted through the XPS converter 70 depending on whether the “hdc” parameter is “INVALID_HANDLE_VALUE”. can do. Therefore, when the XPS driver 10 determines that the print document is issued by the XPS application 50, the XPS driver 10 receives the XPS document without performing the determination in steps S12 to S14 when processing the received XPS document. It is also possible to interpret the XML sentence of the XPS document, and synthesize a print image of the same size without reducing it.

次に、図4に示す本実施形態での印刷例について説明する。   Next, an example of printing in this embodiment shown in FIG. 4 will be described.

GDIアプリ60からの出力によってXPSコンバータ70が生成したXPS文書には、例えば、図4A左に示すように、印刷可能領域R2の外側に印刷すべき文字などの情報がはみ出している場合がある。このとき、上述した実施形態によれば、印刷用紙領域R1を印刷可能領域R2に縮小した縮小印刷イメージ(図4A右)が合成される。その結果、すべての描画エレメントが印刷可能領域R2内に収まって印刷される。   In the XPS document generated by the XPS converter 70 by the output from the GDI application 60, for example, as shown on the left in FIG. 4A, information such as characters to be printed outside the printable area R2 may protrude. At this time, according to the above-described embodiment, a reduced print image (right of FIG. 4A) in which the print paper region R1 is reduced to the printable region R2 is synthesized. As a result, all the drawing elements are printed within the printable area R2.

一方で、図4B左に示すXPSアプリ50が生成したXPS文書、及びGDIアプリ60で適切なマージン設定がされた印刷要求に基づいてXPSコンバータ70が生成したXPS文書のように、印刷可能領域R2の外側に印刷すべき文字などの情報がはみ出していない場合には、図4B右に示すように、そのまま縮小せずに印刷が行われる。   On the other hand, like the XPS document generated by the XPS application 50 shown on the left in FIG. 4B and the XPS document generated by the XPS converter 70 based on the print request for which an appropriate margin is set by the GDI application 60, the printable area R2 If the information such as characters to be printed does not protrude outside, printing is performed without reduction as it is, as shown on the right in FIG. 4B.

この結果、本実施形態に係る印刷システムでは、従来のGDIアプリからの印刷要求であっても、適切に印刷を行うことができる。   As a result, the printing system according to the present embodiment can appropriately print even a print request from a conventional GDI application.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。   The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.

本発明の一実施形態に係る印刷システムの構成図を示す。1 shows a configuration diagram of a printing system according to an embodiment of the present invention. FIG. 印刷用紙領域及び印刷可能領域について示す。A print paper area and a printable area will be described. 印刷を実行するときの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence when performing printing. 本実施形態での印刷例を示す。The example of printing in this embodiment is shown.

符号の説明Explanation of symbols

1 印刷制御装置
3 プリンタ
10 XPSドライバ
11 XML解析部
13 印刷イメージ合成部
15 印刷可能領域判定部
50 XPSアプリ
60 GDIアプリ
70 XPSコンバータ
M マージン
R1 印刷用紙領域
R2 印刷可能領域
DESCRIPTION OF SYMBOLS 1 Print control apparatus 3 Printer 10 XPS driver 11 XML analysis part 13 Print image composition part 15 Printable area determination part 50 XPS application 60 GDI application 70 XPS converter M Margin R1 Print paper area R2 Printable area

Claims (5)

XPS(XML Paper Specification)規格に基づいてプリンタに印刷を実行させるXPSドライバを備えた印刷制御装置であって、
前記XPSドライバは、
印刷文書を受け付ける手段と、
前記受け付けた印刷文書を解析する手段と、
前記解析の結果に基づいて、前記印刷文書に印刷用紙の印刷可能領域外への印刷指示が含まれているか否かを判定する手段と、
前記判定の結果、前記印刷文書に前記印刷可能領域外への印刷指示が含まれているときは、前記印刷文書に従って合成される印刷イメージを、前記印刷用紙の全領域が前記印刷可能領域内に収まるような倍率で縮小した縮小印刷イメージを合成する手段と、
前記合成された縮小印刷イメージのデータを出力し、前記プリンタに印刷を実行させる手段と、を備える印刷制御装置。
A print control apparatus including an XPS driver that causes a printer to execute printing based on an XPS (XML Paper Specification) standard,
The XPS driver
Means for accepting printed documents;
Means for analyzing the received print document;
Means for determining whether the print document includes a print instruction outside the printable area of the print paper based on the result of the analysis;
As a result of the determination, when the print document includes a print instruction outside the printable area, a print image to be synthesized according to the print document is displayed so that the entire area of the print paper is within the printable area. Means for synthesizing a reduced print image reduced at such a magnification that can be accommodated;
Means for outputting the combined reduced print image data and causing the printer to execute printing.
GDI(Graphic Device Interface)を用いて印刷要求を発行するGDIアプリケーションと、
前記GDIアプリケーションが発行した印刷要求を前記印刷文書に変換する手段と、をさらに備える請求項1記載の印刷制御装置。
A GDI application that issues a print request using GDI (Graphic Device Interface);
The print control apparatus according to claim 1, further comprising: a unit that converts a print request issued by the GDI application into the print document.
前記印刷文書の発行元が前記XPS規格に基づいているか否かを判断する手段をさらに備え、
前記発行元が前記XPS規格に基づいていると判断した場合には、前記判定と縮小印刷イメージの合成を行わずに印刷を行う請求項1記載の印刷制御装置。
Means for determining whether the publisher of the print document is based on the XPS standard;
The print control apparatus according to claim 1, wherein if it is determined that the publisher is based on the XPS standard, printing is performed without combining the determination and the reduced print image.
XPS(XML Paper Specification)文書に基づいてプリンタに印刷を実行させるXPSドライバが行う方法であって、
印刷文書を受け付けるステップと、
前記受け付けた印刷文書を解析するステップと、
前記解析の結果に基づいて、前記印刷文書に印刷用紙の印刷可能領域外への印刷指示が含まれているか否かを判定するステップと、
前記判定の結果、前記印刷文書に前記印刷可能領域外への印刷指示が含まれているときは、前記印刷文書に従って合成される印刷イメージを、前記印刷用紙の全領域が前記印刷可能領域内に収まるような倍率で縮小した縮小印刷イメージを合成するステップと、
前記合成された縮小印刷イメージのデータを前記プリンタに対して出力して印刷を実行させるステップと、を有する印刷文書の印刷方法。
An XPS driver that causes a printer to execute printing based on an XPS (XML Paper Specification) document,
Receiving a printed document;
Analyzing the received print document;
Determining whether the print document includes a print instruction outside the printable area of the print paper based on the result of the analysis; and
As a result of the determination, when the print document includes a print instruction outside the printable area, a print image to be synthesized according to the print document is displayed so that the entire area of the print paper is within the printable area. Synthesizing a reduced print image reduced at a magnification that can be accommodated;
Outputting the combined reduced print image data to the printer to execute printing.
XPS(XML Paper Specification)文書に基づいてプリンタに印刷を実行させるXPSドライバのためのコンピュータプログラムであって、
印刷文書を受け付けるステップと、
前記受け付けた印刷文書を解析するステップと、
前記解析の結果に基づいて、前記印刷文書に印刷用紙の印刷可能領域外への印刷指示が含まれているか否かを判定するステップと、
前記判定の結果、前記印刷文書に前記印刷可能領域外への印刷指示が含まれているときは、前記印刷文書に従って合成される印刷イメージを、前記印刷用紙の全領域が前記印刷可能領域内に収まるような倍率で縮小した縮小印刷イメージを合成するステップと、
前記合成された縮小印刷イメージのデータを前記プリンタに対して出力して印刷を実行させるステップと、をコンピュータに実行させるためのコンピュータプログラム。
A computer program for an XPS driver that causes a printer to execute printing based on an XPS (XML Paper Specification) document,
Receiving a printed document;
Analyzing the received print document;
Determining whether the print document includes a print instruction outside the printable area of the print paper based on the result of the analysis; and
As a result of the determination, when the print document includes a print instruction outside the printable area, a print image to be synthesized according to the print document is displayed so that the entire area of the print paper is within the printable area. Synthesizing a reduced print image reduced at a magnification that can be accommodated;
A computer program for causing a computer to execute the printing by outputting the combined reduced print image data to the printer.
JP2008055837A 2007-04-02 2008-03-06 Print control apparatus and print document printing method Expired - Fee Related JP4367561B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008055837A JP4367561B2 (en) 2007-04-02 2008-03-06 Print control apparatus and print document printing method
US12/080,282 US8233162B2 (en) 2007-04-02 2008-04-02 Printer controller and method of printing print document which scale down a print image so that an entire area of a print sheet fits into a printable area

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007096178 2007-04-02
JP2008055837A JP4367561B2 (en) 2007-04-02 2008-03-06 Print control apparatus and print document printing method

Publications (2)

Publication Number Publication Date
JP2008276745A true JP2008276745A (en) 2008-11-13
JP4367561B2 JP4367561B2 (en) 2009-11-18

Family

ID=40070696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008055837A Expired - Fee Related JP4367561B2 (en) 2007-04-02 2008-03-06 Print control apparatus and print document printing method

Country Status (1)

Country Link
JP (1) JP4367561B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079270A (en) * 2010-10-06 2012-04-19 Seiko Epson Corp Information processing apparatus and information processing program
JP2017097710A (en) * 2015-11-26 2017-06-01 キヤノン株式会社 Information processing device, control method and program thereof
US9754197B2 (en) 2015-10-26 2017-09-05 Canon Kabushiki Kaisha Information processing apparatus, print data generation method, and storage medium
JP2018022527A (en) * 2017-10-26 2018-02-08 キヤノン株式会社 Information processing device, control method thereof, and program
US10102459B2 (en) 2015-12-01 2018-10-16 Canon Kabushiki Kaisha Print control apparatus, method and program outputs XPS drawing instructions from an application to change resolution of tile image

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079270A (en) * 2010-10-06 2012-04-19 Seiko Epson Corp Information processing apparatus and information processing program
US9754197B2 (en) 2015-10-26 2017-09-05 Canon Kabushiki Kaisha Information processing apparatus, print data generation method, and storage medium
US9990572B2 (en) 2015-10-26 2018-06-05 Canon Kabushiki Kaisha Information processing apparatus, print data generation method, and storage medium
JP2017097710A (en) * 2015-11-26 2017-06-01 キヤノン株式会社 Information processing device, control method and program thereof
US10102459B2 (en) 2015-12-01 2018-10-16 Canon Kabushiki Kaisha Print control apparatus, method and program outputs XPS drawing instructions from an application to change resolution of tile image
JP2018022527A (en) * 2017-10-26 2018-02-08 キヤノン株式会社 Information processing device, control method thereof, and program

Also Published As

Publication number Publication date
JP4367561B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
JP4367561B2 (en) Print control apparatus and print document printing method
JP2009188816A (en) Printer driver and image forming apparatus
US20070263240A1 (en) Image-Forming Apparatus, Image-Forming Control Method, Image-Forming Control Program Storage Medium, Image-Forming Control Data Signal, And Image-Forming Control Apparatus
US8810820B2 (en) Active printing system and method for printing based on image size
JP2009187553A (en) Method for printing text-only content of pdf document
JP2007233591A (en) Printer driver and its test printing method and printer
JP2000259380A (en) Composite printing method
JP5732935B2 (en) Information processing apparatus, print control program, and computer-readable recording medium
JP2001088405A (en) Printing control method, memory medium storing program thereof, printer control device and printer system
JP2006252300A (en) Pull print system
JP2008040928A (en) Printed document working device
JP6330790B2 (en) Print control system, print control apparatus, and program
JP6234417B2 (en) Information processing apparatus, control method therefor, and program
JP2006231692A (en) Printing data creation apparatus and method, printing data creation program, and printing method
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP2006264062A (en) Variable printer and variable printing system
KR100396261B1 (en) Method for performing preview function in printer driver
JP2007004568A (en) Image forming system, image forming device and image forming method
JP2008219418A (en) Image forming apparatus, image processing method and image processing program
JP2009151468A (en) Print preview device and method
JP2009101662A (en) Printing processor
JP2004351856A (en) Image formation device
KR100597249B1 (en) printing system and method thereof
JP2006137016A (en) Direct printing system
JP2005067131A (en) Printer and printer driver

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090709

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090817

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130904

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees