Vanara.PInvoke.Printing 4.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Vanara.PInvoke.Printing --version 4.0.0
NuGet\Install-Package Vanara.PInvoke.Printing -Version 4.0.0
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="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Printing --version 4.0.0
#r "nuget: Vanara.PInvoke.Printing, 4.0.0"
#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.
// Install Vanara.PInvoke.Printing as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.Printing&version=4.0.0

// Install Vanara.PInvoke.Printing as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Printing&version=4.0.0

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 AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.Printing

Functions Enumerations Structures Interfaces
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 PrintDocumentPackageCompletion EDefaultDevmodeType EPrintTicketScope APD DPD UPDP AccessRights DC DM DOCUMENTEVENT DSPRINT EPrintPropertyType EPrintXPSJobOperation EPrintXPSJobProgress FormFlags FormStringType JOB_CONTROL JOB_NOTIFY_FIELD JOB_PRIORITY JOB_STATUS NOTIFY_TYPE PORT_STATUS PORT_STATUS_TYPE PORT_TYPE PPCAPS_BORDER PPCAPS_DIRECTION PPCAPS_DUPLEX PPCAPS_EDGE PPCAPS_SCALING PRINT_EXECUTION_CONTEXT PRINTER_ATTRIBUTE PRINTER_CHANGE PRINTER_CONNECTION_FLAGS PRINTER_CONTROL PRINTER_ENUM PRINTER_NOTIFY_CATEGORY PRINTER_NOTIFY_FIELD PRINTER_NOTIFY_OPTIONS_FLAG PRINTER_OPTION_FLAGS PRINTER_STATUS PrinterDriverAttributes XPS_COLOR_INTERPOLATION XPS_COLOR_TYPE XPS_DASH_CAP XPS_DOCUMENT_TYPE XPS_FILL_RULE XPS_FONT_EMBEDDING XPS_IMAGE_TYPE XPS_INTERLEAVING XPS_LINE_CAP XPS_LINE_JOIN XPS_OBJECT_TYPE XPS_SEGMENT_STROKE_PATTERN XPS_SEGMENT_TYPE XPS_SPREAD_METHOD XPS_STYLE_SIMULATION XPS_THUMBNAIL_SIZE XPS_TILE_MODE XPS_JOB_COMPLETION PrintDocumentPackageStatus HPTPROVIDER ADDJOB_INFO_1 CORE_PRINTER_DRIVER 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 HSPOOLFILE JOB_INFO_1 JOB_INFO_2 JOB_INFO_3 JOB_INFO_4 MONITOR_INFO_1 MONITOR_INFO_2 PORT_INFO_1 PORT_INFO_2 PORT_INFO_3 PRINT_EXECUTION_DATA 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 PROVIDOR_INFO_1 PROVIDOR_INFO_2 XPS_POINT XPS_RECT XPS_SIZE XPS_COLOR XPS_DASH XPS_GLYPH_INDEX XPS_GLYPH_MAPPING XPS_MATRIX XPS_JOB_STATUS NOTIFYDATA XPS_COLOR_TYPE_SCRGB XPS_COLOR_TYPE_CONTEXT XPS_COLOR_TYPE_SRGB DATA IPrintDocumentPageSource IPrintPreviewPageCollection IPrintDocumentPackageStatusEvent IPrintDocumentPackageTarget IPrintDocumentPackageTargetFactory IXpsOMBrush IXpsOMCanvas IXpsOMColorProfileResource IXpsOMColorProfileResourceCollection IXpsOMDashCollection IXpsOMDictionary IXpsOMDocumentStructureResource IXpsOMFontResource IXpsOMFontResourceCollection IXpsOMGeometry IXpsOMGeometryFigure IXpsOMGeometryFigureCollection IXpsOMGlyphs IXpsOMGlyphsEditor IXpsOMGradientBrush IXpsOMGradientStop IXpsOMGradientStopCollection IXpsOMImageBrush IXpsOMImageResource IXpsOMObjectFactory IXpsOMCoreProperties IXpsOMDocument IXpsOMDocumentCollection IXpsOMDocumentSequence IXpsOMPackage IXpsOMPackageWriter IXpsOMPage IXpsOMPageReference IXpsOMPageReferenceCollection IXpsOMPart IXpsOMPartResources IXpsOMPartUriCollection IXpsOMImageResourceCollection IXpsOMLinearGradientBrush IXpsOMMatrixTransform IXpsOMNameCollection IXpsOMPath IXpsOMPrintTicketResource IXpsOMRadialGradientBrush IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResourceCollection IXpsOMResource IXpsOMShareable IXpsOMSignatureBlockResource IXpsOMSignatureBlockResourceCollection IXpsOMSolidColorBrush IXpsOMStoryFragmentsResource IXpsOMThumbnailGenerator IXpsOMTileBrush IXpsOMVisual IXpsOMVisualBrush IXpsOMVisualCollection IXpsPrintJob IXpsPrintJobStream
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS 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 ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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
4.0.0 103 3/29/2024
4.0.0-beta2 121 1/22/2024
4.0.0-beta 121 11/20/2023
3.4.17 778 10/18/2023
3.4.16 335 8/7/2023
3.4.15 1,670 5/18/2023
3.4.14 263 4/15/2023
3.4.13 1,053 2/4/2023
3.4.12 899 1/15/2023
3.4.11 2,928 11/15/2022
3.4.10 842 10/25/2022
3.4.9 1,074 10/3/2022
3.4.8 710 9/16/2022
3.4.7 735 9/3/2022
3.4.6 751 8/7/2022
3.4.5 822 7/17/2022
3.4.4 767 7/5/2022
3.4.3 867 6/14/2022
3.4.2 1,841 5/13/2022
3.4.1 824 5/5/2022
3.4.0 1,475 3/14/2022
3.3.15 556 12/27/2021
3.3.14 774 10/26/2021
3.3.13 589 9/30/2021
3.3.12 761 8/30/2021
3.3.11 533 7/22/2021
3.3.10 617 6/4/2021
3.3.9 607 5/7/2021
3.3.8 569 4/7/2021
3.3.7 572 3/24/2021
3.3.6 543 3/19/2021
3.3.5 552 3/1/2021
3.3.4 535 2/11/2021
3.3.3 519 2/3/2021
3.3.2 576 1/21/2021
3.3.1 602 1/20/2021
3.3.0 656 11/20/2020
3.2.21 560 11/13/2020
3.2.20 681 11/8/2020
3.2.19 629 10/23/2020
3.2.18 648 10/21/2020
3.2.17 746 9/20/2020
3.2.16 620 9/7/2020
3.2.15 670 8/30/2020
3.2.14 585 8/20/2020
3.2.13 686 7/27/2020
3.2.12 610 7/13/2020
3.2.11 704 6/28/2020
3.2.10 728 6/14/2020
3.2.9 693 6/3/2020
3.2.7 711 5/4/2020
3.2.6 637 4/21/2020
3.2.5 605 4/15/2020
3.2.4 659 4/12/2020
3.2.3 654 4/1/2020
3.2.2 629 3/24/2020
3.2.1 633 3/17/2020
3.2.0 870 2/27/2020
3.1.9 718 1/17/2020
3.1.8 711 1/13/2020
3.1.7 728 1/6/2020
3.1.6 689 12/12/2019

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