Win32_PrinterSetting class
The Win32_PrinterSetting association WMI class relates a printer and its configuration settings.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
class Win32_PrinterSetting : Win32_DeviceSettings
{
Win32_Printer REF Element;
Win32_PrinterConfiguration REF Setting;
};
Members
The Win32_PrinterSetting class has these types of members:
Properties
The Win32_PrinterSetting class has these properties.
- Element
-
- Data type: Win32_Printer
- Access type: Read-only
Reference to the Win32_Printer instance representing the printer that can be configured with the Setting property. This property is inherited from CIM_ElementSetting.
- Setting
-
- Data type: Win32_PrinterConfiguration
- Access type: Read-only
Reference to the Win32_PrinterConfiguration instance representing the printer configuration settings that can be applied to the associated printer. This property is inherited from CIM_ElementSetting.
Remarks
The Win32_PrinterSetting class is derived from Win32_DeviceSettings.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012