IRONSOFTWAREHOME
Set the DPI
using IronPrint;

// Set high-resolution output at 300 DPI
var printSettings = new PrintSettings
{
    Dpi = 300
};

Printer.Print("report.pdf", printSettings);
Imports IronPrint

' Set high-resolution output at 300 DPI
Dim printSettings = New PrintSettings With {
    .Dpi = 300
}

Printer.Print("report.pdf", printSettings)
NuGet Download
PM > Install-Package IronPrint
Set the DPI

Set the DPI

DPI (dots per inch) determines how many individual ink dots the printer places within each inch of paper. Raising the Dpi property on PrintSettings increases the sharpness of text, images, and fine lines - 300 DPI is a common choice for professional-quality documents.

Keep in mind that the actual resolution is capped by the printer hardware. If you request 600 DPI on a printer that tops out at 300, the driver will use its maximum capability. Higher DPI values also increase spooler file sizes and print times, so choose a resolution that balances quality with throughput for your specific use case.

Read the Full DPI Configuration Guide for IronPrint

Ready to Get Started?

Nuget Downloads 46,090Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required