CognitiveTPG A760 User Manual
Page 78

A760 User Guide: Programming Supplement
Chapter 4: Programming commands
78
Revision F January 2010
Set LogoEZ
®
attribute mapping
ASCII
US ETX ETB a m s
Hexadecimal 1F 03 17 a m s
Decimal
31 03 23 a m s
Values:
a =
attribute map selector
a , m, s = 0, 0, 0
turn off attribute mapping (all 3 bytes required)
a = 1
selects first attribute mapping definition (of two available)
a = 2
selects second attribute mapping definition
a = 1 or 2, if m = 0 mapping 1 or 2, respectively, is turned off
The following “s” bits and “m” bit 7 set the attributes that
substitute for the mapped set:
Attributes substituted table
m bit on
attributes substituted
7
Bold substituted
s bit on
attributes substituted
0
Italic
1
Reverse
2
Underline
3
Double high
4
Double wide
5
Compressed print
6
Alternate color
7
Color reverse
continued…
A word (2 bytes) is used to identify the attribute mapping,
with “m” bits 0 – 6 identifying which original attributes
should be mapped:
Original attribute mapped table
m bit on
attribute mapped
0
Bold
1
Italic
2
Reverse
3
Underline
4
Double high
5
Double wide
6
Compressed print