To generate an XPS document, use “XPS” as the targetType parameter of the SetParams method.
The XPS [XML Paper Specification] is a new document specification developed by Microsoft. You can find more information about XPS at:
There are no special requirements regarding the platform setup – especially .NET framework is not required. XFRX generates the document on its own from scratch so all you need is VFP and XFRX.
To be able to preview the XPS document, you need an XPS document viewer. If you are running Windows Vista you already have one as it is included with .NET Framework 3.0. For Windows XP and Windows Server 2003 you can download the viewer from http://www.microsoft.com/whdc/xps/viewxps.mspx.