CIM_Printer class

The CIM_Printer class represents the capabilities and management of the printer logical device.

Important

The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Abstract, UUID("{8502C54A-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class CIM_Printer : CIM_LogicalDevice
{
  uint16   Availability;
  string   AvailableJobSheets[];
  uint16   Capabilities[];
  string   CapabilityDescriptions[];
  string   Caption;
  string   CharSetsSupported[];
  uint32   ConfigManagerErrorCode;
  boolean  ConfigManagerUserConfig;
  string   CreationClassName;
  uint16   CurrentCapabilities[];
  string   CurrentCharSet;
  uint16   CurrentLanguage;
  string   CurrentMimeType;
  string   CurrentNaturalLanguage;
  string   CurrentPaperType;
  uint16   DefaultCapabilities[];
  uint32   DefaultCopies;
  uint16   DefaultLanguage;
  string   DefaultMimeType;
  uint32   DefaultNumberUp;
  string   DefaultPaperType;
  string   Description;
  uint16   DetectedErrorState;
  string   DeviceID;
  boolean  ErrorCleared;
  string   ErrorDescription;
  string   ErrorInformation[];
  uint32   HorizontalResolution;
  datetime InstallDate;
  uint32   JobCountSinceLastReset;
  uint16   LanguagesSupported[];
  uint32   LastErrorCode;
  uint16   MarkingTechnology;
  uint32   MaxCopies;
  uint32   MaxNumberUp;
  uint32   MaxSizeSupported;
  string   MimeTypesSupported[];
  string   Name;
  string   NaturalLanguagesSupported[];
  uint16   PaperSizesSupported[];
  string   PaperTypesAvailable[];
  string   PNPDeviceID;
  uint16   PowerManagementCapabilities[];
  boolean  PowerManagementSupported;
  uint16   PrinterStatus;
  string   Status;
  uint16   StatusInfo;
  string   SystemCreationClassName;
  string   SystemName;
  datetime TimeOfLastReset;
  uint32   VerticalResolution;
};

Members

The CIM_Printer class has these types of members:

Methods

The CIM_Printer class has these methods.

Method Description
Reset Requests a reset of the logical device. Not implemented by WMI.
SetPowerState Defines the desired power state for a logical device and when a device should be put into that state. Not implemented by WMI.

Properties

The CIM_Printer class has these properties.

Availability

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Operational State|003.5", "MIB.IETF|HOST-RESOURCES-MIB.hrDeviceStatus")

Availability and status of the device.

This property is inherited from CIM_LogicalDevice.

Other (1)

Unknown (2)

Running/Full Power (3)

Running or Full Power

Warning (4)

In Test (5)

Not Applicable (6)

Power Off (7)

Off Line (8)

Off Duty (9)

Degraded (10)

Not Installed (11)

Install Error (12)

Power Save - Unknown (13)

The device is known to be in a power save mode, but its exact status is unknown.

Power Save - Low Power Mode (14)

The device is in a power save state but still functioning, and may exhibit degraded performance.

Power Save - Standby (15)

The device is not functioning, but could be brought to full power quickly.

Power Cycle (16)

Power Save - Warning (17)

The device is in a warning state, though also in a power save mode.

Paused (18)

The device is paused.

Not Ready (19)

The device is not ready.

Not Configured (20)

The device is not configured.

Quiesced (21)

The device is quiet.

AvailableJobSheets

Data type: string array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.RequiredJobSheets")

Describes all of the job sheets that are available on the printer. This can also be used to describe the banner that a printer might provide at the beginning of each job, or can describe other user specified options.

Capabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_Printer.CapabilityDescriptions", "CIM_PrintJob.Finishing", "CIM_PrintService.Capabilities")

Printer capabilities.

Unknown (0)

Other (1)

Color Printing (2)

Duplex Printing (3)

Copies (4)

Collation (5)

Stapling (6)

Transparency Printing (7)

Punch (8)

Cover (9)

Bind (10)

Black and White Printing (11)

One Sided (12)

One-sided

Two Sided Long Edge (13)

Two-sided long edge

Two Sided Short Edge (14)

Two-sided short edge

Portrait (15)

Landscape (16)

Reverse Portrait (17)

Reverse Landscape (18)

Quality High (19)

Quality high

Quality Normal (20)

Quality normal

Quality Low (21)

Quality low

CapabilityDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_Printer.Capabilities")

Free-form strings that provide detailed explanations for any of the printer features indicated in the Capabilities array.

Note

Each entry of this array is related to the entry in the Capabilities array that is located at the same index.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

Short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

CharSetsSupported

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PrintJob.CharSet"), MappingStrings ("MIB.IETF|Printer-MIB.prtLocalizationCharacterSet")

Available character sets for the output of text related to managing the printer. Strings provided in this property should conform to the semantics and syntax specified by section 4.1.2 ("Charset parameter") in RFC 2046 (MIME Part 2), and contained in the IANA character-set registry. Examples include "utf-8", "us-ascii", and "iso-8859-1".

ConfigManagerErrorCode

Data type: uint32

Access type: Read-only

Qualifiers: Schema ("Win32")

Win32 Configuration Manager error code.

This property is inherited from CIM_LogicalDevice.

This device is working properly. (0)

Device is working properly.

This device is not configured correctly. (1)

Device is not configured correctly.

Windows cannot load the driver for this device. (2)

The driver for this device might be corrupted, or your system may be running low on memory or other resources. (3)

Driver for this device might be corrupted, or the system may be low on memory or other resources.

This device is not working properly. One of its drivers or your registry might be corrupted. (4)

Device is not working properly. One of its drivers or the registry might be corrupted.

The driver for this device needs a resource that Windows cannot manage. (5)

Driver for the device requires a resource that Windows cannot manage.

The boot configuration for this device conflicts with other devices. (6)

Boot configuration for the device conflicts with other devices.

Cannot filter. (7)

The driver loader for the device is missing. (8)

Driver loader for the device is missing.

This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly. (9)

Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.

This device cannot start. (10)

Device cannot start.

This device failed. (11)

Device failed.

This device cannot find enough free resources that it can use. (12)

Device cannot find enough free resources to use.

Windows cannot verify this device's resources. (13)

Windows cannot verify the device's resources.

This device cannot work properly until you restart your computer. (14)

Device cannot work properly until the computer is restarted.

This device is not working properly because there is probably a re-enumeration problem. (15)

Device is not working properly due to a possible re-enumeration problem.

Windows cannot identify all the resources this device uses. (16)

Windows cannot identify all of the resources that the device uses.

This device is asking for an unknown resource type. (17)

Device is requesting an unknown resource type.

Reinstall the drivers for this device. (18)

Device drivers must be reinstalled.

Failure using the VxD loader. (19)

Your registry might be corrupted. (20)

Registry might be corrupted.

System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device. (21)

System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.

This device is disabled. (22)

Device is disabled.

System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation. (23)

System failure. If changing the device driver is ineffective, see the hardware documentation.

This device is not present, is not working properly, or does not have all its drivers installed. (24)

Device is not present, not working properly, or does not have all of its drivers installed.

Windows is still setting up this device. (25)

Windows is still setting up the device.

Windows is still setting up this device. (26)

Windows is still setting up the device.

This device does not have valid log configuration. (27)

Device does not have valid log configuration.

The drivers for this device are not installed. (28)

Device drivers are not installed.

This device is disabled because the firmware of the device did not give it the required resources. (29)

Device is disabled. The device firmware did not provide the required resources.

This device is using an Interrupt Request (IRQ) resource that another device is using. (30)

Device is using an IRQ resource that another device is using.

This device is not working properly because Windows cannot load the drivers required for this device. (31)

Device is not working properly. Windows cannot load the required device drivers.

ConfigManagerUserConfig

Data type: boolean

Access type: Read-only

Qualifiers: Schema ("Win32")

If TRUE, the device is using a user-defined configuration.

This property is inherited from CIM_LogicalDevice.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified.

This property is inherited from CIM_LogicalDevice.

CurrentCapabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.Capabilities")

Finishings and other capabilities of the printer that are currently in use. Each entry in this property should also be listed in the Capabilities array.

Unknown (0)

Other (1)

Color Printing (2)

Duplex Printing (3)

Copies (4)

Collation (5)

Stapling (6)

Transparency Printing (7)

Punch (8)

Cover (9)

Bind (10)

Black and White Printing (11)

One Sided (12)

One-sided

Two Sided Long Edge (13)

Two-sided long edge

Two Sided Short Edge (14)

Two-sided short edge

Portrait (15)

Landscape (16)

Reverse Portrait (17)

Reverse Landscape (18)

Quality High (19)

Quality high

Quality Normal (20)

Quality normal

Quality Low (21)

Quality low

CurrentCharSet

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.CharSetsSupported")

Current character set used for the output of text relating to management of the printer. The character set described by this property should also be listed in the CharsetsSupported property. The string specified by this property should conform to the semantics and syntax specified by section 4.1.2 ("Charset parameter") in RFC 2046 (MIME Part 2), and contained in the IANA character-set registry. Examples include "utf-8", "us-ascii", and "iso-8859-1".

CurrentLanguage

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.LanguagesSupported", "CIM_Printer.CurrentMimeType")

Current printer language being used; the language should also be listed in the LanguagesSupported property.

Other (1)

Unknown (2)

PCL (3)

HPGL (4)

PJL (5)

PS (6)

PSPrinter (7)

IPDS (8)

PPDS (9)

EscapeP (10)

Epson (11)

DDIF (12)

Interpress (13)

ISO6429 (14)

Line Data (15)

MODCA (16)

REGIS (17)

SCS (18)

SPDL (19)

TEK4014 (20)

PDS (21)

IGP (22)

CodeV (23)

DSCDSE (24)

WPS (25)

LN03 (26)

CCITT (27)

QUIC (28)

CPAP (29)

DecPPL (30)

Simple Text (31)

NPAP (32)

DOC (33)

imPress (34)

Pinwriter (35)

NPDL (36)

NEC201PL (37)

Automatic (38)

Pages (39)

LIPS (40)

TIFF (41)

Diagnostic (42)

CaPSL (43)

EXCL (44)

LCDS (45)

XES (46)

MIME (47)

CurrentMimeType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.CurrentLanguage")

Mime type currently in use by the printer when the CurrentLanguage property is set to indicate that a mime type is in use.

CurrentNaturalLanguage

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.NaturalLanguagesSupported")

Current language in use by the printer for management. The language listed here should also be listed in NaturalLanguagesSupported.

CurrentPaperType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.PaperTypesAvailable")

Paper type currently in use by the printer. The string should be expressed in the form specified by ISO/IEC 10175 Document Printing Application (DPA), which is also summarized in Appendix C of RFC 1759 (Printer MIB).

DefaultCapabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.Capabilities")

Default finishings and other capabilities of the printer. Each entry in this property should also be listed in the Capabilities array.

Unknown (0)

Other (1)

Color Printing (2)

Duplex Printing (3)

Copies (4)

Collation (5)

Stapling (6)

Transparency Printing (7)

Punch (8)

Cover (9)

Bind (10)

Black and White Printing (11)

One Sided (12)

One-sided

Two Sided Long Edge (13)

Two-sided long edge

Two Sided Short Edge (14)

Two-sided short edge

Portrait (15)

Landscape (16)

Reverse Portrait (17)

Reverse Landscape (18)

Quality High (19)

Quality high

Quality Normal (20)

Quality normal

Quality Low (21)

Quality low

DefaultCopies

Data type: uint32

Access type: Read-only

Number of copies that a single job will produce, unless otherwise specified.

DefaultLanguage

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.LanguagesSupported", "CIM_Printer.DefaultMimeType")

Default printer language. The language should also be listed in the LanguagesSupported property.

Other (1)

Unknown (2)

PCL (3)

HPGL (4)

PJL (5)

PS (6)

PSPrinter (7)

IPDS (8)

PPDS (9)

EscapeP (10)

Epson (11)

DDIF (12)

Interpress (13)

ISO6429 (14)

Line Data (15)

MODCA (16)

REGIS (17)

SCS (18)

SPDL (19)

TEK4014 (20)

PDS (21)

IGP (22)

CodeV (23)

DSCDSE (24)

WPS (25)

LN03 (26)

CCITT (27)

QUIC (28)

CPAP (29)

DecPPL (30)

Simple Text (31)

NPAP (32)

DOC (33)

imPress (34)

Pinwriter (35)

NPDL (36)

NEC201PL (37)

Automatic (38)

Pages (39)

LIPS (40)

TIFF (41)

Diagnostic (42)

CaPSL (43)

EXCL (44)

LCDS (45)

XES (46)

MIME (47)

DefaultMimeType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.DefaultLanguage")

Default mime type used by the printer when the DefaultLanguage property is set to indicate that a mime type is in use.

DefaultNumberUp

Data type: uint32

Access type: Read-only

Number of print-stream pages that the printer will render onto a single media sheet, unless a job specifies otherwise.

DefaultPaperType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.PaperTypesAvailable")

Paper type that the printer will use if PrintJob does not specify a particular type. The string should be expressed in the form specified by ISO/IEC 10175 Document Printing Application (DPA), which is also summarized in Appendix C of RFC 1759 (Printer MIB).

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

DetectedErrorState

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.ErrorInformation"), MappingStrings ("MIB.IETF|Printer-MIB.hrPrinterDetectedErrorState")

Printer error information.

Unknown (0)

Other (1)

No Error (2)

Low Paper (3)

No Paper (4)

Low Toner (5)

No Toner (6)

Door Open (7)

Jammed (8)

Offline (9)

Service Requested (10)

Output Bin Full (11)

DeviceID

Data type: string

Access type: Read-only

Qualifiers: CIM_Key

Address or other identifying information to uniquely name the logical device.

This property is inherited from CIM_LogicalDevice.

ErrorCleared

Data type: boolean

Access type: Read-only

If TRUE, the error reported in the LastErrorCode property is now cleared.

This property is inherited from CIM_LogicalDevice.

ErrorDescription

Data type: string

Access type: Read-only

Free-form string that supplies information about the error recorded in the LastErrorCode property and corrective actions to perform.

This property is inherited from CIM_LogicalDevice.

ErrorInformation

Data type: string array

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_Printer.DetectedErrorState")

Array that provides supplemental information for the current error state, indicated in the DetectedErrorState property.

HorizontalResolution

Data type: uint32

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.HorizontalResolution"), Units ("pixels per inch")

Horizontal resolution in pixels-per-inch.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

This property is inherited from CIM_ManagedSystemElement.

JobCountSinceLastReset

Data type: uint32

Access type: Read-only

Qualifiers: Counter

Printer jobs processed since the last reset. These jobs can be processed from one or more print queues.

LanguagesSupported

Data type: uint16 array

Access type: Read-only

Qualifiers: MappingStrings ("MIB.IETF|Printer-MIB.prtInterpreterLangFamily"), ModelCorrespondence ("CIM_Printer.MimeTypesSupported", "CIM_PrintJob.Language", "CIM_PrintService.LanguagesSupported")

Print languages that are natively supported.

Other (1)

Unknown (2)

PCL (3)

HPGL (4)

PJL (5)

PS (6)

PSPrinter (7)

IPDS (8)

PPDS (9)

EscapeP (10)

Epson (11)

DDIF (12)

Interpress (13)

ISO6429 (14)

Line Data (15)

MODCA (16)

REGIS (17)

SCS (18)

SPDL (19)

TEK4014 (20)

PDS (21)

IGP (22)

CodeV (23)

DSCDSE (24)

WPS (25)

LN03 (26)

CCITT (27)

QUIC (28)

CPAP (29)

DecPPL (30)

Simple Text (31)

NPAP (32)

DOC (33)

imPress (34)

Pinwriter (35)

NPDL (36)

NEC201PL (37)

Automatic (38)

Pages (39)

LIPS (40)

TIFF (41)

Diagnostic (42)

CaPSL (43)

EXCL (44)

LCDS (45)

XES (46)

MIME (47)

XPS (48)

HPGL2 (49)

PCLXL (50)

LastErrorCode

Data type: uint32

Access type: Read-only

Last error code reported by the logical device.

This property is inherited from CIM_LogicalDevice.

MarkingTechnology

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIB.IETF|Printer-MIB.prtMarkerMarkTech")

Marking technology used by the printer.

Other (1)

Unknown (2)

Electrophotographic LED (3)

Electrophotographic Laser (4)

Electrophotographic Other (5)

Impact Moving Head Dot Matrix 9pin (6)

Impact Moving Head Dot Matrix 24pin (7)

Impact Moving Head Dot Matrix Other (8)

Impact Moving Head Fully Formed (9)

Impact Band (10)

Impact Other (11)

Inkjet Aqueous (12)

Inkjet Solid (13)

Inkjet Other (14)

Pen (15)

Thermal Transfer (16)

Thermal Sensitive (17)

Thermal Diffusion (18)

Thermal Other (19)

Electroerosion (20)

Electrostatic (21)

Photographic Microfiche (22)

Photographic Imagesetter (23)

Photographic Other (24)

Ion Deposition (25)

eBeam (26)

Typesetter (27)

MaxCopies

Data type: uint32

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.Copies")

Maximum number of copies that can be produced by the printer from a single job.

MaxNumberUp

Data type: uint32

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.NumberUp")

Maximum number of print-stream pages that the printer can render onto a single media sheet.

MaxSizeSupported

Data type: uint32

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.JobSize"), Units ("kilobytes")

Largest job (as a byte stream) that the printer will accept in units of kilobytes. A value of 0 (zero) indicates that no limit has been set.

MimeTypesSupported

Data type: string array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Printer.LanguagesSupported", "CIM_PrintJob.MimeTypes", "CIM_PrintService.MimeTypesSupported")

Free-form strings that provide detailed explanations of mime types that are supported by the printer. If data is provided for this property, then the value 47 ("Mime"), should be included in the LanguagesSupported property.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, this property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

NaturalLanguagesSupported

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), MappingStrings ("MIB.IETF|Printer-MIB.prtLocalizationLanguage"), ModelCorrespondence ("CIM_PrintJob.NaturalLanguage")

Available languages for strings used by the printer for management information output. The strings should conform to RFC 1766. For example, "en" is used for English.

PaperSizesSupported

Data type: uint16 array

Access type: Read-only

Types of paper supported.

Unknown (0)

Other (1)

A (2)

B (3)

C (4)

D (5)

E (6)

Letter (7)

Legal (8)

NA-10x13-Envelope (9)

NA-9x12-Envelope (10)

NA-Number-10-Envelope (11)

NA-7x9-Envelope (12)

NA-9x11-Envelope (13)

NA-10x14-Envelope (14)

NA-Number-9-Envelope (15)

NA-6x9-Envelope (16)

NA-10x15-Envelope (17)

A0 (18)

A1 (19)

A2 (20)

A3 (21)

A4 (22)

A5 (23)

A6 (24)

A7 (25)

A8 (26)

A9A10 (27)

B0 (28)

B1 (29)

B2 (30)

B3 (31)

B4 (32)

B5 (33)

B6 (34)

B7 (35)

B8 (36)

B9 (37)

B10 (38)

C0 (39)

C1 (40)

C2C3 (41)

C4 (42)

C5 (43)

C6 (44)

C7 (45)

C8 (46)

ISO-Designated (47)

JIS B0 (48)

JIS B1 (49)

JIS B2 (50)

JIS B3 (51)

JIS B4 (52)

JIS B5 (53)

JIS B6 (54)

JIS B7 (55)

JIS B8 (56)

JIS B9 (57)

JIS B10 (58)

NA-Letter (59)

NA-Legal (60)

B4-Envelope (61)

B5-Envelope (62)

C3-Envelope (63)

C4-Envelope (64)

C5-Envelope (65)

C6-Envelope (66)

Designated-Long-Envelope (67)

Monarch-Envelope (68)

Executive (69)

Folio (70)

Invoice (71)

Ledger (72)

Quarto (73)

PaperTypesAvailable

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PrintJob.RequiredPaperType", "CIM_PrintService.PaperTypesAvailable"), MappingStrings ("MIB.IETF|Printer-MIB.prtInputMediaName")

Free-form strings that specify the types of paper that are currently available for the printer. Each string should be expressed in the form specified by ISO/IEC 10175 Document Printing Application (DPA), which is also summarized in Appendix C of RFC 1759 (Printer MIB). Examples of valid strings are "iso-a4-colored" and "na-10x14-envelope". By definition, a paper size that is available and listed in the PaperTypesAvailable property should also appear in the PaperSizesSupported property.

PNPDeviceID

Data type: string

Access type: Read-only

Qualifiers: Schema ("Win32")

Win32 Plug and Play device identifier of the logical device. This property is inherited from CIM_LogicalDevice.

Example: "*PNP030b"

PowerManagementCapabilities

Data type: uint16 array

Access type: Read-only

Array of the specific power-related capabilities of a logical device.

This property is inherited from CIM_LogicalDevice.

Unknown (0)

Not Supported (1)

Disabled (2)

Enabled (3)

The power management features are currently enabled but the exact feature set is unknown or the information is unavailable.

Power Saving Modes Entered Automatically (4)

The device can change its power state based on usage or other criteria.

Power State Settable (5)

The SetPowerState method is supported. This method is found on the parent CIM_LogicalDevice class and can be implemented. For more information, see Designing Managed Object Format (MOF) Classes.

Power Cycling Supported (6)

The SetPowerState method can be invoked with the PowerState parameter set to 5 (Power Cycle).

Timed Power On Supported (7)

The SetPowerState method can be invoked with the PowerState parameter set to 5 (Power Cycle) and Time set to a specific date and time, or interval, for power-on.

PowerManagementSupported

Data type: boolean

Access type: Read-only

If TRUE, the device can be power managed, that is, put into a power-save state. If FALSE, the integer value 1 ("Not Supported") should be the only entry in the PowerManagementCapabilities array.

This property does not indicate whether power management features are currently enabled, or if enabled, which features are supported. For more information, see the PowerManagementCapabilities array. This property is inherited from CIM_LogicalDevice.

PrinterStatus

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIB.IETF|Printer-MIB.hrPrinterStatus")

Status information, beyond that specified in the Availability property, for a printer.

Other (1)

Unknown (2)

Idle (3)

Printing (4)

Warmup (5)

Stopped Printing (6)

Offline (7)

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

Current status of the object. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

StatusInfo

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Operational State|003.3")

State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used.

This property is inherited from CIM_LogicalDevice.

Other (1)

Unknown (2)

Enabled (3)

Disabled (4)

Not Applicable (5)

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_System.CreationClassName"), CIM_Key

Scoping system's creation class name.

This property is inherited from CIM_LogicalDevice.

SystemName

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_System.Name"), CIM_Key

Scoping system's name.

This property is inherited from CIM_LogicalDevice.

TimeOfLastReset

Data type: datetime

Access type: Read-only

Time of last printer reset.

VerticalResolution

Data type: uint32

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PrintJob.HorizontalResolution"), Units ("pixels per inch")

Vertical resolution in pixels-per-inch.

Remarks

The CIM_Printer class is derived from CIM_LogicalDevice.

WMI does not implement this class. For WMI classed derived from CIM_Printer, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

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

See also

CIM_LogicalDevice