beautypg.com

Mam attribute data – HP Q153090901 User Manual

Page 115

background image

READ ATTRIBUTE 8Ch

C

omm

an

ds

115

MAM attribute data

Attribute data sent with a

WRITE ATTRIBUTE

command or returned in response to a

READ ATTRIBUTE

command has the following format:

The format implies nothing about the physical representation of the data in the Medium Auxiliary

Memory.

7

6

5

4

3

2

1

0

0

(MSB)

Attribute Identifier

1

(LSB)

2

Read-Only

Reserved (0)

Format

3

(MSB)

Attribute Length (n

4)

4

(LSB)

5

(MSB)

Attribute Value

n

(LSB)

Attribute Identifier The binary identifier for a single attribute. See “Attribute ID values” on page 116

for a description of attribute ID values.

Read-Only

Specifies whether an attribute is read-only. The bit is ignored by the

READ

ATTRIBUTE

command.

0

The attribute may be changed by the

WRITE ATTRIBUTE

command.

1

The attribute cannot be changed by

WRITE ATTRIBUTE

.

Format

Specifies the data format of the attribute. The possible values are:

Value Description

00b

Binary. The attribute contains binary data.

01b

ASCII. Attributes contain only graphic codes (code values 20h–7Eh). It

must be left-aligned and contain 20h (ASCII space) in any unused bytes.

10b

Text. The attribute contains textual data. The character set is as

described in the Text Localization Identifier attribute in “Standard host

type attributes” on page 118.

11b

Reserved.

Attribute Length

The length in bytes of the Attribute Value field.