IRONSOFTWAREHOME

Getting Started with IronPrint

Curtis Chau
Curtis Chau
Updated: July 21, 2026

IronPrint: Your All-in-One Print Library for .NET

IronPrint is a print library developed by Iron Software. The library is compatible with a wide variety of environments, including Windows, macOS, Android, and iOS.

Compatibility

IronPrint has cross-platform support compatibility with:

.NET Version Support

  • C#, VB.NET, F#
  • .NET 8, 7, 6, 5, and Core 3.1+
  • .NET Framework (4.6.2+)

Operating Systems and Environments Support

  • Windows (7+, Server 2016+)
  • macOS (10+)
  • iOS (11+)
  • Android API 21+ (v5 "Lollipop")

.NET Project Types Support

  • Mobile (Xamarin & MAUI & Avalonia)
  • Desktop (WPF & MAUI & Windows Avalonia)
  • Console (App & Library)

Installation

IronPrint Library

Install the IronPrint package via NuGet Package Manager:

dotnet add package IronPrint

Alternatively, download directly from the official IronPrint NuGet website.

Once installed, you can get started by adding using IronPrint; to the top of your C# code.

Applying License Key

Next, apply a valid license or trial key to IronPrint by assigning the license key to the LicenseKey property of the License class. Include the following code right after the import statement, before using any IronPrint methods:

using IronPrint;

// Apply your IronPrint license key here
License.LicenseKey = "your-license-key-here";

Code Examples

Simply pass the file path to the Print method to print the document.

using IronPrint;

class Program
{
    static void Main()
    {
        // Specify the file path to be printed
        string filePath = "document.pdf";

        // Invoke the Print method to print the document
        IronPrint.Print(filePath);
    }
}

Use the ShowPrintDialog method to print the document, which also shows the print dialog before printing.

using IronPrint;

class Program
{
    static void Main()
    {
        // Specify the file path to be printed
        string filePath = "document.pdf";

        // Invoke the ShowPrintDialog method to prompt the dialog before printing
        IronPrint.ShowPrintDialog(filePath);
    }
}

Customize Print Settings

To configure the print settings from the code, instantiate the PrintSettings class. Configure the PrintSettings object and pass it to one of the print methods.

using IronPrint;

class Program
{
    static void Main()
    {
        // Create a PrintSettings object to configure printer settings
        PrintSettings settings = new PrintSettings
        {
            Copies = 2,
            Duplex = DuplexMode.Vertical,
            PageOrientation = PageOrientation.Landscape
        };

        // Specify the file path to be printed
        string filePath = "document.pdf";

        // Invoke the Print method with custom print settings
        IronPrint.Print(filePath, settings);
    }
}

Licensing & Support Available

IronPrint is a paid library; however, free trial licenses are also available here.

For more information about Iron Software, please visit our website: https://ironsoftware.com/ For more support and inquiries, please ask our team.

Support from Iron Software

For general support and technical inquiries, please email us at: support@ironsoftware.com.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 46,090Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronPrint
nuget.org/packages/IronPrint/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronPrint"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

  1. Download and unzip IronPrint to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronPrint.dll"

Licenses from $999

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