Megosztás a következőn keresztül:


Printing and Document Features for the Platform Update for Windows Vista

What is the Platform Update for Windows Vista?

 

The Platform Update for Windows Vista is a set of runtime libraries that makes it easy for developers to target both Windows 7 and Windows Vista.

Among the technologies included in the Platform Update for Windows Vista are the XPS Print API for XPS Printing, the XPS Rasterization Service for XPSDrv-based driver development, and the XPS Document API + Packaging API for the creation, manipulation and access of XPS content. This enables developers to take advantage of new Windows 7 APIs to access existing features while ensuring their applications will work on Windows Vista SP2 and Windows Server 2008 SP2, and underscores our commitment to ISVs and IHVs that are developing solutions to take advantage of the XPS format.

For more information on Windows 7 Graphics Update for Windows Vista see https://blogs.msdn.com/directx/.

Document and Printing Features

XPS Print API

The XPS Print API is included in the Platform Update for Windows Vista. This allows Win32 developers to send XPS content directly to the XPS Print Path. It also supports automatic conversion to support non XPS printing devices. . The XPS Print API is detailed on MSDN at this link: https://msdn.microsoft.com/en-us/library/dd374565(VS.85).aspx .

XPS Rasterization Service

The XPS Rasterization Service provides an inbox solution to XPSDrv driver developers who require rasterized content. The driver developer can write a print filter pipeline filter that calls the service, which will return rasterized content. This service is introduced in Windows 7 and is now available through the Platform Update for Windows Vista to Windows Vista SP2 and Windows Server 2008 SP2. Information on the XPS Rasterization Service can be found at https://msdn.microsoft.com/en-us/library/dd445665.aspx.

XPS Document API + Packaging API

The XPS Document API and Packaging API support the functionality required to work with the XPS Print API and XPS Rasterization Service, these components may be used to work directly with XPS content, although some API features available in Windows 7 and Server 2008 R2 are not available in the Platform Update for Windows Vista. These differences are detailed below.

XPS Document API provides interfaces to work directly with XPS Documents. In the Platform Update for Windows Vista, XPS Document API implements all the Windows 7 interfaces except for digital signature functionality (see XPS Document API link in the MSDN link: https://msdn.microsoft.com/en-us/library/dd316975(VS.85).aspx.

The Packaging API in the Transition Pack will only expose the following interfaces needed by the XPS Document API.

· IOpcUri

o All Win7 interface methods are supported

§ CombinePartUri

§ GetRelativeUri

§ GetRelationshipPartUri

· IOpcPartUri

o All Win7 interface methods are supported

§ ComparePartUri

§ GetSourceUri

§ IsRelationshipsPartUri

· IOpcFactory

o Supported interface methods

§ CreatePackageRootUri

§ CreatePartUri

§ CreateStreamOnFile

The Windows 7 documentation for Packaging API can be found here: https://msdn.microsoft.com/en-us/library/dd742822(VS.85).aspx. Note that this link discusses all of the Packaging API functionality, not just the interfaces included in the Transition Pack listed above.

How to Download

The Platform Update for Windows Vista will be released to the public in the fourth quarter of 2009. A public beta will be available on 09/10 (see https://windowsteamblog.com for details on how to get the beta).

Comments

  • Anonymous
    September 21, 2009
    Does this Platform Update bring Vista XPS support (native and managed code) up to parity with Windows 7 XPS support?