Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
The C# Printing Library
using IronPrint;
// Configure print setting
PrintSettings printSettings = new PrintSettings();
printSettings.Dpi = 150;
printSettings.NumberOfCopies = 2;
printSettings.PaperOrientation = PaperOrientation.Portrait;
// Print the document
Printer.Print("newDoc.pdf", printSettings);
In this tutorial, we explore how to use Iron Print to manage and execute your printing tasks efficiently. Starting with installation via the NuGet package manager, we dive into setting up the necessary environment within the program.cs file. The tutorial explains the use of the Iron Print library, by including it in the namespace, which allows access to essential classes and methods. You learn to configure print settings like DPI for high-resolution prints and paper orientation for standard document formats. The core functionality is demonstrated using the printer async method, which requires the path of the PDF file and the pre-configured print settings to initiate the printing operation. The tutorial also clarifies why documents open in a PDF viewer instead of printing directly, explaining the role of the default printer settings in this behavior. By the end, viewers are encouraged to experiment with Iron Print using a trial subscription. This tutorial aims to simplify the printing process for C# developers, enabling them to produce high-quality printed documents seamlessly.
Further Reading: Print Document Tutorial
PM > Install-Package IronPrint
30-day Trial Key instantly.
15-day Trial Key instantly.
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
Install-Package IronPrint
Have a question? Get in touch with our development team.
No credit card required
Your trial key should be in the email.
successfully.
If it is not, please contact
support@ironsoftware.com
No credit card required
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
No credit card or account creation required
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
Licenses from $749. Have a question? Get in touch.
Book a 30-minute, personal demo.
No contract, no card details, no commitments.
10 .NET API products for your office documents