Vanara.PInvoke.Printing 3.4.14

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Printing --version 3.4.14                
NuGet\Install-Package Vanara.PInvoke.Printing -Version 3.4.14                
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="3.4.14" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Printing --version 3.4.14                
#r "nuget: Vanara.PInvoke.Printing, 3.4.14"                
#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=3.4.14

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

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 was computed.  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. 
.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 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.4 827 9/13/2024
4.0.3 296 8/5/2024
4.0.2 441 6/24/2024
4.0.1 703 4/30/2024
4.0.0 221 3/29/2024
4.0.0-beta2 153 1/22/2024
4.0.0-beta 152 11/20/2023
3.4.17 1,361 10/18/2023
3.4.16 383 8/7/2023
3.4.15 1,728 5/18/2023
3.4.14 298 4/15/2023
3.4.13 1,381 2/4/2023
3.4.12 1,197 1/15/2023
3.4.11 3,028 11/15/2022
3.4.10 884 10/25/2022
3.4.9 1,099 10/3/2022
3.4.8 743 9/16/2022
3.4.7 762 9/3/2022
3.4.6 782 8/7/2022
3.4.5 858 7/17/2022
3.4.4 787 7/5/2022
3.4.3 904 6/14/2022
3.4.2 1,871 5/13/2022
3.4.1 866 5/5/2022
3.4.0 1,670 3/14/2022
3.3.15 607 12/27/2021
3.3.14 793 10/26/2021
3.3.13 610 9/30/2021
3.3.12 925 8/30/2021
3.3.11 558 7/22/2021
3.3.10 645 6/4/2021
3.3.9 642 5/7/2021
3.3.8 593 4/7/2021
3.3.7 593 3/24/2021
3.3.6 679 3/19/2021
3.3.5 571 3/1/2021
3.3.4 567 2/11/2021
3.3.3 547 2/3/2021
3.3.2 596 1/21/2021
3.3.1 644 1/20/2021
3.3.0 691 11/20/2020
3.2.21 587 11/13/2020
3.2.20 719 11/8/2020
3.2.19 657 10/23/2020
3.2.18 690 10/21/2020
3.2.17 792 9/20/2020
3.2.16 656 9/7/2020
3.2.15 692 8/30/2020
3.2.14 616 8/20/2020
3.2.13 732 7/27/2020
3.2.12 644 7/13/2020
3.2.11 738 6/28/2020
3.2.10 755 6/14/2020
3.2.9 727 6/3/2020
3.2.7 742 5/4/2020
3.2.6 678 4/21/2020
3.2.5 639 4/15/2020
3.2.4 697 4/12/2020
3.2.3 686 4/1/2020
3.2.2 661 3/24/2020
3.2.1 674 3/17/2020
3.2.0 905 2/27/2020
3.1.9 746 1/17/2020
3.1.8 739 1/13/2020
3.1.7 756 1/6/2020
3.1.6 726 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