
Up to Windows 7 there was platform support only for XPS. NET framework so there are no royalties or black box dependencies.
No special libraries are required beyond the. There's a supported API for it, documented in MSDN. XPS was designed and implemented as a small, fast, functional knockoff of PDF core functionality. This has been lambasted because XML is verbose, but the criticism is meaningless when the whole thing is zipped, because XML compresses extremely well (it yields well to dictionary compression). This file tree is then compressed into a standard zip file. PDF uses a binary serialisation, whereas XPS takes a modern, web-like approach, using a file system to store named resources. A technical perspectiveīoth XPS and PDF are serialised object graphs. XPS intentionally omits them in favour of simplicity. PDF also does interactive things like forms you can fill in. They both capture a print-ready layout paginated for a particular size paper page. Now it's completely changed in character. The question WAS "What is the difference". Because PDF files do not include information specific to the application or the operating system that created it, PDF files will render the same on any machine.Īlthough it shares many similarities with the much more popular Adobe Portable Document Format ( PDF), XPS is not a dynamic document format and is designed primarily to transform onscreen content, such as Web sites, into static, printable documents. This includes text, forms, images, and 2D vector graphics.
Portable Document Format ( PDF), from Adobe, represents two-dimensional documents in a fixed-layout document that is both device- and resolution-independent.
Specific files include embedded images and fonts so that, if someone doesn't have the same fonts installed on their machine, the XPS Viewer will still render those original fonts, if only for the document. By changing the XPS extension to ZIP, you can view the files related to any XPS document. Behaving more like a ZIP archive file, XPS documents contain all the files necessary to re-create a document on any system.