Open XML Paper Specification (XPS) is an open specification for a page description language and a fixed-document format originally developed by Microsoft as XML Paper Specification (XPS) that was later standardized by Ecma International as international standard ECMA-388. It is an XML-based specification, based on a new print path and a color-managed vector-based document format that supports device independence and resolution independence.
Questions tagged [xps]
415 questions
0
votes
2 answers
Losing image when re-serialising Xps document
I've got a problem whereby I've using this code to apply a watermark to each page in an Xps document.
private static XpsDocument AddWatermark(string watermark, Package container, XpsDocument xpsOld)
{
// Open original XPS document …

sambomartin
- 6,663
- 7
- 40
- 64
-1
votes
3 answers
Programmatically convert Excel to XPS
I am looking for a way to programmatically convert Excel reports to XPS format. Is this supported anywhere in the Microsoft framework, or should we look for a third party tool?
Yes currently we are programmatically creating Excel reports using…

Brettski
- 19,351
- 15
- 74
- 97
-1
votes
2 answers
Is there an XPS viewer that can be built into a web page, as iPaper can?
Does anyone know of a an XPS viewer that can be built into a webpage that would access XPS files hosted on our server in the same way that iPaper does for pdfs? (Coming up with an automated conversion process for these XPS files to PDF has proven…
Jake
-1
votes
1 answer
Why the printing result is not matched with the actual stuff
My application is based on WPF, and it can create plot then print. The issue is: sometimes the printed result is not matched with what it looks in the application (see below image for the bar legend).
Note:
- The problem only occurs when the driver…

Carlos Liu
- 2,348
- 3
- 37
- 51
-1
votes
1 answer
Wait if Windows is still using the file
I have a macro code that splits XPS files and it works fine if you wait for Windows or SAP to be done with writing the file.
I need some method to see if the file can be opened or if it's still used by Windows/SAP.
You make a print from SAP and…

Andreas
- 23,610
- 6
- 30
- 62
-1
votes
1 answer
How to extract a text or table from XPS file to matlab
I have some XPS files which contains text, tables and charts.
I need to extract the data in the tables to my matlab code and proceed them.
Would you please help me in writing this extraction code in Matlab.
Thanks

zahra
- 9
- 3
-1
votes
2 answers
WPF to XPS with outline and structure
I am developing a WPF reporting application.
My report is constructed as WPF Control (FlowDocument or FixedDocument) and
contains tables. I want to save it as XPS preserving its structure (this means that I can copy a table as a table, not plain…

Dmitry B
- 11
- 3
-1
votes
1 answer
Issue when saving control Visual to Xps file
I made a control which shows some data within a DataGrid.
When used within a window, it works without issue.
When i write it to an Xps file, the header gets shifted and the
output is wrong.
To write it to an XPS, i create my control, then i fill in…

GameAlchemist
- 18,995
- 7
- 36
- 59
-2
votes
2 answers
Installing XPS Document writer on Azure
So i have a Windows Server 2008 virtual machine on Azure, and I need to install the XPS Document writer. The problem is that the spooler is not started. When I try to start the spooler i get the 1058 error. I tried clearing the printers from the…

user1196337
- 1
- 1