Print XPS file in .NET

Asked By 7060 points N/A Posted on -
qa-featured

i have a template and i want to print the template in windows 7 in xps format and also in windows xp but win xp does not support to print xps files ,

thanks in advance

SHARE
Best Answer by Richard Gabriel
Best Answer
Best Answer
Answered By 0 points N/A #82146

Print XPS file in .NET

qa-featured

The XPS is the new electronic paper format, and it is the alternative to the Portable Document Format (PDF) format that is widely used. For you to be able to add this new format on a computer that is running Windows XP and be able to print it too, you will be required to download and install one of the following packages on your computer:

  • The Microsoft .NET Framework 3.0
  • The Microsoft XPS Essentials Pack

In case you have the .NET Framework 3.0 installed, then you will be able to open XPS files by using Internet Explorer 6 or the latest versions.

But in the event that you have XPS Essentials Pack installed, then you will be able to open XPS files by using the XpsRchVw.exe tool.


-Richard Gabriel

 

Answered By 590495 points N/A #287117

Print XPS file in .NET

qa-featured

Though I haven’t really seen an XPS file yet, printing one seems to be easy if you already have XPS Viewer installed. If you don’t have it yet, download and install XPS Viewer. Once installed, launch XPS Viewer and load your XPS file. To print the file, click “File” and select “Print”. XPS stands for Open XML Paper Specification.

Technically, it is now a standardized, open format for Microsoft Office documents just like Office Open XML. The XPS file format is Microsoft’s alternative to PDF which was introduced in Windows Vista but never gained much attention. Nevertheless, better support for XPS files remained included in newer versions of Microsoft Windows than PDF files.

Similar to a PDF file, an XPS file represents a document in a fixed layout just like with a PDF file. It also includes support for other features you will find in PDF such as DRM and digital signatures. Windows Vista, Windows 7, and Windows 8 all have built-in XPS tools. Windows 8 uses the OXPS extension name by default for the XPS files it generates.

Related Questions