Vanara.PInvoke.Printing 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.Printing --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.Printing -Version 4.0.4                
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.4" />                
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.4                
#r "nuget: Vanara.PInvoke.Printing, 4.0.4"                
#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.4

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

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 is compatible.  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 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 881 9/13/2024
4.0.3 299 8/5/2024
4.0.2 446 6/24/2024
4.0.1 712 4/30/2024
4.0.0 224 3/29/2024
4.0.0-beta2 156 1/22/2024
4.0.0-beta 155 11/20/2023
3.4.17 1,378 10/18/2023
3.4.16 386 8/7/2023
3.4.15 1,732 5/18/2023
3.4.14 301 4/15/2023
3.4.13 1,394 2/4/2023
3.4.12 1,204 1/15/2023
3.4.11 3,032 11/15/2022
3.4.10 887 10/25/2022
3.4.9 1,102 10/3/2022
3.4.8 746 9/16/2022
3.4.7 765 9/3/2022
3.4.6 785 8/7/2022
3.4.5 861 7/17/2022
3.4.4 790 7/5/2022
3.4.3 907 6/14/2022
3.4.2 1,874 5/13/2022
3.4.1 869 5/5/2022
3.4.0 1,673 3/14/2022
3.3.15 610 12/27/2021
3.3.14 796 10/26/2021
3.3.13 613 9/30/2021
3.3.12 935 8/30/2021
3.3.11 561 7/22/2021
3.3.10 648 6/4/2021
3.3.9 645 5/7/2021
3.3.8 596 4/7/2021
3.3.7 596 3/24/2021
3.3.6 682 3/19/2021
3.3.5 574 3/1/2021
3.3.4 570 2/11/2021
3.3.3 550 2/3/2021
3.3.2 599 1/21/2021
3.3.1 647 1/20/2021
3.3.0 694 11/20/2020
3.2.21 590 11/13/2020
3.2.20 722 11/8/2020
3.2.19 660 10/23/2020
3.2.18 693 10/21/2020
3.2.17 795 9/20/2020
3.2.16 661 9/7/2020
3.2.15 695 8/30/2020
3.2.14 621 8/20/2020
3.2.13 735 7/27/2020
3.2.12 647 7/13/2020
3.2.11 741 6/28/2020
3.2.10 758 6/14/2020
3.2.9 730 6/3/2020
3.2.7 745 5/4/2020
3.2.6 681 4/21/2020
3.2.5 642 4/15/2020
3.2.4 700 4/12/2020
3.2.3 689 4/1/2020
3.2.2 664 3/24/2020
3.2.1 677 3/17/2020
3.2.0 908 2/27/2020
3.1.9 749 1/17/2020
3.1.8 742 1/13/2020
3.1.7 759 1/6/2020
3.1.6 729 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