Set Logoez Attribute Mapping - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

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 =
a , m, s = 0, 0, 0
a = 1
a = 2
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 Native mode. Once attributes have been defined and enabled they can be used in any
emulation mode. Native mode must be used to turn the feature off.
Continued . . .
attribute map selector
turn off attribute mapping (all 3 bytes required)
selects first attribute mapping definition (of two available)
selects second attribute mapping definition
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
85

Advertisement

Table of Contents
loading

Table of Contents