pdfDocumentFepaDatei.PageScaling = PdfPrintPageScaling.FitSize;
pdfDocumentFepaDatei.PrinterName = @"PDF24 PDF";
PrintDocument printDocument = pdfDocumentFepaDatei.PrintDocument;
printDocument.Print();
Takes about 2 secs, but I can't print black&white.
pdfDocumentFepaDatei.PrintSettings.PrintController = new StandardPrintController();
pdfDocumentFepaDatei.PrintSettings.PrinterName = @"PDF24 PDF";
pdfDocumentFepaDatei.Print();
Takes 7 secs without any configuration of the PrintSettings.
pdfDocumentFepaDatei.PrintSettings.PrinterName = @"PDF24 PDF";
pdfDocumentFepaDatei.PrintSettings.SelectSinglePageLayout(Spire.Pdf.Print.PdfSinglePageScalingMode.FitSize, true, 100f);
pdfDocumentFepaDatei.PrintSettings.Color = false;
pdfDocumentFepaDatei.Print();
With all settings I need (black&white and to fit the Page to the printable area) it takes 1:30 mins.
Also the Fitting is really bad, unlike the old way, it always cuts something on the right side.
Only the color has taken 3 mins.
My pdf is not really that big it should take that long...