Posted By: PaoloM | May 18th @ 1:11 PM
page 1 of 1
Comments: 12 | Views: 1700
PaoloM
PaoloM
Hypermediocrity

Anyone knows of a (free) tool or a .NET library to convert PDF documents (mostly scans) to XPS?

Mucha gracias.

Aside from printing them through the built in XPS printer (or PDFCreator to go the other way) you mean?

giovanni
giovanni
...

I am also interested as I like using XPS for storage but I often have to convert to PDF becuase of legacy issues.

Sounds like someone needs to make such a thing...

Ideally, we could get rid of Adobe Reader, and just have some program convert to XPS.

You might check www.pdfsharp.com for XPS->PDF conversion. The latest build includes a converter preview.

For going the other way, I haven't seen any free tools. You may be able to use PDFSharp to open the PDF and XpsDocumentWriter or System.Printing to convert to XPS.

 

Anyone gotten anywhere with this, the navigation in XPS is awesome.

Create an XPS printer driver that redirects the output of the GDI -> XPS converter to the file of your choice, then print the PDFs through the shell.   Tongue Out

Harlequin
Harlequin
http://twitter.c​om/TrueHarlequin

Well if I remember right XPS is done with a WPF Xaml subset...so if you want to export XPS to PDF you would want to keep the graphics as graphics and text as text, etc. And XPS can't do hyperlinks so you have that issue.

RLO
RLO

Interesting.  I thought that writing a simple batch script to print the files using the .xps printer would do the trick.  It seems that you can't access the .xps printer through the command line.  It gives back the error PRN unable to initiate, so flipped it around and tried using the quicken .pdf printer, and no go there either. 

 

Good luck in finding the solution.

Harlequin
Harlequin
http://twitter.c​om/TrueHarlequin

Mike Swanson does have that Illustrator plugin that goes from AI -> Xaml, so there's gotta be a way to reverse it from Xaml into .AI. And AI  files are just PDF. If you rename myfile.ai, to myfile.pdf it opens up in Acrobat.

ScanIAm
ScanIAm
On a scale of 1 to 10, people are stupid.

This has worked for us:

 

Amyuni makes a product that prints PDFs, and I've personally seen it print to xps, but it isn't strictly .NET in that the .NET classes wrap a COM dll.

 

 

page 1 of 1
Comments: 12 | Views: 1700
Microsoft Communities