Chapter 5: Programming commands
72
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Set LogoEZ
®
attribute mapping (ColorPOS
®
)
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
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
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
This command configures into EEPROM (permanent configuration switch setting) one or two combinations of
character attribute mappings, including substitute attribute settings for color effects. The attributes of the character
code are used to form the desired pixel character when the code is placed into the raster print buffer. An “
m
” bit value
set to on in the “original attribute mapped table” above will have its attributes set to the corresponding bit value of “
s”
in the “attributes substituted table”. If
m
= 0 then no substitution takes place.
The command is available only in A776 native mode. Once attributes have been defined and enabled they can be
used in any emulation mode. A776 native mode must be used to turn the feature off.
Continued . . .
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...