Vanara.PInvoke.Printing 4.0.0-beta2

Prefix Reserved
This is a prerelease version of Vanara.PInvoke.Printing.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Printing --version 4.0.0-beta2                
NuGet\Install-Package Vanara.PInvoke.Printing -Version 4.0.0-beta2                
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-beta2" />                
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-beta2                
#r "nuget: Vanara.PInvoke.Printing, 4.0.0-beta2"                
#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-beta2&prerelease

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

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 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 903 9/13/2024
4.0.3 301 8/5/2024
4.0.2 448 6/24/2024
4.0.1 714 4/30/2024
4.0.0 226 3/29/2024
4.0.0-beta2 156 1/22/2024
4.0.0-beta 155 11/20/2023
3.4.17 1,393 10/18/2023
3.4.16 388 8/7/2023
3.4.15 1,737 5/18/2023
3.4.14 303 4/15/2023
3.4.13 1,406 2/4/2023
3.4.12 1,207 1/15/2023
3.4.11 3,034 11/15/2022
3.4.10 889 10/25/2022
3.4.9 1,104 10/3/2022
3.4.8 748 9/16/2022
3.4.7 767 9/3/2022
3.4.6 787 8/7/2022
3.4.5 863 7/17/2022
3.4.4 792 7/5/2022
3.4.3 909 6/14/2022
3.4.2 1,876 5/13/2022
3.4.1 871 5/5/2022
3.4.0 1,675 3/14/2022
3.3.15 612 12/27/2021
3.3.14 798 10/26/2021
3.3.13 619 9/30/2021
3.3.12 937 8/30/2021
3.3.11 563 7/22/2021
3.3.10 650 6/4/2021
3.3.9 647 5/7/2021
3.3.8 598 4/7/2021
3.3.7 598 3/24/2021
3.3.6 684 3/19/2021
3.3.5 576 3/1/2021
3.3.4 572 2/11/2021
3.3.3 552 2/3/2021
3.3.2 601 1/21/2021
3.3.1 649 1/20/2021
3.3.0 697 11/20/2020
3.2.21 592 11/13/2020
3.2.20 724 11/8/2020
3.2.19 662 10/23/2020
3.2.18 695 10/21/2020
3.2.17 797 9/20/2020
3.2.16 663 9/7/2020
3.2.15 697 8/30/2020
3.2.14 623 8/20/2020
3.2.13 737 7/27/2020
3.2.12 649 7/13/2020
3.2.11 743 6/28/2020
3.2.10 760 6/14/2020
3.2.9 732 6/3/2020
3.2.7 747 5/4/2020
3.2.6 683 4/21/2020
3.2.5 644 4/15/2020
3.2.4 702 4/12/2020
3.2.3 691 4/1/2020
3.2.2 666 3/24/2020
3.2.1 679 3/17/2020
3.2.0 910 2/27/2020
3.1.9 751 1/17/2020
3.1.8 744 1/13/2020
3.1.7 761 1/6/2020
3.1.6 731 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