New XPS Features in Windows 7

We’ve been busy. Last week at PDC we unveiled Windows 7 and provided developers with a first look at the bits. This week at WinHEC we’re providing further details about Windows 7 for the hardware community. The big Windows 7 news for XPS is that we’ve extended the developer surface to include applications built on…


Generating XPS Automagically

I got a mail overnight asking about ways to automatically generate XPS from applications, specifically asking for a way to enable existing applications that don’t have knowledge of XPS to generate XPS content. The Microsoft XPS Document Writer (MXDW) allows you to do this, irrespective of whether you’re using the .Net or Win32 platforms. There’s…


Configuring Compression in XPS Drivers

This is an update on controlling compression options in a driver. In Windows Vista SP1 we’ve added the capability for drivers to control image compression. For drivers based in PScript5UI.dll or UnidrvUI.dll see the documentation on the IPrintOEMUIMXDC interface. For monolithic drivers see MXDCGetPDEVAdjustment.

Controlling compression options from a driver

In a previous post I wrote about controlling compression for the Microsoft XPS Document Writer. Brian Mosher asked on the MSDN XPS Forum whether it’s possible to programmatically control image compression from the context of an XPSDrv-based printer driver. This isn’t possible in the Windows Vista release, but is something planned for a future release… …


MXDW and Image Content

A question was asked recently on an internal list about why the image content in XPS files generated by MXDW (that’s the Microsoft XPS Document Writer) can differ — sometimes images are stored as JPEGs and other times as PNGs (and, although not asked on this occasion, you can get TIFF and WM Photo/HD Photo…