Szerkesztés

Megosztás a következőn keresztül:


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
{
  CIM_Setting       REF Setting;
  CIM_LogicalDevice REF Element;
};

Members

The Win32_PrinterSetting class has these types of members:

Properties

The Win32_PrinterSetting class has these properties.

Element

Data type: CIM_LogicalDevice

Access type: Read-only

Qualifiers: key, MappingStrings ("CIM|CIM_LogicalDevice")

A CIM_LogicalDevice that represents properties of the logical device on which the settings can be applied.

This property is inherited from Win32_DeviceSettings.

Setting

Data type: CIM_Setting

Access type: Read-only

Qualifiers: key, MappingStrings ("CIM|CIM_Setting")

A CIM_Setting that represents settings that can be applied to the logical device.

This property is inherited from Win32_DeviceSettings.

Remarks

The Win32_PrinterSetting class is derived from Win32_DeviceSettings.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Win32_Printer.mof
DLL
CIMWin32.dll

See also

Win32_DeviceSettings

Computer System Hardware Classes