A cross-platform PDF printing library for printing PDF files to a printer in the background.
- Windows
- Macos
- Linux
PdfPrintCore is available as a convenient NuGet package, to use install the package like this:
nuget install PdfPrintCore
Linux systems also require installation packages: PdfPrintCore.NativeAssets.Linux
using var document = new PdfDocument("test.pdf");
PrintingService service = new(document);
await service.PrintAsync("Microsoft Print to PDF", cancellationToken);
See the Demo for more examples.
You can get a free license here license.xml