IXpsPrintJobStream interface

[IXpsPrintJobStream is not supported and may be altered or unavailable in the future. ]

A write-only stream interface into which an application writes print job data.

When to implement

Never. Custom implementations of this interface are not supported.

When to use

When printing an XPS document.

A pointer to this stream interface is returned by the StartXpsPrintJob function when the print job is created. The application that has created the print job writes the XPS document to the stream. When the entire XPS document has been written to the stream, the application calls the Close method of the returned interface to notify the print spooler that all data has been sent to it.

Members

The IXpsPrintJobStream interface inherits from ISequentialStream. IXpsPrintJobStream also has these types of members:

Methods

The IXpsPrintJobStream interface has these methods.

MethodDescription
Close

Closes the stream and indicates that the entire document has been written.

 

Remarks

Note  The Close method must be called before this interface is released.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

End of client support

Windows 8.1

Header

XpsPrint.h

See also

IXpsPrintJob
StartXpsPrintJob
Documents
XML Paper Specification

 

 

Community Additions

ADD
Show:
© 2014 Microsoft