Partager via


IXpsOMPackageTarget interface

Provides the method to create an IXpsOMPackageWriter that can be used by a print job that was created by the StartXpsPrintJob1 function.

When to implement

Never. Custom implementation of this interface is not supported.

Members

The IXpsOMPackageTarget interface inherits from the IUnknown interface. IXpsOMPackageTarget also has these types of members:

  • Methods

Methods

The IXpsOMPackageTarget interface has these methods.

Method Description
CreateXpsOMPackageWriter

Create an IXpsOMPackageWriter interface for use with a print job that the StartXpsPrintJob1 function created.

 

Remarks

The IXpsOMPackageWriter interface writes the application data in the order in which they will appear to the user.

To create an instance of an IXpsOMPackageTarget interface, call the StartXpsPrintJob1 function.

To create the IXpsOMPackageWriter interface to use to write the document to a printer, call the CreateXpsOMPackageWriter method of this interface.

Requirements

Minimum supported client

Windows 7 with SP1, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 with SP1, Windows Server 2008 and Platform Update Supplement for Windows Server 2008 [desktop apps | Windows Store apps]

Header

XpsPrint.h

Library

XpsPrint.lib

See also

StartXpsPrintJob1

IXpsOMPackageWriter

XML Paper Specification