Printer Device Attribute Class

This class contains information about the capabilities and status of a client’s printer. This class is not included in a default hardware inventory operation.

Table C.40 Printer Device Attribute Class (SMS_G_System_PRINTER_DEVICE)

Property
(Bold if collected)
Data
type

Example

Notes
Attributesuint3264Indicates the attributes of the Win32 printing device.
Availabilityuint32 Indicates the availability and status of the device.

Values are:
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 - Degraded
15=Power Save - Standby
16=Power Cycle

AveragePagesPerMinuteuint32 Specifies the average number of pages per minute that are printed on the printer.
Capabilitiesstring Indicates Printer capabilities.

Values are:
0=Unknown
1=Other
2=Color Printing
3=Duplex Printing
4=Copies
5=Collation
6=Stapling
7=Transparency Printing

Captionstring Describes the object. Maximum length is 64 characters.
DefaultPriorityuint32 Specifies the default priority value assigned to each print job.
Descriptionstring Describes the object.
DetectedErrorStatestring Indicates types of printer error information.

Values are:
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

DeviceIDstring Key. Names the LogicalDevice uniquely. Maximum length is 64 characters.
DriverNamestring"Windows NT Fax Driver"Indicates the driver name of the Win32 printing device.
GroupIDuint322Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are “deltas” of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property.
HorizontalResolutionuint32 Indicates the printer’s horizontal resolution, in Pixels per Inch.
InstallDatedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the object was installed. The absence of a value does not indicate that the object is not installed.
JobCountSinceLastResetuint32 Indicates the number of printer jobs processed since the last reset. If the applicable destination objects are defined, these jobs can be processed from one or more printer job destination queues.
LanguagesSupportedstring An array that indicates the print languages natively supported.

Values are:
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

Locationstring Indicates the location of the Win32 printing device.
Namestring Defines the label that the object is known by. Maximum length is 256 characters.
PaperSizeSupportedstring 15=NA-Number-9-Envelope
16=NA-6x9-Envelope
17=NA-10x15-Envelope
18=A0
19=A1
20=A2
21=A3
22=A4
23=A5
24=A6
25=A7
26=A8
27=A9
28=A10
29=B0
30=B1
31=B2
32=B3
33=B4
34=B5
35=B6
36=B7
37=B8
38=B9
39=B10
40=C0
41=C1
42=C2
43=C3
44=C4
45=C5
46=C6
47=C7
48=C8
49=ISO-Designated
50=JIS B0
51=JIS B1
52=JIS B2
53=JIS B3
54=JISB4
55=JIS B5
56=JIS B6
57=JIS B7
58=JIS B8
59=JIS B9
60=JISB10
PortNamestring"Sportster 56000 Fax Internal"Indicates the port name of the Win32 printing device.
PowerManagementSupporteduint321A Boolean that indicates that the ComputerSystem and its running OperatingSystem support power management. This Boolean does not indicate that power management features are currently enabled, or if they are enabled, which features are supported.

Values are:
1=True
0=False

PrinterStatusstring Provides printer status information beyond that specified in the LogicalDeviceAvailability property.

Values are:
1=Other
2=Unknown
3=Idle
4=Printing
5=Warmup

PrintJobDataTypestring Indicates the data type of the print job pending on the Win32 printing device.
PrintProcessorstring Specifies the name of the print processor used by the printer.
ResourceIduint3242Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.

A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property.

RevisionIDuint321Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property.
SeparatorFilestring Indicates the file printed between print jobs.
ServerNamestring Indicates the name of the server hosting theWin32 printing device.
ShareNamestring"\\\\PRINT
SERVER1\\
PRINTER2"
Indicates the share name of the Win32 printing device.
StartTimedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Specifies the earliest time at which the printer will print a job, if the printer has been limited to print only at certain times.
Statusstring"OK"Indicates the current status of the object.

Values are:
OK
Error
Degraded
Unknown

Maximum length is 10 characters.

StatusInfostring"3"Indicates the state of the LogicalDevice.

Values are:

1=Other
2=Unknown
3= Enabled
4=Disabled
5=Not Applicable

SystemNamestring Indicates the scoping system’s name. Maximum length is 256 characters.
TimeOfLastResetdatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the time that the printer device was last reset.
TimeStampdatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the information in this object was last revised. This is not a collectable property.
UntilTimedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Specifies the latest time that the printer will print a job, if the printer has been limited to print only at certain times.
VerticalResolutionuint32 Indicates the printer’s vertical resolution, in pixels per inch.