migrating to xps from pdf RRS feed

  • Question

  • hey,
    We are in a situation where we are generating pdf invoices in our web app and sending them down to the client browsers and have run into problems where Adobe's distiller isnt properly thread-safe, so when concurrent usage occurs we get all sorts of problems.

    We are currently generating the invoices through GDI -> PS -> Distiller -> Pdf

    I've whipped up a proof of concept for doing GDI -> Xps Document Writer -> Xps which does the trick, but I was wondering about the scalability of this solution especially under heavy concurrent usage. Will we have to try to generate xps directly rather than "printing" to xps? Keep in mind the portion of our app that does the invoice generation is unmanaged c++ so we are trying to stear clear of a rewrite for the short term.

    Wednesday, September 13, 2006 5:57 PM

All replies

  • Hi,

    I'm working in a c/c++ library for generating xps, and as such interested in your problem.
    Contact me directly, and maybe I can be of assistence.

    Tuesday, September 19, 2006 12:19 PM

  • That is not a very good solution because you will end up with PDF that do not convert (are missing text, graphics, images) or that blow up in size. The optimal solution is a direct PDF to XPS converter such as the one from PDFTron (PDF2XPS -              
     http://www.pdftron.com/pdf2xps/index.html  or http://www.pdftron.com/pdfnet/index.html if you are looking for SDK).

    These converters support every PDF single feaure and are optimal in terms of reliability and conversion quality.
    Thursday, February 18, 2010 12:43 AM