VOOZH about

URL: https://www.nuget.org/packages/Vanara.PInvoke.Printing/

⇱ NuGet Gallery | Vanara.PInvoke.Printing 5.0.5




👁 Image
Vanara.PInvoke.Printing 5.0.5

Prefix Reserved
dotnet add package Vanara.PInvoke.Printing --version 5.0.5
 
 
NuGet\Install-Package Vanara.PInvoke.Printing -Version 5.0.5
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.Printing" Version="5.0.5" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Printing" Version="5.0.5" />
 
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.Printing" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.Printing --version 5.0.5
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.Printing, 5.0.5"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vanara.PInvoke.Printing@5.0.5
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.Printing&version=5.0.5
 
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Printing&version=5.0.5
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 Vanara

Vanara.PInvoke.Printing NuGet Package

👁 Version
👁 Build status

PInvoke API (methods, structures and constants) imported from Windows winspool.drv and prntvpt.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.Printing

Functions Enumerations Structures Interfaces
AbortPrinter<br>AddForm<br>AddJob<br>AddMonitor<br>AddPort<br>AddPrinter<br>AddPrinterConnection<br>AddPrinterConnection2<br>AddPrinterDriver<br>AddPrinterDriverEx<br>AddPrintProcessor<br>AddPrintProvidor<br>AdvancedDocumentProperties<br>BindPTProviderThunkA<br>BindPTProviderThunkW<br>ClosePrinter<br>CloseSpoolFileHandle<br>CommitSpoolData<br>ConfigurePort<br>ConnectToPrinterDlg<br>ConvertDevModeToPrintTicketThunk2<br>ConvertPrintTicketToDevModeThunk2<br>CorePrinterDriverInstalled<br>DeleteForm<br>DeleteMonitor<br>DeletePort<br>DeletePrinter<br>DeletePrinterConnection<br>DeletePrinterData<br>DeletePrinterDataEx<br>DeletePrinterDriver<br>DeletePrinterDriverEx<br>DeletePrinterDriverPackage<br>DeletePrinterKey<br>DeletePrintProcessor<br>DeletePrintProvidor<br>DeviceCapabilities<br>DocumentEventA<br>DocumentEventW<br>DocumentProperties<br>EndDocPrinter<br>EndPagePrinter<br>EnumForms<br>EnumJobs<br>EnumMonitors<br>EnumPorts<br>EnumPrinterData<br>EnumPrinterDataEx<br>EnumPrinterDrivers<br>EnumPrinterKey<br>EnumPrinters<br>EnumPrintProcessorDatatypes<br>EnumPrintProcessors<br>FindClosePrinterChangeNotification<br>FindFirstPrinterChangeNotification<br>FindNextPrinterChangeNotification<br>FlushPrinter<br>FreePrinterNotifyInfo<br>GetCorePrinterDrivers<br>GetDefaultPrinter<br>GetForm<br>GetJob<br>GetPrintCapabilitiesThunk2<br>GetPrinter<br>GetPrinterData<br>GetPrinterDataEx<br>GetPrinterDriver<br>GetPrinterDriver2<br>GetPrinterDriverDirectory<br>GetPrinterDriverPackagePath<br>GetPrintExecutionData<br>GetPrintProcessorDirectory<br>GetSpoolFileHandle<br>InstallPrinterDriverFromPackage<br>IsValidDevmode<br>MergeAndValidatePrintTicketThunk2<br>OpenPrinter<br>OpenPrinter2<br>PrinterProperties<br>PTCloseProvider<br>PTConvertDevModeToPrintTicket<br>PTConvertPrintTicketToDevMode<br>PTGetPrintCapabilities<br>PTGetPrintDeviceCapabilities<br>PTGetPrintDeviceResources<br>PTMergeAndValidatePrintTicket<br>PTOpenProvider<br>PTOpenProviderEx<br>PTQuerySchemaVersionSupport<br>PTReleaseMemory<br>ReadPrinter<br>ReportJobProcessingProgress<br>ResetPrinter<br>ScheduleJob<br>SetDefaultPrinter<br>SetForm<br>SetJob<br>SetPort<br>SetPrinter<br>SetPrinterData<br>SetPrinterDataEx<br>StartDocPrinter<br>StartPagePrinter<br>StartXpsPrintJob<br>StartXpsPrintJob1<br>UnbindPTProviderThunk<br>UploadPrinterDriverPackage<br>WritePrinter<br> PrintDocumentPackageCompletion<br>EDefaultDevmodeType<br>EPrintTicketScope<br>APD<br>DPD<br>UPDP<br>AccessRights<br>DC<br>DM<br>DOCUMENTEVENT<br>DSPRINT<br>EPrintPropertyType<br>EPrintXPSJobOperation<br>EPrintXPSJobProgress<br>FormFlags<br>FormStringType<br>JOB_CONTROL<br>JOB_NOTIFY_FIELD<br>JOB_PRIORITY<br>JOB_STATUS<br>NOTIFY_TYPE<br>PORT_STATUS<br>PORT_STATUS_TYPE<br>PORT_TYPE<br>PPCAPS_BORDER<br>PPCAPS_DIRECTION<br>PPCAPS_DUPLEX<br>PPCAPS_EDGE<br>PPCAPS_SCALING<br>PRINT_EXECUTION_CONTEXT<br>PRINTER_ATTRIBUTE<br>PRINTER_CHANGE<br>PRINTER_CONNECTION_FLAGS<br>PRINTER_CONTROL<br>PRINTER_ENUM<br>PRINTER_NOTIFY_CATEGORY<br>PRINTER_NOTIFY_FIELD<br>PRINTER_NOTIFY_OPTIONS_FLAG<br>PRINTER_OPTION_FLAGS<br>PRINTER_STATUS<br>PrinterDriverAttributes<br>XPS_COLOR_INTERPOLATION<br>XPS_COLOR_TYPE<br>XPS_DASH_CAP<br>XPS_DOCUMENT_TYPE<br>XPS_FILL_RULE<br>XPS_FONT_EMBEDDING<br>XPS_IMAGE_TYPE<br>XPS_INTERLEAVING<br>XPS_LINE_CAP<br>XPS_LINE_JOIN<br>XPS_OBJECT_TYPE<br>XPS_SEGMENT_STROKE_PATTERN<br>XPS_SEGMENT_TYPE<br>XPS_SPREAD_METHOD<br>XPS_STYLE_SIMULATION<br>XPS_THUMBNAIL_SIZE<br>XPS_TILE_MODE<br>XPS_JOB_COMPLETION<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> PrintDocumentPackageStatus<br>HPTPROVIDER<br>ADDJOB_INFO_1<br>CORE_PRINTER_DRIVER<br>DATATYPES_INFO_1<br>DOC_INFO_1<br>DOC_INFO_2<br>DOC_INFO_3<br>DRIVER_INFO_1<br>DRIVER_INFO_2<br>DRIVER_INFO_3<br>DRIVER_INFO_4<br>DRIVER_INFO_5<br>DRIVER_INFO_6<br>DRIVER_INFO_8<br>FORM_INFO_1<br>FORM_INFO_2<br>JOB_INFO_1<br>JOB_INFO_2<br>JOB_INFO_3<br>JOB_INFO_4<br>MONITOR_INFO_1<br>MONITOR_INFO_2<br>PORT_INFO_1<br>PORT_INFO_2<br>PORT_INFO_3<br>PRINT_EXECUTION_DATA<br>PRINTER_CONNECTION_INFO_1<br>PRINTER_ENUM_VALUES<br>PRINTER_INFO_1<br>PRINTER_INFO_2<br>PRINTER_INFO_3<br>PRINTER_INFO_4<br>PRINTER_INFO_5<br>PRINTER_INFO_6<br>PRINTER_INFO_7<br>PRINTER_INFO_8<br>PRINTER_INFO_9<br>PRINTER_NOTIFY_INFO<br>PRINTER_NOTIFY_INFO_DATA<br>PRINTER_NOTIFY_OPTIONS<br>PRINTER_NOTIFY_OPTIONS_TYPE<br>PRINTER_OPTIONS<br>PRINTPROCESSOR_CAPS_1<br>PRINTPROCESSOR_CAPS_2<br>PRINTPROCESSOR_INFO_1<br>PROVIDOR_INFO_1<br>PROVIDOR_INFO_2<br>HPRINTER<br>HPRINTERCHANGENOTIFICATION<br>HSPOOLFILE<br>XPS_POINT<br>XPS_RECT<br>XPS_SIZE<br>XPS_COLOR<br>XPS_DASH<br>XPS_GLYPH_INDEX<br>XPS_GLYPH_MAPPING<br>XPS_MATRIX<br>XPS_JOB_STATUS<br>NOTIFYDATA<br>XPS_COLOR_TYPE_SCRGB<br>XPS_COLOR_TYPE_CONTEXT<br>XPS_COLOR_TYPE_SRGB<br>DATA<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> IPrintDocumentPageSource<br>IPrintPreviewPageCollection<br>IPrintDocumentPackageStatusEvent<br>IPrintDocumentPackageTarget<br>IPrintDocumentPackageTargetFactory<br>IXpsOMBrush<br>IXpsOMCanvas<br>IXpsOMColorProfileResource<br>IXpsOMColorProfileResourceCollection<br>IXpsOMDashCollection<br>IXpsOMDictionary<br>IXpsOMDocumentStructureResource<br>IXpsOMFontResource<br>IXpsOMFontResourceCollection<br>IXpsOMGeometry<br>IXpsOMGeometryFigure<br>IXpsOMGeometryFigureCollection<br>IXpsOMGlyphs<br>IXpsOMGlyphsEditor<br>IXpsOMGradientBrush<br>IXpsOMGradientStop<br>IXpsOMGradientStopCollection<br>IXpsOMImageBrush<br>IXpsOMImageResource<br>IXpsOMObjectFactory<br>IXpsOMCoreProperties<br>IXpsOMDocument<br>IXpsOMDocumentCollection<br>IXpsOMDocumentSequence<br>IXpsOMPackage<br>IXpsOMPackageWriter<br>IXpsOMPage<br>IXpsOMPageReference<br>IXpsOMPageReferenceCollection<br>IXpsOMPart<br>IXpsOMPartResources<br>IXpsOMPartUriCollection<br>IXpsOMImageResourceCollection<br>IXpsOMLinearGradientBrush<br>IXpsOMMatrixTransform<br>IXpsOMNameCollection<br>IXpsOMPath<br>IXpsOMPrintTicketResource<br>IXpsOMRadialGradientBrush<br>IXpsOMRemoteDictionaryResource<br>IXpsOMRemoteDictionaryResourceCollection<br>IXpsOMResource<br>IXpsOMShareable<br>IXpsOMSignatureBlockResource<br>IXpsOMSignatureBlockResourceCollection<br>IXpsOMSolidColorBrush<br>IXpsOMStoryFragmentsResource<br>IXpsOMThumbnailGenerator<br>IXpsOMTileBrush<br>IXpsOMVisual<br>IXpsOMVisualBrush<br>IXpsOMVisualCollection<br>IXpsPrintJob<br>IXpsPrintJobStream<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net8.0-windows7.0 net8.0-windows7.0 is compatible.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net9.0-windows7.0 net9.0-windows7.0 is compatible.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed.  net10.0-windows7.0 net10.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 is compatible.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.Printing:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.5 500 5/16/2026
5.0.4 611 4/15/2026
5.0.3 229 4/9/2026
5.0.1 499 3/11/2026
5.0.0 3,876 1/12/2026
4.2.1 7,836 9/9/2025
4.2.0 1,156 8/25/2025
4.1.6 990 6/20/2025
4.1.5 269 6/20/2025
4.1.4 346 6/7/2025
4.1.3 3,068 4/24/2025
4.1.2 1,397 4/16/2025
4.1.1 5,213 3/7/2025
4.1.0 429 3/7/2025
4.0.6 841 2/24/2025
4.0.5 342 2/8/2025
4.0.4 2,201 9/13/2024
4.0.3 1,164 8/5/2024
4.0.2 702 6/24/2024
4.0.1 1,197 4/30/2024
Loading failed

Currently implements:

Functions
AbortPrinter AddForm AddJob AddMonitor AddPort AddPrinter AddPrinterConnection AddPrinterConnection2 AddPrinterDriver AddPrinterDriverEx AddPrintProcessor AddPrintProvidor AdvancedDocumentProperties BindPTProviderThunkA BindPTProviderThunkW ClosePrinter CloseSpoolFileHandle CommitSpoolData ConfigurePort ConnectToPrinterDlg ConvertDevModeToPrintTicketThunk2 ConvertPrintTicketToDevModeThunk2 CorePrinterDriverInstalled DeleteForm DeleteMonitor DeletePort DeletePrinter DeletePrinterConnection DeletePrinterData DeletePrinterDataEx DeletePrinterDriver DeletePrinterDriverEx DeletePrinterDriverPackage DeletePrinterKey DeletePrintProcessor DeletePrintProvidor DeviceCapabilities DocumentEventA DocumentEventW DocumentProperties EndDocPrinter EndPagePrinter EnumForms EnumJobs EnumMonitors EnumPorts EnumPrinterData EnumPrinterDataEx EnumPrinterDrivers EnumPrinterKey EnumPrinters EnumPrintProcessorDatatypes EnumPrintProcessors FindClosePrinterChangeNotification FindFirstPrinterChangeNotification FindNextPrinterChangeNotification FlushPrinter FreePrinterNotifyInfo GetCorePrinterDrivers GetDefaultPrinter GetForm GetJob GetPrintCapabilitiesThunk2 GetPrinter GetPrinterData GetPrinterDataEx GetPrinterDriver GetPrinterDriver2 GetPrinterDriverDirectory GetPrinterDriverPackagePath GetPrintExecutionData GetPrintProcessorDirectory GetSpoolFileHandle InstallPrinterDriverFromPackage IsValidDevmode MergeAndValidatePrintTicketThunk2 OpenPrinter OpenPrinter2 PrinterProperties PTCloseProvider PTConvertDevModeToPrintTicket PTConvertPrintTicketToDevMode PTGetPrintCapabilities PTGetPrintDeviceCapabilities PTGetPrintDeviceResources PTMergeAndValidatePrintTicket PTOpenProvider PTOpenProviderEx PTQuerySchemaVersionSupport PTReleaseMemory ReadPrinter ReportJobProcessingProgress ResetPrinter ScheduleJob SetDefaultPrinter SetForm SetJob SetPort SetPrinter SetPrinterData SetPrinterDataEx StartDocPrinter StartPagePrinter StartXpsPrintJob StartXpsPrintJob1 UnbindPTProviderThunk UploadPrinterDriverPackage WritePrinter

Structures
ADDJOB_INFO_1 CORE_PRINTER_DRIVER DATA DATATYPES_INFO_1 DOC_INFO_1 DOC_INFO_2 DOC_INFO_3 DRIVER_INFO_1 DRIVER_INFO_2 DRIVER_INFO_3 DRIVER_INFO_4 DRIVER_INFO_5 DRIVER_INFO_6 DRIVER_INFO_8 FORM_INFO_1 FORM_INFO_2 HPRINTER HPRINTERCHANGENOTIFICATION HPTPROVIDER HSPOOLFILE JOB_INFO_1 JOB_INFO_2 JOB_INFO_3 JOB_INFO_4 MONITOR_INFO_1 MONITOR_INFO_2 NOTIFYDATA PORT_INFO_1 PORT_INFO_2 PORT_INFO_3 PrintDocumentPackageStatus PRINTER_CONNECTION_INFO_1 PRINTER_ENUM_VALUES PRINTER_INFO_1 PRINTER_INFO_2 PRINTER_INFO_3 PRINTER_INFO_4 PRINTER_INFO_5 PRINTER_INFO_6 PRINTER_INFO_7 PRINTER_INFO_8 PRINTER_INFO_9 PRINTER_NOTIFY_INFO PRINTER_NOTIFY_INFO_DATA PRINTER_NOTIFY_OPTIONS PRINTER_NOTIFY_OPTIONS_TYPE PRINTER_OPTIONS PRINTPROCESSOR_CAPS_1 PRINTPROCESSOR_CAPS_2 PRINTPROCESSOR_INFO_1 PRINT_EXECUTION_DATA PROVIDOR_INFO_1 PROVIDOR_INFO_2 XPS_COLOR XPS_COLOR_TYPE_CONTEXT XPS_COLOR_TYPE_SCRGB XPS_COLOR_TYPE_SRGB XPS_DASH XPS_GLYPH_INDEX XPS_GLYPH_MAPPING XPS_JOB_STATUS XPS_MATRIX XPS_POINT XPS_RECT XPS_SIZE

Interfaces
IPrintDocumentPackageStatusEvent IPrintDocumentPackageTarget IPrintDocumentPackageTargetFactory IPrintDocumentPageSource IPrintPreviewPageCollection IXpsOMBrush IXpsOMCanvas IXpsOMColorProfileResource IXpsOMColorProfileResourceCollection IXpsOMCoreProperties IXpsOMDashCollection IXpsOMDictionary IXpsOMDocument IXpsOMDocumentCollection IXpsOMDocumentSequence IXpsOMDocumentStructureResource IXpsOMFontResource IXpsOMFontResourceCollection IXpsOMGeometry IXpsOMGeometryFigure IXpsOMGeometryFigureCollection IXpsOMGlyphs IXpsOMGlyphsEditor IXpsOMGradientBrush IXpsOMGradientStop IXpsOMGradientStopCollection IXpsOMImageBrush IXpsOMImageResource IXpsOMImageResourceCollection IXpsOMLinearGradientBrush IXpsOMMatrixTransform IXpsOMNameCollection IXpsOMObjectFactory IXpsOMPackage IXpsOMPackageWriter IXpsOMPage IXpsOMPageReference IXpsOMPageReferenceCollection IXpsOMPart IXpsOMPartResources IXpsOMPartUriCollection IXpsOMPath IXpsOMPrintTicketResource IXpsOMRadialGradientBrush IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResourceCollection IXpsOMResource IXpsOMShareable IXpsOMSignatureBlockResource IXpsOMSignatureBlockResourceCollection IXpsOMSolidColorBrush IXpsOMStoryFragmentsResource IXpsOMThumbnailGenerator IXpsOMTileBrush IXpsOMVisual IXpsOMVisualBrush IXpsOMVisualCollection IXpsPrintJob IXpsPrintJobStream