PDFFilePrint 1.0.0.1

Can be used to print XPS or PDF files to a printer driver, inkl. a file printer driver.
    Based on the google pdfium PDF printer driver.

There is a newer version of this package available.
See the version list below for details.
Install-Package PDFFilePrint -Version 1.0.0.1
dotnet add package PDFFilePrint --version 1.0.0.1
<PackageReference Include="PDFFilePrint" Version="1.0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFFilePrint --version 1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A .Net 4.0 component for printing PDF files to a printer.

Install the nuget package in your project by writing "install-package PDFFilePrint" in the Package Manager Console.

When the manager is added to your project the config file will have added these default settings:

<add key="PDFFilePrint.PrinterName" value="Microsoft XPS Document Writer" />
<add key="PDFFilePrint.PaperName" value="A4" />
<add key="PDFFilePrint.PrintToFile" value="true" />
<add key="PDFFilePrint.Copies" value="1" />
<add key="PDFFilePrint.DefaultPrintToDirectory" value="c:\temp" />

After installation you can use it by writing:

FilePrint fileprint = new FilePrint("MyPDFFileName.pdf", null);

You can also use it to print to a file. If this is what you need set the correct settings and feed the components with a distination filename also.

FilePrint fileprint = new FilePrint("MyPDFFileName.pdf", MyXPSFileName.xps);

Thats it, enjoy.

A .Net 4.0 component for printing PDF files to a printer.

Install the nuget package in your project by writing "install-package PDFFilePrint" in the Package Manager Console.

When the manager is added to your project the config file will have added these default settings:

<add key="PDFFilePrint.PrinterName" value="Microsoft XPS Document Writer" />
<add key="PDFFilePrint.PaperName" value="A4" />
<add key="PDFFilePrint.PrintToFile" value="true" />
<add key="PDFFilePrint.Copies" value="1" />
<add key="PDFFilePrint.DefaultPrintToDirectory" value="c:\temp" />

After installation you can use it by writing:

FilePrint fileprint = new FilePrint("MyPDFFileName.pdf", null);

You can also use it to print to a file. If this is what you need set the correct settings and feed the components with a distination filename also.

FilePrint fileprint = new FilePrint("MyPDFFileName.pdf", MyXPSFileName.xps);

Thats it, enjoy.

Release Notes

Initial release made for the Dispatch project

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.3 631 2/10/2020
1.0.0.1 198 2/9/2020