GetPrintCapabilities Method
Collapse the table of content
Expand the table of content

PrintQueue::GetPrintCapabilities Method ()


Gets a PrintCapabilities object that identifies the capabilities of the printer.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

PrintCapabilities^ GetPrintCapabilities()

Return Value

Type: System.Printing::PrintCapabilities^

A PrintCapabilities object that specifies what the printer can and cannot do, such as two-sided coping or automatic stapling.

Exception Condition

The PrintCapabilities object could not be retrieved.

The following example shows how to use this method while merging two print tickets.

No code example is currently available or this language may not be supported.


for permission to get print capabilities. Associated enumeration: DefaultPrinting

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft