CIM_Printer

CIM Printer
root/cimv2abstract

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

On this page

Main example

List instances

# Abstract class: Get-CimInstance returns the instances of its subclasses
Get-CimInstance -ClassName CIM_Printer |
    Select-Object -Property DeviceID, Description, Status, InstallDate

Abstract class: it has no instances of its own. Get-CimInstance returns the instances of its subclasses (Win32_Printer).

Examples

Decode numeric values

# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}

Get-CimInstance -ClassName CIM_Printer |
    Select-Object -Property @(
        'DeviceID'
        'Description'
        'Status'
        'InstallDate'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )

Query a remote computer (CIM session)

review before running
# Name of the remote computer
$computerName = 'SERVER01'
# The CIM session (WSMan by default) can be reused for several queries
$cimSession = New-CimSession -ComputerName $computerName
try {
    Get-CimInstance -CimSession $cimSession -ClassName CIM_Printer |
        Select-Object -Property DeviceID, Description, Status, InstallDate
} finally {
    Remove-CimSession -CimSession $cimSession
}

WSMan (WinRM) is used by default. For a host without WinRM, create the session with -SessionOption (New-CimSessionOption -Protocol Dcom). Add -Credential to use another account.

Show the class structure

# Class structure: properties, types and flags (Key, ReadOnly…)
$cimClass = Get-CimClass -ClassName CIM_Printer
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

51 of 51 properties
NameTypeAccessDescription
Availabilityuint16read

Availability and status of the device.

Values (21)
ValueLabelDescription
1Other
2Unknown
3Running/Full PowerRunning or Full Power
4Warning
5In Test
6Not Applicable
7Power Off
8Off Line
9Off Duty
10Degraded
11Not Installed
12Install Error
13Power Save - UnknownThe device is known to be in a power save mode, but its exact status is unknown.
14Power Save - Low Power ModeThe device is in a power save state but still functioning, and may exhibit degraded performance.
15Power Save - StandbyThe device is not functioning, but could be brought to full power quickly.
16Power Cycle
17Power Save - WarningThe device is in a warning state, though also in a power save mode.
18PausedThe device is paused.
19Not ReadyThe device is not ready.
20Not ConfiguredThe device is not configured.
21QuiescedThe device is quiet.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Availability for each instance
# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, Availability |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
    )
AvailableJobSheetsstring[]read

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of AvailableJobSheets for each instance
# AvailableJobSheets is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property AvailableJobSheets |
    Select-Object -ExpandProperty AvailableJobSheets
Capabilitiesuint16[]read

Printer capabilities.

Values (22)
ValueLabelDescription
0Unknown
1Other
2Color Printing
3Duplex Printing
4Copies
5Collation
6Stapling
7Transparency Printing
8Punch
9Cover
10Bind
11Black and White Printing
12One SidedOne-sided
13Two Sided Long EdgeTwo-sided long edge
14Two Sided Short EdgeTwo-sided short edge
15Portrait
16Landscape
17Reverse Portrait
18Reverse Landscape
19Quality High
20Quality Normal
21Quality Low
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Capabilities for each instance
# Lookup table for Capabilities (values documented by Microsoft)
$capabilitiesName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'Color Printing'
    3 = 'Duplex Printing'
    4 = 'Copies'
    5 = 'Collation'
    6 = 'Stapling'
    7 = 'Transparency Printing'
    8 = 'Punch'
    9 = 'Cover'
    10 = 'Bind'
    11 = 'Black and White Printing'
    12 = 'One Sided'
    13 = 'Two Sided Long Edge'
    14 = 'Two Sided Short Edge'
    15 = 'Portrait'
    16 = 'Landscape'
    17 = 'Reverse Portrait'
    18 = 'Reverse Landscape'
    19 = 'Quality High'
    20 = 'Quality Normal'
    21 = 'Quality Low'
}
# Capabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property Capabilities |
    Select-Object -ExpandProperty Capabilities |
    ForEach-Object -Process { $capabilitiesName[[int]$_] }
CapabilityDescriptionsstring[]read

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CapabilityDescriptions for each instance
# CapabilityDescriptions is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property CapabilityDescriptions |
    Select-Object -ExpandProperty CapabilityDescriptions
Captionstringread

Short textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Caption for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, Caption |
    Select-Object -Property DeviceID, Caption
CharSetsSupportedstring[]read

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".

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CharSetsSupported for each instance
# CharSetsSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property CharSetsSupported |
    Select-Object -ExpandProperty CharSetsSupported
ConfigManagerErrorCodeuint32read

Win32 Configuration Manager error code.

Values (32)
ValueLabelDescription
0This device is working properly.Device is working properly.
1This device is not configured correctly.Device is not configured correctly.
2Windows cannot load the driver for this device.
3The driver for this device might be corrupted, or your system may be running low on memory or other resources.Driver for this device might be corrupted, or the system may be low on memory or other resources.
4This device is not working properly. One of its drivers or your registry might be corrupted.Device is not working properly. One of its drivers or the registry might be corrupted.
5The driver for this device needs a resource that Windows cannot manage.Driver for the device requires a resource that Windows cannot manage.
6The boot configuration for this device conflicts with other devices.Boot configuration for the device conflicts with other devices.
7Cannot filter.
8The driver loader for the device is missing.Driver loader for the device is missing.
9This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly.Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
10This device cannot start.Device cannot start.
11This device failed.Device failed.
12This device cannot find enough free resources that it can use.Device cannot find enough free resources to use.
13Windows cannot verify this device's resources.Windows cannot verify the device's resources.
14This device cannot work properly until you restart your computer.Device cannot work properly until the computer is restarted.
15This device is not working properly because there is probably a re-enumeration problem.Device is not working properly due to a possible re-enumeration problem.
16Windows cannot identify all the resources this device uses.Windows cannot identify all of the resources that the device uses.
17This device is asking for an unknown resource type.Device is requesting an unknown resource type.
18Reinstall the drivers for this device.Device drivers must be reinstalled.
19Failure using the VxD loader.
20Your registry might be corrupted.Registry might be corrupted.
21System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device.System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
22This device is disabled.Device is disabled.
23System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation.System failure. If changing the device driver is ineffective, see the hardware documentation.
24This device is not present, is not working properly, or does not have all its drivers installed.Device is not present, not working properly, or does not have all of its drivers installed.
25Windows is still setting up this device.Windows is still setting up the device.
26Windows is still setting up this device.Windows is still setting up the device.
27This device does not have valid log configuration.Device does not have valid log configuration.
28The drivers for this device are not installed.Device drivers are not installed.
29This device is disabled because the firmware of the device did not give it the required resources.Device is disabled. The device firmware did not provide the required resources.
30This device is using an Interrupt Request (IRQ) resource that another device is using.Device is using an IRQ resource that another device is using.
31This device is not working properly because Windows cannot load the drivers required for this device.Device is not working properly. Windows cannot load the required device drivers.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ConfigManagerErrorCode for each instance
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, ConfigManagerErrorCode |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )
ConfigManagerUserConfigbooleanread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ConfigManagerUserConfig for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, ConfigManagerUserConfig |
    Select-Object -Property DeviceID, ConfigManagerUserConfig
CreationClassName keystringread

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CreationClassName for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CreationClassName |
    Select-Object -Property DeviceID, CreationClassName
CurrentCapabilitiesuint16[]read

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.

Values (22)
ValueLabelDescription
0Unknown
1Other
2Color Printing
3Duplex Printing
4Copies
5Collation
6Stapling
7Transparency Printing
8Punch
9Cover
10Bind
11Black and White Printing
12One SidedOne-sided
13Two Sided Long EdgeTwo-sided long edge
14Two Sided Short EdgeTwo-sided short edge
15Portrait
16Landscape
17Reverse Portrait
18Reverse Landscape
19Quality High
20Quality Normal
21Quality Low
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentCapabilities for each instance
# Lookup table for CurrentCapabilities (values documented by Microsoft)
$currentCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'Color Printing'
    3 = 'Duplex Printing'
    4 = 'Copies'
    5 = 'Collation'
    6 = 'Stapling'
    7 = 'Transparency Printing'
    8 = 'Punch'
    9 = 'Cover'
    10 = 'Bind'
    11 = 'Black and White Printing'
    12 = 'One Sided'
    13 = 'Two Sided Long Edge'
    14 = 'Two Sided Short Edge'
    15 = 'Portrait'
    16 = 'Landscape'
    17 = 'Reverse Portrait'
    18 = 'Reverse Landscape'
    19 = 'Quality High'
    20 = 'Quality Normal'
    21 = 'Quality Low'
}
# CurrentCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property CurrentCapabilities |
    Select-Object -ExpandProperty CurrentCapabilities |
    ForEach-Object -Process { $currentCapabilitiesName[[int]$_] }
CurrentCharSetstringread

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".

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentCharSet for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CurrentCharSet |
    Select-Object -Property DeviceID, CurrentCharSet
CurrentLanguageuint16read

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

Values (47)
ValueLabelDescription
1Other
2Unknown
3PCL
4HPGL
5PJL
6PS
7PSPrinter
8IPDS
9PPDS
10EscapeP
11Epson
12DDIF
13Interpress
14ISO6429
15Line Data
16MODCA
17REGIS
18SCS
19SPDL
20TEK4014
21PDS
22IGP
23CodeV
24DSCDSE
25WPS
26LN03
27CCITT
28QUIC
29CPAP
30DecPPL
31Simple Text
32NPAP
33DOC
34imPress
35Pinwriter
36NPDL
37NEC201PL
38Automatic
39Pages
40LIPS
41TIFF
42Diagnostic
43CaPSL
44EXCL
45LCDS
46XES
47MIME
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentLanguage for each instance
# Lookup table for CurrentLanguage (values documented by Microsoft)
$currentLanguageName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'PCL'
    4 = 'HPGL'
    5 = 'PJL'
    6 = 'PS'
    7 = 'PSPrinter'
    8 = 'IPDS'
    9 = 'PPDS'
    10 = 'EscapeP'
    11 = 'Epson'
    12 = 'DDIF'
    13 = 'Interpress'
    14 = 'ISO6429'
    15 = 'Line Data'
    16 = 'MODCA'
    17 = 'REGIS'
    18 = 'SCS'
    19 = 'SPDL'
    20 = 'TEK4014'
    21 = 'PDS'
    22 = 'IGP'
    23 = 'CodeV'
    24 = 'DSCDSE'
    25 = 'WPS'
    26 = 'LN03'
    27 = 'CCITT'
    28 = 'QUIC'
    29 = 'CPAP'
    30 = 'DecPPL'
    31 = 'Simple Text'
    32 = 'NPAP'
    33 = 'DOC'
    34 = 'imPress'
    35 = 'Pinwriter'
    36 = 'NPDL'
    37 = 'NEC201PL'
    38 = 'Automatic'
    39 = 'Pages'
    40 = 'LIPS'
    41 = 'TIFF'
    42 = 'Diagnostic'
    43 = 'CaPSL'
    44 = 'EXCL'
    45 = 'LCDS'
    46 = 'XES'
    47 = 'MIME'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CurrentLanguage |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'CurrentLanguage'; Expression = { $currentLanguageName[[int]$_.CurrentLanguage] } }
    )
CurrentMimeTypestringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentMimeType for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CurrentMimeType |
    Select-Object -Property DeviceID, CurrentMimeType
CurrentNaturalLanguagestringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentNaturalLanguage for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CurrentNaturalLanguage |
    Select-Object -Property DeviceID, CurrentNaturalLanguage
CurrentPaperTypestringread

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).

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentPaperType for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, CurrentPaperType |
    Select-Object -Property DeviceID, CurrentPaperType
DefaultCapabilitiesuint16[]read

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

Values (22)
ValueLabelDescription
0Unknown
1Other
2Color Printing
3Duplex Printing
4Copies
5Collation
6Stapling
7Transparency Printing
8Punch
9Cover
10Bind
11Black and White Printing
12One SidedOne-sided
13Two Sided Long EdgeTwo-sided long edge
14Two Sided Short EdgeTwo-sided short edge
15Portrait
16Landscape
17Reverse Portrait
18Reverse Landscape
19Quality High
20Quality Normal
21Quality Low
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultCapabilities for each instance
# Lookup table for DefaultCapabilities (values documented by Microsoft)
$defaultCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'Color Printing'
    3 = 'Duplex Printing'
    4 = 'Copies'
    5 = 'Collation'
    6 = 'Stapling'
    7 = 'Transparency Printing'
    8 = 'Punch'
    9 = 'Cover'
    10 = 'Bind'
    11 = 'Black and White Printing'
    12 = 'One Sided'
    13 = 'Two Sided Long Edge'
    14 = 'Two Sided Short Edge'
    15 = 'Portrait'
    16 = 'Landscape'
    17 = 'Reverse Portrait'
    18 = 'Reverse Landscape'
    19 = 'Quality High'
    20 = 'Quality Normal'
    21 = 'Quality Low'
}
# DefaultCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property DefaultCapabilities |
    Select-Object -ExpandProperty DefaultCapabilities |
    ForEach-Object -Process { $defaultCapabilitiesName[[int]$_] }
DefaultCopiesuint32read

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultCopies for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DefaultCopies |
    Select-Object -Property DeviceID, DefaultCopies
DefaultLanguageuint16read

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

Values (47)
ValueLabelDescription
1Other
2Unknown
3PCL
4HPGL
5PJL
6PS
7PSPrinter
8IPDS
9PPDS
10EscapeP
11Epson
12DDIF
13Interpress
14ISO6429
15Line Data
16MODCA
17REGIS
18SCS
19SPDL
20TEK4014
21PDS
22IGP
23CodeV
24DSCDSE
25WPS
26LN03
27CCITT
28QUIC
29CPAP
30DecPPL
31Simple Text
32NPAP
33DOC
34imPress
35Pinwriter
36NPDL
37NEC201PL
38Automatic
39Pages
40LIPS
41TIFF
42Diagnostic
43CaPSL
44EXCL
45LCDS
46XES
47MIME
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultLanguage for each instance
# Lookup table for DefaultLanguage (values documented by Microsoft)
$defaultLanguageName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'PCL'
    4 = 'HPGL'
    5 = 'PJL'
    6 = 'PS'
    7 = 'PSPrinter'
    8 = 'IPDS'
    9 = 'PPDS'
    10 = 'EscapeP'
    11 = 'Epson'
    12 = 'DDIF'
    13 = 'Interpress'
    14 = 'ISO6429'
    15 = 'Line Data'
    16 = 'MODCA'
    17 = 'REGIS'
    18 = 'SCS'
    19 = 'SPDL'
    20 = 'TEK4014'
    21 = 'PDS'
    22 = 'IGP'
    23 = 'CodeV'
    24 = 'DSCDSE'
    25 = 'WPS'
    26 = 'LN03'
    27 = 'CCITT'
    28 = 'QUIC'
    29 = 'CPAP'
    30 = 'DecPPL'
    31 = 'Simple Text'
    32 = 'NPAP'
    33 = 'DOC'
    34 = 'imPress'
    35 = 'Pinwriter'
    36 = 'NPDL'
    37 = 'NEC201PL'
    38 = 'Automatic'
    39 = 'Pages'
    40 = 'LIPS'
    41 = 'TIFF'
    42 = 'Diagnostic'
    43 = 'CaPSL'
    44 = 'EXCL'
    45 = 'LCDS'
    46 = 'XES'
    47 = 'MIME'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DefaultLanguage |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'DefaultLanguage'; Expression = { $defaultLanguageName[[int]$_.DefaultLanguage] } }
    )
DefaultMimeTypestringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultMimeType for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DefaultMimeType |
    Select-Object -Property DeviceID, DefaultMimeType
DefaultNumberUpuint32read

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultNumberUp for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DefaultNumberUp |
    Select-Object -Property DeviceID, DefaultNumberUp
DefaultPaperTypestringread

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).

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DefaultPaperType for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DefaultPaperType |
    Select-Object -Property DeviceID, DefaultPaperType
Descriptionstringread

Textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Description for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, Description |
    Select-Object -Property DeviceID, Description
DetectedErrorStateuint16read

Printer error information.

Values (12)
ValueLabelDescription
0Unknown
1Other
2No Error
3Low Paper
4No Paper
5Low Toner
6No Toner
7Door Open
8Jammed
9Offline
10Service Requested
11Output Bin Full
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DetectedErrorState for each instance
# Lookup table for DetectedErrorState (values documented by Microsoft)
$detectedErrorStateName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'No Error'
    3 = 'Low Paper'
    4 = 'No Paper'
    5 = 'Low Toner'
    6 = 'No Toner'
    7 = 'Door Open'
    8 = 'Jammed'
    9 = 'Offline'
    10 = 'Service Requested'
    11 = 'Output Bin Full'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, DetectedErrorState |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'DetectedErrorState'; Expression = { $detectedErrorStateName[[int]$_.DetectedErrorState] } }
    )
DeviceID keystringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DeviceID for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID |
    Select-Object -Property DeviceID
ErrorClearedbooleanread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ErrorCleared for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, ErrorCleared |
    Select-Object -Property DeviceID, ErrorCleared
ErrorDescriptionstringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ErrorDescription for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, ErrorDescription |
    Select-Object -Property DeviceID, ErrorDescription
ErrorInformationstring[]read/write

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ErrorInformation for each instance
# ErrorInformation is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property ErrorInformation |
    Select-Object -ExpandProperty ErrorInformation

Warning. Changes the system: check with -WhatIf first. An elevated console is often required.

# Warning: changes ErrorInformation on the instance. -WhatIf shows the operation without running it.
# Target instance
$instance = Get-CimInstance -ClassName CIM_Printer -Filter "DeviceID = 'Example'"
$setParameters = @{
    InputObject = $instance
    Property    = @{ ErrorInformation = @('Example') }
    WhatIf      = $true  # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
HorizontalResolutionuint32read

Horizontal resolution in pixels-per-inch.

Unit: pixels per inch

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of HorizontalResolution for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, HorizontalResolution |
    Select-Object -Property DeviceID, HorizontalResolution
InstallDatedatetimeread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, InstallDate |
    Select-Object -Property DeviceID, InstallDate
JobCountSinceLastResetuint32read

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of JobCountSinceLastReset for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, JobCountSinceLastReset |
    Select-Object -Property DeviceID, JobCountSinceLastReset
LanguagesSupporteduint16[]read

Print languages that are natively supported.

Values (50)
ValueLabelDescription
1Other
2Unknown
3PCL
4HPGL
5PJL
6PS
7PSPrinter
8IPDS
9PPDS
10EscapeP
11Epson
12DDIF
13Interpress
14ISO6429
15Line Data
16MODCA
17REGIS
18SCS
19SPDL
20TEK4014
21PDS
22IGP
23CodeV
24DSCDSE
25WPS
26LN03
27CCITT
28QUIC
29CPAP
30DecPPL
31Simple Text
32NPAP
33DOC
34imPress
35Pinwriter
36NPDL
37NEC201PL
38Automatic
39Pages
40LIPS
41TIFF
42Diagnostic
43CaPSL
44EXCL
45LCDS
46XES
47MIME
48XPS
49HPGL2
50PCLXL
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of LanguagesSupported for each instance
# Lookup table for LanguagesSupported (values documented by Microsoft)
$languagesSupportedName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'PCL'
    4 = 'HPGL'
    5 = 'PJL'
    6 = 'PS'
    7 = 'PSPrinter'
    8 = 'IPDS'
    9 = 'PPDS'
    10 = 'EscapeP'
    11 = 'Epson'
    12 = 'DDIF'
    13 = 'Interpress'
    14 = 'ISO6429'
    15 = 'Line Data'
    16 = 'MODCA'
    17 = 'REGIS'
    18 = 'SCS'
    19 = 'SPDL'
    20 = 'TEK4014'
    21 = 'PDS'
    22 = 'IGP'
    23 = 'CodeV'
    24 = 'DSCDSE'
    25 = 'WPS'
    26 = 'LN03'
    27 = 'CCITT'
    28 = 'QUIC'
    29 = 'CPAP'
    30 = 'DecPPL'
    31 = 'Simple Text'
    32 = 'NPAP'
    33 = 'DOC'
    34 = 'imPress'
    35 = 'Pinwriter'
    36 = 'NPDL'
    37 = 'NEC201PL'
    38 = 'Automatic'
    39 = 'Pages'
    40 = 'LIPS'
    41 = 'TIFF'
    42 = 'Diagnostic'
    43 = 'CaPSL'
    44 = 'EXCL'
    45 = 'LCDS'
    46 = 'XES'
    47 = 'MIME'
    48 = 'XPS'
    49 = 'HPGL2'
    50 = 'PCLXL'
}
# LanguagesSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property LanguagesSupported |
    Select-Object -ExpandProperty LanguagesSupported |
    ForEach-Object -Process { $languagesSupportedName[[int]$_] }
LastErrorCodeuint32read

Last error code reported by the logical device.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of LastErrorCode for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, LastErrorCode |
    Select-Object -Property DeviceID, LastErrorCode
MarkingTechnologyuint16read

Marking technology used by the printer.

Values (27)
ValueLabelDescription
1Other
2Unknown
3Electrophotographic LED
4Electrophotographic Laser
5Electrophotographic Other
6Impact Moving Head Dot Matrix 9pin
7Impact Moving Head Dot Matrix 24pin
8Impact Moving Head Dot Matrix Other
9Impact Moving Head Fully Formed
10Impact Band
11Impact Other
12Inkjet Aqueous
13Inkjet Solid
14Inkjet Other
15Pen
16Thermal Transfer
17Thermal Sensitive
18Thermal Diffusion
19Thermal Other
20Electroerosion
21Electrostatic
22Photographic Microfiche
23Photographic Imagesetter
24Photographic Other
25Ion Deposition
26eBeam
27Typesetter
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MarkingTechnology for each instance
# Lookup table for MarkingTechnology (values documented by Microsoft)
$markingTechnologyName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Electrophotographic LED'
    4 = 'Electrophotographic Laser'
    5 = 'Electrophotographic Other'
    6 = 'Impact Moving Head Dot Matrix 9pin'
    7 = 'Impact Moving Head Dot Matrix 24pin'
    8 = 'Impact Moving Head Dot Matrix Other'
    9 = 'Impact Moving Head Fully Formed'
    10 = 'Impact Band'
    11 = 'Impact Other'
    12 = 'Inkjet Aqueous'
    13 = 'Inkjet Solid'
    14 = 'Inkjet Other'
    15 = 'Pen'
    16 = 'Thermal Transfer'
    17 = 'Thermal Sensitive'
    18 = 'Thermal Diffusion'
    19 = 'Thermal Other'
    20 = 'Electroerosion'
    21 = 'Electrostatic'
    22 = 'Photographic Microfiche'
    23 = 'Photographic Imagesetter'
    24 = 'Photographic Other'
    25 = 'Ion Deposition'
    26 = 'eBeam'
    27 = 'Typesetter'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, MarkingTechnology |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'MarkingTechnology'; Expression = { $markingTechnologyName[[int]$_.MarkingTechnology] } }
    )
MaxCopiesuint32read

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MaxCopies for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, MaxCopies |
    Select-Object -Property DeviceID, MaxCopies
MaxNumberUpuint32read

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MaxNumberUp for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, MaxNumberUp |
    Select-Object -Property DeviceID, MaxNumberUp
MaxSizeSupporteduint32read

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.

Unit: kilobytes

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MaxSizeSupported for each instance
# MaxSizeSupported is expressed in kilobytes: converted to GB
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, MaxSizeSupported |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'MaxSizeSupportedGB'; Expression = { [math]::Round($_.MaxSizeSupported / 1MB, 2) } }
    )
MimeTypesSupportedstring[]read

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MimeTypesSupported for each instance
# MimeTypesSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property MimeTypesSupported |
    Select-Object -ExpandProperty MimeTypesSupported
Namestringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Name for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, Name |
    Select-Object -Property DeviceID, Name
NaturalLanguagesSupportedstring[]read

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of NaturalLanguagesSupported for each instance
# NaturalLanguagesSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property NaturalLanguagesSupported |
    Select-Object -ExpandProperty NaturalLanguagesSupported
PaperSizesSupporteduint16[]read

Types of paper supported.

Values (74)
ValueLabelDescription
0Unknown
1Other
2A
3B
4C
5D
6E
7Letter
8Legal
9NA-10x13-Envelope
10NA-9x12-Envelope
11NA-Number-10-Envelope
12NA-7x9-Envelope
13NA-9x11-Envelope
14NA-10x14-Envelope
15NA-Number-9-Envelope
16NA-6x9-Envelope
17NA-10x15-Envelope
18A0
19A1
20A2
21A3
22A4
23A5
24A6
25A7
26A8
27A9A10
28B0
29B1
30B2
31B3
32B4
33B5
34B6
35B7
36B8
37B9
38B10
39C0
40C1
41C2C3
42C4
43C5
44C6
45C7
46C8
47ISO-Designated
48JIS B0
49JIS B1
50JIS B2
51JIS B3
52JIS B4
53JIS B5
54JIS B6
55JIS B7
56JIS B8
57JIS B9
58JIS B10
59NA-Letter
60NA-Legal
61B4-Envelope
62B5-Envelope
63C3-Envelope
64C4-Envelope
65C5-Envelope
66C6-Envelope
67Designated-Long-Envelope
68Monarch-Envelope
69Executive
70Folio
71Invoice
72Ledger
73Quarto
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PaperSizesSupported for each instance
# PaperSizesSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property PaperSizesSupported |
    Select-Object -ExpandProperty PaperSizesSupported
PaperTypesAvailablestring[]read

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PaperTypesAvailable for each instance
# PaperTypesAvailable is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property PaperTypesAvailable |
    Select-Object -ExpandProperty PaperTypesAvailable
PNPDeviceIDstringread

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

Example: "*PNP030b"

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PNPDeviceID for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, PNPDeviceID |
    Select-Object -Property DeviceID, PNPDeviceID
PowerManagementCapabilitiesuint16[]read

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

Values (8)
ValueLabelDescription
0Unknown
1Not Supported
2Disabled
3EnabledThe power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
4Power Saving Modes Entered AutomaticallyThe device can change its power state based on usage or other criteria.
5Power State SettableThe 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.
6Power Cycling SupportedThe SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle).
7Timed Power On SupportedThe 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.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PowerManagementCapabilities for each instance
# Lookup table for PowerManagementCapabilities (values documented by Microsoft)
$powerManagementCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Not Supported'
    2 = 'Disabled'
    3 = 'Enabled'
    4 = 'Power Saving Modes Entered Automatically'
    5 = 'Power State Settable'
    6 = 'Power Cycling Supported'
    7 = 'Timed Power On Supported'
}
# PowerManagementCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Printer -Property PowerManagementCapabilities |
    Select-Object -ExpandProperty PowerManagementCapabilities |
    ForEach-Object -Process { $powerManagementCapabilitiesName[[int]$_] }
PowerManagementSupportedbooleanread

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.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PowerManagementSupported for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, PowerManagementSupported |
    Select-Object -Property DeviceID, PowerManagementSupported
PrinterStatusuint16read

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

Values (7)
ValueLabelDescription
1Other
2Unknown
3Idle
4Printing
5Warmup
6Stopped Printing
7Offline
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PrinterStatus for each instance
# Lookup table for PrinterStatus (values documented by Microsoft)
$printerStatusName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Idle'
    4 = 'Printing'
    5 = 'Warmup'
    6 = 'Stopped Printing'
    7 = 'Offline'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, PrinterStatus |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'PrinterStatus'; Expression = { $printerStatusName[[int]$_.PrinterStatus] } }
    )
Statusstringread

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

Values include the following:

Values (12)
ValueLabelDescription
OKOK
ErrorError
DegradedDegraded
UnknownUnknown
Pred FailPred Fail
StartingStarting
StoppingStopping
ServiceService
StressedStressed
NonRecoverNonRecover
No ContactNo Contact
Lost CommLost Comm
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Status for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, Status |
    Select-Object -Property DeviceID, Status
StatusInfouint16read

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

Values (5)
ValueLabelDescription
1Other
2Unknown
3Enabled
4Disabled
5Not Applicable
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of StatusInfo for each instance
# Lookup table for StatusInfo (values documented by Microsoft)
$statusInfoName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Enabled'
    4 = 'Disabled'
    5 = 'Not Applicable'
}
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, StatusInfo |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'StatusInfo'; Expression = { $statusInfoName[[int]$_.StatusInfo] } }
    )
SystemCreationClassName keystringread

Scoping system's creation class name.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SystemCreationClassName for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, SystemCreationClassName |
    Select-Object -Property DeviceID, SystemCreationClassName
SystemName keystringread

Scoping system's name.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SystemName for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, SystemName |
    Select-Object -Property DeviceID, SystemName
TimeOfLastResetdatetimeread

Time of last printer reset.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of TimeOfLastReset for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, TimeOfLastReset |
    Select-Object -Property DeviceID, TimeOfLastReset
VerticalResolutionuint32read

Vertical resolution in pixels-per-inch.

Unit: pixels per inch

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of VerticalResolution for each instance
Get-CimInstance -ClassName CIM_Printer -Property DeviceID, VerticalResolution |
    Select-Object -Property DeviceID, VerticalResolution

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.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_LogicalElement
  3. CIM_LogicalDevice
  4. CIM_Printer

Known subclasses

Requirements

Namespace
root/cimv2
Minimum client
Windows Vista
Minimum server
Windows Server 2008
MOF file
CIMWin32.mof
DLL
CIMWin32.dll
Class qualifiers

Abstract UUID("{8502C54A-5FBB-11D2-AAC1-006008C78BC7}") AMENDMENT

Microsoft source

Source: Microsoft Learn

Descriptions, properties and methods come from the Microsoft documentation (MicrosoftDocs/win32 repository), published under the CC BY 4.0 licence. Formatting and translations are specific to this site; the PowerShell examples are written for it.