IronPrint.Xamarin - An easy to use print library A fast and natural approach to work with printers in C#. For code samples, docs & more visit https://ironsoftware.com/csharp/print/ Key library features include: * Print with or without dialog * Easy-to-use print settings Works with: * **.NET 10**, .NET 9, .NET 8, .NET 7, .NET 6 and .NET 5, Core 2x & 3x, Standard 2 and Framework 4.6.2+ * Windows, macOS, maccatalyst, iOS and Android Licensing & Support available for commercial deployments. Find full documentation at: https://ironsoftware.com/csharp/print/ For support please contact us: support@ironsoftware.com
$ dotnet add package IronPrint.Xamarin
PM> Install-Package IronPrint.Xamarin
Call IronPrint.Printer.Initialize(activity) from the MainActivity to ensure IronPrint is properly initialized.
Add the IronPrint.Xamarin Nuget package to the iOS and Android projects & the shared Forms project. For the Android project, call IronPrint.Printer.Initialize(activity) from the MainActivity to ensure IronPrint is properly initialized.
For Xamarin.Forms, the user needs to ensure that the IronPrint.Xamarin package is added to both the platform projects (e.g. Android and iOS projects) as well as the shared forms project. This is actually the same way most Xamarin.Forms libraries are integrated into projects.
using IronPrint.Xamarin;
// Print PDF document
await IronPrint.Printer.PrintAsync("myDocument.pdf");
// Or
await IronPrint.Printer.ShowPrintDialogAsync("myDocument.pdf");
// Get printer list
var printerList = await IronPrint.Printer.GetPrinterNamesAsync();Dive deeper with our extensive documentation and examples:
Tutorials: Step-by-step guides to help you build your first printing application.
Code Examples: Concise set of code that can be easily executable.
How-To Guides: Practical, goal-oriented instructions to solve specific problems.
Demo: Detailed technical descriptions of the API and its components.
API Reference: Demonstrating guides that showcase how IronPrint.Xamarin works the way it does.
Print Documents: Programmatically send PDFs, images, and other common document formats directly to a printer from your .NET application.
Customize Printing: Adjust print settings with precision, including paper size, orientation, page margins, and the number of copies.
Manage Printers: Select any installed local or network printer and send print jobs silently without requiring the standard print dialog to open.
Platforms: .NET 10, .NET 9, .NET 8, .NET 7, .NET 6, .NET 5, Core 2x & 3x, Standard 2
Framework: .NET Framework 4.6.2 (and above)
App Models: Console, Web, and Desktop Apps
Operating Systems: Windows, macOS, iOS, Android
IDEs: Microsoft Visual Studio or Jetbrains ReSharper & Rider
IronPrint.Xamarin is a commercially licensed product.
Have a question or running into an issue?
Email Support: Reach out to our team directly at support@ironsoftware.com.
Live Chat Support: https://ironsoftware.com/csharp/print/#helpscout-support
Report a Bug: https://ironsoftware.com/ticket-submission/
Community: https://ironsoftware.com/company/iron-slack-community/