Win32_PrinterDriver, ROOT\CIMV2

Class | Methods (3) | Properties (22) | Qualifiers (9) | Instances (4) | Namespaces (1)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

A CIM_Service is a Logical Element that contains the information necessary to represent and manage the functionality provided by a Device and/or SoftwareFeature. A Service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.

Win32_PrinterDriver methods

Win32_PrinterDriver has 3 methods (1 Local, 2 Derived)

NameOriginReturn
AddPrinterDriverWin32_PrinterDriveruint32 {'out':True}
StartServiceCIM_Serviceuint32 {'out':True}
StopServiceCIM_Serviceuint32 {'out':True}

Win32_PrinterDriver properties

Win32_PrinterDriver has 22 properties (12 Local, 10 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
ConfigFileWin32_PrinterDriver8 [string]
CreationClassNameCIM_Service8 [string]
DataFileWin32_PrinterDriver8 [string]
DefaultDataTypeWin32_PrinterDriver8 [string]
DependentFilesWin32_PrinterDriver8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DriverPathWin32_PrinterDriver8 [string]
FilePathWin32_PrinterDriver8 [string]
HelpFileWin32_PrinterDriver8 [string]
InfNameWin32_PrinterDriver8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
MonitorNameWin32_PrinterDriver8 [string]
key
Name
CIM_ManagedSystemElement8 [string]
OEMUrlWin32_PrinterDriver8 [string]
StartedCIM_Service11 [boolean]
StartModeCIM_Service8 [string]
StatusCIM_ManagedSystemElement8 [string]
SupportedPlatformWin32_PrinterDriver8 [string]
SystemCreationClassNameCIM_Service8 [string]
SystemNameCIM_Service8 [string]
VersionWin32_PrinterDriver18 [uint16]

Detailed description of Win32_PrinterDriver methods

Local methods (1) of Win32_PrinterDriver class

AddPrinterDriver method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DriverInfoobject:Win32_PrinterDriver0-{'Description':'The DriverInfo parameter specifies the neccessary inforation needed in order to create the printer driver.','In':True,'MappingStrings':['']}
ConstructorTrue
Description'The AddPrinterDriver method installs a printer driver. The method can return the following values:
0 - Success.
5 - Access denied.
1797 - The printer driver is unknown.
Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.'
ImplementedTrue
StaticTrue
ValueMap['0', '5', '1797', '..']
Values['Success', 'Access denied', 'The printer driver is unknown', 'Other']
AddPrinterDriver method is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 1 namespace

Derived methods (2) of Win32_PrinterDriver class

StartService method
Returnuint32 {'out':True}
Description'The StartService method places the Service in the started state. It returns an integer value of 0 if the Service was successfully started, 1 if the request is not supported and any other number to indicate an error. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.'
StartService method is in 10 classes of ROOT\cimv2 and in 11 namespaces
StopService method
Returnuint32 {'out':True}
Description'The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported and any other number to indicate an error.'
StopService method is in 10 classes of ROOT\cimv2 and in 11 namespaces

Detailed description of Win32_PrinterDriver properties

Local properties (12) of Win32_PrinterDriver class

ConfigFile property
CIMTYPE'string'
Description'The ConfigFile property contains the configuration file for this printer driver, (example: pscrptui.dll).'
MappingStrings['']
readTrue
ConfigFile property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 3 namespaces
DataFile property
CIMTYPE'string'
Description'The DataFile property contains the data file for this printer driver, (example: qms810.ppd).'
MappingStrings['']
ModelCorrespondence['CIM_DataFile.FileName']
readTrue
DataFile property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 4 namespaces
DefaultDataType property
CIMTYPE'string'
Description'The DefaultDataType property indicates the default data type for this printer driver, (example: EMF).'
MappingStrings['']
readTrue
DefaultDataType property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 3 namespaces
DependentFiles property
CIMTYPE'string'
Description'The DependentFiles property contains a list of dependent files for this printer driver.'
MappingStrings['']
readTrue
DependentFiles property is in 2 classes of ROOT\cimv2 and in 3 namespaces
DriverPath property
CIMTYPE'string'
Description'The DriverPath property contains the path for this printer driver, (example: C:\drivers\pscript.dll).'
MappingStrings['']
ModelCorrespondence['CIM_DataFile.Path']
readTrue
DriverPath property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 1 namespace
FilePath property
CIMTYPE'string'
Description'The FilePath property contains the path to the INF file being used, (Example: c:\temp\driver).'
MappingStrings['']
readTrue
writeTrue
FilePath property is in 2 classes of ROOT\cimv2 and in 5 namespaces
HelpFile property
CIMTYPE'string'
Description'The HelpFile property contains the help file for this printer driver, (example: pscrptui.hlp).'
MappingStrings['']
readTrue
HelpFile property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 3 namespaces
InfName property
CIMTYPE'string'
Description'The InfName property contains the name of the INF file being used. The default is 'ntprint.INF'. This will only be different if the drivers are provided directly by the manufacturer of the printer and not the operating system.'
MappingStrings['']
readTrue
writeTrue
InfName property is in 2 classes of ROOT\cimv2 and in 2 namespaces
MonitorName property
CIMTYPE'string'
Description'The MonitorName property contains the name of the of the monitor for this printer driver, (example: PJL monitor).'
MappingStrings['']
readTrue
MonitorName property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 1 namespace
OEMUrl property
CIMTYPE'string'
Description'The OEMUrl property provides a world wide web link to the printer manufacturer's web site. Note that this property is not populated when the Win32.INF file is used and is only applicable for drivers provided directly from the manufacturer.'
readTrue
OEMUrl property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 3 namespaces
SupportedPlatform property
CIMTYPE'string'
Description'The SupportedPlatform property indicates the operating environments that the driver is intended for. Examples are 'Windows NT x86' or 'Windows IA64'.'
MappingStrings['']
readTrue
writeTrue
SupportedPlatform property is in 1 class (Win32_PrinterDriver) of ROOT\cimv2 and in 1 namespace
Version property
CIMTYPE'uint16'
Description'The Version property indicates the operating system version that the driver is intended for.'
MappingStrings['']
readTrue
ValueMap['0', '1', '2', '3']
Values['Win9x', 'Win351', 'NT40', 'Win2k']
writeTrue
Version property is in 101 classes of ROOT\cimv2 and in 142 namespaces

Derived properties (10) of Win32_PrinterDriver class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
CreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.'
readTrue
CreationClassName property is in 178 classes of ROOT\cimv2 and in 20 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property indicates the driver name for this printer. This is a compound key composed of the Name, Version and SupportedPlatform values.'
keyTrue
MappingStrings['']
Override'Name'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Started property
CIMTYPE'boolean'
Description'Started is a boolean indicating whether the service has been started (TRUE), or stopped (FALSE).'
readTrue
Started property is in 10 classes of ROOT\cimv2 and in 11 namespaces
StartMode property
CIMTYPE'string'
Description'StartMode is a string value indicating whether the Service is automatically started by a System, Operating System, etc. or only started upon request.'
readTrue
ValueMap['Automatic', 'Manual']
Values['Automatic', 'Manual']
StartMode property is in 10 classes of ROOT\cimv2 and in 15 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
SystemCreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'The scoping System's CreationClassName. '
Propagated'CIM_System.CreationClassName'
readTrue
SystemCreationClassName property is in 122 classes of ROOT\cimv2 and in 20 namespaces
SystemName property
CIM_KeyTrue
CIMTYPE'string'
Description'The name of the system that hosts this service'
Propagated'CIM_System.Name'
readTrue
SystemName property is in 122 classes of ROOT\cimv2 and in 22 namespaces

Win32_PrinterDriver Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
CreateBy'AddPrinterDriver'
DeleteBy'DeleteInstance'
Description'A CIM_Service is a Logical Element that contains the information necessary to represent and manage the functionality provided by a Device and/or SoftwareFeature. A Service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.'
dynamicTrue
Locale1033
provider'CIMWin32'
SupportsCreateTrue
SupportsDeleteTrue
UUID'522E1798-D74F-4516-94F5-C121B0F4A8CB'

Win32_PrinterDriver System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_PrinterDriver'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Service', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT22___SYSTEM3
__RELPATH'Win32_PrinterDriver'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_Service'___SYSTEM8
__CLASS'Win32_PrinterDriver'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_PrinterDriver

Number of classes:17
WUtils.com
online utility - toplist