printing docx and pdfs in wpf RRS feed

  • Question

  • Hi
    I need to silently print pdfs and docx files in c# in wpf and wanted to use the printqueue
    The only method I can find is the PrintQueue.AddJob (jobname, filepath, bool). The problem is the filepath only accepts xps documents.
    Do I need to convert docx and pdfs to xps docs and if so how do I do that? Or is there another way to print the files without opening them?
    • Moved by Harry Zhu Monday, March 15, 2010 8:14 AM (From:Visual C# General)
    Friday, March 12, 2010 4:34 PM

All replies