I'm looking for an inexpensive way to batch convert 1300 PDFs to XPS documents. I know that I can just print them in this format, but it will take a very long time. Is there a way to do this programmatically in C #?
Depending on your definition of low-cost, there are several options:
inexpensive = less than $ 1000:
You can use PDF2XPS for about $ 550: http://www.pdftron.com/pdf2xps/index.html
inexpensive = "free":
thread, GhostScript PDF , XpsDocumentWriter .
, :
"C:\Program Files (x86)\ Foxit\Foxit Reader\Foxit Reader.exe" -t C:\documents\document1.pdf "Microsoft XPS Document Writer"
, " " (, Process.GetProcessesByName aplwow64.exe Timer?) SendKeys
p/invoke, FindWindow SendMessage.