Hello,
I want to print pdf file without the print dialog in c#.
I saw the examples here but the code not working in the new version.
how can I do it?
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("sample.pdf");
//silent printing
doc.PrintSettings.PrintController = new StandardPrintController();
doc.Print();