252301 Issue 2.0 - 第100页

GEM Manual for DEK Printers SECS II Implementation I ssue 2.0 June 9th, 2011 page 100 of 156 6.10 STREAM 14: OBJECT SERVICES S14F1 Ge tAttr Re quest (GAR) S14F2 Ge tAttr Dat a (GAD) Description: The host sends a messa ge…

100%1 / 156
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 99 of 156
n. <TEXT>
Equipment to host: S10F6
Structure: <ACKC10>
B. Equipment Initiated - Not applicable.
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 100 of 156
6.10 STREAM 14: OBJECT SERVICES
S14F1 GetAttr Request (GAR)
S14F2 GetAttr Data (GAD)
Description: The host sends a message to request a set of specified attributes for one or
more objects:
A. Host Initiated
Host to equipment: S14F1
Structure: L,5
1. <OBJSPEC>
2. <OBJTYPE>
3. L,i i = identifiers of object instances
requested
1.<OBJID
i
>
.
.
i. <OBJID
i
>
4. L,q q = # object qualifiers to match
1. L,3
1. <ATTRID
1
>
2. <ATTRDATA
1
>
3. <ATTRRELN
1
>
.
.
q. L,3
1. <ATTRID
q
>
2. <ATTRDATA
q
>
3. <ATTRRELN
q
>
5. L,a a = # attributes requested
1.<ATTRID
i
>
.
.
a. <ATTRID
a
>
Exception: If OBJSPEC is zero-length item, no object specifier is provided. If i = 0,
only the filter is to be applied. If q = 0, no filter is specified. If both i and q = 0,
information for all instances of the objects are requested. If a = 0, all attributes are
requested.
Note that object qualifiers are not currently supported. If any are specified they will be
silently ignored.
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 101 of 156
Equipment to host: S14F2
Structure: L,2
1. L,n n = number of objects
1. L,2
1. <OBJID
1
>
2. L,a a = number of attributes
1. L,2
1. <ATTRID
1
>
2. <ATTRDATA
1
>
.
.
a. L,2
1. <ATTRID
a
>
2. <ATTRDATA
a
>
.
.
n. L,2
1. <OBJID
n
>
2. L,b b = number of attributes
1. L,2
1. <ATTRID
1
>
2. <ATTRDATA
1
>
.
.
b. L,2
1. <ATTRID
b
>
2. <ATTRDATA
b
>
2. L,2
1. <OBJACK>
2. L,p p = number of errors reported
1. L,2
1. <ERRCODE
1
>
2. <ERRTEXT
1
>
.
.
p. L,2
1. <ERRCODE
p
>
2. <ERRTEXT
p
>
Exception: If n = 0, no objects matched those specified. If p = 0, no errors were
detected.