Set Paper Size
using IronPrint;

// Set the paper size to A4
PrintSettings printSettings = new PrintSettings();
printSettings.PaperSize = PaperSize.A4;

Printer.Print("report.pdf", printSettings);
NuGet Download
PM > Install-Package IronPrint
Set Paper Size

Set Paper Size

The PaperSize property on the PrintSettings class lets you specify the exact paper dimensions for a print job. In this example, the size is set to PaperSize.A4, which is the international standard (210 × 297 mm) widely used in business correspondence and official documents.

IronPrint supports a range of built-in sizes - including Letter, Legal, A3, and more - so you can match the paper loaded in each tray without relying on printer-driver defaults. Choosing the correct size prevents clipping, unexpected scaling, and wasted paper when the document dimensions do not match the physical sheet.

See All Available Paper Sizes in the IronPrint Guide

Ready to Get Started?

Nuget Downloads 49,171Version:2026.11just released