Skip to content

chengcunu/PdfPrintCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PdfPrintCore

A cross-platform PDF printing library for printing PDF files to a printer in the background.

Supported Platforms

  • Windows
  • Macos
  • Linux

Using

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

Example

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.

License

You can get a free license here license.xml