FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

iron-software/IronPrint.Examples: C# printing library that sends PDFs, images, and documents to physical and virtual printers from .NET without shelling out to an external viewer. Runnable examples for silent printing, print dialogs, printer discovery, and PrintSettings covering paper size, orientation, DPI, copies, and grayscale. .NET 7/6, Core 3.1, Framework 4.6.2+, MAUI. · GitHub

This repository was archived by the owner on Aug 29, 2026. It is now read-only.

Repository files navigation

IronPrint.Examples

Runnable C# examples for IronPrint, a .NET printing library that sends PDFs, images, and documents to physical and virtual printers without shelling out to an external viewer.

Install

dotnet add package IronPrint

Quickstart

using IronPrint;

License.LicenseKey = "YOUR-LICENSE-KEY";

// Print silently to the default printer
Printer.Print("invoice.pdf");

Printer.ShowPrintDialog(path) prints through the platform dialog instead, and Printer.GetPrinterNames() returns the printers the machine can see. To control the job, pass a PrintSettings — paper size, orientation, DPI, number of copies, grayscale, and the target printer name.

Without a license key, printed output includes a watermark.

What's in this repo

Each folder contains a self-contained .NET project you can open and run:

  • examples/ — focused snippets demonstrating individual features
  • get-started/ — license-key setup
  • how-to/ — task-oriented guides, including printing from an ASP.NET web application
  • quickstart/ — an end-to-end project scaffold
  • tutorials/ — a longer walkthrough covering document printing end to end

Common tasks covered

  • Silent printing to the default or a named printer
  • Printing through the platform print dialog
  • Enumerating the printers available on the machine
  • PrintSettings: paper size, orientation, DPI, number of copies, grayscale, margins
  • Printing PDFs and images
  • Printing from an ASP.NET web application

Platform support

.NET 7, .NET 6, .NET Core 3.1, and .NET Framework 4.6.2+, including the .NET MAUI target frameworks for Windows, macOS, Mac Catalyst, iOS, and Android. See the documentation for environment-specific notes.

Documentation and support

About

This repository is maintained by Iron Software. IronPrint is a commercial library — see licensing for terms and trial details.

About

C# printing library that sends PDFs, images, and documents to physical and virtual printers from .NET without shelling out to an external viewer. Runnable examples for silent printing, print dialogs, printer discovery, and PrintSettings covering paper size, orientation, DPI, copies, and grayscale. .NET 7/6, Core 3.1, Framework 4.6.2+, MAUI.

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL