Product: Spire.PDF, dll version 3.5.51.5040, .Net 4.0
- Code: Select all
PdfDocument doc = new PdfDocument(@"C:\Temp\Factuur.pdf");
PrinterSettings ps = new PrinterSettings();
ps.PrinterName = "Microsoft XPS Document Writer";
doc.PrintDocument.PrinterSettings = ps;
doc.PrintDocument.Print();