hello,
I want to output in B4 when PDF is output.
I coded as below, but it doesn't work.
It was printed in A4, which is the printer's default setting.
// pdf File Load
Spire.Pdf.PdfDocument pdf = new Spire.Pdf.PdfDocument();
pdf.LoadFromFile(Filepath);
pdf.PrintSettings.PrintController = new StandardPrintController();
pdf.PrintSettings.SelectPageRange(1, 1);
pdf.PrintSettings.PaperSize = PdfPaperSizes.B4;
pdf.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, true);
pdf.Print();